Interface: CapabilitiesJSON
Defined in: src/ai/types.ts:239
Full JSON export of the capability registry for AI agent consumption.
Intent
Provide a structured, serialisable snapshot of all capabilities.
Example
const json = registry.toJSON();
const prompt = JSON.stringify(json);
Properties
byPriority
readonlybyPriority:object
Defined in: src/ai/types.ts:249
Breakdown of entries by priority tier.
fixture
readonlyfixture:number
implementation
readonlyimplementation:number
namespace
readonlynamespace:number
fixtures
readonlyfixtures: readonlyobject[]
Defined in: src/ai/types.ts:255
Entries with priority === 'fixture' (listed first per Playwright best practice).
generatedAt
readonlygeneratedAt:string
Defined in: src/ai/types.ts:245
ISO 8601 timestamp when the export was generated.
methods
readonlymethods: readonlyobject[]
Defined in: src/ai/types.ts:257
All registered entries.
name
readonlyname:string
Defined in: src/ai/types.ts:241
Package name.
totalMethods
readonlytotalMethods:number
Defined in: src/ai/types.ts:247
Total number of registered capability entries.
version
readonlyversion:string
Defined in: src/ai/types.ts:243
Package version.