@wopal/cli-capability-schema
v0.3.26
Published
Shared TypeBox capability contract schemas for wopal-cli
Readme
@wopal/cli-capability-schema
Shared TypeBox capability contract schemas for wopal-cli.
Every TypeBox schema from wopal-cli's src/capabilities is re-exported from this package so consumers (ellamaka, Workbench, scripts) import the exact same schema objects the CLI generates its registry from — compile-time sync, no runtime drift.
Install
pnpm add @wopal/cli-capability-schemaUse a ^ (caret) dependency on the lower bound: the package is released in lockstep with wopal-cli, so any version within the same major/minor line satisfies the contract.
Version lockstep
@wopal/cli-capability-schema is published with the same version as wopal-cli (the root package). A release of wopal-cli publishes the shared package at the identical version; the publish script re-syncs the version defensively before building and publishing.
Usage
import { skillsListSchema } from "@wopal/cli-capability-schema";
const parsed = skillsListSchema.parse(response.data);License
MIT
