Skip to main content

Interface: CapabilitiesJSON

Defined in: src/ai/types.ts:253

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​

readonly byPriority: object

Defined in: src/ai/types.ts:263

Breakdown of entries by priority tier.

fixture​

readonly fixture: number

implementation​

readonly implementation: number

namespace​

readonly namespace: number


fixtures​

readonly fixtures: readonly CapabilityEntry[]

Defined in: src/ai/types.ts:269

Entries with priority === 'fixture' (listed first per Playwright best practice).


generatedAt​

readonly generatedAt: string

Defined in: src/ai/types.ts:259

ISO 8601 timestamp when the export was generated.


methods​

readonly methods: readonly CapabilityEntry[]

Defined in: src/ai/types.ts:271

All registered entries.


name​

readonly name: string

Defined in: src/ai/types.ts:255

Package name.


totalMethods​

readonly totalMethods: number

Defined in: src/ai/types.ts:261

Total number of registered capability entries.


version​

readonly version: string

Defined in: src/ai/types.ts:257

Package version.