wicked-crew 0.7.1 → 0.7.3

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 (56) hide show
  1. package/dist/api/delivery-index.d.ts +61 -0
  2. package/dist/api/delivery-index.d.ts.map +1 -0
  3. package/dist/api/delivery-index.js +87 -0
  4. package/dist/api/delivery-index.js.map +1 -0
  5. package/dist/api/governance-steering.d.ts +139 -0
  6. package/dist/api/governance-steering.d.ts.map +1 -0
  7. package/dist/api/governance-steering.js +302 -0
  8. package/dist/api/governance-steering.js.map +1 -0
  9. package/dist/api/governance-wiki.d.ts +28 -0
  10. package/dist/api/governance-wiki.d.ts.map +1 -0
  11. package/dist/api/governance-wiki.js +97 -0
  12. package/dist/api/governance-wiki.js.map +1 -0
  13. package/dist/api/routes.d.ts +21 -16
  14. package/dist/api/routes.d.ts.map +1 -1
  15. package/dist/api/routes.js +196 -10
  16. package/dist/api/routes.js.map +1 -1
  17. package/dist/api/server.d.ts.map +1 -1
  18. package/dist/api/server.js +56 -1
  19. package/dist/api/server.js.map +1 -1
  20. package/dist/api/testing.d.ts +117 -0
  21. package/dist/api/testing.d.ts.map +1 -0
  22. package/dist/api/testing.js +152 -0
  23. package/dist/api/testing.js.map +1 -0
  24. package/dist/campaign/supervision.d.ts +296 -0
  25. package/dist/campaign/supervision.d.ts.map +1 -0
  26. package/dist/campaign/supervision.js +515 -0
  27. package/dist/campaign/supervision.js.map +1 -0
  28. package/dist/campaigns/plan.d.ts +64 -0
  29. package/dist/campaigns/plan.d.ts.map +1 -0
  30. package/dist/campaigns/plan.js +201 -0
  31. package/dist/campaigns/plan.js.map +1 -0
  32. package/dist/campaigns/routes.d.ts +28 -0
  33. package/dist/campaigns/routes.d.ts.map +1 -0
  34. package/dist/campaigns/routes.js +177 -0
  35. package/dist/campaigns/routes.js.map +1 -0
  36. package/dist/core/adapter.d.ts +160 -1
  37. package/dist/core/adapter.d.ts.map +1 -1
  38. package/dist/core/adapter.js +300 -1
  39. package/dist/core/adapter.js.map +1 -1
  40. package/dist/projects/routes.d.ts +4 -4
  41. package/dist/qe/acceptance.d.ts +20 -1
  42. package/dist/qe/acceptance.d.ts.map +1 -1
  43. package/dist/qe/acceptance.js +32 -0
  44. package/dist/qe/acceptance.js.map +1 -1
  45. package/dist/qe/conformance.d.ts +158 -0
  46. package/dist/qe/conformance.d.ts.map +1 -0
  47. package/dist/qe/conformance.js +244 -0
  48. package/dist/qe/conformance.js.map +1 -0
  49. package/dist/studio/assets/index-BAW9rqNT.css +32 -0
  50. package/dist/studio/assets/index-UahdRwF7.js +532 -0
  51. package/dist/studio/index.html +2 -2
  52. package/dist/studio/testid-inventory.json +4387 -0
  53. package/endpoint-manifest.json +154 -9
  54. package/package.json +3 -3
  55. package/dist/studio/assets/index-D-BFUYnY.js +0 -530
  56. package/dist/studio/assets/index-D6S9zUtO.css +0 -32
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "apiTypesVersion": "0.10.0",
3
+ "apiTypesVersion": "0.14.0",
4
4
  "endpoints": [
5
5
  {
6
6
  "method": "GET",
@@ -9,6 +9,63 @@
9
9
  "responseType": null,
10
10
  "statusCodes": []
11
11
  },
12
+ {
13
+ "method": "GET",
14
+ "path": "/api/v1/campaigns",
15
+ "requestType": null,
16
+ "responseType": "{ campaigns: Campaign[] }",
17
+ "statusCodes": [
18
+ 200,
19
+ 501
20
+ ]
21
+ },
22
+ {
23
+ "method": "POST",
24
+ "path": "/api/v1/campaigns",
25
+ "requestType": "LaunchCampaignBody",
26
+ "responseType": "{ campaignId: string }",
27
+ "statusCodes": [
28
+ 201,
29
+ 400,
30
+ 409,
31
+ 501
32
+ ]
33
+ },
34
+ {
35
+ "method": "GET",
36
+ "path": "/api/v1/campaigns/:id",
37
+ "requestType": null,
38
+ "responseType": "{ campaign: Campaign }",
39
+ "statusCodes": [
40
+ 200,
41
+ 404,
42
+ 501
43
+ ]
44
+ },
45
+ {
46
+ "method": "POST",
47
+ "path": "/api/v1/campaigns/:id/cancel",
48
+ "requestType": null,
49
+ "responseType": "{ campaignId: string; status: CampaignStatus }",
50
+ "statusCodes": [
51
+ 200,
52
+ 404,
53
+ 409,
54
+ 501
55
+ ]
56
+ },
57
+ {
58
+ "method": "POST",
59
+ "path": "/api/v1/campaigns/:id/resume",
60
+ "requestType": null,
61
+ "responseType": "{ campaignId: string; status: CampaignStatus }",
62
+ "statusCodes": [
63
+ 200,
64
+ 404,
65
+ 409,
66
+ 501
67
+ ]
68
+ },
12
69
  {
13
70
  "method": "GET",
14
71
  "path": "/api/v1/chats",
@@ -83,36 +140,55 @@
83
140
  "method": "GET",
84
141
  "path": "/api/v1/governance/policies",
85
142
  "requestType": null,
86
- "responseType": null,
87
- "statusCodes": []
143
+ "responseType": "{ policies: GovernancePolicy[] }",
144
+ "statusCodes": [
145
+ 200
146
+ ]
88
147
  },
89
148
  {
90
149
  "method": "POST",
91
150
  "path": "/api/v1/governance/policies",
92
151
  "requestType": null,
93
152
  "responseType": null,
94
- "statusCodes": []
153
+ "statusCodes": [
154
+ 200,
155
+ 400,
156
+ 410
157
+ ]
95
158
  },
96
159
  {
97
160
  "method": "DELETE",
98
161
  "path": "/api/v1/governance/policies/:id",
99
162
  "requestType": null,
100
163
  "responseType": null,
101
- "statusCodes": []
164
+ "statusCodes": [
165
+ 200,
166
+ 400,
167
+ 404,
168
+ 410
169
+ ]
102
170
  },
103
171
  {
104
172
  "method": "GET",
105
173
  "path": "/api/v1/governance/rules",
106
174
  "requestType": null,
107
- "responseType": null,
108
- "statusCodes": []
175
+ "responseType": "{ rules: ConformanceRule[] }",
176
+ "statusCodes": [
177
+ 200,
178
+ 400,
179
+ 501
180
+ ]
109
181
  },
110
182
  {
111
183
  "method": "POST",
112
184
  "path": "/api/v1/governance/rules",
113
- "requestType": null,
185
+ "requestType": "ConformanceRule",
114
186
  "responseType": null,
115
- "statusCodes": []
187
+ "statusCodes": [
188
+ 200,
189
+ 400,
190
+ 501
191
+ ]
116
192
  },
117
193
  {
118
194
  "method": "DELETE",
@@ -128,6 +204,51 @@
128
204
  "responseType": null,
129
205
  "statusCodes": []
130
206
  },
207
+ {
208
+ "method": "POST",
209
+ "path": "/api/v1/governance/steering/author",
210
+ "requestType": "SteeringAuthorBody",
211
+ "responseType": "{ runId: string }",
212
+ "statusCodes": [
213
+ 201,
214
+ 400,
215
+ 409,
216
+ 500,
217
+ 501
218
+ ]
219
+ },
220
+ {
221
+ "method": "POST",
222
+ "path": "/api/v1/governance/steering/import",
223
+ "requestType": "SteeringImportBody",
224
+ "responseType": "SteeringImportResponse",
225
+ "statusCodes": [
226
+ 200,
227
+ 400,
228
+ 500,
229
+ 501
230
+ ]
231
+ },
232
+ {
233
+ "method": "GET",
234
+ "path": "/api/v1/governance/wiki/meta",
235
+ "requestType": null,
236
+ "responseType": "{ meta: GovernanceWikiMeta }",
237
+ "statusCodes": [
238
+ 200
239
+ ]
240
+ },
241
+ {
242
+ "method": "GET",
243
+ "path": "/api/v1/governance/wiki/scoreboard",
244
+ "requestType": null,
245
+ "responseType": "{ scoreboard: GovernanceScoreboard }",
246
+ "statusCodes": [
247
+ 200,
248
+ 500,
249
+ 501
250
+ ]
251
+ },
131
252
  {
132
253
  "method": "GET",
133
254
  "path": "/api/v1/health",
@@ -576,6 +697,30 @@
576
697
  "responseType": null,
577
698
  "statusCodes": []
578
699
  },
700
+ {
701
+ "method": "POST",
702
+ "path": "/api/v1/testing/corpora/import",
703
+ "requestType": "ImportEvalCorpusBody",
704
+ "responseType": "ImportEvalCorpusResponse",
705
+ "statusCodes": [
706
+ 200,
707
+ 400,
708
+ 500,
709
+ 501
710
+ ]
711
+ },
712
+ {
713
+ "method": "POST",
714
+ "path": "/api/v1/testing/evals/run",
715
+ "requestType": "RunGovernanceEvalsBody",
716
+ "responseType": "GovernanceEvalReport",
717
+ "statusCodes": [
718
+ 200,
719
+ 400,
720
+ 500,
721
+ 501
722
+ ]
723
+ },
579
724
  {
580
725
  "method": "GET",
581
726
  "path": "/api/v1/whoami",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-crew",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
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",
@@ -37,7 +37,7 @@
37
37
  "fastify": "^5.0.0",
38
38
  "pi-acp": "^0.0.32",
39
39
  "wicked-bus": "^2.3.1",
40
- "wicked-core-ts": "^0.7.2",
40
+ "wicked-core-ts": "^0.7.5",
41
41
  "wicked-ledger": "^0.4.0",
42
42
  "zod": "^3.23.0"
43
43
  },
@@ -51,7 +51,7 @@
51
51
  "undici": "^6.28.0",
52
52
  "vitest": "^3.2.6",
53
53
  "wicked-crew-api-types": "*",
54
- "wicked-studio": "^0.4.1"
54
+ "wicked-studio": "^0.4.3"
55
55
  },
56
56
  "engines": {
57
57
  "node": ">=22.0.0"