@vibe-agent-toolkit/cli 0.2.0-rc.7 → 0.2.0-rc.8
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/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 +24 -24
- package/dist/commands/build.js.map +1 -1
- package/dist/commands/cache/clear.d.ts.map +1 -1
- package/dist/commands/cache/clear.js +17 -10
- package/dist/commands/cache/clear.js.map +1 -1
- package/dist/commands/claude/budget.d.ts +127 -28
- package/dist/commands/claude/budget.d.ts.map +1 -1
- package/dist/commands/claude/budget.js +76 -33
- package/dist/commands/claude/budget.js.map +1 -1
- package/dist/commands/claude/context.d.ts.map +1 -1
- package/dist/commands/claude/context.js +3 -2
- package/dist/commands/claude/context.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 +3 -2
- 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 +25 -15
- 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 +141 -105
- 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 +12 -31
- 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 +0 -3
- 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 +9 -13
- package/dist/commands/consistency-check.d.ts.map +1 -1
- package/dist/commands/consistency-check.js +91 -81
- 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.map +1 -1
- package/dist/commands/resources/check-progress.js +5 -2
- 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 +135 -4
- package/dist/commands/resources/check.d.ts.map +1 -1
- package/dist/commands/resources/check.js +97 -80
- 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 +24 -21
- package/dist/commands/resources/index.js.map +1 -1
- package/dist/commands/resources/query.d.ts.map +1 -1
- package/dist/commands/resources/query.js +4 -8
- 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 +118 -63
- package/dist/commands/skill/test/run.js.map +1 -1
- package/dist/commands/skills/build.d.ts +69 -2
- package/dist/commands/skills/build.d.ts.map +1 -1
- package/dist/commands/skills/build.js +112 -39
- 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.map +1 -1
- package/dist/commands/skills/skill-discovery.js +0 -1
- 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.js +8 -6
- package/dist/commands/validate.js.map +1 -1
- package/dist/commands/verify.d.ts +8 -2
- package/dist/commands/verify.d.ts.map +1 -1
- package/dist/commands/verify.js +86 -56
- 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 +102 -0
- package/dist/report-schemas.js.map +1 -0
- package/dist/skill-resolution/resolve-skill-reference.d.ts.map +1 -1
- package/dist/skill-resolution/resolve-skill-reference.js +2 -3
- 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/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/context-budget-issues.d.ts +1 -1
- package/dist/utils/context-budget-issues.js +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/resource-loader.js +2 -2
- package/dist/utils/resource-loader.js.map +1 -1
- package/dist/utils/skill-packaging-config.d.ts +27 -0
- package/dist/utils/skill-packaging-config.d.ts.map +1 -1
- package/dist/utils/skill-packaging-config.js +30 -0
- 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 +22 -27
- package/schemas/ard-emit.json +149 -0
- package/schemas/claude-budget.json +197 -0
- package/schemas/okf-validate.json +170 -0
- package/schemas/resources-check.json +186 -0
- package/schemas/skill-review.json +230 -0
package/docs/audit.md
CHANGED
|
@@ -28,7 +28,7 @@ vat audit [git-url-or-path] [options]
|
|
|
28
28
|
### Options
|
|
29
29
|
|
|
30
30
|
- `--user` - Audit user-level Claude plugins installation (`~/.claude/plugins`)
|
|
31
|
-
-
|
|
31
|
+
- `--no-recursive` - Scan the top level only (recursive scanning is the default; there is no `--recursive` flag)
|
|
32
32
|
- `--compat` - Run compatibility analysis for each plugin; adds a `compatibility:` block to its entry (see [Compatibility and settings blocks](#compatibility-and-settings-blocks))
|
|
33
33
|
- `--settings [file]` - Check each plugin against Claude settings (auto-discovered, or the given file); adds a `settings:` block. Requires `--compat`
|
|
34
34
|
- `--debug` - Enable debug logging (outputs to stderr)
|
|
@@ -207,19 +207,13 @@ hierarchical:
|
|
|
207
207
|
message: Skill exceeds recommended length
|
|
208
208
|
```
|
|
209
209
|
|
|
210
|
-
##
|
|
210
|
+
## `status` and the exit code
|
|
211
211
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
| The process exit code | **Whether the run completed** | `$?` |
|
|
218
|
-
|
|
219
|
-
So a tree with errors produces `status: error` beside **exit 0**, and both are
|
|
220
|
-
correct. That pair surprises people because `status` means something wider
|
|
221
|
-
everywhere else in this CLI, where it moves with the exit code. Here it does not,
|
|
222
|
-
because this command is a report rather than a gate.
|
|
212
|
+
The YAML `status` describes the findings — the worst actionable severity across
|
|
213
|
+
them — and the exit code follows it, exactly as in every other command of this
|
|
214
|
+
CLI. `vat audit` used to be the one exception ("advisory": exit 0 over
|
|
215
|
+
`status: error`), which a CI author reading the shared contract got wrong on
|
|
216
|
+
exactly this verb.
|
|
223
217
|
|
|
224
218
|
A run that audited **zero files** is refused, not passed. An existing directory
|
|
225
219
|
with nothing auditable in it — plugins that moved, a wrong subdirectory, an
|
|
@@ -227,26 +221,25 @@ excluded tree, files no lane recognises — used to publish `status: success`
|
|
|
227
221
|
beside `filesScanned: 0`, which is the same document a clean tree produces. It
|
|
228
222
|
now publishes `status: error` with one non-overridable `RESOURCE_CHECK_BROKEN`
|
|
229
223
|
finding under a top-level `issues:` key (the claim is about the run, so it is
|
|
230
|
-
not a `files[]` row and does not count toward `filesScanned`)
|
|
231
|
-
still `0`: the run completed; it just is not a verdict.
|
|
224
|
+
not a `files[]` row and does not count toward `filesScanned`), and exits `1`.
|
|
232
225
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
skill — so a typo'd glob fails the gate there instead of passing it.
|
|
226
|
+
What still sets audit apart from `vat skills validate` is not the exit code but
|
|
227
|
+
what it shows: audit ignores `validation.allow` (every finding is reported and
|
|
228
|
+
counted) and reads `validation.severity` from three scopes. `validation.severity`
|
|
229
|
+
is therefore the dial that decides what gates — set a code to `warning` and it
|
|
230
|
+
stops moving the exit code; set it to `ignore` and it disappears from the report.
|
|
239
231
|
|
|
240
232
|
## Exit Codes
|
|
241
233
|
|
|
242
|
-
|
|
234
|
+
The three-way contract every command shares:
|
|
243
235
|
|
|
244
|
-
- **0** -
|
|
245
|
-
- **
|
|
236
|
+
- **0** - The audit completed with nothing at error severity. Warnings and informational findings are in the report, not the exit code.
|
|
237
|
+
- **1** - The audit completed and reports `status: error`: at least one error-severity finding, or zero files audited. A directory or file INSIDE the tree that the scan could not read — permission denied, a vanished mount — is `SCAN_PATH_UNREADABLE` (warning): the run is degraded, not failed, every readable sibling is still validated, and the refused path is reported under `summary.pathsUnreadable` rather than counted in `filesScanned` — so a root with nothing readable audited zero files and is refused like an empty tree. A governing `vibe-agent-toolkit.config.yaml` that cannot be loaded, or whose `skills.include` reaches a directory the crawl cannot list, is warned about once on stderr and filed as `SCAN_PATH_UNREADABLE` on the config file or the directory; the skills it governs are validated config-free rather than dropped. Degrading beats destroying, and the report says where it degraded.
|
|
238
|
+
- **2** - The audit could not run at all, so there is no report to read: the path does not exist or is a file no audit lane recognises (the same ending `vat resources validate` and `vat skill review` give that argument), `--user` with no Claude config directory installed, a git URL that could not be cloned, an unknown flag, or an internal failure (a validator defect). An invalid config and a permission problem inside the tree are **not** exit 2 — they are findings, above.
|
|
246
239
|
|
|
247
240
|
## Validation Configuration
|
|
248
241
|
|
|
249
|
-
Audit honors `validation.severity` from `vibe-agent-toolkit.config.yaml`: setting a code to `ignore` hides it from the report, and every other level is applied as written — a code raised to `error` is reported as an error, a code lowered to `warning` as a warning. It changes **which findings are reported and at what severity**,
|
|
242
|
+
Audit honors `validation.severity` from `vibe-agent-toolkit.config.yaml`: setting a code to `ignore` hides it from the report, and every other level is applied as written — a code raised to `error` is reported as an error, a code lowered to `warning` as a warning. It changes **which findings are reported and at what severity**, and through them the exit code — a code at `error` gates, one lowered to `warning` does not (see [`status` and the exit code](#status-and-the-exit-code)). Audit does **not** apply `validation.allow` (per-path allow entries); for that, use `vat skills validate` or `vat skills build`.
|
|
250
243
|
|
|
251
244
|
Three scopes are read, least specific first — a more specific one naming the same code wins:
|
|
252
245
|
|
|
@@ -282,16 +275,15 @@ Errors prevent the resource from being used correctly:
|
|
|
282
275
|
- **Missing manifests/frontmatter**: Resource structure is invalid
|
|
283
276
|
- **Schema validation failures**: Manifest/frontmatter doesn't match expected format
|
|
284
277
|
- **Broken links**: Links to non-existent files (Skills only)
|
|
285
|
-
- **Reserved words in names**:
|
|
278
|
+
- **Reserved words in names**: `anthropic` or `claude` in a skill name (`RESERVED_WORD_IN_NAME`, a warning — Claude Code rejects non-certified skills using them)
|
|
286
279
|
- **XML tags in frontmatter**: XML-like tags in name/description (Skills only)
|
|
287
|
-
- **Windows-style backslashes**: Path separators should be forward slashes (Skills only)
|
|
288
280
|
|
|
289
281
|
### Warnings (Should Fix)
|
|
290
282
|
|
|
291
283
|
Warnings indicate potential issues but don't prevent usage:
|
|
292
284
|
|
|
293
285
|
- **Skill exceeds recommended length**: Over 5000 lines (Skills only)
|
|
294
|
-
- **
|
|
286
|
+
- **Capability observations**: Skill requires a runtime capability that isn't available on every surface — `CAPABILITY_BROWSER_AUTH`, `CAPABILITY_LOCAL_SHELL`, `CAPABILITY_EXTERNAL_CLI` (info); with `--compat`, the per-target verdicts `COMPAT_TARGET_INCOMPATIBLE` / `COMPAT_TARGET_NEEDS_REVIEW` (warning) and `COMPAT_TARGET_UNDECLARED` (info). See `docs/validation-codes.md`.
|
|
295
287
|
|
|
296
288
|
## Error Codes Reference
|
|
297
289
|
|
|
@@ -327,13 +319,12 @@ Warnings indicate potential issues but don't prevent usage:
|
|
|
327
319
|
| `SKILL_MISSING_NAME` | error | `name` field missing from frontmatter | Add `name` field |
|
|
328
320
|
| `SKILL_MISSING_DESCRIPTION` | error | `description` field missing from frontmatter | Add `description` field |
|
|
329
321
|
| `SKILL_NAME_INVALID` | error | Name contains invalid characters | Use only letters, numbers, hyphens, underscores |
|
|
330
|
-
| `SKILL_DESCRIPTION_TOO_LONG` | error | Description exceeds
|
|
322
|
+
| `SKILL_DESCRIPTION_TOO_LONG` | error | Description exceeds 1024 characters (the frontmatter schema limit; `SKILL_DESCRIPTION_OVER_CLAUDE_CODE_LIMIT` warns earlier at 250, where the Claude Code `/skills` listing truncates) | Shorten description |
|
|
331
323
|
| `RESERVED_WORD_IN_NAME` | warning | Name contains `anthropic` or `claude`; Claude Code rejects non-certified skills using these words | Rename the skill to avoid these words |
|
|
332
324
|
| `SKILL_NAME_XML_TAGS` | error | Name contains XML-like tags | Remove XML tags from name |
|
|
333
325
|
| `SKILL_DESCRIPTION_XML_TAGS` | error | Description contains XML-like tags | Remove XML tags from description |
|
|
334
326
|
| `SKILL_DESCRIPTION_EMPTY` | error | Description is empty or whitespace | Provide meaningful description |
|
|
335
327
|
| `SKILL_MISCONFIGURED_LOCATION` | error | Standalone skill in `~/.claude/plugins/` won't be recognized | Move to `~/.claude/skills/` for standalone skills, or add `.claude-plugin/plugin.json` for a proper plugin |
|
|
336
|
-
| `PATH_STYLE_WINDOWS` | error | Windows-style backslashes in paths | Use forward slashes (/) instead |
|
|
337
328
|
| `LINK_INTEGRITY_BROKEN` | error | Link to non-existent file | Fix or remove broken link |
|
|
338
329
|
|
|
339
330
|
### Skill Warnings
|
|
@@ -341,9 +332,12 @@ Warnings indicate potential issues but don't prevent usage:
|
|
|
341
332
|
| Code | Severity | Description | Fix |
|
|
342
333
|
|------|----------|-------------|-----|
|
|
343
334
|
| `SKILL_TOO_LONG` | warning | Skill exceeds 5000 lines | Consider splitting into multiple skills |
|
|
344
|
-
| `
|
|
345
|
-
| `
|
|
346
|
-
| `
|
|
335
|
+
| `CAPABILITY_BROWSER_AUTH` | info | Skill needs browser login (MSAL, SSO, OAuth) | See `docs/validation-codes.md#capability_browser_auth` |
|
|
336
|
+
| `CAPABILITY_LOCAL_SHELL` | info | Skill needs local shell/environment tools (Bash, Edit, Write, NotebookEdit) | See `docs/validation-codes.md#capability_local_shell` |
|
|
337
|
+
| `CAPABILITY_EXTERNAL_CLI` | info | Skill invokes an unbundled CLI (az, aws, gcloud, etc.) | See `docs/validation-codes.md#capability_external_cli` |
|
|
338
|
+
| `COMPAT_TARGET_INCOMPATIBLE` | warning | With `--compat`: a declared target cannot run the skill | See `docs/validation-codes.md#compat_target_incompatible` |
|
|
339
|
+
| `COMPAT_TARGET_NEEDS_REVIEW` | warning | With `--compat`: a declared target may not run the skill | See `docs/validation-codes.md#compat_target_needs_review` |
|
|
340
|
+
| `COMPAT_TARGET_UNDECLARED` | info | With `--compat`: the skill declares no `targets` | See `docs/validation-codes.md#compat_target_undeclared` |
|
|
347
341
|
|
|
348
342
|
### Format Detection Errors
|
|
349
343
|
|
|
@@ -361,10 +355,12 @@ Structured YAML report for programmatic parsing:
|
|
|
361
355
|
root: /abs/path/to/scan/root # The ONE absolute path in the document
|
|
362
356
|
status: success | warning | error
|
|
363
357
|
summary:
|
|
364
|
-
filesScanned: number
|
|
358
|
+
filesScanned: number # Files the audit READ — never a path it could not
|
|
365
359
|
filesPassed: number # Files with no ACTIONABLE issues (info-only counts as passed)
|
|
366
360
|
filesWithWarnings: number # Files whose worst actionable severity is warning
|
|
367
361
|
filesWithErrors: number # Files carrying at least one error
|
|
362
|
+
pathsUnreadable: number # `files[]` rows that are a refused path (SCAN_PATH_UNREADABLE),
|
|
363
|
+
# outside every count above: files.length === filesScanned + pathsUnreadable
|
|
368
364
|
issueCounts: # FINDINGS, not files — same field name and meaning
|
|
369
365
|
errors: number # as the `issueCounts` on each entry below,
|
|
370
366
|
warnings: number # plus the run-level `issues` when present
|
|
@@ -529,7 +525,7 @@ This scans:
|
|
|
529
525
|
Scan directory tree for all resources:
|
|
530
526
|
|
|
531
527
|
```bash
|
|
532
|
-
vat audit ./resources
|
|
528
|
+
vat audit ./resources
|
|
533
529
|
```
|
|
534
530
|
|
|
535
531
|
Finds and validates:
|
|
@@ -546,21 +542,17 @@ Use in CI pipeline:
|
|
|
546
542
|
#!/bin/bash
|
|
547
543
|
set -e
|
|
548
544
|
|
|
549
|
-
# Audit all resources
|
|
550
|
-
vat audit
|
|
551
|
-
|
|
552
|
-
# Check YAML status field — audit itself doesn't fail on validation errors
|
|
553
|
-
STATUS=$(grep '^status:' audit-report.yaml | awk '{print $2}')
|
|
554
|
-
if [ "$STATUS" = "error" ]; then
|
|
555
|
-
echo "Audit report contains validation errors"
|
|
545
|
+
# Audit all resources: exit 1 on an error-severity finding, 2 if the audit could not run
|
|
546
|
+
if ! vat audit > audit-report.yaml; then
|
|
547
|
+
echo "Audit found errors (or could not run) — see the report"
|
|
556
548
|
cat audit-report.yaml
|
|
557
549
|
exit 1
|
|
558
550
|
fi
|
|
559
551
|
|
|
560
|
-
echo "Audit clean — no
|
|
552
|
+
echo "Audit clean — no error-severity findings"
|
|
561
553
|
```
|
|
562
554
|
|
|
563
|
-
To gate
|
|
555
|
+
To gate with `validation.allow` honoured (audit ignores it), use `vat skills validate` instead:
|
|
564
556
|
|
|
565
557
|
```bash
|
|
566
558
|
#!/bin/bash
|
|
@@ -582,7 +574,7 @@ jobs:
|
|
|
582
574
|
- uses: actions/checkout@v4
|
|
583
575
|
- uses: oven-sh/setup-bun@v1
|
|
584
576
|
- run: npm install -g vibe-agent-toolkit
|
|
585
|
-
- run: vat audit
|
|
577
|
+
- run: vat audit
|
|
586
578
|
```
|
|
587
579
|
|
|
588
580
|
## Troubleshooting
|
|
@@ -601,7 +593,7 @@ jobs:
|
|
|
601
593
|
- Ensure plugin has `.claude-plugin/plugin.json` or `.claude-plugin/marketplace.json`
|
|
602
594
|
- Ensure registry files are named `installed_plugins.json` or `known_marketplaces.json`
|
|
603
595
|
- Ensure skill files are named `SKILL.md`
|
|
604
|
-
-
|
|
596
|
+
- Scanning is recursive by default; make sure you did not pass `--no-recursive`
|
|
605
597
|
|
|
606
598
|
### "Permission denied" on Windows
|
|
607
599
|
|
|
@@ -616,7 +608,7 @@ jobs:
|
|
|
616
608
|
**Solution**: Redirect stdout to file, only show stderr:
|
|
617
609
|
|
|
618
610
|
```bash
|
|
619
|
-
vat audit
|
|
611
|
+
vat audit > audit.yaml 2>&1
|
|
620
612
|
if [ $? -ne 0 ]; then
|
|
621
613
|
echo "Audit failed, see audit.yaml"
|
|
622
614
|
exit 1
|
|
@@ -706,10 +698,10 @@ governing context rather than a single top-level `projectRoot`:
|
|
|
706
698
|
reported as ungoverned (an audit finding, not a fatal error). This lets `vat
|
|
707
699
|
audit` work on external community trees, downloaded plugin bundles, and
|
|
708
700
|
monorepos with multiple sub-package configs.
|
|
709
|
-
- **Config**: accept defaults. Per-skill `validation.severity`
|
|
710
|
-
`
|
|
711
|
-
`
|
|
712
|
-
|
|
701
|
+
- **Config**: accept defaults. Per-skill `validation.severity` overrides come
|
|
702
|
+
from whichever `vibe-agent-toolkit.config.yaml` each skill walks up to;
|
|
703
|
+
`validation.allow` is not applied by audit (see the config section above).
|
|
704
|
+
The exit code follows the report's `status`, like every other command.
|
|
713
705
|
|
|
714
706
|
The per-skill walk-up is cached via a module-level two-layer cache and pre-warmed
|
|
715
707
|
during top-down descent for efficiency on large trees.
|
|
@@ -717,11 +709,10 @@ during top-down descent for efficiency on large trees.
|
|
|
717
709
|
See [Roots and Config — Canonical Concepts](../../../docs/concepts/roots-and-config.md)
|
|
718
710
|
for the `projectRoot` ladder and the audit walk-up model. See
|
|
719
711
|
[`docs/skill-quality-and-compatibility.md`](../../../docs/skill-quality-and-compatibility.md)
|
|
720
|
-
for VAT's
|
|
712
|
+
for VAT's audit stance.
|
|
721
713
|
|
|
722
714
|
## Related Commands
|
|
723
715
|
|
|
724
|
-
- `vat agent audit <path>` - Legacy skill-only audit (deprecated)
|
|
725
716
|
- `vat doctor` - Check environment and installation health
|
|
726
717
|
- `vat resources validate` - Validate markdown resources (links, anchors)
|
|
727
718
|
|
package/docs/doctor.md
CHANGED
|
@@ -35,6 +35,7 @@ providing actionable suggestions for any problems found.
|
|
|
35
35
|
**Exit Codes:**
|
|
36
36
|
- `0` - No check failed (an undetermined check is reported in the output, not fatal)
|
|
37
37
|
- `1` - One or more checks failed
|
|
38
|
+
- `2` - Doctor itself could not run (an internal failure, an unknown flag); no verdict was produced
|
|
38
39
|
|
|
39
40
|
**Output:** Human-friendly formatted text with emojis. The summary always prints the
|
|
40
41
|
full outcome distribution and, when the concise view hides checks, how many it hid —
|
package/docs/index.md
CHANGED
|
@@ -106,6 +106,7 @@ Diagnose vat setup and environment health
|
|
|
106
106
|
|
|
107
107
|
- `0` - No check failed (a check that could not be determined is reported as ❓, not fatal)
|
|
108
108
|
- `1` - One or more checks failed
|
|
109
|
+
- `2` - Doctor itself could not run (an internal failure; no verdict was produced)
|
|
109
110
|
|
|
110
111
|
**Creates/modifies:** None (read-only diagnostics)
|
|
111
112
|
|
|
@@ -169,7 +170,7 @@ Execute agent locally for testing
|
|
|
169
170
|
**Exit codes:**
|
|
170
171
|
|
|
171
172
|
- `0` - Execution succeeded
|
|
172
|
-
- `
|
|
173
|
+
- `2` - Execution failed (the agent could not run, or threw)
|
|
173
174
|
|
|
174
175
|
**Creates/modifies:** Depends on agent behavior
|
|
175
176
|
|
|
@@ -198,9 +199,8 @@ Run a packaged skill's eval suite in a headless, context-isolated Claude session
|
|
|
198
199
|
**Exit codes:**
|
|
199
200
|
|
|
200
201
|
- `0` - Run completed, all expectations passed
|
|
201
|
-
- `1` -
|
|
202
|
-
- `2` -
|
|
203
|
-
- `3` - Bootstrap failure
|
|
202
|
+
- `1` - Run completed and at least one eval failed
|
|
203
|
+
- `2` - The harness could not run; a `Reason: internal | preflight | bootstrap` line on stderr says why
|
|
204
204
|
- `4` - Eval failure (run completed, expectations did not all pass)
|
|
205
205
|
|
|
206
206
|
**Creates/modifies:** A harness directory (removed unless `--keep`)
|
|
@@ -237,7 +237,8 @@ Create vector embeddings for semantic search over documentation
|
|
|
237
237
|
**Exit codes:**
|
|
238
238
|
|
|
239
239
|
- `0` - Indexing succeeded
|
|
240
|
-
- `1` - Indexing
|
|
240
|
+
- `1` - Indexing completed but some resources could not be indexed (the report names them)
|
|
241
|
+
- `2` - Indexing could not run (no provider, unreadable config)
|
|
241
242
|
|
|
242
243
|
**Creates/modifies:**
|
|
243
244
|
|
|
@@ -268,7 +269,7 @@ Search indexed documentation semantically
|
|
|
268
269
|
**Exit codes:**
|
|
269
270
|
|
|
270
271
|
- `0` - Search succeeded
|
|
271
|
-
- `
|
|
272
|
+
- `2` - Search could not run (no index, query error)
|
|
272
273
|
|
|
273
274
|
**Creates/modifies:** None (read-only query)
|
|
274
275
|
|
|
@@ -428,7 +429,6 @@ its policy. The full matrix and rationale live in
|
|
|
428
429
|
Place `vibe-agent-toolkit.config.yaml` at project root:
|
|
429
430
|
|
|
430
431
|
```yaml
|
|
431
|
-
version: 1
|
|
432
432
|
resources:
|
|
433
433
|
include:
|
|
434
434
|
- "docs/**/*.md"
|
|
@@ -440,9 +440,17 @@ resources:
|
|
|
440
440
|
|
|
441
441
|
## Exit Code Summary
|
|
442
442
|
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
- `
|
|
443
|
+
One contract, every command:
|
|
444
|
+
|
|
445
|
+
- `0` - **OK.** The command ran and found nothing at error severity. Warnings and informational findings are in the document, not the exit code (a command that offers `--strict` promotes warnings).
|
|
446
|
+
- `1` - **Findings.** The command ran to completion and what it examined failed its gate: an error-severity finding, a failed eval, a broken link, a partial index.
|
|
447
|
+
- `2` - **Error.** The command could not do its job: a usage mistake (unknown flag or verb, a retired `--only`), a root path that does not exist or is not something the verb can act on, an unreadable config, a missing dependency, an internal failure (a crash anywhere in a command ends on `2`, never on Node's default `1`). Where a verb has more than one such cause it says which on stderr (`vat skill test run` prints `Reason: …`) — never in a fourth exit code. A path INSIDE a tree that the command cannot read is a finding, not an error: `vat audit` degrades it to `SCAN_PATH_UNREADABLE` and exits `0` or `1` on what it could read.
|
|
448
|
+
|
|
449
|
+
A CI wrapper reads `$?` the same way for every verb:
|
|
450
|
+
|
|
451
|
+
```bash
|
|
452
|
+
case $? in 0) ;; 1) echo findings ;; *) echo broken; exit 1 ;; esac
|
|
453
|
+
```
|
|
446
454
|
|
|
447
455
|
## Output Formats
|
|
448
456
|
|
package/docs/rag.md
CHANGED
package/docs/resources.md
CHANGED
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.8",
|
|
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.
|
|
51
|
+
"@vibe-agent-toolkit/agent-config": "0.2.0-rc.8",
|
|
52
|
+
"@vibe-agent-toolkit/agent-skills": "0.2.0-rc.8",
|
|
53
|
+
"@vibe-agent-toolkit/claude-marketplace": "0.2.0-rc.8",
|
|
54
|
+
"@vibe-agent-toolkit/discovery": "0.2.0-rc.8",
|
|
55
|
+
"@vibe-agent-toolkit/gateway-mcp": "0.2.0-rc.8",
|
|
56
|
+
"@vibe-agent-toolkit/projection-sqlite": "0.2.0-rc.8",
|
|
57
|
+
"@vibe-agent-toolkit/resources": "0.2.0-rc.8",
|
|
58
|
+
"@vibe-agent-toolkit/schema": "0.2.0-rc.8",
|
|
59
|
+
"@vibe-agent-toolkit/utils": "0.2.0-rc.8",
|
|
58
60
|
"adm-zip": "^0.6.0",
|
|
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.8",
|
|
71
|
+
"@vibe-agent-toolkit/rag": "0.2.0-rc.8",
|
|
72
|
+
"@vibe-agent-toolkit/rag-lancedb": "0.2.0-rc.8"
|
|
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.8",
|
|
84
|
+
"@vibe-agent-toolkit/rag-lancedb": "0.2.0-rc.8"
|
|
90
85
|
},
|
|
91
86
|
"peerDependenciesMeta": {
|
|
92
87
|
"@vibe-agent-toolkit/rag": {
|