Skip to main content
Version: 1.x

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

readonly byPriority: object

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

Breakdown of entries by priority tier.

fixture

readonly fixture: number

implementation

readonly implementation: number

namespace

readonly namespace: number


fixtures

readonly fixtures: readonly object[]

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

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


generatedAt

readonly generatedAt: string

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

ISO 8601 timestamp when the export was generated.


methods

readonly methods: readonly object[]

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

All registered entries.


name

readonly name: string

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

Package name.


totalMethods

readonly totalMethods: number

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

Total number of registered capability entries.


version

readonly version: string

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

Package version.