·
21 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
@lab42/agentctl v0.5.0
What's new since v0.4.0:
Features
- JSON Schemas for
.ai/files —config.yaml,permissions.yaml, andmcp.yamlnow have JSON Schemas, so editors (VS Code, JetBrains) get autocomplete, inline validation, and hover docs. Stub files ship with a# yaml-language-server: $schema=...comment as a fallback, and the schemas are pending registration in SchemaStore for zero-config detection. (#37, #53, #54) - Cross-runtime consistency audit —
agentctl auditchecks that a command resolves to the same permission decision across every enabled runtime and flags divergences by severity (critical/warning/info). (#47) - Explain permission decisions —
agentctl explain <command>shows how a shell command is evaluated underdeny_over_allow, including which pattern matched and why. (#46) - Pre-commit hook setup —
agentctl init --with-hooksauto-detects your hook manager (lefthook, husky, simple-git-hooks, or a raw.git/hooksfallback) and wires upagentctl checkso drift is caught before commit. (#52) - Better error messages — parse and validation failures now cite the file, line, and a contextual snippet with a fix suggestion. (#51)
New commands
agentctl audit— report cross-runtime permission divergences (exit 1 on critical)agentctl explain <command>— show the permission decision and matched pattern for a commandagentctl init --with-hooks— set up a pre-commit hook runningagentctl check
Docs
initnow promotesnpx @lab42/agentctlas the primary install path. (#50)- Added a Code of Conduct.
Upgrading
No breaking changes. Generated output is unchanged from v0.4.x.
pnpm add -D @lab42/agentctl@0.5.0