wicked-crew 0.7.46 → 0.7.48
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/api/capture.d.ts +2 -2
- package/dist/api/chat-citations.d.ts +10 -1
- package/dist/api/chat-citations.d.ts.map +1 -1
- package/dist/api/chat-citations.js +28 -0
- package/dist/api/chat-citations.js.map +1 -1
- package/dist/api/chat-scope.d.ts +4 -2
- package/dist/api/chat-scope.d.ts.map +1 -1
- package/dist/api/chat-scope.js +35 -3
- package/dist/api/chat-scope.js.map +1 -1
- package/dist/api/chat-transcripts.d.ts +23 -1
- package/dist/api/chat-transcripts.d.ts.map +1 -1
- package/dist/api/chat-transcripts.js +61 -6
- package/dist/api/chat-transcripts.js.map +1 -1
- package/dist/api/delivery-index.d.ts +21 -0
- package/dist/api/delivery-index.d.ts.map +1 -1
- package/dist/api/delivery-index.js +36 -0
- package/dist/api/delivery-index.js.map +1 -1
- package/dist/api/elicitation-cache.d.ts +12 -0
- package/dist/api/elicitation-cache.d.ts.map +1 -1
- package/dist/api/elicitation-cache.js +17 -1
- package/dist/api/elicitation-cache.js.map +1 -1
- package/dist/api/eval-sample.d.ts +12 -12
- package/dist/api/governance-steering.d.ts.map +1 -1
- package/dist/api/governance-steering.js +1 -0
- package/dist/api/governance-steering.js.map +1 -1
- package/dist/api/mcp.d.ts +4 -4
- package/dist/api/policy-landing.d.ts +55 -0
- package/dist/api/policy-landing.d.ts.map +1 -0
- package/dist/api/policy-landing.js +174 -0
- package/dist/api/policy-landing.js.map +1 -0
- package/dist/api/recording.d.ts +228 -0
- package/dist/api/recording.d.ts.map +1 -0
- package/dist/api/recording.js +1140 -0
- package/dist/api/recording.js.map +1 -0
- package/dist/api/routes.d.ts +42 -39
- package/dist/api/routes.d.ts.map +1 -1
- package/dist/api/routes.js +362 -107
- package/dist/api/routes.js.map +1 -1
- package/dist/api/run-timing-index.d.ts +17 -0
- package/dist/api/run-timing-index.d.ts.map +1 -1
- package/dist/api/run-timing-index.js +43 -1
- package/dist/api/run-timing-index.js.map +1 -1
- package/dist/api/server.d.ts +27 -0
- package/dist/api/server.d.ts.map +1 -1
- package/dist/api/server.js +168 -4
- package/dist/api/server.js.map +1 -1
- package/dist/api/testing.d.ts +4 -4
- package/dist/api/testing.d.ts.map +1 -1
- package/dist/api/testing.js +3 -0
- package/dist/api/testing.js.map +1 -1
- package/dist/api/watch-routes.d.ts +30 -0
- package/dist/api/watch-routes.d.ts.map +1 -0
- package/dist/api/watch-routes.js +104 -0
- package/dist/api/watch-routes.js.map +1 -0
- package/dist/campaigns/routes.d.ts +2 -2
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +20 -2
- package/dist/cli/index.js.map +1 -1
- package/dist/core/adapter.d.ts +52 -1
- package/dist/core/adapter.d.ts.map +1 -1
- package/dist/core/adapter.js +193 -5
- package/dist/core/adapter.js.map +1 -1
- package/dist/core/run-identity.js +1 -1
- package/dist/core/run-identity.js.map +1 -1
- package/dist/core/walkthrough-root.d.ts +21 -0
- package/dist/core/walkthrough-root.d.ts.map +1 -0
- package/dist/core/walkthrough-root.js +66 -0
- package/dist/core/walkthrough-root.js.map +1 -0
- package/dist/decisions/chat-recorder.d.ts +129 -0
- package/dist/decisions/chat-recorder.d.ts.map +1 -0
- package/dist/decisions/chat-recorder.js +367 -0
- package/dist/decisions/chat-recorder.js.map +1 -0
- package/dist/decisions/consider.d.ts +102 -0
- package/dist/decisions/consider.d.ts.map +1 -0
- package/dist/decisions/consider.js +207 -0
- package/dist/decisions/consider.js.map +1 -0
- package/dist/decisions/derive.d.ts +79 -0
- package/dist/decisions/derive.d.ts.map +1 -0
- package/dist/decisions/derive.js +282 -0
- package/dist/decisions/derive.js.map +1 -0
- package/dist/decisions/events.d.ts +25 -0
- package/dist/decisions/events.d.ts.map +1 -0
- package/dist/decisions/events.js +24 -0
- package/dist/decisions/events.js.map +1 -0
- package/dist/decisions/ingest.d.ts +51 -0
- package/dist/decisions/ingest.d.ts.map +1 -0
- package/dist/decisions/ingest.js +100 -0
- package/dist/decisions/ingest.js.map +1 -0
- package/dist/decisions/land.d.ts +100 -0
- package/dist/decisions/land.d.ts.map +1 -0
- package/dist/decisions/land.js +466 -0
- package/dist/decisions/land.js.map +1 -0
- package/dist/decisions/ledger.d.ts +60 -0
- package/dist/decisions/ledger.d.ts.map +1 -0
- package/dist/decisions/ledger.js +246 -0
- package/dist/decisions/ledger.js.map +1 -0
- package/dist/decisions/routes.d.ts +10 -0
- package/dist/decisions/routes.d.ts.map +1 -0
- package/dist/decisions/routes.js +141 -0
- package/dist/decisions/routes.js.map +1 -0
- package/dist/decisions/rules-text.d.ts +21 -0
- package/dist/decisions/rules-text.d.ts.map +1 -0
- package/dist/decisions/rules-text.js +50 -0
- package/dist/decisions/rules-text.js.map +1 -0
- package/dist/decisions/types.d.ts +120 -0
- package/dist/decisions/types.d.ts.map +1 -0
- package/dist/decisions/types.js +19 -0
- package/dist/decisions/types.js.map +1 -0
- package/dist/editors/csp.d.ts +31 -0
- package/dist/editors/csp.d.ts.map +1 -0
- package/dist/editors/csp.js +46 -0
- package/dist/editors/csp.js.map +1 -0
- package/dist/editors/pack-install.d.ts +28 -0
- package/dist/editors/pack-install.d.ts.map +1 -0
- package/dist/editors/pack-install.js +153 -0
- package/dist/editors/pack-install.js.map +1 -0
- package/dist/editors/registry.d.ts +142 -0
- package/dist/editors/registry.d.ts.map +1 -0
- package/dist/editors/registry.js +255 -0
- package/dist/editors/registry.js.map +1 -0
- package/dist/editors/routes.d.ts +46 -0
- package/dist/editors/routes.d.ts.map +1 -0
- package/dist/editors/routes.js +166 -0
- package/dist/editors/routes.js.map +1 -0
- package/dist/interactive/bridge-pool.d.ts +7 -2
- package/dist/interactive/bridge-pool.d.ts.map +1 -1
- package/dist/interactive/bridge-pool.js +6 -1
- package/dist/interactive/bridge-pool.js.map +1 -1
- package/dist/interactive/draft-events.d.ts.map +1 -1
- package/dist/interactive/draft-events.js +1 -0
- package/dist/interactive/draft-events.js.map +1 -1
- package/dist/interactive/theme-events.d.ts +119 -0
- package/dist/interactive/theme-events.d.ts.map +1 -0
- package/dist/interactive/theme-events.js +606 -0
- package/dist/interactive/theme-events.js.map +1 -0
- package/dist/projects/events.d.ts.map +1 -1
- package/dist/projects/events.js +2 -1
- package/dist/projects/events.js.map +1 -1
- package/dist/projects/routes.d.ts +2 -2
- package/dist/projects/state-home-preflight.d.ts.map +1 -1
- package/dist/projects/state-home-preflight.js +3 -0
- package/dist/projects/state-home-preflight.js.map +1 -1
- package/dist/projects/state-home-registry.d.ts.map +1 -1
- package/dist/projects/state-home-registry.js +2 -0
- package/dist/projects/state-home-registry.js.map +1 -1
- package/dist/projects/state-home.d.ts +6 -0
- package/dist/projects/state-home.d.ts.map +1 -1
- package/dist/projects/state-home.js +28 -1
- package/dist/projects/state-home.js.map +1 -1
- package/dist/qe/acceptance.d.ts +45 -4
- package/dist/qe/acceptance.d.ts.map +1 -1
- package/dist/qe/acceptance.js +93 -4
- package/dist/qe/acceptance.js.map +1 -1
- package/dist/qe/ledger.d.ts +20 -0
- package/dist/qe/ledger.d.ts.map +1 -1
- package/dist/qe/ledger.js +34 -0
- package/dist/qe/ledger.js.map +1 -1
- package/dist/qe/walkthrough-acceptance.d.ts +82 -0
- package/dist/qe/walkthrough-acceptance.d.ts.map +1 -0
- package/dist/qe/walkthrough-acceptance.js +248 -0
- package/dist/qe/walkthrough-acceptance.js.map +1 -0
- package/dist/skills/base-skill.d.ts.map +1 -1
- package/dist/skills/base-skill.js +3 -2
- package/dist/skills/base-skill.js.map +1 -1
- package/dist/skills/plugin-source.d.ts +19 -1
- package/dist/skills/plugin-source.d.ts.map +1 -1
- package/dist/skills/plugin-source.js +31 -2
- package/dist/skills/plugin-source.js.map +1 -1
- package/dist/skills/runtime.d.ts +11 -2
- package/dist/skills/runtime.d.ts.map +1 -1
- package/dist/skills/runtime.js +29 -1
- package/dist/skills/runtime.js.map +1 -1
- package/dist/skills/store.d.ts +14 -1
- package/dist/skills/store.d.ts.map +1 -1
- package/dist/skills/store.js +19 -5
- package/dist/skills/store.js.map +1 -1
- package/dist/standing-orders/routes.d.ts +22 -22
- package/dist/standing-orders/store.d.ts +10 -10
- package/dist/watch/checks/check-failed.d.ts +24 -0
- package/dist/watch/checks/check-failed.d.ts.map +1 -0
- package/dist/watch/checks/check-failed.js +56 -0
- package/dist/watch/checks/check-failed.js.map +1 -0
- package/dist/watch/checks/claim-vs-evidence.d.ts +30 -0
- package/dist/watch/checks/claim-vs-evidence.d.ts.map +1 -0
- package/dist/watch/checks/claim-vs-evidence.js +152 -0
- package/dist/watch/checks/claim-vs-evidence.js.map +1 -0
- package/dist/watch/checks/deliver-audit.d.ts +19 -0
- package/dist/watch/checks/deliver-audit.d.ts.map +1 -0
- package/dist/watch/checks/deliver-audit.js +129 -0
- package/dist/watch/checks/deliver-audit.js.map +1 -0
- package/dist/watch/checks/index.d.ts +8 -0
- package/dist/watch/checks/index.d.ts.map +1 -0
- package/dist/watch/checks/index.js +24 -0
- package/dist/watch/checks/index.js.map +1 -0
- package/dist/watch/checks/lag.d.ts +24 -0
- package/dist/watch/checks/lag.d.ts.map +1 -0
- package/dist/watch/checks/lag.js +55 -0
- package/dist/watch/checks/lag.js.map +1 -0
- package/dist/watch/checks/quiet-after-claim.d.ts +17 -0
- package/dist/watch/checks/quiet-after-claim.d.ts.map +1 -0
- package/dist/watch/checks/quiet-after-claim.js +89 -0
- package/dist/watch/checks/quiet-after-claim.js.map +1 -0
- package/dist/watch/checks/ungated.d.ts +12 -0
- package/dist/watch/checks/ungated.d.ts.map +1 -0
- package/dist/watch/checks/ungated.js +64 -0
- package/dist/watch/checks/ungated.js.map +1 -0
- package/dist/watch/checks/warned-rule.d.ts +26 -0
- package/dist/watch/checks/warned-rule.d.ts.map +1 -0
- package/dist/watch/checks/warned-rule.js +126 -0
- package/dist/watch/checks/warned-rule.js.map +1 -0
- package/dist/watch/emit.d.ts +122 -0
- package/dist/watch/emit.d.ts.map +1 -0
- package/dist/watch/emit.js +443 -0
- package/dist/watch/emit.js.map +1 -0
- package/dist/watch/events.d.ts +21 -0
- package/dist/watch/events.d.ts.map +1 -0
- package/dist/watch/events.js +21 -0
- package/dist/watch/events.js.map +1 -0
- package/dist/watch/keys.d.ts +15 -0
- package/dist/watch/keys.d.ts.map +1 -0
- package/dist/watch/keys.js +23 -0
- package/dist/watch/keys.js.map +1 -0
- package/dist/watch/lanes.d.ts +41 -0
- package/dist/watch/lanes.d.ts.map +1 -0
- package/dist/watch/lanes.js +73 -0
- package/dist/watch/lanes.js.map +1 -0
- package/dist/watch/loader.d.ts +47 -0
- package/dist/watch/loader.d.ts.map +1 -0
- package/dist/watch/loader.js +178 -0
- package/dist/watch/loader.js.map +1 -0
- package/dist/watch/registry.d.ts +166 -0
- package/dist/watch/registry.d.ts.map +1 -0
- package/dist/watch/registry.js +589 -0
- package/dist/watch/registry.js.map +1 -0
- package/dist/watch/ring.d.ts +32 -0
- package/dist/watch/ring.d.ts.map +1 -0
- package/dist/watch/ring.js +90 -0
- package/dist/watch/ring.js.map +1 -0
- package/dist/watch/router.d.ts +25 -0
- package/dist/watch/router.d.ts.map +1 -0
- package/dist/watch/router.js +87 -0
- package/dist/watch/router.js.map +1 -0
- package/dist/watch/sources.d.ts +42 -0
- package/dist/watch/sources.d.ts.map +1 -0
- package/dist/watch/sources.js +104 -0
- package/dist/watch/sources.js.map +1 -0
- package/dist/watch/types.d.ts +129 -0
- package/dist/watch/types.d.ts.map +1 -0
- package/dist/watch/types.js +6 -0
- package/dist/watch/types.js.map +1 -0
- package/endpoint-manifest.json +272 -1
- package/package.json +3 -2
- package/watch/entries/claim-vs-evidence.json +13 -0
- package/watch/entries/deliver-audit.json +17 -0
- package/watch/entries/quiet-after-claim.json +16 -0
- package/watch/entries/registry-check-failed.json +12 -0
- package/watch/entries/registry-lagging.json +12 -0
- package/watch/entries/risky-call.json +12 -0
- package/watch/entries/ungated.json +13 -0
- package/dist/api/demo.d.ts +0 -90
- package/dist/api/demo.d.ts.map +0 -1
- package/dist/api/demo.js +0 -492
- package/dist/api/demo.js.map +0 -1
package/endpoint-manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"apiTypesVersion": "0.
|
|
3
|
+
"apiTypesVersion": "0.87.0",
|
|
4
4
|
"endpoints": [
|
|
5
5
|
{
|
|
6
6
|
"method": "GET",
|
|
@@ -142,6 +142,17 @@
|
|
|
142
142
|
409
|
|
143
143
|
]
|
|
144
144
|
},
|
|
145
|
+
{
|
|
146
|
+
"method": "GET",
|
|
147
|
+
"path": "/api/v1/chats/:id/turns/:turnId/considered",
|
|
148
|
+
"requestType": null,
|
|
149
|
+
"responseType": "Consideration",
|
|
150
|
+
"statusCodes": [
|
|
151
|
+
200,
|
|
152
|
+
403,
|
|
153
|
+
404
|
|
154
|
+
]
|
|
155
|
+
},
|
|
145
156
|
{
|
|
146
157
|
"method": "GET",
|
|
147
158
|
"path": "/api/v1/config",
|
|
@@ -149,6 +160,85 @@
|
|
|
149
160
|
"responseType": null,
|
|
150
161
|
"statusCodes": []
|
|
151
162
|
},
|
|
163
|
+
{
|
|
164
|
+
"method": "GET",
|
|
165
|
+
"path": "/api/v1/decisions",
|
|
166
|
+
"requestType": null,
|
|
167
|
+
"responseType": "ListDecisionsResponse",
|
|
168
|
+
"statusCodes": [
|
|
169
|
+
200,
|
|
170
|
+
400,
|
|
171
|
+
403
|
|
172
|
+
]
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"method": "POST",
|
|
176
|
+
"path": "/api/v1/decisions/:id/dismiss",
|
|
177
|
+
"requestType": "DismissDecisionBody",
|
|
178
|
+
"responseType": "{ ok: true }",
|
|
179
|
+
"statusCodes": [
|
|
180
|
+
200,
|
|
181
|
+
400,
|
|
182
|
+
403,
|
|
183
|
+
404,
|
|
184
|
+
409,
|
|
185
|
+
502
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"method": "POST",
|
|
190
|
+
"path": "/api/v1/decisions/:id/remember",
|
|
191
|
+
"requestType": "RememberDecisionBody",
|
|
192
|
+
"responseType": "RememberDecisionResponse",
|
|
193
|
+
"statusCodes": [
|
|
194
|
+
200,
|
|
195
|
+
400,
|
|
196
|
+
403,
|
|
197
|
+
404,
|
|
198
|
+
409,
|
|
199
|
+
502
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"method": "POST",
|
|
204
|
+
"path": "/api/v1/decisions/:id/same",
|
|
205
|
+
"requestType": "SameDecisionBody",
|
|
206
|
+
"responseType": "{ rule_id?: string }",
|
|
207
|
+
"statusCodes": [
|
|
208
|
+
200,
|
|
209
|
+
400,
|
|
210
|
+
403,
|
|
211
|
+
404,
|
|
212
|
+
409,
|
|
213
|
+
502
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"method": "POST",
|
|
218
|
+
"path": "/api/v1/decisions/:id/undo",
|
|
219
|
+
"requestType": null,
|
|
220
|
+
"responseType": "{ ok: true }",
|
|
221
|
+
"statusCodes": [
|
|
222
|
+
200,
|
|
223
|
+
403,
|
|
224
|
+
404,
|
|
225
|
+
409,
|
|
226
|
+
502
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"method": "POST",
|
|
231
|
+
"path": "/api/v1/decisions/:id/widen",
|
|
232
|
+
"requestType": null,
|
|
233
|
+
"responseType": "{ rule_id: string }",
|
|
234
|
+
"statusCodes": [
|
|
235
|
+
200,
|
|
236
|
+
403,
|
|
237
|
+
404,
|
|
238
|
+
409,
|
|
239
|
+
502
|
|
240
|
+
]
|
|
241
|
+
},
|
|
152
242
|
{
|
|
153
243
|
"method": "GET",
|
|
154
244
|
"path": "/api/v1/deliveries/freeze",
|
|
@@ -184,6 +274,77 @@
|
|
|
184
274
|
"responseType": null,
|
|
185
275
|
"statusCodes": []
|
|
186
276
|
},
|
|
277
|
+
{
|
|
278
|
+
"method": "GET",
|
|
279
|
+
"path": "/api/v1/editors",
|
|
280
|
+
"requestType": null,
|
|
281
|
+
"responseType": "ListEditorsResponse",
|
|
282
|
+
"statusCodes": [
|
|
283
|
+
200,
|
|
284
|
+
403
|
|
285
|
+
]
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"method": "POST",
|
|
289
|
+
"path": "/api/v1/editors",
|
|
290
|
+
"requestType": null,
|
|
291
|
+
"responseType": "InstallEditorRefusal",
|
|
292
|
+
"statusCodes": [
|
|
293
|
+
400,
|
|
294
|
+
403,
|
|
295
|
+
404,
|
|
296
|
+
422,
|
|
297
|
+
501
|
|
298
|
+
]
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"method": "DELETE",
|
|
302
|
+
"path": "/api/v1/editors/:id",
|
|
303
|
+
"requestType": null,
|
|
304
|
+
"responseType": null,
|
|
305
|
+
"statusCodes": [
|
|
306
|
+
403,
|
|
307
|
+
404,
|
|
308
|
+
409
|
|
309
|
+
]
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"method": "GET",
|
|
313
|
+
"path": "/api/v1/editors/:id/:version/entry",
|
|
314
|
+
"requestType": null,
|
|
315
|
+
"responseType": null,
|
|
316
|
+
"statusCodes": [
|
|
317
|
+
200,
|
|
318
|
+
404,
|
|
319
|
+
409
|
|
320
|
+
]
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"method": "POST",
|
|
324
|
+
"path": "/api/v1/editors/:id/enabled",
|
|
325
|
+
"requestType": null,
|
|
326
|
+
"responseType": "EditorView",
|
|
327
|
+
"statusCodes": [
|
|
328
|
+
200,
|
|
329
|
+
400,
|
|
330
|
+
403,
|
|
331
|
+
404
|
|
332
|
+
]
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"method": "GET",
|
|
336
|
+
"path": "/api/v1/editors/:id/grants",
|
|
337
|
+
"requestType": null,
|
|
338
|
+
"responseType": "EditorGrantsResponse",
|
|
339
|
+
"statusCodes": [
|
|
340
|
+
200,
|
|
341
|
+
400,
|
|
342
|
+
403,
|
|
343
|
+
404,
|
|
344
|
+
501,
|
|
345
|
+
502
|
|
346
|
+
]
|
|
347
|
+
},
|
|
187
348
|
{
|
|
188
349
|
"method": "GET",
|
|
189
350
|
"path": "/api/v1/gates/decided",
|
|
@@ -1143,6 +1304,22 @@
|
|
|
1143
1304
|
404
|
|
1144
1305
|
]
|
|
1145
1306
|
},
|
|
1307
|
+
{
|
|
1308
|
+
"method": "POST",
|
|
1309
|
+
"path": "/api/v1/runs/:id/demo/export",
|
|
1310
|
+
"requestType": "DemoExportBody",
|
|
1311
|
+
"responseType": "DemoExportResponse",
|
|
1312
|
+
"statusCodes": [
|
|
1313
|
+
200,
|
|
1314
|
+
400,
|
|
1315
|
+
404,
|
|
1316
|
+
409,
|
|
1317
|
+
422,
|
|
1318
|
+
502,
|
|
1319
|
+
503,
|
|
1320
|
+
504
|
|
1321
|
+
]
|
|
1322
|
+
},
|
|
1146
1323
|
{
|
|
1147
1324
|
"method": "GET",
|
|
1148
1325
|
"path": "/api/v1/runs/:id/demo/file",
|
|
@@ -1292,6 +1469,18 @@
|
|
|
1292
1469
|
501
|
|
1293
1470
|
]
|
|
1294
1471
|
},
|
|
1472
|
+
{
|
|
1473
|
+
"method": "GET",
|
|
1474
|
+
"path": "/api/v1/runs/:id/units/:unitKey/considered",
|
|
1475
|
+
"requestType": null,
|
|
1476
|
+
"responseType": "Consideration",
|
|
1477
|
+
"statusCodes": [
|
|
1478
|
+
200,
|
|
1479
|
+
400,
|
|
1480
|
+
403,
|
|
1481
|
+
404
|
|
1482
|
+
]
|
|
1483
|
+
},
|
|
1295
1484
|
{
|
|
1296
1485
|
"method": "GET",
|
|
1297
1486
|
"path": "/api/v1/runs/:id/units/:unitKey/output",
|
|
@@ -1299,6 +1488,45 @@
|
|
|
1299
1488
|
"responseType": null,
|
|
1300
1489
|
"statusCodes": []
|
|
1301
1490
|
},
|
|
1491
|
+
{
|
|
1492
|
+
"method": "GET",
|
|
1493
|
+
"path": "/api/v1/runs/:id/walkthrough",
|
|
1494
|
+
"requestType": null,
|
|
1495
|
+
"responseType": "WalkthroughView",
|
|
1496
|
+
"statusCodes": [
|
|
1497
|
+
200,
|
|
1498
|
+
400,
|
|
1499
|
+
404
|
|
1500
|
+
]
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
"method": "GET",
|
|
1504
|
+
"path": "/api/v1/runs/:id/walkthrough/file",
|
|
1505
|
+
"requestType": null,
|
|
1506
|
+
"responseType": "binary (video/mp4, image/png, text)",
|
|
1507
|
+
"statusCodes": [
|
|
1508
|
+
200,
|
|
1509
|
+
206,
|
|
1510
|
+
400,
|
|
1511
|
+
404,
|
|
1512
|
+
416
|
|
1513
|
+
]
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
"method": "PUT",
|
|
1517
|
+
"path": "/api/v1/runs/:id/walkthrough/storyline",
|
|
1518
|
+
"requestType": "PutStorylineBody",
|
|
1519
|
+
"responseType": "PutStorylineResponse",
|
|
1520
|
+
"statusCodes": [
|
|
1521
|
+
200,
|
|
1522
|
+
400,
|
|
1523
|
+
403,
|
|
1524
|
+
404,
|
|
1525
|
+
409,
|
|
1526
|
+
413,
|
|
1527
|
+
503
|
|
1528
|
+
]
|
|
1529
|
+
},
|
|
1302
1530
|
{
|
|
1303
1531
|
"method": "POST",
|
|
1304
1532
|
"path": "/api/v1/runs/archive",
|
|
@@ -1652,6 +1880,49 @@
|
|
|
1652
1880
|
501
|
|
1653
1881
|
]
|
|
1654
1882
|
},
|
|
1883
|
+
{
|
|
1884
|
+
"method": "GET",
|
|
1885
|
+
"path": "/api/v1/watch",
|
|
1886
|
+
"requestType": null,
|
|
1887
|
+
"responseType": "WatchFeedResponse",
|
|
1888
|
+
"statusCodes": [
|
|
1889
|
+
200,
|
|
1890
|
+
400
|
|
1891
|
+
]
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
"method": "POST",
|
|
1895
|
+
"path": "/api/v1/watch/:watch_id/dismiss",
|
|
1896
|
+
"requestType": null,
|
|
1897
|
+
"responseType": "{ dismissed: true; watch_id: string }",
|
|
1898
|
+
"statusCodes": [
|
|
1899
|
+
200,
|
|
1900
|
+
400,
|
|
1901
|
+
403,
|
|
1902
|
+
404,
|
|
1903
|
+
409,
|
|
1904
|
+
502,
|
|
1905
|
+
503
|
|
1906
|
+
]
|
|
1907
|
+
},
|
|
1908
|
+
{
|
|
1909
|
+
"method": "GET",
|
|
1910
|
+
"path": "/api/v1/watch/entries",
|
|
1911
|
+
"requestType": null,
|
|
1912
|
+
"responseType": "{ entries: WatchEntry[] }",
|
|
1913
|
+
"statusCodes": [
|
|
1914
|
+
200
|
|
1915
|
+
]
|
|
1916
|
+
},
|
|
1917
|
+
{
|
|
1918
|
+
"method": "GET",
|
|
1919
|
+
"path": "/api/v1/watch/health",
|
|
1920
|
+
"requestType": null,
|
|
1921
|
+
"responseType": "WatchHealth",
|
|
1922
|
+
"statusCodes": [
|
|
1923
|
+
200
|
|
1924
|
+
]
|
|
1925
|
+
},
|
|
1655
1926
|
{
|
|
1656
1927
|
"method": "GET",
|
|
1657
1928
|
"path": "/api/v1/whoami",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wicked-crew",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.48",
|
|
4
4
|
"description": "wicked-crew daemon — thin REST+WS bridge to the wicked-core engine via wicked-core-ts",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"files": [
|
|
14
14
|
"dist",
|
|
15
15
|
"skills",
|
|
16
|
+
"watch",
|
|
16
17
|
"endpoint-manifest.json"
|
|
17
18
|
],
|
|
18
19
|
"scripts": {
|
|
@@ -36,7 +37,7 @@
|
|
|
36
37
|
"agent-acp-bridges": "^1.1.1",
|
|
37
38
|
"fastify": "^5.12.1",
|
|
38
39
|
"pi-acp": "^0.0.32",
|
|
39
|
-
"wicked-core-ts": "^0.7.
|
|
40
|
+
"wicked-core-ts": "^0.7.35",
|
|
40
41
|
"wicked-ledger": "^0.4.0",
|
|
41
42
|
"yaml": "^2.4.2",
|
|
42
43
|
"zod": "^3.23.0"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "claim-vs-evidence",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"on": { "source": "core", "type": "gateEvaluated" },
|
|
5
|
+
"join": [{ "source": "core", "type": "repoChecksEvaluated" }],
|
|
6
|
+
"filter": {},
|
|
7
|
+
"check": "deterministic:claim_vs_evidence",
|
|
8
|
+
"params": {},
|
|
9
|
+
"threshold": {},
|
|
10
|
+
"emit": { "as": "finding", "severity": "high", "watch_kind": "problem", "attach": null, "rate": { "per_run": 6 } },
|
|
11
|
+
"priority": "p1",
|
|
12
|
+
"enabled": true
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "deliver-audit",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"on": { "source": "core", "type": "deliverLiftEvaluated" },
|
|
5
|
+
"join": [
|
|
6
|
+
{ "source": "core", "type": "repoChecksEvaluated" },
|
|
7
|
+
{ "source": "core", "type": "unitOutputCaptured" },
|
|
8
|
+
{ "source": "core", "type": "gateEvaluated" }
|
|
9
|
+
],
|
|
10
|
+
"filter": {},
|
|
11
|
+
"check": "deterministic:deliver_audit",
|
|
12
|
+
"params": {},
|
|
13
|
+
"threshold": {},
|
|
14
|
+
"emit": { "as": "finding", "severity": "high", "watch_kind": "problem", "attach": null, "rate": { "per_run": 5 } },
|
|
15
|
+
"priority": "p1",
|
|
16
|
+
"enabled": true
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "quiet-after-claim",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"on": { "source": "watchdog", "type": "workerStalled" },
|
|
5
|
+
"join": [
|
|
6
|
+
{ "source": "core", "type": "unitOutputCaptured" },
|
|
7
|
+
{ "source": "core", "type": "gateEvaluated" }
|
|
8
|
+
],
|
|
9
|
+
"filter": {},
|
|
10
|
+
"check": "deterministic:quiet_after_claim",
|
|
11
|
+
"params": {},
|
|
12
|
+
"threshold": {},
|
|
13
|
+
"emit": { "as": "finding", "severity": "medium", "watch_kind": "quiet", "attach": null, "rate": { "per_run": 5 } },
|
|
14
|
+
"priority": "p1",
|
|
15
|
+
"enabled": true
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "registry-check-failed",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"on": { "source": "internal", "type": "registry.check_failed" },
|
|
5
|
+
"filter": {},
|
|
6
|
+
"check": "deterministic:check_failed",
|
|
7
|
+
"params": {},
|
|
8
|
+
"threshold": { "failures": 3, "window_minutes": 10 },
|
|
9
|
+
"emit": { "as": "flag", "severity": "info", "watch_kind": "problem", "attach": null, "rate": { "per_run": 5 } },
|
|
10
|
+
"priority": "p0",
|
|
11
|
+
"enabled": true
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "registry-lagging",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"on": { "source": "internal", "type": "registry.tick" },
|
|
5
|
+
"filter": {},
|
|
6
|
+
"check": "deterministic:lag",
|
|
7
|
+
"params": {},
|
|
8
|
+
"threshold": { "queue_depth": 384, "tail_lag_ms": 60000 },
|
|
9
|
+
"emit": { "as": "flag", "severity": "info", "watch_kind": "problem", "attach": null, "rate": { "per_run": 5 } },
|
|
10
|
+
"priority": "p0",
|
|
11
|
+
"enabled": true
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "risky-call",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"on": { "source": "core", "type": "governanceHookFired" },
|
|
5
|
+
"filter": { "decision": ["allow", "allow_with_conditions"] },
|
|
6
|
+
"check": "deterministic:warned_rule",
|
|
7
|
+
"params": {},
|
|
8
|
+
"threshold": {},
|
|
9
|
+
"emit": { "as": "flag", "severity": "medium", "watch_kind": "problem", "attach": null, "rate": { "per_run": 8 } },
|
|
10
|
+
"priority": "p2",
|
|
11
|
+
"enabled": true
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "ungated",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"on": { "source": "core", "type": "gateEvaluated" },
|
|
5
|
+
"join": [{ "source": "core", "type": "unitOutputCaptured" }],
|
|
6
|
+
"filter": {},
|
|
7
|
+
"check": "deterministic:ungated",
|
|
8
|
+
"params": {},
|
|
9
|
+
"threshold": {},
|
|
10
|
+
"emit": { "as": "flag", "severity": "info", "watch_kind": "problem", "attach": null, "rate": { "per_run": 5 } },
|
|
11
|
+
"priority": "p1",
|
|
12
|
+
"enabled": true
|
|
13
|
+
}
|
package/dist/api/demo.d.ts
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Demo experience (wicked-studio#373, migration M9b): a demo of a local app, made by a governed
|
|
3
|
-
* run of the built-in `demo` preset — the wicked-garden demo skill's plan → record → review.
|
|
4
|
-
*
|
|
5
|
-
* POST /projects/:id/demo mints the run's DEMO ROOT (a per-run directory on the daemon host),
|
|
6
|
-
* writes the brief there, and launches `demo` THROUGH `POST /runs`
|
|
7
|
-
* (one launch path), with the root as the run's only extra write root.
|
|
8
|
-
* GET /runs/:id/demo what studio shows: the stage, the presenter script and chapter list
|
|
9
|
-
* (the plan gate), per-chapter record progress, the contact sheets and
|
|
10
|
-
* the reviewer's verdicts (the review gate), and the chaptered MP4.
|
|
11
|
-
* GET /runs/:id/demo/file one file of the root (a contact sheet, the MP4 — with Range).
|
|
12
|
-
* PUT /runs/:id/demo/script the presenter's edit of `script.md` while the plan gate is open.
|
|
13
|
-
*
|
|
14
|
-
* The gates are the run's ordinary gates (`POST /runs/:id/gate`): approve, or `request_changes` with a
|
|
15
|
-
* note — at the plan gate it re-runs `plan`, at the review gate it rewinds to `record` (re-record one
|
|
16
|
-
* chapter). Nothing here decides a gate.
|
|
17
|
-
*
|
|
18
|
-
* Every file is read from the root the daemon minted for THIS run id, never from a path a caller or a
|
|
19
|
-
* worker names: `path` is resolved inside it, symlinks included, and only the deliverable types studio
|
|
20
|
-
* renders are served.
|
|
21
|
-
*/
|
|
22
|
-
import type { FastifyInstance } from 'fastify';
|
|
23
|
-
import { z } from 'zod';
|
|
24
|
-
import type { DemoChapter, DemoFinding, DemoMarker, DemoStage, DemoView } from 'wicked-crew-api-types';
|
|
25
|
-
import type { CoreAdapter } from '../core/adapter.js';
|
|
26
|
-
import type { SessionView } from '../core/types.js';
|
|
27
|
-
/** The preset a demo run launches (wicked-core `builtin_presets`). */
|
|
28
|
-
export declare const DEMO_PRESET = "demo";
|
|
29
|
-
/** The biggest script studio shows or accepts back: a presenter script is prose. */
|
|
30
|
-
export declare const DEMO_SCRIPT_MAX_BYTES: number;
|
|
31
|
-
/** Where a demo run's files live: one directory per run, outside every sandbox and state home. */
|
|
32
|
-
export declare function demoRootDir(runId: string): string;
|
|
33
|
-
/**
|
|
34
|
-
* The demo root of each demo launch in flight, keyed by the run id the demo route minted. `POST /runs`
|
|
35
|
-
* takes no write roots from its body; it reads this in-process entry, so the root is never something a
|
|
36
|
-
* caller can ask for (the capture route's pattern).
|
|
37
|
-
*/
|
|
38
|
-
export declare const demoLaunchRoots: Map<string, string>;
|
|
39
|
-
export declare const DemoLaunchSchema: z.ZodObject<{
|
|
40
|
-
url: z.ZodEffects<z.ZodString, string, string>;
|
|
41
|
-
audience: z.ZodString;
|
|
42
|
-
show: z.ZodString;
|
|
43
|
-
clisJson: z.ZodOptional<z.ZodString>;
|
|
44
|
-
}, "strict", z.ZodTypeAny, {
|
|
45
|
-
url: string;
|
|
46
|
-
audience: string;
|
|
47
|
-
show: string;
|
|
48
|
-
clisJson?: string | undefined;
|
|
49
|
-
}, {
|
|
50
|
-
url: string;
|
|
51
|
-
audience: string;
|
|
52
|
-
show: string;
|
|
53
|
-
clisJson?: string | undefined;
|
|
54
|
-
}>;
|
|
55
|
-
export declare const DemoScriptSchema: z.ZodObject<{
|
|
56
|
-
content: z.ZodString;
|
|
57
|
-
}, "strict", z.ZodTypeAny, {
|
|
58
|
-
content: string;
|
|
59
|
-
}, {
|
|
60
|
-
content: string;
|
|
61
|
-
}>;
|
|
62
|
-
/** The brief the demo run reads (the problem statement stays one short line: worker prompts are capped). */
|
|
63
|
-
export declare function demoBrief(root: string, b: {
|
|
64
|
-
url: string;
|
|
65
|
-
audience: string;
|
|
66
|
-
show: string;
|
|
67
|
-
}): string;
|
|
68
|
-
/** A demo run: launched from the `demo` preset — read off the engine's plan state, or, before the
|
|
69
|
-
* launch is scored and `team_plan` exists, off the run's identity (resolved from the launch record). */
|
|
70
|
-
export declare function isDemoRun(view: SessionView): boolean;
|
|
71
|
-
/** Where the run stands, in the Demo experience's words. */
|
|
72
|
-
export declare function demoStage(view: SessionView): DemoStage;
|
|
73
|
-
/** `chapters.json` → the chapter list, or `[]` when it is missing or not the plan's shape. */
|
|
74
|
-
export declare function parseChapters(raw: string | null): Omit<DemoChapter, 'recorded'>[];
|
|
75
|
-
/** `chapters.md` (record.mjs's `| m:ss | Title |` table) → the MP4's chapter markers. */
|
|
76
|
-
export declare function parseMarkers(raw: string | null): DemoMarker[];
|
|
77
|
-
/** The reviewer's output → its verdict block (the LAST fenced ```json block), or nothing. */
|
|
78
|
-
export declare function parseReview(output: string | null): {
|
|
79
|
-
verdict: 'accept' | 'changes' | null;
|
|
80
|
-
findings: DemoFinding[];
|
|
81
|
-
};
|
|
82
|
-
/** Everything studio renders for a demo run, read from its root and its units. */
|
|
83
|
-
export declare function demoView(adapter: CoreAdapter, view: SessionView): Promise<DemoView>;
|
|
84
|
-
/** A single `Range: bytes=a-b` → the inclusive span, `null` for no header, `'bad'` for one we cannot serve. */
|
|
85
|
-
export declare function parseRange(header: string | undefined, size: number): {
|
|
86
|
-
start: number;
|
|
87
|
-
end: number;
|
|
88
|
-
} | null | 'bad';
|
|
89
|
-
export declare function registerDemoRoutes(app: FastifyInstance, adapter: CoreAdapter): void;
|
|
90
|
-
//# sourceMappingURL=demo.d.ts.map
|
package/dist/api/demo.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"demo.d.ts","sourceRoot":"","sources":["../../src/api/demo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAKH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EACV,WAAW,EACX,WAAW,EACX,UAAU,EACV,SAAS,EACT,QAAQ,EACT,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAY,MAAM,kBAAkB,CAAC;AAM9D,sEAAsE;AACtE,eAAO,MAAM,WAAW,SAAS,CAAC;AAKlC,oFAAoF;AACpF,eAAO,MAAM,qBAAqB,QAAa,CAAC;AAWhD,kGAAkG;AAClG,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAIjD;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,qBAA4B,CAAC;AAEzD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;EAOlB,CAAC;AAEZ,eAAO,MAAM,gBAAgB;;;;;;EAAoD,CAAC;AAElF,4GAA4G;AAC5G,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAyBlG;AAED;yGACyG;AACzG,wBAAgB,SAAS,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAIpD;AAOD,4DAA4D;AAC5D,wBAAgB,SAAS,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,CAkCtD;AAED,8FAA8F;AAC9F,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,CA4BjF;AAED,yFAAyF;AACzF,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,UAAU,EAAE,CAS7D;AAID,6FAA6F;AAC7F,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG;IAAE,OAAO,EAAE,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC;IAAC,QAAQ,EAAE,WAAW,EAAE,CAAA;CAAE,CA2BpH;AAuCD,kFAAkF;AAClF,wBAAsB,QAAQ,CAAC,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,QAAQ,CAAC,CAmDzF;AAqBD,+GAA+G;AAC/G,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,GAAG,KAAK,CAiBlH;AAED,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,eAAe,EAAE,OAAO,EAAE,WAAW,GAAG,IAAI,CAqInF"}
|