@vibe-agent-toolkit/cli 0.2.0-rc.7 → 0.2.0-rc.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/dist/bin/vat +34 -19
- package/dist/bin/vat.js +34 -19
- package/dist/bin/vat.js.map +1 -1
- package/dist/bin.js +5 -2
- package/dist/bin.js.map +1 -1
- package/dist/commands/agent/build.d.ts.map +1 -1
- package/dist/commands/agent/build.js +2 -1
- package/dist/commands/agent/build.js.map +1 -1
- package/dist/commands/agent/import.d.ts.map +1 -1
- package/dist/commands/agent/import.js +3 -2
- package/dist/commands/agent/import.js.map +1 -1
- package/dist/commands/agent/install-path.d.ts +36 -0
- package/dist/commands/agent/install-path.d.ts.map +1 -0
- package/dist/commands/agent/install-path.js +44 -0
- package/dist/commands/agent/install-path.js.map +1 -0
- package/dist/commands/agent/install.d.ts.map +1 -1
- package/dist/commands/agent/install.js +22 -10
- package/dist/commands/agent/install.js.map +1 -1
- package/dist/commands/agent/installed.d.ts.map +1 -1
- package/dist/commands/agent/installed.js +22 -12
- package/dist/commands/agent/installed.js.map +1 -1
- package/dist/commands/agent/list.d.ts.map +1 -1
- package/dist/commands/agent/list.js +2 -1
- package/dist/commands/agent/list.js.map +1 -1
- package/dist/commands/agent/run.d.ts.map +1 -1
- package/dist/commands/agent/run.js +2 -1
- package/dist/commands/agent/run.js.map +1 -1
- package/dist/commands/agent/uninstall.d.ts.map +1 -1
- package/dist/commands/agent/uninstall.js +13 -6
- package/dist/commands/agent/uninstall.js.map +1 -1
- package/dist/commands/agent/validate.d.ts.map +1 -1
- package/dist/commands/agent/validate.js +3 -2
- package/dist/commands/agent/validate.js.map +1 -1
- package/dist/commands/ard/emit.d.ts +72 -23
- package/dist/commands/ard/emit.d.ts.map +1 -1
- package/dist/commands/ard/emit.js +109 -56
- package/dist/commands/ard/emit.js.map +1 -1
- package/dist/commands/ard/index.d.ts +1 -1
- package/dist/commands/ard/index.d.ts.map +1 -1
- package/dist/commands/ard/index.js +4 -3
- package/dist/commands/ard/index.js.map +1 -1
- package/dist/commands/audit/distributed-tree.d.ts.map +1 -1
- package/dist/commands/audit/distributed-tree.js +9 -6
- package/dist/commands/audit/distributed-tree.js.map +1 -1
- package/dist/commands/audit/provenance.d.ts.map +1 -1
- package/dist/commands/audit/provenance.js +4 -3
- package/dist/commands/audit/provenance.js.map +1 -1
- package/dist/commands/audit/scan-population.d.ts +158 -0
- package/dist/commands/audit/scan-population.d.ts.map +1 -0
- package/dist/commands/audit/scan-population.js +292 -0
- package/dist/commands/audit/scan-population.js.map +1 -0
- package/dist/commands/audit-settings.d.ts.map +1 -1
- package/dist/commands/audit-settings.js +6 -5
- package/dist/commands/audit-settings.js.map +1 -1
- package/dist/commands/audit.d.ts +16 -14
- package/dist/commands/audit.d.ts.map +1 -1
- package/dist/commands/audit.js +304 -389
- package/dist/commands/audit.js.map +1 -1
- package/dist/commands/build.d.ts.map +1 -1
- package/dist/commands/build.js +25 -24
- package/dist/commands/build.js.map +1 -1
- package/dist/commands/cache/clear.d.ts +17 -3
- package/dist/commands/cache/clear.d.ts.map +1 -1
- package/dist/commands/cache/clear.js +34 -13
- package/dist/commands/cache/clear.js.map +1 -1
- package/dist/commands/cache/index.d.ts.map +1 -1
- package/dist/commands/cache/index.js +19 -10
- package/dist/commands/cache/index.js.map +1 -1
- package/dist/commands/claude/context.d.ts +2 -2
- package/dist/commands/claude/context.d.ts.map +1 -1
- package/dist/commands/claude/context.js +7 -6
- package/dist/commands/claude/context.js.map +1 -1
- package/dist/commands/claude/index.d.ts +12 -11
- package/dist/commands/claude/index.d.ts.map +1 -1
- package/dist/commands/claude/index.js +14 -16
- package/dist/commands/claude/index.js.map +1 -1
- package/dist/commands/claude/marketplace/changelog-utils.d.ts +1 -1
- package/dist/commands/claude/marketplace/changelog-utils.d.ts.map +1 -1
- package/dist/commands/claude/marketplace/changelog-utils.js +1 -2
- package/dist/commands/claude/marketplace/changelog-utils.js.map +1 -1
- package/dist/commands/claude/marketplace/git-publish.d.ts.map +1 -1
- package/dist/commands/claude/marketplace/git-publish.js +22 -12
- package/dist/commands/claude/marketplace/git-publish.js.map +1 -1
- package/dist/commands/claude/marketplace/license-utils.d.ts.map +1 -1
- package/dist/commands/claude/marketplace/license-utils.js +0 -1
- package/dist/commands/claude/marketplace/license-utils.js.map +1 -1
- package/dist/commands/claude/marketplace/publish-tree.d.ts.map +1 -1
- package/dist/commands/claude/marketplace/publish-tree.js +0 -6
- package/dist/commands/claude/marketplace/publish-tree.js.map +1 -1
- package/dist/commands/claude/marketplace/publish.d.ts.map +1 -1
- package/dist/commands/claude/marketplace/publish.js +2 -1
- package/dist/commands/claude/marketplace/publish.js.map +1 -1
- package/dist/commands/claude/marketplace/validate.d.ts.map +1 -1
- package/dist/commands/claude/marketplace/validate.js +26 -16
- package/dist/commands/claude/marketplace/validate.js.map +1 -1
- package/dist/commands/claude/org/api-keys.d.ts +0 -3
- package/dist/commands/claude/org/api-keys.d.ts.map +1 -1
- package/dist/commands/claude/org/api-keys.js +2 -1
- package/dist/commands/claude/org/api-keys.js.map +1 -1
- package/dist/commands/claude/org/helpers.d.ts +17 -22
- package/dist/commands/claude/org/helpers.d.ts.map +1 -1
- package/dist/commands/claude/org/helpers.js +6 -22
- package/dist/commands/claude/org/helpers.js.map +1 -1
- package/dist/commands/claude/org/invites.d.ts +0 -3
- package/dist/commands/claude/org/invites.d.ts.map +1 -1
- package/dist/commands/claude/org/invites.js +3 -2
- package/dist/commands/claude/org/invites.js.map +1 -1
- package/dist/commands/claude/org/skills.d.ts +19 -1
- package/dist/commands/claude/org/skills.d.ts.map +1 -1
- package/dist/commands/claude/org/skills.js +147 -111
- package/dist/commands/claude/org/skills.js.map +1 -1
- package/dist/commands/claude/org/users.d.ts +0 -3
- package/dist/commands/claude/org/users.d.ts.map +1 -1
- package/dist/commands/claude/org/users.js +3 -2
- package/dist/commands/claude/org/users.js.map +1 -1
- package/dist/commands/claude/org/workspaces.d.ts +0 -3
- package/dist/commands/claude/org/workspaces.d.ts.map +1 -1
- package/dist/commands/claude/org/workspaces.js +6 -5
- package/dist/commands/claude/org/workspaces.js.map +1 -1
- package/dist/commands/claude/plugin/build.d.ts.map +1 -1
- package/dist/commands/claude/plugin/build.js +23 -52
- package/dist/commands/claude/plugin/build.js.map +1 -1
- package/dist/commands/claude/plugin/helpers.d.ts.map +1 -1
- package/dist/commands/claude/plugin/helpers.js +0 -6
- package/dist/commands/claude/plugin/helpers.js.map +1 -1
- package/dist/commands/claude/plugin/install.d.ts +12 -0
- package/dist/commands/claude/plugin/install.d.ts.map +1 -1
- package/dist/commands/claude/plugin/install.js +71 -60
- package/dist/commands/claude/plugin/install.js.map +1 -1
- package/dist/commands/claude/plugin/list.d.ts.map +1 -1
- package/dist/commands/claude/plugin/list.js +3 -2
- package/dist/commands/claude/plugin/list.js.map +1 -1
- package/dist/commands/claude/plugin/plugin-changelog.d.ts.map +1 -1
- package/dist/commands/claude/plugin/plugin-changelog.js +0 -2
- package/dist/commands/claude/plugin/plugin-changelog.js.map +1 -1
- package/dist/commands/claude/plugin/plugin-files.d.ts.map +1 -1
- package/dist/commands/claude/plugin/plugin-files.js +3 -6
- package/dist/commands/claude/plugin/plugin-files.js.map +1 -1
- package/dist/commands/claude/plugin/plugin-validators.d.ts.map +1 -1
- package/dist/commands/claude/plugin/plugin-validators.js +3 -6
- package/dist/commands/claude/plugin/plugin-validators.js.map +1 -1
- package/dist/commands/claude/plugin/tree-copy.d.ts +2 -1
- package/dist/commands/claude/plugin/tree-copy.d.ts.map +1 -1
- package/dist/commands/claude/plugin/tree-copy.js +15 -14
- package/dist/commands/claude/plugin/tree-copy.js.map +1 -1
- package/dist/commands/claude/plugin/uninstall.d.ts.map +1 -1
- package/dist/commands/claude/plugin/uninstall.js +4 -4
- package/dist/commands/claude/plugin/uninstall.js.map +1 -1
- package/dist/commands/consistency-check.d.ts +17 -15
- package/dist/commands/consistency-check.d.ts.map +1 -1
- package/dist/commands/consistency-check.js +149 -104
- package/dist/commands/consistency-check.js.map +1 -1
- package/dist/commands/corpus/report.d.ts.map +1 -1
- package/dist/commands/corpus/report.js +1 -2
- package/dist/commands/corpus/report.js.map +1 -1
- package/dist/commands/corpus/runner.d.ts.map +1 -1
- package/dist/commands/corpus/runner.js +2 -6
- package/dist/commands/corpus/runner.js.map +1 -1
- package/dist/commands/corpus/scan.d.ts.map +1 -1
- package/dist/commands/corpus/scan.js +2 -3
- package/dist/commands/corpus/scan.js.map +1 -1
- package/dist/commands/corpus/seed.d.ts +4 -4
- package/dist/commands/corpus/seed.d.ts.map +1 -1
- package/dist/commands/corpus/seed.js +1 -3
- package/dist/commands/corpus/seed.js.map +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +55 -37
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/inventory.d.ts.map +1 -1
- package/dist/commands/inventory.js +6 -7
- package/dist/commands/inventory.js.map +1 -1
- package/dist/commands/mcp/list-collections.d.ts.map +1 -1
- package/dist/commands/mcp/list-collections.js +2 -1
- package/dist/commands/mcp/list-collections.js.map +1 -1
- package/dist/commands/mcp/serve.d.ts.map +1 -1
- package/dist/commands/mcp/serve.js +3 -2
- package/dist/commands/mcp/serve.js.map +1 -1
- package/dist/commands/okf/index.d.ts.map +1 -1
- package/dist/commands/okf/index.js +14 -2
- package/dist/commands/okf/index.js.map +1 -1
- package/dist/commands/okf/validate.d.ts +157 -48
- package/dist/commands/okf/validate.d.ts.map +1 -1
- package/dist/commands/okf/validate.js +109 -76
- package/dist/commands/okf/validate.js.map +1 -1
- package/dist/commands/phase-utils.d.ts +11 -10
- package/dist/commands/phase-utils.d.ts.map +1 -1
- package/dist/commands/phase-utils.js +30 -14
- package/dist/commands/phase-utils.js.map +1 -1
- package/dist/commands/positional-args.d.ts.map +1 -1
- package/dist/commands/positional-args.js +2 -1
- package/dist/commands/positional-args.js.map +1 -1
- package/dist/commands/rag/clear-command.d.ts.map +1 -1
- package/dist/commands/rag/clear-command.js +2 -1
- package/dist/commands/rag/clear-command.js.map +1 -1
- package/dist/commands/rag/index-command.d.ts.map +1 -1
- package/dist/commands/rag/index-command.js +4 -1
- package/dist/commands/rag/index-command.js.map +1 -1
- package/dist/commands/rag/query-command.d.ts.map +1 -1
- package/dist/commands/rag/query-command.js +2 -1
- package/dist/commands/rag/query-command.js.map +1 -1
- package/dist/commands/rag/stats-command.d.ts.map +1 -1
- package/dist/commands/rag/stats-command.js +2 -1
- package/dist/commands/rag/stats-command.js.map +1 -1
- package/dist/commands/resources/check-progress.d.ts +6 -0
- package/dist/commands/resources/check-progress.d.ts.map +1 -1
- package/dist/commands/resources/check-progress.js +15 -4
- package/dist/commands/resources/check-progress.js.map +1 -1
- package/dist/commands/resources/check-supervisor.d.ts.map +1 -1
- package/dist/commands/resources/check-supervisor.js +14 -7
- package/dist/commands/resources/check-supervisor.js.map +1 -1
- package/dist/commands/resources/check.d.ts +315 -205
- package/dist/commands/resources/check.d.ts.map +1 -1
- package/dist/commands/resources/check.js +368 -327
- package/dist/commands/resources/check.js.map +1 -1
- package/dist/commands/resources/index.d.ts.map +1 -1
- package/dist/commands/resources/index.js +159 -39
- package/dist/commands/resources/index.js.map +1 -1
- package/dist/commands/resources/query.d.ts +2 -2
- package/dist/commands/resources/query.d.ts.map +1 -1
- package/dist/commands/resources/query.js +24 -18
- package/dist/commands/resources/query.js.map +1 -1
- package/dist/commands/resources/scan.d.ts.map +1 -1
- package/dist/commands/resources/scan.js +4 -8
- package/dist/commands/resources/scan.js.map +1 -1
- package/dist/commands/resources/validate.d.ts +1 -1
- package/dist/commands/resources/validate.d.ts.map +1 -1
- package/dist/commands/resources/validate.js +0 -1
- package/dist/commands/resources/validate.js.map +1 -1
- package/dist/commands/skill/review-checklist.d.ts +3 -2
- package/dist/commands/skill/review-checklist.d.ts.map +1 -1
- package/dist/commands/skill/review-checklist.js +4 -2
- package/dist/commands/skill/review-checklist.js.map +1 -1
- package/dist/commands/skill/review.d.ts +247 -0
- package/dist/commands/skill/review.d.ts.map +1 -1
- package/dist/commands/skill/review.js +90 -60
- package/dist/commands/skill/review.js.map +1 -1
- package/dist/commands/skill/test/configure.d.ts.map +1 -1
- package/dist/commands/skill/test/configure.js +0 -1
- package/dist/commands/skill/test/configure.js.map +1 -1
- package/dist/commands/skill/test/run.d.ts +12 -6
- package/dist/commands/skill/test/run.d.ts.map +1 -1
- package/dist/commands/skill/test/run.js +120 -65
- package/dist/commands/skill/test/run.js.map +1 -1
- package/dist/commands/skills/build.d.ts +83 -3
- package/dist/commands/skills/build.d.ts.map +1 -1
- package/dist/commands/skills/build.js +162 -40
- package/dist/commands/skills/build.js.map +1 -1
- package/dist/commands/skills/install.d.ts +2 -1
- package/dist/commands/skills/install.d.ts.map +1 -1
- package/dist/commands/skills/install.js +20 -30
- package/dist/commands/skills/install.js.map +1 -1
- package/dist/commands/skills/list.d.ts.map +1 -1
- package/dist/commands/skills/list.js +14 -18
- package/dist/commands/skills/list.js.map +1 -1
- package/dist/commands/skills/package.d.ts +1 -1
- package/dist/commands/skills/package.d.ts.map +1 -1
- package/dist/commands/skills/package.js +6 -8
- package/dist/commands/skills/package.js.map +1 -1
- package/dist/commands/skills/scope-guard.d.ts.map +1 -1
- package/dist/commands/skills/scope-guard.js +2 -4
- package/dist/commands/skills/scope-guard.js.map +1 -1
- package/dist/commands/skills/shared.d.ts.map +1 -1
- package/dist/commands/skills/shared.js +2 -4
- package/dist/commands/skills/shared.js.map +1 -1
- package/dist/commands/skills/skill-discovery.d.ts +15 -13
- package/dist/commands/skills/skill-discovery.d.ts.map +1 -1
- package/dist/commands/skills/skill-discovery.js +23 -5
- package/dist/commands/skills/skill-discovery.js.map +1 -1
- package/dist/commands/skills/source-resolvers.d.ts +15 -0
- package/dist/commands/skills/source-resolvers.d.ts.map +1 -1
- package/dist/commands/skills/source-resolvers.js +25 -4
- package/dist/commands/skills/source-resolvers.js.map +1 -1
- package/dist/commands/validate.d.ts +1 -1
- package/dist/commands/validate.d.ts.map +1 -1
- package/dist/commands/validate.js +39 -14
- package/dist/commands/validate.js.map +1 -1
- package/dist/commands/verify.d.ts +17 -5
- package/dist/commands/verify.d.ts.map +1 -1
- package/dist/commands/verify.js +161 -104
- package/dist/commands/verify.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/report-schemas.d.ts +45 -0
- package/dist/report-schemas.d.ts.map +1 -0
- package/dist/report-schemas.js +100 -0
- package/dist/report-schemas.js.map +1 -0
- package/dist/skill-resolution/classify.js +2 -2
- package/dist/skill-resolution/classify.js.map +1 -1
- package/dist/skill-resolution/resolve-skill-reference.d.ts.map +1 -1
- package/dist/skill-resolution/resolve-skill-reference.js +50 -55
- package/dist/skill-resolution/resolve-skill-reference.js.map +1 -1
- package/dist/utils/agent-discovery.d.ts.map +1 -1
- package/dist/utils/agent-discovery.js +22 -11
- package/dist/utils/agent-discovery.js.map +1 -1
- package/dist/utils/agent-runner.d.ts.map +1 -1
- package/dist/utils/agent-runner.js +0 -1
- package/dist/utils/agent-runner.js.map +1 -1
- package/dist/utils/claude-context-lens.d.ts +34 -0
- package/dist/utils/claude-context-lens.d.ts.map +1 -0
- package/dist/utils/claude-context-lens.js +39 -0
- package/dist/utils/claude-context-lens.js.map +1 -0
- package/dist/utils/command-error.d.ts +63 -62
- package/dist/utils/command-error.d.ts.map +1 -1
- package/dist/utils/command-error.js +80 -76
- package/dist/utils/command-error.js.map +1 -1
- package/dist/utils/config-loader.d.ts +2 -1
- package/dist/utils/config-loader.d.ts.map +1 -1
- package/dist/utils/config-loader.js +3 -6
- package/dist/utils/config-loader.js.map +1 -1
- package/dist/utils/corpus-target.d.ts +5 -27
- package/dist/utils/corpus-target.d.ts.map +1 -1
- package/dist/utils/corpus-target.js +7 -33
- package/dist/utils/corpus-target.js.map +1 -1
- package/dist/utils/help-loader.d.ts.map +1 -1
- package/dist/utils/help-loader.js +0 -1
- package/dist/utils/help-loader.js.map +1 -1
- package/dist/utils/issue-rendering.d.ts +2 -2
- package/dist/utils/issue-rendering.js +2 -2
- package/dist/utils/optional-backend.d.ts.map +1 -1
- package/dist/utils/optional-backend.js +2 -1
- package/dist/utils/optional-backend.js.map +1 -1
- package/dist/utils/output.d.ts +9 -0
- package/dist/utils/output.d.ts.map +1 -1
- package/dist/utils/output.js +16 -0
- package/dist/utils/output.js.map +1 -1
- package/dist/utils/package-json.d.ts +24 -0
- package/dist/utils/package-json.d.ts.map +1 -0
- package/dist/utils/package-json.js +49 -0
- package/dist/utils/package-json.js.map +1 -0
- package/dist/utils/project-root-policy.d.ts.map +1 -1
- package/dist/utils/project-root-policy.js +0 -2
- package/dist/utils/project-root-policy.js.map +1 -1
- package/dist/utils/projection-lenses.d.ts +98 -0
- package/dist/utils/projection-lenses.d.ts.map +1 -0
- package/dist/utils/projection-lenses.js +203 -0
- package/dist/utils/projection-lenses.js.map +1 -0
- package/dist/utils/projection-query.d.ts +38 -14
- package/dist/utils/projection-query.d.ts.map +1 -1
- package/dist/utils/projection-query.js +78 -17
- package/dist/utils/projection-query.js.map +1 -1
- package/dist/utils/projection-store.d.ts +61 -42
- package/dist/utils/projection-store.d.ts.map +1 -1
- package/dist/utils/projection-store.js +155 -59
- package/dist/utils/projection-store.js.map +1 -1
- package/dist/utils/relation-limits.d.ts +50 -0
- package/dist/utils/relation-limits.d.ts.map +1 -0
- package/dist/utils/relation-limits.js +50 -0
- package/dist/utils/relation-limits.js.map +1 -0
- package/dist/utils/resource-loader.js +2 -2
- package/dist/utils/resource-loader.js.map +1 -1
- package/dist/utils/skill-discovery.d.ts.map +1 -1
- package/dist/utils/skill-discovery.js +2 -1
- package/dist/utils/skill-discovery.js.map +1 -1
- package/dist/utils/skill-packaging-config.d.ts +63 -1
- package/dist/utils/skill-packaging-config.d.ts.map +1 -1
- package/dist/utils/skill-packaging-config.js +56 -1
- package/dist/utils/skill-packaging-config.js.map +1 -1
- package/dist/utils/url-redact.d.ts.map +1 -1
- package/dist/utils/url-redact.js +4 -6
- package/dist/utils/url-redact.js.map +1 -1
- package/dist/utils/user-context-scanner.d.ts.map +1 -1
- package/dist/utils/user-context-scanner.js +0 -2
- package/dist/utils/user-context-scanner.js.map +1 -1
- package/dist/utils/validate-help-files.d.ts.map +1 -1
- package/dist/utils/validate-help-files.js +3 -4
- package/dist/utils/validate-help-files.js.map +1 -1
- package/dist/utils/vat-bin-path.d.ts.map +1 -1
- package/dist/utils/vat-bin-path.js +0 -1
- package/dist/utils/vat-bin-path.js.map +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -3
- package/dist/version.js.map +1 -1
- package/docs/audit.md +44 -53
- package/docs/doctor.md +1 -0
- package/docs/index.md +18 -10
- package/docs/rag.md +0 -1
- package/docs/resources.md +0 -1
- package/docs/skill-test.md +10 -9
- package/docs/skills.md +6 -7
- package/package.json +23 -28
- package/schemas/ard-emit.json +149 -0
- package/schemas/okf-validate.json +170 -0
- package/schemas/resources-check.json +229 -0
- package/schemas/skill-review.json +230 -0
- package/dist/commands/claude/budget.d.ts +0 -170
- package/dist/commands/claude/budget.d.ts.map +0 -1
- package/dist/commands/claude/budget.js +0 -464
- package/dist/commands/claude/budget.js.map +0 -1
- package/dist/utils/context-budget-issues.d.ts +0 -108
- package/dist/utils/context-budget-issues.d.ts.map +0 -1
- package/dist/utils/context-budget-issues.js +0 -280
- package/dist/utils/context-budget-issues.js.map +0 -1
package/docs/skill-test.md
CHANGED
|
@@ -161,21 +161,22 @@ The suite is never copied into anything the executor can reach. Each eval's decl
|
|
|
161
161
|
|
|
162
162
|
## Exit codes
|
|
163
163
|
|
|
164
|
-
The
|
|
165
|
-
|
|
164
|
+
The same three-way contract as every other `vat` command, so a CI consumer can
|
|
165
|
+
tolerate eval failures while failing closed on a harness that could not run.
|
|
166
166
|
|
|
167
|
-
- `0` - Run completed, all expectations passed
|
|
168
|
-
- `1` -
|
|
169
|
-
- `2` -
|
|
170
|
-
- `
|
|
171
|
-
- `
|
|
167
|
+
- `0` - Run completed, all expectations passed (or `--allow-eval-failure` suppressed a failing verdict)
|
|
168
|
+
- `1` - **Eval failure** — the run completed and produced a valid `grading.json`; expectations did not all pass
|
|
169
|
+
- `2` - The harness could not run. A `Reason: <reason>` line on stderr says why:
|
|
170
|
+
- `internal` — the harness broke (executor/grader crash, stall, timeout, grader nonce failure)
|
|
171
|
+
- `preflight` — the environment or inputs need fixing (bad config, unresolvable required companion, auth guard, missing security ack, `build` hook failed)
|
|
172
|
+
- `bootstrap` — `evals.json` was absent, so VAT wrote a starter template next to the skill source; fill it in and re-run
|
|
172
173
|
|
|
173
174
|
```bash
|
|
174
175
|
vat skill test run my-skill --i-understand-this-runs-skill-code
|
|
175
176
|
case $? in
|
|
176
177
|
0) ;;
|
|
177
|
-
|
|
178
|
-
*) exit 1 ;; # harness
|
|
178
|
+
1) echo "evals failed (tolerated)" ;;
|
|
179
|
+
*) exit 1 ;; # harness could not run — fail the build; read Reason: on stderr
|
|
179
180
|
esac
|
|
180
181
|
```
|
|
181
182
|
|
package/docs/skills.md
CHANGED
|
@@ -39,7 +39,7 @@ skills:
|
|
|
39
39
|
- `paths` is optional on `allow` entries and defaults to `["**/*"]` (the whole skill).
|
|
40
40
|
- Expired `allow` entries still apply; a separate `ALLOW_EXPIRED` warning surfaces the stale date for re-review. Opt into strict expiry with `severity.ALLOW_EXPIRED: error`.
|
|
41
41
|
- Unused `allow` entries surface as `ALLOW_UNUSED` (analogous to ESLint's unused-disable).
|
|
42
|
-
- `vat audit`
|
|
42
|
+
- `vat audit` applies `severity` (a code set to `error` gates, `warning` does not, `ignore` hides it) and ignores `allow`; its exit code follows the report's `status`.
|
|
43
43
|
|
|
44
44
|
See `docs/validation-codes.md` for the full code reference with per-code descriptions and defaults.
|
|
45
45
|
|
|
@@ -159,8 +159,8 @@ discovery rule that this command participates in.
|
|
|
159
159
|
|
|
160
160
|
**Exit Codes:**
|
|
161
161
|
- `0` - Build successful (or dry-run preview)
|
|
162
|
-
- `1` -
|
|
163
|
-
- `2` -
|
|
162
|
+
- `1` - A skill failed its validation gate, or a shipped link check found an error
|
|
163
|
+
- `2` - The build could not run (missing package.json, invalid config, an unknown flag, an internal failure)
|
|
164
164
|
|
|
165
165
|
**Output Format:**
|
|
166
166
|
```yaml
|
|
@@ -242,8 +242,8 @@ for terminology.
|
|
|
242
242
|
|
|
243
243
|
**Exit Codes:**
|
|
244
244
|
- `0` - Packaging successful (or dry-run preview)
|
|
245
|
-
- `1` -
|
|
246
|
-
- `2` -
|
|
245
|
+
- `1` - The skill failed its validation gate, or its ZIP exceeds the upload size limit
|
|
246
|
+
- `2` - Packaging could not run (skill path not found, an unknown flag, an internal failure)
|
|
247
247
|
|
|
248
248
|
**What Gets Packaged:**
|
|
249
249
|
- Root SKILL.md file
|
|
@@ -364,8 +364,7 @@ any other target lands correctly but is invisible to them.
|
|
|
364
364
|
|
|
365
365
|
**Exit Codes:**
|
|
366
366
|
- `0` - Install successful (or dry-run complete)
|
|
367
|
-
- `
|
|
368
|
-
- `2` - System error (unexpected exception)
|
|
367
|
+
- `2` - Install could not proceed: the source was not found or failed validation, the skill is already present and `--force` was not passed, a bad target/scope, an unexpected exception. None of these is a finding about a skill, so none is exit `1`; the message says which.
|
|
369
368
|
|
|
370
369
|
**YAML Output Format:**
|
|
371
370
|
```yaml
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibe-agent-toolkit/cli",
|
|
3
|
-
"version": "0.2.0-rc.
|
|
3
|
+
"version": "0.2.0-rc.9",
|
|
4
4
|
"description": "Command-line interface for vibe-agent-toolkit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -18,18 +18,20 @@
|
|
|
18
18
|
"files": [
|
|
19
19
|
"dist",
|
|
20
20
|
"docs",
|
|
21
|
+
"schemas",
|
|
21
22
|
"README.md",
|
|
22
23
|
"!dist/pipeline-oracles",
|
|
23
24
|
"!dist/qa-snapshot"
|
|
24
25
|
],
|
|
25
26
|
"scripts": {
|
|
26
|
-
"build": "tsx src/utils/validate-help-files.ts && tsx ../dev-tools/src/tsc-clean-build.ts && tsx ../dev-tools/src/prepare-bin.ts",
|
|
27
|
+
"build": "tsx src/utils/validate-help-files.ts && tsx ../dev-tools/src/tsc-clean-build.ts && bun run generate:schemas && tsx ../dev-tools/src/prepare-bin.ts",
|
|
28
|
+
"generate:schemas": "tsx scripts/generate-json-schemas.ts",
|
|
27
29
|
"test:unit": "vitest run",
|
|
28
30
|
"test:watch": "vitest",
|
|
29
31
|
"test:integration": "vitest run --config vitest.integration.config.ts",
|
|
30
32
|
"test:system": "vitest run --config vitest.system.config.ts",
|
|
31
33
|
"typecheck": "tsc --noEmit",
|
|
32
|
-
"clean": "rimraf dist *.tsbuildinfo"
|
|
34
|
+
"clean": "rimraf --glob dist \"*.tsbuildinfo\" .tsc-staging"
|
|
33
35
|
},
|
|
34
36
|
"keywords": [
|
|
35
37
|
"cli",
|
|
@@ -46,35 +48,28 @@
|
|
|
46
48
|
"//dependencies-note": "DO NOT add example agent packages or adopter packages here. Adopter packages (like vat-development-agents) depend on the CLI binary at build time — declaring them as deps creates a circular build dependency. They are built in a second turbo pass via package#task overrides in turbo.json.",
|
|
47
49
|
"dependencies": {
|
|
48
50
|
"@anthropic-ai/sdk": "^0.71.2",
|
|
49
|
-
"@vibe-agent-toolkit/agent-config": "0.2.0-rc.
|
|
50
|
-
"@vibe-agent-toolkit/agent-skills": "0.2.0-rc.
|
|
51
|
-
"@vibe-agent-toolkit/claude-marketplace": "0.2.0-rc.
|
|
52
|
-
"@vibe-agent-toolkit/discovery": "0.2.0-rc.
|
|
53
|
-
"@vibe-agent-toolkit/gateway-mcp": "0.2.0-rc.
|
|
54
|
-
"@vibe-agent-toolkit/projection-sqlite": "0.2.0-rc.
|
|
55
|
-
"@vibe-agent-toolkit/resources": "0.2.0-rc.
|
|
56
|
-
"@vibe-agent-toolkit/schema": "0.2.0-rc.
|
|
57
|
-
"@vibe-agent-toolkit/utils": "0.2.0-rc.
|
|
58
|
-
"adm-zip": "^0.6.
|
|
51
|
+
"@vibe-agent-toolkit/agent-config": "0.2.0-rc.9",
|
|
52
|
+
"@vibe-agent-toolkit/agent-skills": "0.2.0-rc.9",
|
|
53
|
+
"@vibe-agent-toolkit/claude-marketplace": "0.2.0-rc.9",
|
|
54
|
+
"@vibe-agent-toolkit/discovery": "0.2.0-rc.9",
|
|
55
|
+
"@vibe-agent-toolkit/gateway-mcp": "0.2.0-rc.9",
|
|
56
|
+
"@vibe-agent-toolkit/projection-sqlite": "0.2.0-rc.9",
|
|
57
|
+
"@vibe-agent-toolkit/resources": "0.2.0-rc.9",
|
|
58
|
+
"@vibe-agent-toolkit/schema": "0.2.0-rc.9",
|
|
59
|
+
"@vibe-agent-toolkit/utils": "0.2.0-rc.9",
|
|
60
|
+
"adm-zip": "^0.6.1",
|
|
59
61
|
"commander": "^12.1.0",
|
|
60
62
|
"picomatch": "^4.0.3",
|
|
61
|
-
"semver": "^7.
|
|
63
|
+
"semver": "^7.8.5",
|
|
62
64
|
"tar": "^7.5.7",
|
|
63
|
-
"yaml": "^2.
|
|
64
|
-
"zod": "^3.
|
|
65
|
+
"yaml": "^2.9.0",
|
|
66
|
+
"zod": "^3.25.0"
|
|
65
67
|
},
|
|
66
68
|
"devDependencies": {
|
|
67
|
-
"@types/adm-zip": "^0.5.7",
|
|
68
|
-
"@types/node": "^22.10.5",
|
|
69
|
-
"@types/picomatch": "^4.0.2",
|
|
70
|
-
"@types/semver": "^7.7.1",
|
|
71
69
|
"@types/tar": "^6.1.13",
|
|
72
|
-
"@vibe-agent-toolkit/dev-tools": "0.2.0-rc.
|
|
73
|
-
"@vibe-agent-toolkit/rag": "0.2.0-rc.
|
|
74
|
-
"@vibe-agent-toolkit/rag-lancedb": "0.2.0-rc.
|
|
75
|
-
"rimraf": "^6.0.1",
|
|
76
|
-
"typescript": "^5.7.3",
|
|
77
|
-
"vitest": "^4.1.11"
|
|
70
|
+
"@vibe-agent-toolkit/dev-tools": "0.2.0-rc.9",
|
|
71
|
+
"@vibe-agent-toolkit/rag": "0.2.0-rc.9",
|
|
72
|
+
"@vibe-agent-toolkit/rag-lancedb": "0.2.0-rc.9"
|
|
78
73
|
},
|
|
79
74
|
"publishConfig": {
|
|
80
75
|
"access": "public"
|
|
@@ -85,8 +80,8 @@
|
|
|
85
80
|
},
|
|
86
81
|
"//peerDependencies-note": "The RAG backends are OPTIONAL PEERS, never optionalDependencies. `optionalDependencies` are INSTALLED BY DEFAULT by npm and pnpm alike - 'optional' there means the install may fail without failing the build, not that it is skipped - so declaring them that way shipped ~287 MB unpacked (onnxruntime-web 137.5 MB, a LanceDB platform binary 97.8 MB, gpt-tokenizer 42.2 MB, apache-arrow 5.3 MB, protobufjs 3.0 MB; measured on darwin-arm64 against this release's pins, and the platform binary is larger on win32-x64) to every adopter, contradicting the seam in src/utils/optional-backend.ts that exists precisely to keep them out. Optional peers are NOT auto-installed, so the manifest now says what that module already says: these ship separately, and an absent one is a legible error naming the package to install. projection-sqlite is deliberately NOT in this group: it has zero third-party dependencies (only node:sqlite, which is built into Node) and a 152 KB dist, so the platform-binary argument that justifies the seam is simply false for it. It is also what `vat resources query` builds its ephemeral in-memory store from, and a query surface that works only where a backend was separately installed is the capability gate the projection design forbids.",
|
|
87
82
|
"peerDependencies": {
|
|
88
|
-
"@vibe-agent-toolkit/rag": "0.2.0-rc.
|
|
89
|
-
"@vibe-agent-toolkit/rag-lancedb": "0.2.0-rc.
|
|
83
|
+
"@vibe-agent-toolkit/rag": "0.2.0-rc.9",
|
|
84
|
+
"@vibe-agent-toolkit/rag-lancedb": "0.2.0-rc.9"
|
|
90
85
|
},
|
|
91
86
|
"peerDependenciesMeta": {
|
|
92
87
|
"@vibe-agent-toolkit/rag": {
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ard-emit",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ard-emit": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"status": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"ok",
|
|
11
|
+
"findings",
|
|
12
|
+
"error"
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
"examined": {
|
|
16
|
+
"type": "integer",
|
|
17
|
+
"minimum": 0
|
|
18
|
+
},
|
|
19
|
+
"findings": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"items": {
|
|
22
|
+
"type": "object",
|
|
23
|
+
"properties": {
|
|
24
|
+
"code": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"message": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"location": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"line": {
|
|
34
|
+
"type": "integer",
|
|
35
|
+
"exclusiveMinimum": 0
|
|
36
|
+
},
|
|
37
|
+
"field": {
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
"link": {
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
"fix": {
|
|
44
|
+
"type": "string"
|
|
45
|
+
},
|
|
46
|
+
"reference": {
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
"suggestion": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"severity": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"enum": [
|
|
55
|
+
"error",
|
|
56
|
+
"warning",
|
|
57
|
+
"info"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"column": {
|
|
61
|
+
"type": "integer",
|
|
62
|
+
"exclusiveMinimum": 0
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"required": [
|
|
66
|
+
"code",
|
|
67
|
+
"message",
|
|
68
|
+
"severity"
|
|
69
|
+
],
|
|
70
|
+
"additionalProperties": false
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"summary": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"properties": {
|
|
76
|
+
"errors": {
|
|
77
|
+
"type": "integer",
|
|
78
|
+
"minimum": 0
|
|
79
|
+
},
|
|
80
|
+
"warnings": {
|
|
81
|
+
"type": "integer",
|
|
82
|
+
"minimum": 0
|
|
83
|
+
},
|
|
84
|
+
"info": {
|
|
85
|
+
"type": "integer",
|
|
86
|
+
"minimum": 0
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"required": [
|
|
90
|
+
"errors",
|
|
91
|
+
"warnings",
|
|
92
|
+
"info"
|
|
93
|
+
],
|
|
94
|
+
"additionalProperties": false
|
|
95
|
+
},
|
|
96
|
+
"durationMs": {
|
|
97
|
+
"type": "number",
|
|
98
|
+
"minimum": 0
|
|
99
|
+
},
|
|
100
|
+
"error": {
|
|
101
|
+
"type": "string"
|
|
102
|
+
},
|
|
103
|
+
"data": {
|
|
104
|
+
"anyOf": [
|
|
105
|
+
{
|
|
106
|
+
"type": "object",
|
|
107
|
+
"properties": {
|
|
108
|
+
"outputPath": {
|
|
109
|
+
"type": "string"
|
|
110
|
+
},
|
|
111
|
+
"entryCount": {
|
|
112
|
+
"type": "integer",
|
|
113
|
+
"minimum": 0
|
|
114
|
+
},
|
|
115
|
+
"skippedCount": {
|
|
116
|
+
"type": "integer",
|
|
117
|
+
"minimum": 0
|
|
118
|
+
},
|
|
119
|
+
"shadowedCount": {
|
|
120
|
+
"type": "integer",
|
|
121
|
+
"minimum": 0
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"required": [
|
|
125
|
+
"outputPath",
|
|
126
|
+
"entryCount",
|
|
127
|
+
"skippedCount",
|
|
128
|
+
"shadowedCount"
|
|
129
|
+
],
|
|
130
|
+
"additionalProperties": false
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"type": "null"
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"required": [
|
|
139
|
+
"status",
|
|
140
|
+
"examined",
|
|
141
|
+
"findings",
|
|
142
|
+
"summary",
|
|
143
|
+
"data"
|
|
144
|
+
],
|
|
145
|
+
"additionalProperties": false
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
149
|
+
}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/okf-validate",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"okf-validate": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"status": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"ok",
|
|
11
|
+
"findings",
|
|
12
|
+
"error"
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
"examined": {
|
|
16
|
+
"type": "integer",
|
|
17
|
+
"minimum": 0
|
|
18
|
+
},
|
|
19
|
+
"findings": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"items": {
|
|
22
|
+
"type": "object",
|
|
23
|
+
"properties": {
|
|
24
|
+
"code": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"message": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"location": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"line": {
|
|
34
|
+
"type": "integer",
|
|
35
|
+
"exclusiveMinimum": 0
|
|
36
|
+
},
|
|
37
|
+
"field": {
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
"link": {
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
"fix": {
|
|
44
|
+
"type": "string"
|
|
45
|
+
},
|
|
46
|
+
"reference": {
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
"suggestion": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"severity": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"enum": [
|
|
55
|
+
"error",
|
|
56
|
+
"warning",
|
|
57
|
+
"info"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"column": {
|
|
61
|
+
"type": "integer",
|
|
62
|
+
"exclusiveMinimum": 0
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"required": [
|
|
66
|
+
"code",
|
|
67
|
+
"message",
|
|
68
|
+
"severity"
|
|
69
|
+
],
|
|
70
|
+
"additionalProperties": false
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"summary": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"properties": {
|
|
76
|
+
"errors": {
|
|
77
|
+
"type": "integer",
|
|
78
|
+
"minimum": 0
|
|
79
|
+
},
|
|
80
|
+
"warnings": {
|
|
81
|
+
"type": "integer",
|
|
82
|
+
"minimum": 0
|
|
83
|
+
},
|
|
84
|
+
"info": {
|
|
85
|
+
"type": "integer",
|
|
86
|
+
"minimum": 0
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"required": [
|
|
90
|
+
"errors",
|
|
91
|
+
"warnings",
|
|
92
|
+
"info"
|
|
93
|
+
],
|
|
94
|
+
"additionalProperties": false
|
|
95
|
+
},
|
|
96
|
+
"durationMs": {
|
|
97
|
+
"type": "number",
|
|
98
|
+
"minimum": 0
|
|
99
|
+
},
|
|
100
|
+
"error": {
|
|
101
|
+
"type": "string"
|
|
102
|
+
},
|
|
103
|
+
"data": {
|
|
104
|
+
"anyOf": [
|
|
105
|
+
{
|
|
106
|
+
"type": "object",
|
|
107
|
+
"properties": {
|
|
108
|
+
"bundles": {
|
|
109
|
+
"type": "array",
|
|
110
|
+
"items": {
|
|
111
|
+
"type": "object",
|
|
112
|
+
"properties": {
|
|
113
|
+
"bundle": {
|
|
114
|
+
"type": "string"
|
|
115
|
+
},
|
|
116
|
+
"root": {
|
|
117
|
+
"type": "string"
|
|
118
|
+
},
|
|
119
|
+
"conceptDocuments": {
|
|
120
|
+
"type": "array",
|
|
121
|
+
"items": {
|
|
122
|
+
"type": "string"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"reservedDocuments": {
|
|
126
|
+
"type": "array",
|
|
127
|
+
"items": {
|
|
128
|
+
"type": "string"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"declaredOkfVersion": {
|
|
132
|
+
"type": "string"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"required": [
|
|
136
|
+
"bundle",
|
|
137
|
+
"root",
|
|
138
|
+
"conceptDocuments",
|
|
139
|
+
"reservedDocuments"
|
|
140
|
+
],
|
|
141
|
+
"additionalProperties": false
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"notice": {
|
|
145
|
+
"type": "string"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"required": [
|
|
149
|
+
"bundles"
|
|
150
|
+
],
|
|
151
|
+
"additionalProperties": false
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"type": "null"
|
|
155
|
+
}
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"required": [
|
|
160
|
+
"status",
|
|
161
|
+
"examined",
|
|
162
|
+
"findings",
|
|
163
|
+
"summary",
|
|
164
|
+
"data"
|
|
165
|
+
],
|
|
166
|
+
"additionalProperties": false
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
170
|
+
}
|