@vibe-agent-toolkit/cli 0.1.41-rc.7 → 0.1.41
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/dist/bin/vat +24 -1
- package/dist/bin/vat.js +24 -1
- package/dist/bin/vat.js.map +1 -1
- package/dist/bin.js +23 -2
- package/dist/bin.js.map +1 -1
- package/dist/commands/agent/list.d.ts +11 -0
- package/dist/commands/agent/list.d.ts.map +1 -1
- package/dist/commands/agent/list.js +30 -11
- package/dist/commands/agent/list.js.map +1 -1
- package/dist/commands/audit/distributed-tree.d.ts +172 -0
- package/dist/commands/audit/distributed-tree.d.ts.map +1 -0
- package/dist/commands/audit/distributed-tree.js +319 -0
- package/dist/commands/audit/distributed-tree.js.map +1 -0
- package/dist/commands/audit.d.ts +69 -1
- package/dist/commands/audit.d.ts.map +1 -1
- package/dist/commands/audit.js +525 -174
- package/dist/commands/audit.js.map +1 -1
- package/dist/commands/build.d.ts +14 -0
- package/dist/commands/build.d.ts.map +1 -1
- package/dist/commands/build.js +103 -26
- package/dist/commands/build.js.map +1 -1
- package/dist/commands/claude/marketplace/git-publish.d.ts.map +1 -1
- package/dist/commands/claude/marketplace/git-publish.js +21 -3
- package/dist/commands/claude/marketplace/git-publish.js.map +1 -1
- package/dist/commands/claude/marketplace/validate.d.ts +125 -0
- package/dist/commands/claude/marketplace/validate.d.ts.map +1 -1
- package/dist/commands/claude/marketplace/validate.js +251 -44
- package/dist/commands/claude/marketplace/validate.js.map +1 -1
- package/dist/commands/claude/org/stubs.d.ts +9 -1
- package/dist/commands/claude/org/stubs.d.ts.map +1 -1
- package/dist/commands/claude/org/stubs.js +11 -3
- package/dist/commands/claude/org/stubs.js.map +1 -1
- package/dist/commands/claude/plugin/build.d.ts +34 -4
- package/dist/commands/claude/plugin/build.d.ts.map +1 -1
- package/dist/commands/claude/plugin/build.js +187 -16
- package/dist/commands/claude/plugin/build.js.map +1 -1
- package/dist/commands/claude/plugin/plugin-files.d.ts.map +1 -1
- package/dist/commands/claude/plugin/plugin-files.js +6 -2
- package/dist/commands/claude/plugin/plugin-files.js.map +1 -1
- package/dist/commands/claude/plugin/plugin-json-merge.d.ts.map +1 -1
- package/dist/commands/claude/plugin/plugin-json-merge.js +15 -0
- package/dist/commands/claude/plugin/plugin-json-merge.js.map +1 -1
- package/dist/commands/claude/plugin/tree-copy.d.ts +40 -0
- package/dist/commands/claude/plugin/tree-copy.d.ts.map +1 -1
- package/dist/commands/claude/plugin/tree-copy.js +100 -4
- package/dist/commands/claude/plugin/tree-copy.js.map +1 -1
- package/dist/commands/corpus/report.d.ts +22 -4
- package/dist/commands/corpus/report.d.ts.map +1 -1
- package/dist/commands/corpus/report.js +1 -0
- package/dist/commands/corpus/report.js.map +1 -1
- package/dist/commands/corpus/runner.d.ts +16 -1
- package/dist/commands/corpus/runner.d.ts.map +1 -1
- package/dist/commands/corpus/runner.js +40 -22
- package/dist/commands/corpus/runner.js.map +1 -1
- package/dist/commands/doctor.js +1 -1
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/inventory.d.ts +2 -0
- package/dist/commands/inventory.d.ts.map +1 -1
- package/dist/commands/inventory.js +45 -4
- package/dist/commands/inventory.js.map +1 -1
- package/dist/commands/phase-utils.d.ts +183 -14
- package/dist/commands/phase-utils.d.ts.map +1 -1
- package/dist/commands/phase-utils.js +294 -29
- package/dist/commands/phase-utils.js.map +1 -1
- package/dist/commands/positional-args.d.ts +36 -0
- package/dist/commands/positional-args.d.ts.map +1 -0
- package/dist/commands/positional-args.js +52 -0
- package/dist/commands/positional-args.js.map +1 -0
- package/dist/commands/rag/query-command.d.ts +40 -0
- package/dist/commands/rag/query-command.d.ts.map +1 -1
- package/dist/commands/rag/query-command.js +47 -20
- package/dist/commands/rag/query-command.js.map +1 -1
- package/dist/commands/resources/index.d.ts.map +1 -1
- package/dist/commands/resources/index.js +27 -9
- package/dist/commands/resources/index.js.map +1 -1
- package/dist/commands/resources/scan.d.ts +37 -0
- package/dist/commands/resources/scan.d.ts.map +1 -1
- package/dist/commands/resources/scan.js +47 -32
- package/dist/commands/resources/scan.js.map +1 -1
- package/dist/commands/resources/validate.d.ts +136 -1
- package/dist/commands/resources/validate.d.ts.map +1 -1
- package/dist/commands/resources/validate.js +105 -66
- package/dist/commands/resources/validate.js.map +1 -1
- package/dist/commands/skill/review-checklist.d.ts.map +1 -1
- package/dist/commands/skill/review-checklist.js +5 -0
- package/dist/commands/skill/review-checklist.js.map +1 -1
- package/dist/commands/skill/review.d.ts.map +1 -1
- package/dist/commands/skill/review.js +7 -3
- package/dist/commands/skill/review.js.map +1 -1
- package/dist/commands/skill/test/run.d.ts +1 -1
- package/dist/commands/skill/test/run.d.ts.map +1 -1
- package/dist/commands/skill/test/run.js +8 -6
- package/dist/commands/skill/test/run.js.map +1 -1
- package/dist/commands/skills/build.d.ts +349 -11
- package/dist/commands/skills/build.d.ts.map +1 -1
- package/dist/commands/skills/build.js +901 -97
- package/dist/commands/skills/build.js.map +1 -1
- package/dist/commands/skills/command-helpers.d.ts +6 -10
- package/dist/commands/skills/command-helpers.d.ts.map +1 -1
- package/dist/commands/skills/command-helpers.js +6 -22
- package/dist/commands/skills/command-helpers.js.map +1 -1
- package/dist/commands/skills/list.d.ts +18 -0
- package/dist/commands/skills/list.d.ts.map +1 -1
- package/dist/commands/skills/list.js +41 -15
- package/dist/commands/skills/list.js.map +1 -1
- package/dist/commands/skills/package.d.ts +15 -0
- package/dist/commands/skills/package.d.ts.map +1 -1
- package/dist/commands/skills/package.js +30 -20
- package/dist/commands/skills/package.js.map +1 -1
- package/dist/commands/skills/scope-guard.d.ts +64 -0
- package/dist/commands/skills/scope-guard.d.ts.map +1 -0
- package/dist/commands/skills/scope-guard.js +86 -0
- package/dist/commands/skills/scope-guard.js.map +1 -0
- package/dist/commands/skills/validate-command.d.ts.map +1 -1
- package/dist/commands/skills/validate-command.js +41 -7
- package/dist/commands/skills/validate-command.js.map +1 -1
- package/dist/commands/skills/validate.d.ts +44 -3
- package/dist/commands/skills/validate.d.ts.map +1 -1
- package/dist/commands/skills/validate.js +217 -53
- package/dist/commands/skills/validate.js.map +1 -1
- package/dist/commands/validate.d.ts +18 -0
- package/dist/commands/validate.d.ts.map +1 -1
- package/dist/commands/validate.js +89 -68
- package/dist/commands/validate.js.map +1 -1
- package/dist/commands/verify.d.ts +113 -6
- package/dist/commands/verify.d.ts.map +1 -1
- package/dist/commands/verify.js +440 -123
- package/dist/commands/verify.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/skill-resolution/index.d.ts +1 -1
- package/dist/skill-resolution/index.d.ts.map +1 -1
- package/dist/skill-resolution/index.js +1 -1
- package/dist/skill-resolution/index.js.map +1 -1
- package/dist/skill-resolution/packaging-config.d.ts +15 -2
- package/dist/skill-resolution/packaging-config.d.ts.map +1 -1
- package/dist/skill-resolution/packaging-config.js +39 -2
- package/dist/skill-resolution/packaging-config.js.map +1 -1
- package/dist/utils/command-error.d.ts +34 -1
- package/dist/utils/command-error.d.ts.map +1 -1
- package/dist/utils/command-error.js +32 -1
- package/dist/utils/command-error.js.map +1 -1
- package/dist/utils/help-loader.d.ts +6 -2
- package/dist/utils/help-loader.d.ts.map +1 -1
- package/dist/utils/help-loader.js +9 -16
- package/dist/utils/help-loader.js.map +1 -1
- package/dist/utils/issue-rendering.d.ts +130 -0
- package/dist/utils/issue-rendering.d.ts.map +1 -1
- package/dist/utils/issue-rendering.js +147 -0
- package/dist/utils/issue-rendering.js.map +1 -1
- package/dist/utils/issue-severity.d.ts +51 -0
- package/dist/utils/issue-severity.d.ts.map +1 -0
- package/dist/utils/issue-severity.js +63 -0
- package/dist/utils/issue-severity.js.map +1 -0
- package/dist/utils/output.d.ts +54 -5
- package/dist/utils/output.d.ts.map +1 -1
- package/dist/utils/output.js +111 -17
- package/dist/utils/output.js.map +1 -1
- package/dist/utils/relativize-paths.d.ts +45 -0
- package/dist/utils/relativize-paths.d.ts.map +1 -0
- package/dist/utils/relativize-paths.js +67 -0
- package/dist/utils/relativize-paths.js.map +1 -0
- package/dist/utils/resource-loader.d.ts +21 -2
- package/dist/utils/resource-loader.d.ts.map +1 -1
- package/dist/utils/resource-loader.js +85 -11
- package/dist/utils/resource-loader.js.map +1 -1
- package/dist/utils/skill-packaging-config.d.ts +22 -1
- package/dist/utils/skill-packaging-config.d.ts.map +1 -1
- package/dist/utils/skill-packaging-config.js +26 -0
- package/dist/utils/skill-packaging-config.js.map +1 -1
- package/dist/utils/verdict-helpers.d.ts +4 -3
- package/dist/utils/verdict-helpers.d.ts.map +1 -1
- package/dist/utils/verdict-helpers.js +6 -13
- package/dist/utils/verdict-helpers.js.map +1 -1
- package/dist/version.d.ts +22 -2
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +31 -2
- package/dist/version.js.map +1 -1
- package/docs/index.md +12 -0
- package/docs/rag.md +9 -4
- package/docs/resources.md +30 -14
- package/docs/skills.md +25 -7
- package/package.json +12 -12
package/docs/resources.md
CHANGED
|
@@ -18,14 +18,19 @@ including link integrity checking and anchor validation.
|
|
|
18
18
|
4. Exits 0 always (informational only)
|
|
19
19
|
|
|
20
20
|
**Path Argument:**
|
|
21
|
-
- `[path]`
|
|
22
|
-
- Recursively finds all `*.md` files under that directory
|
|
23
|
-
-
|
|
24
|
-
-
|
|
21
|
+
- `[path]` restricts the scan to that subtree of the project
|
|
22
|
+
- Recursively finds all `*.md` / `*.html` files under that directory
|
|
23
|
+
- The path **replaces** the config's `resources.include` patterns
|
|
24
|
+
- The config's `resources.exclude` patterns **still apply** — a path run never
|
|
25
|
+
scans build output, vendored trees, or test fixtures the project excluded
|
|
26
|
+
- To scan the project's full configured set, run without a path argument:
|
|
27
|
+
`vat resources scan`
|
|
25
28
|
|
|
26
29
|
**Options:**
|
|
27
30
|
- `[path]` - Base directory to crawl (defaults to current directory)
|
|
28
31
|
- `--debug` - Enable debug logging
|
|
32
|
+
- `--verbose` - Add a `files:` list with per-file link/anchor counts and checksums
|
|
33
|
+
- `--collection <id>` - Only report files in the named collection (config mode — no path argument)
|
|
29
34
|
|
|
30
35
|
**Exit Codes:**
|
|
31
36
|
- `0` - Always (scan is informational)
|
|
@@ -33,23 +38,28 @@ including link integrity checking and anchor validation.
|
|
|
33
38
|
|
|
34
39
|
**Output:** YAML on stdout, logs on stderr
|
|
35
40
|
|
|
41
|
+
`root` is stated once and is the only absolute path in the document; every
|
|
42
|
+
`path` beneath it is relative to it.
|
|
43
|
+
|
|
36
44
|
**Example:**
|
|
37
45
|
```bash
|
|
38
46
|
# Recursively scan all *.md files under docs/
|
|
39
|
-
vat resources scan docs/
|
|
47
|
+
vat resources scan docs/ --verbose
|
|
40
48
|
# Equivalent to: find all files matching docs/**/*.md pattern
|
|
41
49
|
|
|
42
50
|
# Output:
|
|
43
51
|
# ---
|
|
44
52
|
# status: success
|
|
53
|
+
# root: /home/you/my-project
|
|
45
54
|
# filesScanned: 12
|
|
46
55
|
# linksFound: 47
|
|
47
56
|
# anchorsFound: 23
|
|
57
|
+
# durationSecs: 0.234
|
|
48
58
|
# files:
|
|
49
59
|
# - path: docs/README.md
|
|
50
60
|
# links: 5
|
|
51
61
|
# anchors: 3
|
|
52
|
-
#
|
|
62
|
+
# checksum: 47dd7b50af765df240fe2514f029fc697c907fc37a3267e22060f2f9f611975c
|
|
53
63
|
# ---
|
|
54
64
|
```
|
|
55
65
|
|
|
@@ -78,14 +88,21 @@ for the loud-cwd fallback policy and the projectRoot discovery ladder.
|
|
|
78
88
|
4. Exits 0 if valid, 1 if errors found
|
|
79
89
|
|
|
80
90
|
**Path Argument:**
|
|
81
|
-
- `[path]`
|
|
82
|
-
- Recursively finds all `*.md` files under that directory
|
|
83
|
-
-
|
|
84
|
-
-
|
|
91
|
+
- `[path]` restricts the scan to that subtree of the project
|
|
92
|
+
- Recursively finds all `*.md` / `*.html` files under that directory
|
|
93
|
+
- The path **replaces** the config's `resources.include` patterns
|
|
94
|
+
- The config's `resources.exclude` patterns **still apply** — a path run never
|
|
95
|
+
scans build output, vendored trees, or test fixtures the project excluded
|
|
96
|
+
- To scan the project's full configured set, run without a path argument:
|
|
97
|
+
`vat resources validate`
|
|
85
98
|
|
|
86
99
|
**Options:**
|
|
87
100
|
- `[path]` - Base directory to crawl (defaults to current directory)
|
|
88
101
|
- `--debug` - Enable debug logging
|
|
102
|
+
- `-v, --verbose` - Show all scanned resources, including those without issues. By
|
|
103
|
+
default `issues` carries one counts-only row per file with findings
|
|
104
|
+
(`{file, errors?, warnings?, info?, codes}`); `--verbose` replaces each row with
|
|
105
|
+
its per-issue detail. Every other output field is identical in both modes.
|
|
89
106
|
- `--no-check-frontmatter-links` - Skip frontmatter URI-reference link validation across all collections (default: enabled)
|
|
90
107
|
|
|
91
108
|
**Exit Codes:**
|
|
@@ -108,8 +125,7 @@ vat resources validate docs/
|
|
|
108
125
|
# status: success
|
|
109
126
|
# filesScanned: 12
|
|
110
127
|
# linksChecked: 47
|
|
111
|
-
#
|
|
112
|
-
# duration: 456ms
|
|
128
|
+
# durationSecs: 0.456
|
|
113
129
|
# ---
|
|
114
130
|
```
|
|
115
131
|
|
|
@@ -123,7 +139,7 @@ vat resources validate docs/
|
|
|
123
139
|
|
|
124
140
|
# stdout:
|
|
125
141
|
# ---
|
|
126
|
-
# status:
|
|
142
|
+
# status: error
|
|
127
143
|
# errorsFound: 2
|
|
128
144
|
# filesWithErrors: 2
|
|
129
145
|
# issueCounts: { errors: 2, warnings: 0, info: 0 }
|
|
@@ -136,7 +152,7 @@ vat resources validate docs/
|
|
|
136
152
|
# code: LINK_BROKEN_FILE
|
|
137
153
|
# severity: error
|
|
138
154
|
# message: Link target not found: ./missing.md
|
|
139
|
-
#
|
|
155
|
+
# durationSecs: 0.456
|
|
140
156
|
# ---
|
|
141
157
|
```
|
|
142
158
|
|
package/docs/skills.md
CHANGED
|
@@ -192,18 +192,32 @@ discovery rule that this command participates in.
|
|
|
192
192
|
**Output Format:**
|
|
193
193
|
```yaml
|
|
194
194
|
status: success
|
|
195
|
-
package: @my-org/my-package
|
|
196
195
|
skillsBuilt: 2
|
|
197
|
-
skills
|
|
196
|
+
outputCommitted: true # false ⇒ dist/skills was NOT replaced
|
|
197
|
+
skills: # bundles that exist on disk; empty when outputCommitted is false
|
|
198
198
|
- name: skill1
|
|
199
199
|
outputPath: /path/to/dist/skills/skill1
|
|
200
200
|
filesPackaged: 5
|
|
201
|
+
issueCounts: { errors: 0, warnings: 1, info: 0 }
|
|
202
|
+
issues: # every finding, at every verbosity
|
|
203
|
+
- code: LINK_DROPPED_BY_DEPTH
|
|
204
|
+
severity: warning
|
|
205
|
+
message: ...
|
|
206
|
+
location: dist/skills/skill1/docs/deep.md
|
|
207
|
+
fix: ...
|
|
201
208
|
- name: skill2
|
|
202
209
|
outputPath: /path/to/dist/skills/skill2
|
|
203
210
|
filesPackaged: 3
|
|
211
|
+
issueCounts: { errors: 0, warnings: 0, info: 0 }
|
|
212
|
+
issues: []
|
|
213
|
+
skillsStaged: [] # the same rows, WITHOUT outputPath, when the promotion was aborted
|
|
204
214
|
duration: 1234ms
|
|
205
215
|
```
|
|
206
216
|
|
|
217
|
+
`--verbose` changes the stderr report only — the YAML above is identical at either
|
|
218
|
+
verbosity. See `vat skills build --help` for the full field list and the identity
|
|
219
|
+
`issueCounts` reconciles against.
|
|
220
|
+
|
|
207
221
|
**Examples:**
|
|
208
222
|
```bash
|
|
209
223
|
# Build all skills from package.json
|
|
@@ -362,11 +376,14 @@ to override (single-skill sources only).
|
|
|
362
376
|
| `windsurf` | `~/.codeium/windsurf/skills/` | `.windsurf/skills/` |
|
|
363
377
|
| `agents` | `~/.agents/skills/` | `.agents/skills/` |
|
|
364
378
|
|
|
365
|
-
These paths were last reviewed against
|
|
366
|
-
not verified at build or test time
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
379
|
+
These paths were last reviewed against each platform's own published docs on
|
|
380
|
+
2026-07-30 (all fourteen unchanged) and are not verified at build or test time.
|
|
381
|
+
The tests derive their expectations from the table and assert invariants of it —
|
|
382
|
+
every target present, both scopes relative and forward-slash only, and that the
|
|
383
|
+
resolver composes base + relative path. No test can check that a path is where a
|
|
384
|
+
platform actually looks. If a vendor moves its convention, installs land
|
|
385
|
+
somewhere unread and every VAT check still passes. Re-check the vendor's
|
|
386
|
+
documentation before relying on a non-`claude` target.
|
|
370
387
|
|
|
371
388
|
**Visibility:** VAT's own inspection commands are Claude-scoped — `vat skills
|
|
372
389
|
list --user` and `vat audit --user` read `~/.claude` only. A skill installed to
|
|
@@ -495,6 +512,7 @@ only when the `SKILL.md` declares none.
|
|
|
495
512
|
**Output Format:**
|
|
496
513
|
```yaml
|
|
497
514
|
status: success
|
|
515
|
+
root: /abs/path/to/project
|
|
498
516
|
context: project | user
|
|
499
517
|
skillsFound: 3
|
|
500
518
|
skills:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibe-agent-toolkit/cli",
|
|
3
|
-
"version": "0.1.41
|
|
3
|
+
"version": "0.1.41",
|
|
4
4
|
"description": "Command-line interface for vibe-agent-toolkit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -41,16 +41,16 @@
|
|
|
41
41
|
"//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.",
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@anthropic-ai/sdk": "^0.71.2",
|
|
44
|
-
"@vibe-agent-toolkit/agent-config": "0.1.41
|
|
45
|
-
"@vibe-agent-toolkit/agent-schema": "0.1.41
|
|
46
|
-
"@vibe-agent-toolkit/agent-skills": "0.1.41
|
|
47
|
-
"@vibe-agent-toolkit/claude-marketplace": "0.1.41
|
|
48
|
-
"@vibe-agent-toolkit/discovery": "0.1.41
|
|
49
|
-
"@vibe-agent-toolkit/gateway-mcp": "0.1.41
|
|
50
|
-
"@vibe-agent-toolkit/rag": "0.1.41
|
|
51
|
-
"@vibe-agent-toolkit/rag-lancedb": "0.1.41
|
|
52
|
-
"@vibe-agent-toolkit/resources": "0.1.41
|
|
53
|
-
"@vibe-agent-toolkit/utils": "0.1.41
|
|
44
|
+
"@vibe-agent-toolkit/agent-config": "0.1.41",
|
|
45
|
+
"@vibe-agent-toolkit/agent-schema": "0.1.41",
|
|
46
|
+
"@vibe-agent-toolkit/agent-skills": "0.1.41",
|
|
47
|
+
"@vibe-agent-toolkit/claude-marketplace": "0.1.41",
|
|
48
|
+
"@vibe-agent-toolkit/discovery": "0.1.41",
|
|
49
|
+
"@vibe-agent-toolkit/gateway-mcp": "0.1.41",
|
|
50
|
+
"@vibe-agent-toolkit/rag": "0.1.41",
|
|
51
|
+
"@vibe-agent-toolkit/rag-lancedb": "0.1.41",
|
|
52
|
+
"@vibe-agent-toolkit/resources": "0.1.41",
|
|
53
|
+
"@vibe-agent-toolkit/utils": "0.1.41",
|
|
54
54
|
"adm-zip": "^0.6.0",
|
|
55
55
|
"commander": "^12.1.0",
|
|
56
56
|
"picomatch": "^4.0.3",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@types/picomatch": "^4.0.2",
|
|
66
66
|
"@types/semver": "^7.7.1",
|
|
67
67
|
"@types/tar": "^6.1.13",
|
|
68
|
-
"@vibe-agent-toolkit/dev-tools": "0.1.41
|
|
68
|
+
"@vibe-agent-toolkit/dev-tools": "0.1.41",
|
|
69
69
|
"rimraf": "^6.0.1",
|
|
70
70
|
"typescript": "^5.7.3",
|
|
71
71
|
"vitest": "^3.2.4"
|