wicked-crew 0.7.0 → 0.7.1

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.
Files changed (58) hide show
  1. package/README.md +103 -0
  2. package/dist/api/endpoint-manifest-live.d.ts +29 -0
  3. package/dist/api/endpoint-manifest-live.d.ts.map +1 -0
  4. package/dist/api/endpoint-manifest-live.js +72 -0
  5. package/dist/api/endpoint-manifest-live.js.map +1 -0
  6. package/dist/api/endpoint-manifest.d.ts +107 -0
  7. package/dist/api/endpoint-manifest.d.ts.map +1 -0
  8. package/dist/api/endpoint-manifest.js +108 -0
  9. package/dist/api/endpoint-manifest.js.map +1 -0
  10. package/dist/api/requirements.d.ts +7 -0
  11. package/dist/api/requirements.d.ts.map +1 -1
  12. package/dist/api/requirements.js +23 -2
  13. package/dist/api/requirements.js.map +1 -1
  14. package/dist/api/routes.d.ts +4 -4
  15. package/dist/api/routes.d.ts.map +1 -1
  16. package/dist/api/routes.js +48 -8
  17. package/dist/api/routes.js.map +1 -1
  18. package/dist/api/server.d.ts.map +1 -1
  19. package/dist/api/server.js +50 -4
  20. package/dist/api/server.js.map +1 -1
  21. package/dist/cli/index.js +13 -4
  22. package/dist/cli/index.js.map +1 -1
  23. package/dist/core/adapter.d.ts +12 -0
  24. package/dist/core/adapter.d.ts.map +1 -1
  25. package/dist/core/adapter.js +59 -6
  26. package/dist/core/adapter.js.map +1 -1
  27. package/dist/core/deliverable-floor.d.ts +65 -13
  28. package/dist/core/deliverable-floor.d.ts.map +1 -1
  29. package/dist/core/deliverable-floor.js +96 -21
  30. package/dist/core/deliverable-floor.js.map +1 -1
  31. package/dist/interactive/bridge-pool.d.ts +24 -0
  32. package/dist/interactive/bridge-pool.d.ts.map +1 -1
  33. package/dist/interactive/bridge-pool.js +26 -2
  34. package/dist/interactive/bridge-pool.js.map +1 -1
  35. package/dist/interactive/edit-events.d.ts +3 -2
  36. package/dist/interactive/edit-events.d.ts.map +1 -1
  37. package/dist/interactive/edit-events.js +15 -7
  38. package/dist/interactive/edit-events.js.map +1 -1
  39. package/dist/projects/graph-paths.d.ts +32 -2
  40. package/dist/projects/graph-paths.d.ts.map +1 -1
  41. package/dist/projects/graph-paths.js +49 -4
  42. package/dist/projects/graph-paths.js.map +1 -1
  43. package/dist/projects/graph.d.ts +13 -1
  44. package/dist/projects/graph.d.ts.map +1 -1
  45. package/dist/projects/graph.js +73 -19
  46. package/dist/projects/graph.js.map +1 -1
  47. package/dist/projects/routes.d.ts +10 -0
  48. package/dist/projects/routes.d.ts.map +1 -1
  49. package/dist/projects/routes.js +18 -1
  50. package/dist/projects/routes.js.map +1 -1
  51. package/dist/qe/ledger.d.ts +3 -2
  52. package/dist/qe/ledger.d.ts.map +1 -1
  53. package/dist/qe/ledger.js +5 -4
  54. package/dist/qe/ledger.js.map +1 -1
  55. package/dist/studio/assets/{index-8p8uwCxG.js → index-D-BFUYnY.js} +76 -76
  56. package/dist/studio/index.html +1 -1
  57. package/endpoint-manifest.json +624 -0
  58. package/package.json +8 -5
@@ -9,7 +9,7 @@
9
9
  <!-- The two faces of DES-VISION-001 §2.8: Inter (the --font-sans token names it;
10
10
  the legacy Archivo load was reconciled away in slice 3) + JetBrains Mono. -->
11
11
  <link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap" rel="stylesheet" />
