Interface: CapabilityEntry
Defined in: src/ai/types.ts:186
A single entry in the capability registry exposed to AI agents.
Remarks​
Generated entries are produced by npm run generate:capabilities and
written to capability-registry.generated.ts. Manual entries can be
registered via CapabilityRegistry.register().
Intent​
Describe a Praman API capability for AI-driven test generation.
Capability​
AI agent context, test scaffolding.
Sap Module​
Any Praman module that exposes a test helper.
Example​
const entry: CapabilityEntry = {
id: 'click-button',
name: 'clickButton',
description: 'Clicks a UI5 button by selector',
category: 'interaction',
intent: 'click',
sapModule: 'sap.m.Button',
usage_example: "await ui5.click({ id: 'submitBtn' })",
registryVersion: 1,
};
Properties​
category​
readonlycategory:string
Defined in: src/ai/types.ts:194
Logical grouping for filtering (e.g. 'interaction', 'navigation').
description​
readonlydescription:string
Defined in: src/ai/types.ts:192
One-sentence description of what this capability does.
id​
readonlyid:string
Defined in: src/ai/types.ts:188
Unique kebab-case identifier for this capability.
intent?​
readonlyoptionalintent:string
Defined in: src/ai/types.ts:196
Optional intent tag from TSDoc @intent.
name​
readonlyname:string
Defined in: src/ai/types.ts:190
Human-readable function or method name.
priority?​
readonlyoptionalpriority:"fixture"|"namespace"|"implementation"
Defined in: src/ai/types.ts:211
Priority tier for API surface stratification.
Remarks​
'fixture'— Primary Playwright fixture (recommended for consumers)'namespace'— Secondary utility / handler export'implementation'— Internal implementation detail
registryVersion​
readonlyregistryVersion:number
Defined in: src/ai/types.ts:202
Registry schema version for forward compatibility.
sapModule?​
readonlyoptionalsapModule:string
Defined in: src/ai/types.ts:198
Optional SAP UI5 module tag from TSDoc @sapModule.
usage_example​
readonlyusage_example:string
Defined in: src/ai/types.ts:200
Ready-to-run usage example string.