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
readonlybyPriority:object
Breakdown of entries by priority tier.
fixture
readonlyfixture:number
implementation
readonlyimplementation:number
namespace
readonlynamespace:number
fixtures
readonlyfixtures: readonlyobject[]
Entries with priority === 'fixture' (listed first per Playwright best practice).
generatedAt
readonlygeneratedAt:string
ISO 8601 timestamp when the export was generated.
methods
readonlymethods: readonlyobject[]
All registered entries.
name
readonlyname:string
Package name.
totalMethods
readonlytotalMethods:number
Total number of registered capability entries.
version
readonlyversion:string
Package version.