Skip to main content
Version: 1.x

Interface: CapabilitiesJSON

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

Breakdown of entries by priority tier.

fixture

readonly fixture: number

implementation

readonly implementation: number

namespace

readonly namespace: number


fixtures

readonly fixtures: readonly object[]

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


generatedAt

readonly generatedAt: string

ISO 8601 timestamp when the export was generated.


methods

readonly methods: readonly object[]

All registered entries.


name

readonly name: string

Package name.


totalMethods

readonly totalMethods: number

Total number of registered capability entries.


version

readonly version: string

Package version.