You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(opencode): oc kit CLI (list, validate) on Phase 1 domain model #8
Build the oc kit CLI on top of the Phase 1 OC Kit domain model: oc kit list
(enumerate kits/skills/agents/workflows/hooks from the registry) and oc kit validate (run the schema + cross-reference validator).
Why
Phase 1 (PR #2) shipped the domain model, registry, manifest, resolver, and
config schema but no user-facing command. Phase 2 exposes that model so a user
can inspect what is installed and catch broken cross-references (e.g. a skill
referencing a missing agent) before relying on it.
Scope
packages/opencode/src/ockit/cli.ts: oc kit list and oc kit validate
subcommands wired into the opencode CLI.
packages/opencode/src/ockit/validator.ts: real checks — unique ids and
cross-reference validation (the earlier stub was replaced with actual checks
in 57c0889).
Tests for the validator and the CLI surface.
Acceptance
oc kit list prints every registered artifact; oc kit validate reports
duplicate ids and dangling references and exits nonzero when any are found.
Unit tests for the validator pass in the CI container (root-skipped where
POSIX permission assertions do not apply).
Activity