@vibe-agent-toolkit/cli 0.2.0-rc.4 â 0.2.0-rc.6
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.js +35 -2
- package/dist/bin.js.map +1 -1
- package/dist/commands/audit.d.ts.map +1 -1
- package/dist/commands/audit.js +169 -17
- package/dist/commands/audit.js.map +1 -1
- package/dist/commands/claude/claude-config.d.ts.map +1 -1
- package/dist/commands/claude/claude-config.js +6 -0
- package/dist/commands/claude/claude-config.js.map +1 -1
- package/dist/commands/claude/org/helpers.d.ts +59 -1
- package/dist/commands/claude/org/helpers.d.ts.map +1 -1
- package/dist/commands/claude/org/helpers.js +58 -7
- package/dist/commands/claude/org/helpers.js.map +1 -1
- package/dist/commands/claude/org/index.d.ts.map +1 -1
- package/dist/commands/claude/org/index.js +24 -16
- package/dist/commands/claude/org/index.js.map +1 -1
- package/dist/commands/claude/org/skills.d.ts +428 -0
- package/dist/commands/claude/org/skills.d.ts.map +1 -1
- package/dist/commands/claude/org/skills.js +1189 -91
- package/dist/commands/claude/org/skills.js.map +1 -1
- package/dist/commands/claude/org/users.d.ts.map +1 -1
- package/dist/commands/claude/org/users.js +3 -1
- package/dist/commands/claude/org/users.js.map +1 -1
- package/dist/commands/claude/org/workspaces.d.ts.map +1 -1
- package/dist/commands/claude/org/workspaces.js +5 -2
- package/dist/commands/claude/org/workspaces.js.map +1 -1
- package/dist/commands/claude/plugin/install.js +0 -1
- package/dist/commands/claude/plugin/install.js.map +1 -1
- package/dist/commands/corpus/runner.d.ts.map +1 -1
- package/dist/commands/corpus/runner.js +1 -19
- package/dist/commands/corpus/runner.js.map +1 -1
- package/dist/commands/inventory.js +1 -1
- package/dist/commands/inventory.js.map +1 -1
- package/dist/commands/resources/check-progress.d.ts +145 -0
- package/dist/commands/resources/check-progress.d.ts.map +1 -0
- package/dist/commands/resources/check-progress.js +205 -0
- package/dist/commands/resources/check-progress.js.map +1 -0
- package/dist/commands/resources/check-supervisor.d.ts +465 -0
- package/dist/commands/resources/check-supervisor.d.ts.map +1 -0
- package/dist/commands/resources/check-supervisor.js +566 -0
- package/dist/commands/resources/check-supervisor.js.map +1 -0
- package/dist/commands/resources/check.d.ts +454 -0
- package/dist/commands/resources/check.d.ts.map +1 -0
- package/dist/commands/resources/check.js +1237 -0
- package/dist/commands/resources/check.js.map +1 -0
- package/dist/commands/resources/index.d.ts.map +1 -1
- package/dist/commands/resources/index.js +277 -6
- package/dist/commands/resources/index.js.map +1 -1
- package/dist/commands/resources/query.d.ts +89 -0
- package/dist/commands/resources/query.d.ts.map +1 -0
- package/dist/commands/resources/query.js +146 -0
- package/dist/commands/resources/query.js.map +1 -0
- package/dist/commands/resources/scan.js +1 -1
- package/dist/commands/resources/scan.js.map +1 -1
- package/dist/commands/skill/review-checklist.d.ts.map +1 -1
- package/dist/commands/skill/review-checklist.js +35 -0
- package/dist/commands/skill/review-checklist.js.map +1 -1
- package/dist/commands/skill/test/configure.d.ts +37 -0
- package/dist/commands/skill/test/configure.d.ts.map +1 -1
- package/dist/commands/skill/test/configure.js +57 -12
- package/dist/commands/skill/test/configure.js.map +1 -1
- package/dist/commands/skills/install.js +0 -1
- package/dist/commands/skills/install.js.map +1 -1
- package/dist/commands/skills/skill-discovery.d.ts.map +1 -1
- package/dist/commands/skills/skill-discovery.js +4 -2
- package/dist/commands/skills/skill-discovery.js.map +1 -1
- package/dist/utils/agent-runner.d.ts.map +1 -1
- package/dist/utils/agent-runner.js +7 -3
- package/dist/utils/agent-runner.js.map +1 -1
- package/dist/utils/command-error.d.ts +56 -1
- package/dist/utils/command-error.d.ts.map +1 -1
- package/dist/utils/command-error.js +66 -3
- package/dist/utils/command-error.js.map +1 -1
- package/dist/utils/config-loader.d.ts.map +1 -1
- package/dist/utils/config-loader.js +30 -7
- package/dist/utils/config-loader.js.map +1 -1
- package/dist/utils/issue-severity.d.ts +12 -5
- package/dist/utils/issue-severity.d.ts.map +1 -1
- package/dist/utils/issue-severity.js +1 -1
- package/dist/utils/issue-severity.js.map +1 -1
- package/dist/utils/projection-query.d.ts +263 -0
- package/dist/utils/projection-query.d.ts.map +1 -0
- package/dist/utils/projection-query.js +262 -0
- package/dist/utils/projection-query.js.map +1 -0
- package/dist/utils/projection-store.d.ts +104 -2
- package/dist/utils/projection-store.d.ts.map +1 -1
- package/dist/utils/projection-store.js +126 -4
- package/dist/utils/projection-store.js.map +1 -1
- package/dist/utils/vat-bin-path.d.ts +36 -0
- package/dist/utils/vat-bin-path.d.ts.map +1 -0
- package/dist/utils/vat-bin-path.js +49 -0
- package/dist/utils/vat-bin-path.js.map +1 -0
- package/package.json +25 -14
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Where the built vat CLI entry is, for the commands that re-invoke it as a
|
|
3
|
+
* child process.
|
|
4
|
+
*
|
|
5
|
+
* ## ðŠĪ `dist/bin.js`, deliberately NOT `dist/bin/vat.js`
|
|
6
|
+
*
|
|
7
|
+
* `packages/lab/src/harness/instrument.ts` documents `dist/bin/vat.js` as a
|
|
8
|
+
* re-resolving WRAPPER: it looks the CLI up again at run time, so spawning it
|
|
9
|
+
* can execute a different build than the one the caller is running from. A
|
|
10
|
+
* supervisor that thinks it is bounding its own code, and a corpus runner that
|
|
11
|
+
* thinks it is auditing with its own validators, both need the entry point that
|
|
12
|
+
* cannot be redirected.
|
|
13
|
+
*
|
|
14
|
+
* ## Why the two branches
|
|
15
|
+
*
|
|
16
|
+
* `node` cannot execute `.ts`, so a caller running from SOURCE under vitest
|
|
17
|
+
* still has to reach the COMPILED entry â which is why the source-tree branch
|
|
18
|
+
* walks across to `packages/cli/dist/bin.js` rather than to a sibling. A build
|
|
19
|
+
* is therefore a precondition for every test that spawns the CLI, and a system
|
|
20
|
+
* test that skipped it would prove things about a stale `dist`.
|
|
21
|
+
*
|
|
22
|
+
* ðŠĪ Shared rather than copied. This resolution lived inline in
|
|
23
|
+
* `commands/corpus/runner.ts` and a second caller wanted it; a second copy is a
|
|
24
|
+
* duplication-gate failure under this repo's zero-tolerance policy, and â worse
|
|
25
|
+
* â two copies drift, so one caller would keep spawning the wrapper long after
|
|
26
|
+
* the other stopped. The `__dirname`-relative hops below are correct for THIS
|
|
27
|
+
* module's location and nothing else, which is precisely why it is not a snippet
|
|
28
|
+
* to paste.
|
|
29
|
+
*/
|
|
30
|
+
import { existsSync } from 'node:fs';
|
|
31
|
+
import { dirname } from 'node:path';
|
|
32
|
+
import { fileURLToPath } from 'node:url';
|
|
33
|
+
import { safePath } from '@vibe-agent-toolkit/utils';
|
|
34
|
+
const HERE = dirname(fileURLToPath(import.meta.url));
|
|
35
|
+
/**
|
|
36
|
+
* Resolve the path to the built vat CLI entry.
|
|
37
|
+
*
|
|
38
|
+
* @returns An absolute path to `dist/bin.js`
|
|
39
|
+
*/
|
|
40
|
+
export function resolveVatBinPath() {
|
|
41
|
+
// Compiled tree: packages/cli/dist/utils/vat-bin-path.js â packages/cli/dist/bin.js
|
|
42
|
+
const compiled = safePath.resolve(HERE, '../bin.js');
|
|
43
|
+
// eslint-disable-next-line security/detect-non-literal-fs-filename -- internal path
|
|
44
|
+
if (existsSync(compiled))
|
|
45
|
+
return compiled;
|
|
46
|
+
// Source tree (vitest): packages/cli/src/utils/vat-bin-path.ts â packages/cli/dist/bin.js
|
|
47
|
+
return safePath.resolve(HERE, '../../dist/bin.js');
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=vat-bin-path.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vat-bin-path.js","sourceRoot":"","sources":["../../src/utils/vat-bin-path.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAErD,MAAM,IAAI,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAErD;;;;GAIG;AACH,MAAM,UAAU,iBAAiB;IAC/B,oFAAoF;IACpF,MAAM,QAAQ,GAAG,QAAQ,CAAC,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;IACrD,oFAAoF;IACpF,IAAI,UAAU,CAAC,QAAQ,CAAC;QAAE,OAAO,QAAQ,CAAC;IAC1C,0FAA0F;IAC1F,OAAO,QAAQ,CAAC,OAAO,CAAC,IAAI,EAAE,mBAAmB,CAAC,CAAC;AACrD,CAAC"}
|
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.6",
|
|
4
4
|
"description": "Command-line interface for vibe-agent-toolkit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -46,14 +46,15 @@
|
|
|
46
46
|
"//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
47
|
"dependencies": {
|
|
48
48
|
"@anthropic-ai/sdk": "^0.71.2",
|
|
49
|
-
"@vibe-agent-toolkit/agent-config": "0.2.0-rc.
|
|
50
|
-
"@vibe-agent-toolkit/
|
|
51
|
-
"@vibe-agent-toolkit/
|
|
52
|
-
"@vibe-agent-toolkit/
|
|
53
|
-
"@vibe-agent-toolkit/
|
|
54
|
-
"@vibe-agent-toolkit/
|
|
55
|
-
"@vibe-agent-toolkit/resources": "0.2.0-rc.
|
|
56
|
-
"@vibe-agent-toolkit/
|
|
49
|
+
"@vibe-agent-toolkit/agent-config": "0.2.0-rc.6",
|
|
50
|
+
"@vibe-agent-toolkit/agent-skills": "0.2.0-rc.6",
|
|
51
|
+
"@vibe-agent-toolkit/claude-marketplace": "0.2.0-rc.6",
|
|
52
|
+
"@vibe-agent-toolkit/discovery": "0.2.0-rc.6",
|
|
53
|
+
"@vibe-agent-toolkit/gateway-mcp": "0.2.0-rc.6",
|
|
54
|
+
"@vibe-agent-toolkit/projection-sqlite": "0.2.0-rc.6",
|
|
55
|
+
"@vibe-agent-toolkit/resources": "0.2.0-rc.6",
|
|
56
|
+
"@vibe-agent-toolkit/schema": "0.2.0-rc.6",
|
|
57
|
+
"@vibe-agent-toolkit/utils": "0.2.0-rc.6",
|
|
57
58
|
"adm-zip": "^0.6.0",
|
|
58
59
|
"commander": "^12.1.0",
|
|
59
60
|
"picomatch": "^4.0.3",
|
|
@@ -68,7 +69,9 @@
|
|
|
68
69
|
"@types/picomatch": "^4.0.2",
|
|
69
70
|
"@types/semver": "^7.7.1",
|
|
70
71
|
"@types/tar": "^6.1.13",
|
|
71
|
-
"@vibe-agent-toolkit/dev-tools": "0.2.0-rc.
|
|
72
|
+
"@vibe-agent-toolkit/dev-tools": "0.2.0-rc.6",
|
|
73
|
+
"@vibe-agent-toolkit/rag": "0.2.0-rc.6",
|
|
74
|
+
"@vibe-agent-toolkit/rag-lancedb": "0.2.0-rc.6",
|
|
72
75
|
"rimraf": "^6.0.1",
|
|
73
76
|
"typescript": "^5.7.3",
|
|
74
77
|
"vitest": "^3.2.4"
|
|
@@ -80,9 +83,17 @@
|
|
|
80
83
|
"type": "git",
|
|
81
84
|
"url": "https://github.com/jdutton/vibe-agent-toolkit.git"
|
|
82
85
|
},
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
"@vibe-agent-toolkit/rag": "0.2.0-rc.
|
|
86
|
-
"@vibe-agent-toolkit/rag-lancedb": "0.2.0-rc.
|
|
86
|
+
"//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 ~240 MB (onnxruntime-web 136 MB, a LanceDB platform binary 93 MB, a third apache-arrow, protobufjs) 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
|
+
"peerDependencies": {
|
|
88
|
+
"@vibe-agent-toolkit/rag": "0.2.0-rc.6",
|
|
89
|
+
"@vibe-agent-toolkit/rag-lancedb": "0.2.0-rc.6"
|
|
90
|
+
},
|
|
91
|
+
"peerDependenciesMeta": {
|
|
92
|
+
"@vibe-agent-toolkit/rag": {
|
|
93
|
+
"optional": true
|
|
94
|
+
},
|
|
95
|
+
"@vibe-agent-toolkit/rag-lancedb": {
|
|
96
|
+
"optional": true
|
|
97
|
+
}
|
|
87
98
|
}
|
|
88
99
|
}
|