@mmerterden/multi-agent-pipeline 20.43.1 → 20.44.0
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/CHANGELOG.md +22 -0
- package/README.md +19 -3
- package/README.tr.md +19 -4
- package/docs/ecosystem.md +7 -7
- package/docs/facts.json +8 -8
- package/docs/features.md +1 -1
- package/manifest.json +57 -47
- package/package.json +1 -1
- package/pipeline/commands/multi-agent/review-priority/SKILL.md +10 -5
- package/pipeline/commands/multi-agent/setup/SKILL.md +1 -1
- package/pipeline/commands/multi-agent/update/SKILL.md +10 -12
- package/pipeline/contract/CHANGELOG.md +43 -3
- package/pipeline/contract/README.md +65 -63
- package/pipeline/contract/fixtures/error-invalid-request.json +1 -1
- package/pipeline/contract/fixtures/error-unauthorized.json +1 -1
- package/pipeline/contract/fixtures/error-unsigned.json +1 -1
- package/pipeline/contract/manifest.json +41 -4
- package/pipeline/contract/types/index.d.ts +112 -3
- package/pipeline/multi-agent-refs/features/office-remote-protocol.md +4 -2
- package/pipeline/multi-agent-refs/features/office-threat-model.md +3 -1
- package/pipeline/multi-agent-refs/features/usage-reporting.md +13 -12
- package/pipeline/multi-agent-refs/help/en.md +1 -1
- package/pipeline/multi-agent-refs/help/tr.md +1 -1
- package/pipeline/office/index.html +434 -28
- package/pipeline/office/toolkit.json +1 -1
- package/pipeline/rules/outside-the-pipeline.md +1 -1
- package/pipeline/schemas/contract-error.schema.json +2 -1
- package/pipeline/schemas/disk-clean-request.schema.json +66 -0
- package/pipeline/schemas/disk-clean.schema.json +243 -0
- package/pipeline/schemas/office-jobs.json +25 -0
- package/pipeline/schemas/office-jobs.schema.json +19 -0
- package/pipeline/schemas/skill-catalog.schema.json +91 -0
- package/pipeline/schemas/toolkit-path-params.json +23 -1
- package/pipeline/scripts/_contract-core.mjs +1 -1
- package/pipeline/scripts/_contract-routes-catalog.mjs +31 -3
- package/pipeline/scripts/_contract-routes-ops.mjs +11 -1
- package/pipeline/scripts/_stack-routing.mjs +2 -0
- package/pipeline/scripts/contract-server.mjs +4 -0
- package/pipeline/scripts/job-launch.mjs +50 -9
- package/pipeline/scripts/office-disk.mjs +262 -0
- package/pipeline/scripts/skill-catalog.mjs +302 -0
- package/pipeline/scripts/stack-toggle.mjs +104 -41
- package/pipeline/skills/.skill-manifest.json +13 -5
- package/pipeline/skills/.skills-index.json +23 -1
- package/pipeline/skills/shared/README.md +5 -3
- package/pipeline/skills/shared/core/multi-agent-review-priority/SKILL.md +3 -2
- package/pipeline/skills/shared/core/multi-agent-setup/SKILL.md +1 -1
- package/pipeline/skills/shared/core/multi-agent-update/SKILL.md +7 -7
- package/pipeline/skills/shared/external/release-video/SKILL.md +147 -0
- package/pipeline/skills/shared/external/release-video/evals/evals.json +45 -0
- package/pipeline/skills/shared/external/short-video-craft/SKILL.md +177 -0
- package/pipeline/skills/shared/external/short-video-craft/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/short-video-craft/references/generated-defaults.md +24 -0
- package/pipeline/skills/skills-index.md +3 -1
|
@@ -26,7 +26,7 @@ the file first; never inline it). The repo's own `.claude/skills` come first.
|
|
|
26
26
|
`ai-common-toolkit` and `ai-analyst-toolkit` are on everywhere. Nothing enabled
|
|
27
27
|
is a normal state.
|
|
28
28
|
|
|
29
|
-
**multi-agent-toolkit MCP.** <!-- fact:toolCount -->
|
|
29
|
+
**multi-agent-toolkit MCP.** <!-- fact:toolCount -->233<!-- /fact --> tools, most for a running app: `ios_get_ui_tree` /
|
|
30
30
|
`android_get_ui_tree`, `ios_list_crashes` / `android_list_crashes`, `design_*`,
|
|
31
31
|
`ios_app_store_audit`, `ios_testflight_validate`. Use them instead of guessing
|
|
32
32
|
about on-screen state. Not registered is a silent no-op.
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/mmerterden/multi-agent-pipeline/pipeline/schemas/disk-clean-request.schema.json",
|
|
4
|
+
"title": "Disk clean request",
|
|
5
|
+
"description": "The body of POST /v1/disk-clean. With no other field it measures (the disk cleaner's dry run, no token). With categories it previews exactly those, each one from the cleaner's allow-list, and returns a confirm token; trash and transcripts must also send their own flag as true. Step 2 sends only the confirmToken.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": ["contractVersion"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"contractVersion": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"pattern": "^1\\.[0-9]+\\.[0-9]+$",
|
|
13
|
+
"x-sensitivity": "none"
|
|
14
|
+
},
|
|
15
|
+
"categories": {
|
|
16
|
+
"type": "array",
|
|
17
|
+
"minItems": 1,
|
|
18
|
+
"uniqueItems": true,
|
|
19
|
+
"items": {
|
|
20
|
+
"enum": [
|
|
21
|
+
"derived-data",
|
|
22
|
+
"repo-build",
|
|
23
|
+
"xctest-devices",
|
|
24
|
+
"xcode-caches",
|
|
25
|
+
"archives",
|
|
26
|
+
"device-support",
|
|
27
|
+
"sim-unavailable",
|
|
28
|
+
"sim-caches",
|
|
29
|
+
"spm-cache",
|
|
30
|
+
"pods-cache",
|
|
31
|
+
"gradle-cache",
|
|
32
|
+
"js-caches",
|
|
33
|
+
"homebrew",
|
|
34
|
+
"tmp-builds",
|
|
35
|
+
"pipeline-scratch",
|
|
36
|
+
"claude-scratch",
|
|
37
|
+
"agent-worktrees",
|
|
38
|
+
"dev-caches",
|
|
39
|
+
"old-logs",
|
|
40
|
+
"pipeline-logs",
|
|
41
|
+
"ds-store",
|
|
42
|
+
"trash",
|
|
43
|
+
"transcripts"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"x-sensitivity": "none",
|
|
47
|
+
"description": "The categories to preview, by the disk cleaner's category id (disk-cleaner.mjs --list)."
|
|
48
|
+
},
|
|
49
|
+
"trash": {
|
|
50
|
+
"const": true,
|
|
51
|
+
"x-sensitivity": "none",
|
|
52
|
+
"description": "Required with the trash category: it holds files the user deleted, which cannot be recovered afterwards."
|
|
53
|
+
},
|
|
54
|
+
"transcripts": {
|
|
55
|
+
"const": true,
|
|
56
|
+
"x-sensitivity": "none",
|
|
57
|
+
"description": "Required with the transcripts category: resume and past-session search read them."
|
|
58
|
+
},
|
|
59
|
+
"confirmToken": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"pattern": "^[A-Za-z0-9_-]{16,128}$",
|
|
62
|
+
"x-sensitivity": "none",
|
|
63
|
+
"description": "The confirmToken the preview returned. Single use, bound to the route and the previewed categories."
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/mmerterden/multi-agent-pipeline/pipeline/schemas/disk-clean.schema.json",
|
|
4
|
+
"title": "Disk clean",
|
|
5
|
+
"description": "What POST /v1/disk-clean returns: the disk cleaner's report per category for a measure, a preview (with a confirm token) or an apply. Paths are real paths on this machine, so the route is local-only.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": [
|
|
9
|
+
"contractVersion",
|
|
10
|
+
"mode",
|
|
11
|
+
"unattended",
|
|
12
|
+
"disk",
|
|
13
|
+
"reclaimableBytes",
|
|
14
|
+
"categories",
|
|
15
|
+
"orphans"
|
|
16
|
+
],
|
|
17
|
+
"properties": {
|
|
18
|
+
"contractVersion": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"pattern": "^1\\.[0-9]+\\.[0-9]+$",
|
|
21
|
+
"x-sensitivity": "none"
|
|
22
|
+
},
|
|
23
|
+
"mode": {
|
|
24
|
+
"enum": ["measure", "preview", "applied"],
|
|
25
|
+
"x-sensitivity": "none"
|
|
26
|
+
},
|
|
27
|
+
"unattended": {
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"x-sensitivity": "none",
|
|
30
|
+
"description": "The server runs unattended: it measures the cleaner's unattended set only and refuses a preview and an apply."
|
|
31
|
+
},
|
|
32
|
+
"disk": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"additionalProperties": false,
|
|
35
|
+
"required": ["freeBytes", "totalBytes", "expectedFreeBytes"],
|
|
36
|
+
"x-sensitivity": "none",
|
|
37
|
+
"properties": {
|
|
38
|
+
"freeBytes": {
|
|
39
|
+
"type": ["integer", "null"],
|
|
40
|
+
"minimum": 0
|
|
41
|
+
},
|
|
42
|
+
"totalBytes": {
|
|
43
|
+
"type": ["integer", "null"],
|
|
44
|
+
"minimum": 0
|
|
45
|
+
},
|
|
46
|
+
"expectedFreeBytes": {
|
|
47
|
+
"type": ["integer", "null"],
|
|
48
|
+
"minimum": 0,
|
|
49
|
+
"description": "Free space now plus reclaimableBytes."
|
|
50
|
+
},
|
|
51
|
+
"afterFreeBytes": {
|
|
52
|
+
"type": ["integer", "null"],
|
|
53
|
+
"minimum": 0,
|
|
54
|
+
"description": "Free space measured after an apply."
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"reclaimableBytes": {
|
|
59
|
+
"type": "integer",
|
|
60
|
+
"minimum": 0,
|
|
61
|
+
"x-sensitivity": "none",
|
|
62
|
+
"description": "What an apply of the listed categories would free; a category whose tool is running is measured but left out."
|
|
63
|
+
},
|
|
64
|
+
"categories": {
|
|
65
|
+
"type": "array",
|
|
66
|
+
"x-sensitivity": "local",
|
|
67
|
+
"items": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"additionalProperties": false,
|
|
70
|
+
"required": [
|
|
71
|
+
"id",
|
|
72
|
+
"label",
|
|
73
|
+
"items",
|
|
74
|
+
"bytes",
|
|
75
|
+
"top",
|
|
76
|
+
"more",
|
|
77
|
+
"kept",
|
|
78
|
+
"blocked",
|
|
79
|
+
"note",
|
|
80
|
+
"safe",
|
|
81
|
+
"optIn"
|
|
82
|
+
],
|
|
83
|
+
"properties": {
|
|
84
|
+
"id": {
|
|
85
|
+
"enum": [
|
|
86
|
+
"derived-data",
|
|
87
|
+
"repo-build",
|
|
88
|
+
"xctest-devices",
|
|
89
|
+
"xcode-caches",
|
|
90
|
+
"archives",
|
|
91
|
+
"device-support",
|
|
92
|
+
"sim-unavailable",
|
|
93
|
+
"sim-caches",
|
|
94
|
+
"spm-cache",
|
|
95
|
+
"pods-cache",
|
|
96
|
+
"gradle-cache",
|
|
97
|
+
"js-caches",
|
|
98
|
+
"homebrew",
|
|
99
|
+
"tmp-builds",
|
|
100
|
+
"pipeline-scratch",
|
|
101
|
+
"claude-scratch",
|
|
102
|
+
"agent-worktrees",
|
|
103
|
+
"dev-caches",
|
|
104
|
+
"old-logs",
|
|
105
|
+
"pipeline-logs",
|
|
106
|
+
"ds-store",
|
|
107
|
+
"trash",
|
|
108
|
+
"transcripts"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"label": {
|
|
112
|
+
"type": "string"
|
|
113
|
+
},
|
|
114
|
+
"items": {
|
|
115
|
+
"type": "integer",
|
|
116
|
+
"minimum": 0
|
|
117
|
+
},
|
|
118
|
+
"bytes": {
|
|
119
|
+
"type": "integer",
|
|
120
|
+
"minimum": 0
|
|
121
|
+
},
|
|
122
|
+
"top": {
|
|
123
|
+
"type": "array",
|
|
124
|
+
"maxItems": 50,
|
|
125
|
+
"items": {
|
|
126
|
+
"type": "object",
|
|
127
|
+
"additionalProperties": false,
|
|
128
|
+
"required": ["path", "bytes"],
|
|
129
|
+
"properties": {
|
|
130
|
+
"path": {
|
|
131
|
+
"type": "string"
|
|
132
|
+
},
|
|
133
|
+
"bytes": {
|
|
134
|
+
"type": "integer",
|
|
135
|
+
"minimum": 0
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"description": "The largest items, real paths and sizes."
|
|
140
|
+
},
|
|
141
|
+
"more": {
|
|
142
|
+
"type": "integer",
|
|
143
|
+
"minimum": 0
|
|
144
|
+
},
|
|
145
|
+
"kept": {
|
|
146
|
+
"type": "object",
|
|
147
|
+
"additionalProperties": {
|
|
148
|
+
"type": "integer",
|
|
149
|
+
"minimum": 0
|
|
150
|
+
},
|
|
151
|
+
"description": "How many items were kept, per reason."
|
|
152
|
+
},
|
|
153
|
+
"blocked": {
|
|
154
|
+
"type": ["string", "null"],
|
|
155
|
+
"description": "Why the category is measured but not applied (its tool is running)."
|
|
156
|
+
},
|
|
157
|
+
"note": {
|
|
158
|
+
"type": ["string", "null"]
|
|
159
|
+
},
|
|
160
|
+
"safe": {
|
|
161
|
+
"type": "boolean",
|
|
162
|
+
"description": "The cleaner's unattended-safe set."
|
|
163
|
+
},
|
|
164
|
+
"optIn": {
|
|
165
|
+
"enum": ["trash", "transcripts", null],
|
|
166
|
+
"description": "The request flag this category needs as well as its id."
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"orphans": {
|
|
172
|
+
"type": "integer",
|
|
173
|
+
"minimum": 0,
|
|
174
|
+
"x-sensitivity": "none",
|
|
175
|
+
"description": "Leftover session processes found; information only, never stopped."
|
|
176
|
+
},
|
|
177
|
+
"applied": {
|
|
178
|
+
"type": "object",
|
|
179
|
+
"additionalProperties": false,
|
|
180
|
+
"required": ["removed", "failed", "freedBytes", "failures", "held"],
|
|
181
|
+
"x-sensitivity": "local",
|
|
182
|
+
"properties": {
|
|
183
|
+
"removed": {
|
|
184
|
+
"type": "integer",
|
|
185
|
+
"minimum": 0
|
|
186
|
+
},
|
|
187
|
+
"failed": {
|
|
188
|
+
"type": "integer",
|
|
189
|
+
"minimum": 0
|
|
190
|
+
},
|
|
191
|
+
"freedBytes": {
|
|
192
|
+
"type": ["integer", "null"],
|
|
193
|
+
"minimum": 0
|
|
194
|
+
},
|
|
195
|
+
"failures": {
|
|
196
|
+
"type": "array",
|
|
197
|
+
"maxItems": 20,
|
|
198
|
+
"items": {
|
|
199
|
+
"type": "object",
|
|
200
|
+
"additionalProperties": false,
|
|
201
|
+
"required": ["category", "path", "reason"],
|
|
202
|
+
"properties": {
|
|
203
|
+
"category": {
|
|
204
|
+
"type": "string"
|
|
205
|
+
},
|
|
206
|
+
"path": {
|
|
207
|
+
"type": "string"
|
|
208
|
+
},
|
|
209
|
+
"reason": {
|
|
210
|
+
"type": "string"
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"held": {
|
|
216
|
+
"type": "array",
|
|
217
|
+
"items": {
|
|
218
|
+
"type": "object",
|
|
219
|
+
"additionalProperties": false,
|
|
220
|
+
"required": ["category", "reason"],
|
|
221
|
+
"properties": {
|
|
222
|
+
"category": {
|
|
223
|
+
"type": "string"
|
|
224
|
+
},
|
|
225
|
+
"reason": {
|
|
226
|
+
"type": "string"
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"confirmToken": {
|
|
234
|
+
"type": "string",
|
|
235
|
+
"x-sensitivity": "local"
|
|
236
|
+
},
|
|
237
|
+
"expiresAt": {
|
|
238
|
+
"type": "string",
|
|
239
|
+
"format": "date-time",
|
|
240
|
+
"x-sensitivity": "none"
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
@@ -248,6 +248,31 @@
|
|
|
248
248
|
}
|
|
249
249
|
],
|
|
250
250
|
"writes": "none"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"id": "review-priority",
|
|
254
|
+
"command": "review-priority",
|
|
255
|
+
"role": "Reviewer",
|
|
256
|
+
"team": false,
|
|
257
|
+
"params": [
|
|
258
|
+
{
|
|
259
|
+
"name": "team",
|
|
260
|
+
"kind": "enum",
|
|
261
|
+
"values": [],
|
|
262
|
+
"choices": "review-priority-teams",
|
|
263
|
+
"required": true
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "preset",
|
|
267
|
+
"kind": "enum",
|
|
268
|
+
"values": [],
|
|
269
|
+
"choices": "review-priority-presets",
|
|
270
|
+
"dependsOn": "team",
|
|
271
|
+
"prefix": "preset=",
|
|
272
|
+
"required": false
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"writes": "none"
|
|
251
276
|
}
|
|
252
277
|
]
|
|
253
278
|
}
|
|
@@ -50,6 +50,25 @@
|
|
|
50
50
|
]
|
|
51
51
|
},
|
|
52
52
|
"values": { "type": "array", "items": { "type": "string" } },
|
|
53
|
+
"choices": {
|
|
54
|
+
"enum": ["review-priority-teams", "review-priority-presets"],
|
|
55
|
+
"description": "Where GET /v1/jobs reads an enum's values from on this machine; the catalog itself lists none."
|
|
56
|
+
},
|
|
57
|
+
"dependsOn": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"pattern": "^[a-z][a-z0-9-]{0,30}$",
|
|
60
|
+
"description": "The parameter whose value narrows this one's choices (valuesFor)."
|
|
61
|
+
},
|
|
62
|
+
"valuesFor": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"additionalProperties": { "type": "array", "items": { "type": "string" } },
|
|
65
|
+
"description": "Filled by GET /v1/jobs: the allowed values per value of dependsOn."
|
|
66
|
+
},
|
|
67
|
+
"prefix": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"pattern": "^[a-z][a-z0-9-]{0,30}=$",
|
|
70
|
+
"description": "Written before the value in the command line, as in preset=<id>."
|
|
71
|
+
},
|
|
53
72
|
"required": { "type": "boolean" }
|
|
54
73
|
}
|
|
55
74
|
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/mmerterden/multi-agent-pipeline/pipeline/schemas/skill-catalog.schema.json",
|
|
4
|
+
"title": "Skill catalog",
|
|
5
|
+
"description": "What GET /v1/skills returns (`skill-catalog.mjs --json`): every /multi-agent command, marketplace plugin skill and saved routine a person can invoke, with both frontmatter descriptions. enabled is the plugin's state in the chosen repository's .claude/settings.json or its always-on flag, null for a plugin skill when no repository was chosen, and always true for commands and routines. A source that is missing on this machine is a note, not an error. Routine text is scrubbed.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": ["contractVersion", "repo", "items", "notes"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"contractVersion": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"pattern": "^1\\.[0-9]+\\.[0-9]+$",
|
|
13
|
+
"x-sensitivity": "none"
|
|
14
|
+
},
|
|
15
|
+
"repo": {
|
|
16
|
+
"description": "The repository reference the request named, or null.",
|
|
17
|
+
"type": ["string", "null"]
|
|
18
|
+
},
|
|
19
|
+
"items": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"items": {
|
|
22
|
+
"type": "object",
|
|
23
|
+
"additionalProperties": false,
|
|
24
|
+
"required": [
|
|
25
|
+
"id",
|
|
26
|
+
"name",
|
|
27
|
+
"invoke",
|
|
28
|
+
"kind",
|
|
29
|
+
"source",
|
|
30
|
+
"description",
|
|
31
|
+
"descriptionTr",
|
|
32
|
+
"enabled",
|
|
33
|
+
"alwaysOn",
|
|
34
|
+
"localOnly"
|
|
35
|
+
],
|
|
36
|
+
"properties": {
|
|
37
|
+
"id": {
|
|
38
|
+
"description": "kind:name for a command or routine, plugin-skill:plugin:name for a plugin skill.",
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
"name": {
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"invoke": {
|
|
45
|
+
"description": "What a person types: /multi-agent:<name> for a command or routine, <plugin>:<skill> for a plugin skill.",
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"kind": {
|
|
49
|
+
"enum": ["command", "plugin-skill", "routine"]
|
|
50
|
+
},
|
|
51
|
+
"source": {
|
|
52
|
+
"description": "The plugin name, pipeline for a shipped command, or local for a routine or a local-only command.",
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"description": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
"descriptionTr": {
|
|
59
|
+
"type": ["string", "null"]
|
|
60
|
+
},
|
|
61
|
+
"enabled": {
|
|
62
|
+
"type": ["boolean", "null"]
|
|
63
|
+
},
|
|
64
|
+
"alwaysOn": {
|
|
65
|
+
"type": "boolean"
|
|
66
|
+
},
|
|
67
|
+
"localOnly": {
|
|
68
|
+
"type": "boolean"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"notes": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"items": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"additionalProperties": false,
|
|
78
|
+
"required": ["section", "code"],
|
|
79
|
+
"properties": {
|
|
80
|
+
"section": {
|
|
81
|
+
"enum": ["command", "plugin-skill", "routine"]
|
|
82
|
+
},
|
|
83
|
+
"code": {
|
|
84
|
+
"description": "no-tree: no command tree; no-clone: no marketplace clone; no-manifest: the clone has no readable marketplace.json; unreadable: the routine registry could not be read.",
|
|
85
|
+
"enum": ["no-tree", "no-clone", "no-manifest", "unreadable"]
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$comment": "Generated by pipeline/scripts/gen-toolkit-path-params.mjs from multi-agent-toolkit-mcp tool-manifest.json; do not edit. Per toolkit tool: the parameters it writes to and the filesystem paths it reads, both confined by scripts/unattended_policy.py.",
|
|
3
|
-
"toolkitVersion": "3.
|
|
3
|
+
"toolkitVersion": "3.33.0",
|
|
4
4
|
"tools": {
|
|
5
5
|
"agent_query_output": {
|
|
6
6
|
"writes": [],
|
|
@@ -573,14 +573,35 @@
|
|
|
573
573
|
"path"
|
|
574
574
|
]
|
|
575
575
|
},
|
|
576
|
+
"media_music_beats": {
|
|
577
|
+
"writes": [],
|
|
578
|
+
"reads": [
|
|
579
|
+
"path"
|
|
580
|
+
]
|
|
581
|
+
},
|
|
576
582
|
"media_transcript": {
|
|
577
583
|
"writes": [],
|
|
578
584
|
"reads": []
|
|
579
585
|
},
|
|
586
|
+
"media_video_check": {
|
|
587
|
+
"writes": [],
|
|
588
|
+
"reads": [
|
|
589
|
+
"path",
|
|
590
|
+
"manifest"
|
|
591
|
+
]
|
|
592
|
+
},
|
|
580
593
|
"media_video_plan": {
|
|
581
594
|
"writes": [],
|
|
582
595
|
"reads": []
|
|
583
596
|
},
|
|
597
|
+
"media_video_reframe": {
|
|
598
|
+
"writes": [
|
|
599
|
+
"out_dir"
|
|
600
|
+
],
|
|
601
|
+
"reads": [
|
|
602
|
+
"path"
|
|
603
|
+
]
|
|
604
|
+
},
|
|
584
605
|
"media_video_render": {
|
|
585
606
|
"writes": [
|
|
586
607
|
"out_dir"
|
|
@@ -588,6 +609,7 @@
|
|
|
588
609
|
"reads": [
|
|
589
610
|
"footage_dir",
|
|
590
611
|
"voice_dir",
|
|
612
|
+
"sfx[].file",
|
|
591
613
|
"music"
|
|
592
614
|
]
|
|
593
615
|
},
|
|
@@ -21,7 +21,7 @@ import { launchRepoAllowed, launchRepos } from "./launch-request.mjs";
|
|
|
21
21
|
import { selectRuns } from "./runs-index.mjs";
|
|
22
22
|
|
|
23
23
|
/** The contract as a whole; pipeline/contract/manifest.json carries the same. */
|
|
24
|
-
export const CONTRACT_VERSION = "1.
|
|
24
|
+
export const CONTRACT_VERSION = "1.12.0";
|
|
25
25
|
/** Confirm tokens held at once; the oldest is dropped past this. */
|
|
26
26
|
export const MAX_CONFIRMS = 256;
|
|
27
27
|
/** How long a kill or gc confirm token stays valid. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file _contract-routes-catalog.mjs - contract-server reads of fixed
|
|
3
|
-
* documents and lists: commands, Phase 0 questions,
|
|
4
|
-
* launch spec and the permissions placeholder.
|
|
3
|
+
* documents and lists: commands, the skill catalog, Phase 0 questions,
|
|
4
|
+
* issues, worktrees, the launch spec and the permissions placeholder.
|
|
5
5
|
*
|
|
6
6
|
* @module pipeline/scripts/_contract-routes-catalog
|
|
7
7
|
*/
|
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
import { catalog } from "./commands.mjs";
|
|
10
10
|
import { collect } from "./issues.mjs";
|
|
11
11
|
import { launchSpec, questionsDocument } from "./launch-request.mjs";
|
|
12
|
+
import { skillCatalog } from "./skill-catalog.mjs";
|
|
13
|
+
import { StackError } from "./stack-toggle.mjs";
|
|
12
14
|
import { CONTRACT_VERSION as TOOLS_VERSION } from "./toolkit-tools.mjs";
|
|
13
15
|
import { buildList } from "./worktrees.mjs";
|
|
14
|
-
import { HttpError, flag, one } from "./_contract-core.mjs";
|
|
16
|
+
import { HttpError, flag, one, resolveRepo } from "./_contract-core.mjs";
|
|
15
17
|
|
|
16
18
|
/**
|
|
17
19
|
* GET /v1/permissions. Claude Code offers no mechanism that records a pending
|
|
@@ -28,6 +30,23 @@ const permissionsDocument = () => ({
|
|
|
28
30
|
requests: [],
|
|
29
31
|
});
|
|
30
32
|
|
|
33
|
+
/**
|
|
34
|
+
* GET /v1/skills. `repo` resolves the way GET /v1/stack resolves it (a
|
|
35
|
+
* configured or registered repository, by name or path, nothing else), and
|
|
36
|
+
* only decides which plugin skills are enabled; every other read sits under a
|
|
37
|
+
* fixed root (skill-catalog.mjs).
|
|
38
|
+
*/
|
|
39
|
+
function skillsGet({ q }) {
|
|
40
|
+
const ref = one(q, "repo");
|
|
41
|
+
const repoPath = ref === null ? null : resolveRepo(ref);
|
|
42
|
+
try {
|
|
43
|
+
return skillCatalog({ repoPath, repoLabel: ref });
|
|
44
|
+
} catch (err) {
|
|
45
|
+
if (err instanceof StackError) throw new HttpError(409, "unreadable-settings", err.message);
|
|
46
|
+
throw err;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
31
50
|
/** The catalog family's route entries; contract-server.mjs orders them in its table. */
|
|
32
51
|
export const catalogRoutes = {
|
|
33
52
|
commands: {
|
|
@@ -41,6 +60,15 @@ export const catalogRoutes = {
|
|
|
41
60
|
return out;
|
|
42
61
|
},
|
|
43
62
|
},
|
|
63
|
+
// Local-only: the catalog names the routines saved on this machine and its
|
|
64
|
+
// local-only commands, which no remote carrier may read.
|
|
65
|
+
skills: {
|
|
66
|
+
method: "GET",
|
|
67
|
+
path: "/v1/skills",
|
|
68
|
+
remote: "local-only",
|
|
69
|
+
query: ["repo"],
|
|
70
|
+
handle: skillsGet,
|
|
71
|
+
},
|
|
44
72
|
questions: {
|
|
45
73
|
method: "GET",
|
|
46
74
|
path: "/v1/questions",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file _contract-routes-ops.mjs - contract-server routes that change what
|
|
3
|
-
* this machine keeps or runs: gc, log pruning, settings, autopilot, routines
|
|
3
|
+
* this machine keeps or runs: gc, log pruning, disk cleaning, settings, autopilot, routines
|
|
4
4
|
* and office jobs. Every write here takes two requests.
|
|
5
5
|
*
|
|
6
6
|
* @module pipeline/scripts/_contract-routes-ops
|
|
@@ -28,6 +28,7 @@ import {
|
|
|
28
28
|
startJob,
|
|
29
29
|
} from "./job-launch.mjs";
|
|
30
30
|
import { launchRepoAllowed } from "./launch-request.mjs";
|
|
31
|
+
import { diskCleanRoute } from "./office-disk.mjs";
|
|
31
32
|
import { AGES as PRUNE_AGES, pruneApply, prunePreview } from "./office-prune.mjs";
|
|
32
33
|
import {
|
|
33
34
|
CHOICES,
|
|
@@ -469,6 +470,15 @@ export const opsRoutes = {
|
|
|
469
470
|
risk: "high",
|
|
470
471
|
handle: oneAtATime("prune-logs", pruneRoute),
|
|
471
472
|
},
|
|
473
|
+
diskClean: {
|
|
474
|
+
method: "POST",
|
|
475
|
+
path: "/v1/disk-clean",
|
|
476
|
+
query: [],
|
|
477
|
+
body: true,
|
|
478
|
+
remote: "local-only",
|
|
479
|
+
risk: "high",
|
|
480
|
+
handle: oneAtATime("disk-clean", (ctx) => diskCleanRoute(ctx)),
|
|
481
|
+
},
|
|
472
482
|
settings: {
|
|
473
483
|
method: "GET",
|
|
474
484
|
path: "/v1/settings",
|