@rbbtsn0w/adg 0.6.0-beta.6 → 0.6.0-beta.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 +17 -2
- package/dist/src/adapters/codex.js +12 -0
- package/dist/src/agents/codex.js +31 -1
- package/dist/src/cli/handlers.js +22 -3
- package/dist/src/cli/index.js +12 -4
- package/dist/src/codex-marketplace-migration.js +139 -0
- package/dist/src/commands/cache.js +92 -15
- package/dist/src/commands/inspect.js +41 -0
- package/dist/src/commands/install.js +84 -27
- package/dist/src/commands/link.js +1 -0
- package/dist/src/commands/marketplace.js +74 -20
- package/dist/src/commands/migrate.js +15 -3
- package/dist/src/commands/projection.js +3 -2
- package/dist/src/commands/state.js +4 -2
- package/dist/src/commands/sync.js +6 -1
- package/dist/src/commands/update.js +49 -10
- package/dist/src/commands/validate.js +9 -2
- package/dist/src/default-dsl.js +140 -0
- package/dist/src/lock.js +25 -7
- package/dist/src/manifest.js +26 -2
- package/dist/src/paths.js +31 -4
- package/dist/src/source-cache.js +140 -0
- package/dist/src/sources.js +75 -4
- package/dist/src/types.js +1 -1
- package/docs/agents-spec.md +27 -4
- package/docs/authoring.md +19 -2
- package/package.json +4 -2
- package/schemas/adg-plugin.schema.json +1 -0
- package/schemas/plugin-lock.schema.json +23 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rbbtsn0w/adg",
|
|
3
|
-
"version": "0.6.0-beta.
|
|
3
|
+
"version": "0.6.0-beta.8",
|
|
4
4
|
"description": "Agent Directory Group (ADG) toolkit — two domains: plugins and skills.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,7 +24,9 @@
|
|
|
24
24
|
"scripts": {
|
|
25
25
|
"adg": "node ./bin/adg.ts",
|
|
26
26
|
"build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.build.json --noCheck && node -e \"require('fs').chmodSync('dist/bin/adg.js',0o755)\"",
|
|
27
|
-
"test": "node
|
|
27
|
+
"test": "node scripts/run-tests.mjs \"test/**/*.test.ts\" test/cache-sandbox.test.mjs",
|
|
28
|
+
"test:codex-sandbox": "node --test test/codex-sandbox.test.mjs",
|
|
29
|
+
"test:cache-sandbox": "node --test test/cache-sandbox.test.mjs",
|
|
28
30
|
"check:vendor-deps": "node scripts/check-vendor-deps.mjs",
|
|
29
31
|
"audit:prod": "npm audit --omit=dev",
|
|
30
32
|
"typecheck": "tsc --noEmit",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"required": ["version", "plugins"],
|
|
8
8
|
"additionalProperties": false,
|
|
9
9
|
"properties": {
|
|
10
|
-
"version": { "type": "integer", "description": "Lock file format version.", "
|
|
10
|
+
"version": { "type": "integer", "description": "Lock file format version.", "enum": [3, 4, 5] },
|
|
11
11
|
"plugins": {
|
|
12
12
|
"type": "object",
|
|
13
13
|
"additionalProperties": { "$ref": "#/$defs/lockEntry" }
|
|
@@ -30,6 +30,10 @@
|
|
|
30
30
|
"description": "Digest of the complete cached source payload.",
|
|
31
31
|
"pattern": "^[a-z0-9]+-[0-9a-f]+$"
|
|
32
32
|
},
|
|
33
|
+
"resolvedRevision": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "Immutable remote commit that produced the cached source payload."
|
|
36
|
+
},
|
|
33
37
|
"installedHash": {
|
|
34
38
|
"type": "string",
|
|
35
39
|
"description": "Digest of the effective runtime installation.",
|
|
@@ -41,6 +45,24 @@
|
|
|
41
45
|
"enum": ["enabled", "disabled"],
|
|
42
46
|
"description": "Desired cross-agent projection state. Absent means enabled."
|
|
43
47
|
},
|
|
48
|
+
"definition": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"required": ["kind", "root", "description", "fingerprint"],
|
|
51
|
+
"additionalProperties": false,
|
|
52
|
+
"properties": {
|
|
53
|
+
"kind": { "const": "default-dsl/v1" },
|
|
54
|
+
"root": { "const": "." },
|
|
55
|
+
"as": { "type": "string" },
|
|
56
|
+
"description": { "type": "string" },
|
|
57
|
+
"fingerprint": { "type": "string" },
|
|
58
|
+
"authorizedComponents": {
|
|
59
|
+
"type": "array",
|
|
60
|
+
"items": { "enum": ["skills", "agents", "commands", "mcp", "hooks", "apps"] },
|
|
61
|
+
"uniqueItems": true,
|
|
62
|
+
"description": "Structural components explicitly authorized at install time."
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
44
66
|
"dependencies": {
|
|
45
67
|
"type": "object",
|
|
46
68
|
"additionalProperties": { "type": "string" }
|