12
- <script type="module" crossorigin src="/assets/index-8p8uwCxG.js"></script>
12
+ <script type="module" crossorigin src="/assets/index-D-BFUYnY.js"></script>
13
13
  <link rel="stylesheet" crossorigin href="/assets/index-D6S9zUtO.css">
14
14
  </head>
15
15
  <body>
@@ -0,0 +1,624 @@
1
+ {
2
+ "version": 1,
3
+ "apiTypesVersion": "0.10.0",
4
+ "endpoints": [
5
+ {
6
+ "method": "GET",
7
+ "path": "/api/v1/audit",
8
+ "requestType": null,
9
+ "responseType": null,
10
+ "statusCodes": []
11
+ },
12
+ {
13
+ "method": "GET",
14
+ "path": "/api/v1/chats",
15
+ "requestType": null,
16
+ "responseType": null,
17
+ "statusCodes": []
18
+ },
19
+ {
20
+ "method": "POST",
21
+ "path": "/api/v1/chats",
22
+ "requestType": null,
23
+ "responseType": null,
24
+ "statusCodes": []
25
+ },
26
+ {
27
+ "method": "DELETE",
28
+ "path": "/api/v1/chats/:id",
29
+ "requestType": null,
30
+ "responseType": null,
31
+ "statusCodes": []
32
+ },
33
+ {
34
+ "method": "GET",
35
+ "path": "/api/v1/chats/:id",
36
+ "requestType": null,
37
+ "responseType": null,
38
+ "statusCodes": []
39
+ },
40
+ {
41
+ "method": "POST",
42
+ "path": "/api/v1/chats/:id/messages",
43
+ "requestType": null,
44
+ "responseType": null,
45
+ "statusCodes": []
46
+ },
47
+ {
48
+ "method": "GET",
49
+ "path": "/api/v1/config",
50
+ "requestType": null,
51
+ "responseType": null,
52
+ "statusCodes": []
53
+ },
54
+ {
55
+ "method": "GET",
56
+ "path": "/api/v1/domain-graph",
57
+ "requestType": null,
58
+ "responseType": null,
59
+ "statusCodes": []
60
+ },
61
+ {
62
+ "method": "GET",
63
+ "path": "/api/v1/governance/claims",
64
+ "requestType": null,
65
+ "responseType": null,
66
+ "statusCodes": []
67
+ },
68
+ {
69
+ "method": "GET",
70
+ "path": "/api/v1/governance/coverage",
71
+ "requestType": null,
72
+ "responseType": null,
73
+ "statusCodes": []
74
+ },
75
+ {
76
+ "method": "GET",
77
+ "path": "/api/v1/governance/graph",
78
+ "requestType": null,
79
+ "responseType": null,
80
+ "statusCodes": []
81
+ },
82
+ {
83
+ "method": "GET",
84
+ "path": "/api/v1/governance/policies",
85
+ "requestType": null,
86
+ "responseType": null,
87
+ "statusCodes": []
88
+ },
89
+ {
90
+ "method": "POST",
91
+ "path": "/api/v1/governance/policies",
92
+ "requestType": null,
93
+ "responseType": null,
94
+ "statusCodes": []
95
+ },
96
+ {
97
+ "method": "DELETE",
98
+ "path": "/api/v1/governance/policies/:id",
99
+ "requestType": null,
100
+ "responseType": null,
101
+ "statusCodes": []
102
+ },
103
+ {
104
+ "method": "GET",
105
+ "path": "/api/v1/governance/rules",
106
+ "requestType": null,
107
+ "responseType": null,
108
+ "statusCodes": []
109
+ },
110
+ {
111
+ "method": "POST",
112
+ "path": "/api/v1/governance/rules",
113
+ "requestType": null,
114
+ "responseType": null,
115
+ "statusCodes": []
116
+ },
117
+ {
118
+ "method": "DELETE",
119
+ "path": "/api/v1/governance/rules/:id",
120
+ "requestType": null,
121
+ "responseType": null,
122
+ "statusCodes": []
123
+ },
124
+ {
125
+ "method": "GET",
126
+ "path": "/api/v1/governance/rules/preview",
127
+ "requestType": null,
128
+ "responseType": null,
129
+ "statusCodes": []
130
+ },
131
+ {
132
+ "method": "GET",
133
+ "path": "/api/v1/health",
134
+ "requestType": null,
135
+ "responseType": null,
136
+ "statusCodes": [
137
+ 200
138
+ ]
139
+ },
140
+ {
141
+ "method": "POST",
142
+ "path": "/api/v1/open",
143
+ "requestType": null,
144
+ "responseType": null,
145
+ "statusCodes": []
146
+ },
147
+ {
148
+ "method": "GET",
149
+ "path": "/api/v1/projects",
150
+ "requestType": null,
151
+ "responseType": null,
152
+ "statusCodes": []
153
+ },
154
+ {
155
+ "method": "POST",
156
+ "path": "/api/v1/projects",
157
+ "requestType": null,
158
+ "responseType": null,
159
+ "statusCodes": []
160
+ },
161
+ {
162
+ "method": "GET",
163
+ "path": "/api/v1/projects/:id",
164
+ "requestType": null,
165
+ "responseType": null,
166
+ "statusCodes": []
167
+ },
168
+ {
169
+ "method": "PATCH",
170
+ "path": "/api/v1/projects/:id",
171
+ "requestType": null,
172
+ "responseType": null,
173
+ "statusCodes": []
174
+ },
175
+ {
176
+ "method": "GET",
177
+ "path": "/api/v1/projects/:id/activity",
178
+ "requestType": null,
179
+ "responseType": null,
180
+ "statusCodes": []
181
+ },
182
+ {
183
+ "method": "GET",
184
+ "path": "/api/v1/projects/:id/graph",
185
+ "requestType": null,
186
+ "responseType": null,
187
+ "statusCodes": []
188
+ },
189
+ {
190
+ "method": "GET",
191
+ "path": "/api/v1/projects/:id/graph/blast-radius",
192
+ "requestType": null,
193
+ "responseType": null,
194
+ "statusCodes": []
195
+ },
196
+ {
197
+ "method": "POST",
198
+ "path": "/api/v1/projects/:id/graph/refresh",
199
+ "requestType": null,
200
+ "responseType": null,
201
+ "statusCodes": []
202
+ },
203
+ {
204
+ "method": "GET",
205
+ "path": "/api/v1/projects/:id/graph/search",
206
+ "requestType": null,
207
+ "responseType": null,
208
+ "statusCodes": []
209
+ },
210
+ {
211
+ "method": "GET",
212
+ "path": "/api/v1/projects/:id/members",
213
+ "requestType": null,
214
+ "responseType": null,
215
+ "statusCodes": []
216
+ },
217
+ {
218
+ "method": "POST",
219
+ "path": "/api/v1/projects/:id/members",
220
+ "requestType": null,
221
+ "responseType": null,
222
+ "statusCodes": []
223
+ },
224
+ {
225
+ "method": "DELETE",
226
+ "path": "/api/v1/projects/:id/members/:mid",
227
+ "requestType": null,
228
+ "responseType": null,
229
+ "statusCodes": []
230
+ },
231
+ {
232
+ "method": "GET",
233
+ "path": "/api/v1/projects/:id/prompts",
234
+ "requestType": null,
235
+ "responseType": null,
236
+ "statusCodes": []
237
+ },
238
+ {
239
+ "method": "POST",
240
+ "path": "/api/v1/projects/:projectId/interactive-events",
241
+ "requestType": null,
242
+ "responseType": null,
243
+ "statusCodes": []
244
+ },
245
+ {
246
+ "method": "DELETE",
247
+ "path": "/api/v1/projects/:projectId/interactive/*",
248
+ "requestType": null,
249
+ "responseType": null,
250
+ "statusCodes": []
251
+ },
252
+ {
253
+ "method": "GET",
254
+ "path": "/api/v1/projects/:projectId/interactive/*",
255
+ "requestType": null,
256
+ "responseType": null,
257
+ "statusCodes": []
258
+ },
259
+ {
260
+ "method": "OPTIONS",
261
+ "path": "/api/v1/projects/:projectId/interactive/*",
262
+ "requestType": null,
263
+ "responseType": null,
264
+ "statusCodes": []
265
+ },
266
+ {
267
+ "method": "PATCH",
268
+ "path": "/api/v1/projects/:projectId/interactive/*",
269
+ "requestType": null,
270
+ "responseType": null,
271
+ "statusCodes": []
272
+ },
273
+ {
274
+ "method": "POST",
275
+ "path": "/api/v1/projects/:projectId/interactive/*",
276
+ "requestType": null,
277
+ "responseType": null,
278
+ "statusCodes": []
279
+ },
280
+ {
281
+ "method": "PUT",
282
+ "path": "/api/v1/projects/:projectId/interactive/*",
283
+ "requestType": null,
284
+ "responseType": null,
285
+ "statusCodes": []
286
+ },
287
+ {
288
+ "method": "TRACE",
289
+ "path": "/api/v1/projects/:projectId/interactive/*",
290
+ "requestType": null,
291
+ "responseType": null,
292
+ "statusCodes": []
293
+ },
294
+ {
295
+ "method": "GET",
296
+ "path": "/api/v1/repos",
297
+ "requestType": null,
298
+ "responseType": null,
299
+ "statusCodes": []
300
+ },
301
+ {
302
+ "method": "POST",
303
+ "path": "/api/v1/repos",
304
+ "requestType": null,
305
+ "responseType": null,
306
+ "statusCodes": []
307
+ },
308
+ {
309
+ "method": "GET",
310
+ "path": "/api/v1/repos/:id/contributors",
311
+ "requestType": null,
312
+ "responseType": null,
313
+ "statusCodes": []
314
+ },
315
+ {
316
+ "method": "GET",
317
+ "path": "/api/v1/repos/:id/domain-graph",
318
+ "requestType": null,
319
+ "responseType": null,
320
+ "statusCodes": []
321
+ },
322
+ {
323
+ "method": "GET",
324
+ "path": "/api/v1/repos/:id/git-history",
325
+ "requestType": null,
326
+ "responseType": null,
327
+ "statusCodes": []
328
+ },
329
+ {
330
+ "method": "GET",
331
+ "path": "/api/v1/repos/:id/graph",
332
+ "requestType": null,
333
+ "responseType": null,
334
+ "statusCodes": []
335
+ },
336
+ {
337
+ "method": "GET",
338
+ "path": "/api/v1/repos/:id/graph/blast-radius",
339
+ "requestType": null,
340
+ "responseType": null,
341
+ "statusCodes": []
342
+ },
343
+ {
344
+ "method": "GET",
345
+ "path": "/api/v1/repos/:id/onboard",
346
+ "requestType": null,
347
+ "responseType": null,
348
+ "statusCodes": []
349
+ },
350
+ {
351
+ "method": "POST",
352
+ "path": "/api/v1/repos/:id/onboard",
353
+ "requestType": null,
354
+ "responseType": null,
355
+ "statusCodes": []
356
+ },
357
+ {
358
+ "method": "GET",
359
+ "path": "/api/v1/repos/:id/requirements",
360
+ "requestType": null,
361
+ "responseType": null,
362
+ "statusCodes": []
363
+ },
364
+ {
365
+ "method": "GET",
366
+ "path": "/api/v1/repos/:id/requirements/:key",
367
+ "requestType": null,
368
+ "responseType": null,
369
+ "statusCodes": []
370
+ },
371
+ {
372
+ "method": "PATCH",
373
+ "path": "/api/v1/repos/:id/requirements/:key",
374
+ "requestType": null,
375
+ "responseType": null,
376
+ "statusCodes": []
377
+ },
378
+ {
379
+ "method": "GET",
380
+ "path": "/api/v1/roster",
381
+ "requestType": null,
382
+ "responseType": null,
383
+ "statusCodes": []
384
+ },
385
+ {
386
+ "method": "GET",
387
+ "path": "/api/v1/runs",
388
+ "requestType": null,
389
+ "responseType": "{ runs: SessionView[] }",
390
+ "statusCodes": [
391
+ 200
392
+ ]
393
+ },
394
+ {
395
+ "method": "POST",
396
+ "path": "/api/v1/runs",
397
+ "requestType": "LaunchRunBody",
398
+ "responseType": "{ runId: string }",
399
+ "statusCodes": [
400
+ 201,
401
+ 400,
402
+ 404,
403
+ 409
404
+ ]
405
+ },
406
+ {
407
+ "method": "GET",
408
+ "path": "/api/v1/runs/:id",
409
+ "requestType": null,
410
+ "responseType": "{ run: SessionView }",
411
+ "statusCodes": [
412
+ 200,
413
+ 404
414
+ ]
415
+ },
416
+ {
417
+ "method": "GET",
418
+ "path": "/api/v1/runs/:id/acceptance",
419
+ "requestType": null,
420
+ "responseType": null,
421
+ "statusCodes": []
422
+ },
423
+ {
424
+ "method": "POST",
425
+ "path": "/api/v1/runs/:id/archive",
426
+ "requestType": null,
427
+ "responseType": null,
428
+ "statusCodes": []
429
+ },
430
+ {
431
+ "method": "POST",
432
+ "path": "/api/v1/runs/:id/cancel",
433
+ "requestType": null,
434
+ "responseType": null,
435
+ "statusCodes": []
436
+ },
437
+ {
438
+ "method": "GET",
439
+ "path": "/api/v1/runs/:id/diff",
440
+ "requestType": null,
441
+ "responseType": null,
442
+ "statusCodes": []
443
+ },
444
+ {
445
+ "method": "GET",
446
+ "path": "/api/v1/runs/:id/elicitation",
447
+ "requestType": null,
448
+ "responseType": null,
449
+ "statusCodes": []
450
+ },
451
+ {
452
+ "method": "POST",
453
+ "path": "/api/v1/runs/:id/elicitation",
454
+ "requestType": null,
455
+ "responseType": null,
456
+ "statusCodes": []
457
+ },
458
+ {
459
+ "method": "GET",
460
+ "path": "/api/v1/runs/:id/events",
461
+ "requestType": null,
462
+ "responseType": null,
463
+ "statusCodes": []
464
+ },
465
+ {
466
+ "method": "GET",
467
+ "path": "/api/v1/runs/:id/evidence",
468
+ "requestType": null,
469
+ "responseType": null,
470
+ "statusCodes": []
471
+ },
472
+ {
473
+ "method": "GET",
474
+ "path": "/api/v1/runs/:id/files",
475
+ "requestType": null,
476
+ "responseType": null,
477
+ "statusCodes": []
478
+ },
479
+ {
480
+ "method": "GET",
481
+ "path": "/api/v1/runs/:id/gate",
482
+ "requestType": null,
483
+ "responseType": null,
484
+ "statusCodes": []
485
+ },
486
+ {
487
+ "method": "POST",
488
+ "path": "/api/v1/runs/:id/gate",
489
+ "requestType": "GateDecision",
490
+ "responseType": "{ status: SessionStatus }",
491
+ "statusCodes": [
492
+ 200,
493
+ 400,
494
+ 404,
495
+ 409
496
+ ]
497
+ },
498
+ {
499
+ "method": "PUT",
500
+ "path": "/api/v1/runs/:id/guidance",
501
+ "requestType": "SetGuidanceBody",
502
+ "responseType": "SetGuidanceResult",
503
+ "statusCodes": [
504
+ 200,
505
+ 400,
506
+ 404
507
+ ]
508
+ },
509
+ {
510
+ "method": "POST",
511
+ "path": "/api/v1/runs/:id/inject",
512
+ "requestType": null,
513
+ "responseType": null,
514
+ "statusCodes": []
515
+ },
516
+ {
517
+ "method": "POST",
518
+ "path": "/api/v1/runs/:id/resume",
519
+ "requestType": null,
520
+ "responseType": null,
521
+ "statusCodes": []
522
+ },
523
+ {
524
+ "method": "GET",
525
+ "path": "/api/v1/runs/:id/units/:unitKey/output",
526
+ "requestType": null,
527
+ "responseType": null,
528
+ "statusCodes": []
529
+ },
530
+ {
531
+ "method": "POST",
532
+ "path": "/api/v1/runs/archive",
533
+ "requestType": null,
534
+ "responseType": null,
535
+ "statusCodes": []
536
+ },
537
+ {
538
+ "method": "POST",
539
+ "path": "/api/v1/scripts",
540
+ "requestType": null,
541
+ "responseType": null,
542
+ "statusCodes": []
543
+ },
544
+ {
545
+ "method": "GET",
546
+ "path": "/api/v1/settings",
547
+ "requestType": null,
548
+ "responseType": null,
549
+ "statusCodes": []
550
+ },
551
+ {
552
+ "method": "PUT",
553
+ "path": "/api/v1/settings",
554
+ "requestType": null,
555
+ "responseType": null,
556
+ "statusCodes": []
557
+ },
558
+ {
559
+ "method": "POST",
560
+ "path": "/api/v1/terminals",
561
+ "requestType": null,
562
+ "responseType": null,
563
+ "statusCodes": []
564
+ },
565
+ {
566
+ "method": "POST",
567
+ "path": "/api/v1/terminals/:id/close",
568
+ "requestType": null,
569
+ "responseType": null,
570
+ "statusCodes": []
571
+ },
572
+ {
573
+ "method": "POST",
574
+ "path": "/api/v1/terminals/:id/resize",
575
+ "requestType": null,
576
+ "responseType": null,
577
+ "statusCodes": []
578
+ },
579
+ {
580
+ "method": "GET",
581
+ "path": "/api/v1/whoami",
582
+ "requestType": null,
583
+ "responseType": null,
584
+ "statusCodes": []
585
+ },
586
+ {
587
+ "method": "GET",
588
+ "path": "/api/v1/workflows",
589
+ "requestType": null,
590
+ "responseType": null,
591
+ "statusCodes": []
592
+ },
593
+ {
594
+ "method": "POST",
595
+ "path": "/api/v1/workflows",
596
+ "requestType": null,
597
+ "responseType": null,
598
+ "statusCodes": []
599
+ },
600
+ {
601
+ "method": "GET",
602
+ "path": "/api/v1/workflows/:id",
603
+ "requestType": null,
604
+ "responseType": null,
605
+ "statusCodes": []
606
+ },
607
+ {
608
+ "method": "GET",
609
+ "path": "/ws",
610
+ "requestType": null,
611
+ "responseType": null,
612
+ "statusCodes": [],
613
+ "websocket": true
614
+ },
615
+ {
616
+ "method": "GET",
617
+ "path": "/ws/terminals/:id",
618
+ "requestType": null,
619
+ "responseType": null,
620
+ "statusCodes": [],
621
+ "websocket": true
622
+ }
623
+ ]
624
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-crew",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
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",
@@ -12,7 +12,8 @@
12
12
  },
13
13
  "files": [
14
14
  "dist",
15
- "skills"
15
+ "skills",
16
+ "endpoint-manifest.json"
16
17
  ],
17
18
  "scripts": {
18
19
  "build": "tsc -p tsconfig.json",
@@ -21,6 +22,8 @@
21
22
  "lint": "eslint src tests",
22
23
  "test": "vitest run",
23
24
  "test:integration": "vitest run tests/integration",
25
+ "manifest:endpoints": "tsx scripts/generate-endpoint-manifest.ts",
26
+ "generate:api-tests": "tsx scripts/generate-api-tests.ts",
24
27
  "dev": "tsx watch src/cli/index.ts serve",
25
28
  "start": "node dist/cli/index.js serve"
26
29
  },
@@ -34,8 +37,8 @@
34
37
  "fastify": "^5.0.0",
35
38
  "pi-acp": "^0.0.32",
36
39
  "wicked-bus": "^2.3.1",
37
- "wicked-core-ts": "^0.7.1",
38
- "wicked-ledger": "^0.2.0",
40
+ "wicked-core-ts": "^0.7.2",
41
+ "wicked-ledger": "^0.4.0",
39
42
  "zod": "^3.23.0"
40
43
  },
41
44
  "devDependencies": {
@@ -48,7 +51,7 @@
48
51
  "undici": "^6.28.0",
49
52
  "vitest": "^3.2.6",
50
53
  "wicked-crew-api-types": "*",
51
- "wicked-studio": "^0.4.0"
54
+ "wicked-studio": "^0.4.1"
52
55
  },
53
56
  "engines": {
54
57
  "node": ">=22.0.0"