@inf-monkeys-tech/monkeys 1.1.43 → 1.1.45

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 (62) hide show
  1. package/lib/contracts/agent-data.d.ts +7 -7
  2. package/lib/contracts/agent-native-runtime.d.ts +1 -1
  3. package/lib/contracts/agent.d.ts +75 -72
  4. package/lib/contracts/agent.d.ts.map +1 -1
  5. package/lib/contracts/agent.js +2 -0
  6. package/lib/contracts/agent.js.map +1 -1
  7. package/lib/contracts/declarative-control-http.d.ts +27 -26
  8. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  9. package/lib/contracts/declarative-control-http.js +1 -0
  10. package/lib/contracts/declarative-control-http.js.map +1 -1
  11. package/lib/contracts/declarative-control.d.ts +4 -4
  12. package/lib/contracts/declarative-publication-job.d.ts +11 -11
  13. package/lib/contracts/declarative-publication-verification.d.ts +209 -0
  14. package/lib/contracts/declarative-publication-verification.d.ts.map +1 -0
  15. package/lib/contracts/declarative-publication-verification.js +56 -0
  16. package/lib/contracts/declarative-publication-verification.js.map +1 -0
  17. package/lib/contracts/file.d.ts +21 -18
  18. package/lib/contracts/file.d.ts.map +1 -1
  19. package/lib/contracts/file.js +1 -0
  20. package/lib/contracts/file.js.map +1 -1
  21. package/lib/contracts/index.d.ts +2 -0
  22. package/lib/contracts/index.d.ts.map +1 -1
  23. package/lib/contracts/index.js +2 -0
  24. package/lib/contracts/index.js.map +1 -1
  25. package/lib/contracts/markdown-document.d.ts +311 -0
  26. package/lib/contracts/markdown-document.d.ts.map +1 -0
  27. package/lib/contracts/markdown-document.js +97 -0
  28. package/lib/contracts/markdown-document.js.map +1 -0
  29. package/lib/contracts/tenant.d.ts +4 -4
  30. package/lib/esm/{chunk-UUUHWSYL.mjs → chunk-4NESF77F.mjs} +2 -2
  31. package/lib/esm/{chunk-33OQXBRM.mjs → chunk-DC6UVTII.mjs} +3 -3
  32. package/lib/esm/{chunk-3YISMAL3.mjs → chunk-KRC5B425.mjs} +7 -3
  33. package/lib/esm/chunk-KRC5B425.mjs.map +1 -0
  34. package/lib/esm/{chunk-XUWZH2H3.mjs → chunk-QODKWH56.mjs} +585 -582
  35. package/lib/esm/chunk-QODKWH56.mjs.map +1 -0
  36. package/lib/esm/{chunk-WRSX2N7O.mjs → chunk-WB4LSU25.mjs} +258 -204
  37. package/lib/esm/chunk-WB4LSU25.mjs.map +1 -0
  38. package/lib/esm/{chunk-ZH6D5O6Q.mjs → chunk-WWALIVTO.mjs} +131 -16
  39. package/lib/esm/chunk-WWALIVTO.mjs.map +1 -0
  40. package/lib/esm/contracts/index.mjs +46 -4
  41. package/lib/esm/index.mjs +48 -6
  42. package/lib/esm/index.mjs.map +1 -1
  43. package/lib/esm/runtime/index.mjs +3 -3
  44. package/lib/esm/schemas/index.mjs +3 -3
  45. package/lib/json-schema/agent-session-event.schema.json +4 -0
  46. package/lib/json-schema/agent-session-run-event.schema.json +4 -0
  47. package/lib/json-schema/agent-session-view-model.schema.json +4 -0
  48. package/lib/json-schema/declarative-publication-verification-request.schema.json +338 -0
  49. package/lib/json-schema/declarative-publication-verification.schema.json +462 -0
  50. package/lib/json-schema/index.json +2 -0
  51. package/lib/runtime/runtime-definition-wire.d.ts +2 -2
  52. package/lib/schemas/index.d.ts +247 -49
  53. package/lib/schemas/index.d.ts.map +1 -1
  54. package/lib/schemas/index.js +3 -0
  55. package/lib/schemas/index.js.map +1 -1
  56. package/package.json +1 -1
  57. package/lib/esm/chunk-3YISMAL3.mjs.map +0 -1
  58. package/lib/esm/chunk-WRSX2N7O.mjs.map +0 -1
  59. package/lib/esm/chunk-XUWZH2H3.mjs.map +0 -1
  60. package/lib/esm/chunk-ZH6D5O6Q.mjs.map +0 -1
  61. /package/lib/esm/{chunk-UUUHWSYL.mjs.map → chunk-4NESF77F.mjs.map} +0 -0
  62. /package/lib/esm/{chunk-33OQXBRM.mjs.map → chunk-DC6UVTII.mjs.map} +0 -0
@@ -0,0 +1,462 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "DeclarativePublicationVerification"
8
+ },
9
+ "schemaVersion": {
10
+ "type": "number",
11
+ "const": 1
12
+ },
13
+ "resourceKind": {
14
+ "type": "string",
15
+ "enum": [
16
+ "page",
17
+ "navigation",
18
+ "workbench"
19
+ ]
20
+ },
21
+ "resourceId": {
22
+ "type": "string",
23
+ "minLength": 1,
24
+ "maxLength": 256
25
+ },
26
+ "scope": {
27
+ "anyOf": [
28
+ {
29
+ "type": "object",
30
+ "properties": {
31
+ "kind": {
32
+ "type": "string",
33
+ "const": "global"
34
+ }
35
+ },
36
+ "required": [
37
+ "kind"
38
+ ],
39
+ "additionalProperties": false
40
+ },
41
+ {
42
+ "type": "object",
43
+ "properties": {
44
+ "kind": {
45
+ "type": "string",
46
+ "const": "team"
47
+ },
48
+ "teamId": {
49
+ "type": "string",
50
+ "minLength": 1,
51
+ "maxLength": 256
52
+ }
53
+ },
54
+ "required": [
55
+ "kind",
56
+ "teamId"
57
+ ],
58
+ "additionalProperties": false
59
+ }
60
+ ]
61
+ },
62
+ "publication": {
63
+ "type": "string",
64
+ "enum": [
65
+ "committed",
66
+ "unknown"
67
+ ]
68
+ },
69
+ "activation": {
70
+ "type": "string",
71
+ "enum": [
72
+ "active",
73
+ "superseded",
74
+ "deactivated",
75
+ "unavailable"
76
+ ]
77
+ },
78
+ "integrity": {
79
+ "type": "string",
80
+ "enum": [
81
+ "verified",
82
+ "unverified",
83
+ "failed"
84
+ ]
85
+ },
86
+ "runtime": {
87
+ "type": "string",
88
+ "enum": [
89
+ "not-requested",
90
+ "verified",
91
+ "context-required",
92
+ "forbidden",
93
+ "failed"
94
+ ]
95
+ },
96
+ "retryable": {
97
+ "default": false,
98
+ "type": "boolean"
99
+ },
100
+ "releaseRevisionRef": {
101
+ "type": "object",
102
+ "properties": {
103
+ "kind": {
104
+ "type": "string",
105
+ "minLength": 1,
106
+ "maxLength": 256
107
+ },
108
+ "id": {
109
+ "type": "string",
110
+ "minLength": 1,
111
+ "maxLength": 256
112
+ },
113
+ "ownerRepo": {
114
+ "type": "string",
115
+ "minLength": 1,
116
+ "maxLength": 256
117
+ },
118
+ "visibility": {
119
+ "type": "string",
120
+ "enum": [
121
+ "tenant",
122
+ "global",
123
+ "public"
124
+ ]
125
+ },
126
+ "tenantScope": {
127
+ "type": "object",
128
+ "properties": {
129
+ "tenantRef": {
130
+ "type": "object",
131
+ "properties": {
132
+ "kind": {
133
+ "type": "string",
134
+ "minLength": 1,
135
+ "maxLength": 256
136
+ },
137
+ "id": {
138
+ "type": "string",
139
+ "minLength": 1,
140
+ "maxLength": 256
141
+ },
142
+ "ownerRepo": {
143
+ "type": "string",
144
+ "minLength": 1,
145
+ "maxLength": 256
146
+ }
147
+ },
148
+ "required": [
149
+ "kind",
150
+ "id",
151
+ "ownerRepo"
152
+ ],
153
+ "additionalProperties": false
154
+ },
155
+ "dataSpaceRef": {
156
+ "type": "object",
157
+ "properties": {
158
+ "kind": {
159
+ "type": "string",
160
+ "minLength": 1,
161
+ "maxLength": 256
162
+ },
163
+ "id": {
164
+ "type": "string",
165
+ "minLength": 1,
166
+ "maxLength": 256
167
+ },
168
+ "ownerRepo": {
169
+ "type": "string",
170
+ "minLength": 1,
171
+ "maxLength": 256
172
+ }
173
+ },
174
+ "required": [
175
+ "kind",
176
+ "id",
177
+ "ownerRepo"
178
+ ],
179
+ "additionalProperties": false
180
+ },
181
+ "teamRef": {
182
+ "type": "object",
183
+ "properties": {
184
+ "kind": {
185
+ "type": "string",
186
+ "minLength": 1,
187
+ "maxLength": 256
188
+ },
189
+ "id": {
190
+ "type": "string",
191
+ "minLength": 1,
192
+ "maxLength": 256
193
+ },
194
+ "ownerRepo": {
195
+ "type": "string",
196
+ "minLength": 1,
197
+ "maxLength": 256
198
+ }
199
+ },
200
+ "required": [
201
+ "kind",
202
+ "id",
203
+ "ownerRepo"
204
+ ],
205
+ "additionalProperties": false
206
+ }
207
+ },
208
+ "required": [
209
+ "tenantRef",
210
+ "dataSpaceRef"
211
+ ],
212
+ "additionalProperties": false
213
+ },
214
+ "revision": {
215
+ "type": "integer",
216
+ "exclusiveMinimum": 0,
217
+ "maximum": 9007199254740991
218
+ },
219
+ "schemaVersion": {
220
+ "type": "integer",
221
+ "exclusiveMinimum": 0,
222
+ "maximum": 9007199254740991
223
+ },
224
+ "contentHash": {
225
+ "type": "string",
226
+ "pattern": "^[a-f0-9]{64}$"
227
+ }
228
+ },
229
+ "required": [
230
+ "kind",
231
+ "id",
232
+ "ownerRepo",
233
+ "visibility",
234
+ "revision",
235
+ "schemaVersion",
236
+ "contentHash"
237
+ ],
238
+ "additionalProperties": false
239
+ },
240
+ "definitionRevisionRef": {
241
+ "type": "object",
242
+ "properties": {
243
+ "kind": {
244
+ "type": "string",
245
+ "minLength": 1,
246
+ "maxLength": 256
247
+ },
248
+ "id": {
249
+ "type": "string",
250
+ "minLength": 1,
251
+ "maxLength": 256
252
+ },
253
+ "ownerRepo": {
254
+ "type": "string",
255
+ "minLength": 1,
256
+ "maxLength": 256
257
+ },
258
+ "visibility": {
259
+ "type": "string",
260
+ "enum": [
261
+ "tenant",
262
+ "global",
263
+ "public"
264
+ ]
265
+ },
266
+ "tenantScope": {
267
+ "type": "object",
268
+ "properties": {
269
+ "tenantRef": {
270
+ "type": "object",
271
+ "properties": {
272
+ "kind": {
273
+ "type": "string",
274
+ "minLength": 1,
275
+ "maxLength": 256
276
+ },
277
+ "id": {
278
+ "type": "string",
279
+ "minLength": 1,
280
+ "maxLength": 256
281
+ },
282
+ "ownerRepo": {
283
+ "type": "string",
284
+ "minLength": 1,
285
+ "maxLength": 256
286
+ }
287
+ },
288
+ "required": [
289
+ "kind",
290
+ "id",
291
+ "ownerRepo"
292
+ ],
293
+ "additionalProperties": false
294
+ },
295
+ "dataSpaceRef": {
296
+ "type": "object",
297
+ "properties": {
298
+ "kind": {
299
+ "type": "string",
300
+ "minLength": 1,
301
+ "maxLength": 256
302
+ },
303
+ "id": {
304
+ "type": "string",
305
+ "minLength": 1,
306
+ "maxLength": 256
307
+ },
308
+ "ownerRepo": {
309
+ "type": "string",
310
+ "minLength": 1,
311
+ "maxLength": 256
312
+ }
313
+ },
314
+ "required": [
315
+ "kind",
316
+ "id",
317
+ "ownerRepo"
318
+ ],
319
+ "additionalProperties": false
320
+ },
321
+ "teamRef": {
322
+ "type": "object",
323
+ "properties": {
324
+ "kind": {
325
+ "type": "string",
326
+ "minLength": 1,
327
+ "maxLength": 256
328
+ },
329
+ "id": {
330
+ "type": "string",
331
+ "minLength": 1,
332
+ "maxLength": 256
333
+ },
334
+ "ownerRepo": {
335
+ "type": "string",
336
+ "minLength": 1,
337
+ "maxLength": 256
338
+ }
339
+ },
340
+ "required": [
341
+ "kind",
342
+ "id",
343
+ "ownerRepo"
344
+ ],
345
+ "additionalProperties": false
346
+ }
347
+ },
348
+ "required": [
349
+ "tenantRef",
350
+ "dataSpaceRef"
351
+ ],
352
+ "additionalProperties": false
353
+ },
354
+ "revision": {
355
+ "type": "integer",
356
+ "exclusiveMinimum": 0,
357
+ "maximum": 9007199254740991
358
+ },
359
+ "schemaVersion": {
360
+ "type": "integer",
361
+ "exclusiveMinimum": 0,
362
+ "maximum": 9007199254740991
363
+ },
364
+ "contentHash": {
365
+ "type": "string",
366
+ "pattern": "^[a-f0-9]{64}$"
367
+ }
368
+ },
369
+ "required": [
370
+ "kind",
371
+ "id",
372
+ "ownerRepo",
373
+ "visibility",
374
+ "revision",
375
+ "schemaVersion",
376
+ "contentHash"
377
+ ],
378
+ "additionalProperties": false
379
+ },
380
+ "runtimeContentHash": {
381
+ "type": "string",
382
+ "pattern": "^[a-f0-9]{64}$"
383
+ },
384
+ "requestId": {
385
+ "type": "string",
386
+ "maxLength": 256
387
+ },
388
+ "diagnostics": {
389
+ "maxItems": 32,
390
+ "type": "array",
391
+ "items": {
392
+ "type": "object",
393
+ "properties": {
394
+ "code": {
395
+ "type": "string",
396
+ "minLength": 1,
397
+ "maxLength": 256
398
+ },
399
+ "stage": {
400
+ "type": "string",
401
+ "enum": [
402
+ "document",
403
+ "reference",
404
+ "contract",
405
+ "policy",
406
+ "runtime"
407
+ ]
408
+ },
409
+ "severity": {
410
+ "type": "string",
411
+ "enum": [
412
+ "info",
413
+ "warning",
414
+ "error"
415
+ ]
416
+ },
417
+ "blocking": {
418
+ "type": "boolean"
419
+ },
420
+ "path": {
421
+ "type": "string",
422
+ "minLength": 1
423
+ },
424
+ "message": {
425
+ "type": "string",
426
+ "minLength": 1
427
+ },
428
+ "recovery": {
429
+ "maxItems": 8,
430
+ "type": "array",
431
+ "items": {
432
+ "type": "string",
433
+ "minLength": 1
434
+ }
435
+ }
436
+ },
437
+ "required": [
438
+ "code",
439
+ "path",
440
+ "message"
441
+ ],
442
+ "additionalProperties": false
443
+ }
444
+ }
445
+ },
446
+ "required": [
447
+ "contract",
448
+ "schemaVersion",
449
+ "resourceKind",
450
+ "resourceId",
451
+ "scope",
452
+ "publication",
453
+ "activation",
454
+ "integrity",
455
+ "runtime",
456
+ "retryable",
457
+ "diagnostics"
458
+ ],
459
+ "additionalProperties": false,
460
+ "$id": "https://schemas.infmonkeys.com/contracts/declarative-publication-verification.schema.json",
461
+ "title": "declarative-publication-verification"
462
+ }
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "schemas": {
3
+ "declarative-publication-verification-request": "./declarative-publication-verification-request.schema.json",
4
+ "declarative-publication-verification": "./declarative-publication-verification.schema.json",
3
5
  "design-board-document": "./design-board-document.schema.json",
4
6
  "design-board-commit-command": "./design-board-commit-command.schema.json",
5
7
  "aggregate-commit-request": "./aggregate-commit-request.schema.json",
@@ -1620,7 +1620,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
1620
1620
  };
1621
1621
  maxBytes: number;
1622
1622
  upload?: {
1623
- purpose: "models" | "uploads" | "agent-attachments" | "agent-artifacts" | "agent-edited-images" | "agent-workbench" | "agent-skill-archives" | "asset-screenshots" | "data-exports" | "data-feature-media" | "design-assets" | "design-board-thumbnails" | "design-images" | "dev-agent-reference-images" | "dev-agent-review-artifacts" | "external-delivery-techpacks" | "llm-generated-images" | "media-generated" | "media-uploads" | "model-training-files" | "models-checkpoints" | "models-clip" | "models-controlnet" | "models-diffusion-models" | "models-loras-test" | "models-vae" | "output-images" | "plugin-data-imports" | "plugin-runtime" | "plugin-runtime-outputs" | "step-thumbnails" | "techpack-design-intent" | "user-files-base" | "user-files-design-board-background" | "user-files-design-project-cover" | "user-files-designs" | "user-files-icons" | "user-files-import-comfyui-image" | "user-files-import-comfyui-json" | "user-files-import-comfyui-json-url" | "user-files-instruction-input" | "user-files-linesheet" | "user-files-media" | "user-files-other" | "user-files-prompt-assistant" | "user-files-table-data" | "user-files-techpack-attachments" | "user-files-text-data-file" | "user-files-workflow-input" | "workflow-image-mask" | "workflow-image-overlay" | "workflow-import";
1623
+ purpose: "uploads" | "agent-attachments" | "agent-artifacts" | "agent-edited-images" | "agent-workbench" | "agent-skill-archives" | "asset-screenshots" | "data-exports" | "data-feature-media" | "design-assets" | "design-board-thumbnails" | "design-images" | "dev-agent-reference-images" | "dev-agent-review-artifacts" | "external-delivery-techpacks" | "llm-generated-images" | "media-generated" | "media-uploads" | "model-training-files" | "models" | "models-checkpoints" | "models-clip" | "models-controlnet" | "models-diffusion-models" | "models-loras-test" | "models-vae" | "output-images" | "plugin-data-imports" | "plugin-runtime" | "plugin-runtime-outputs" | "step-thumbnails" | "techpack-design-intent" | "user-files-base" | "user-files-design-board-background" | "user-files-design-project-cover" | "user-files-designs" | "user-files-icons" | "user-files-import-comfyui-image" | "user-files-import-comfyui-json" | "user-files-import-comfyui-json-url" | "user-files-instruction-input" | "user-files-linesheet" | "user-files-media" | "user-files-other" | "user-files-prompt-assistant" | "user-files-table-data" | "user-files-techpack-attachments" | "user-files-text-data-file" | "user-files-workflow-input" | "workflow-image-mask" | "workflow-image-overlay" | "workflow-import";
1624
1624
  } | undefined;
1625
1625
  accept?: string | undefined;
1626
1626
  }[] | undefined;
@@ -4114,7 +4114,7 @@ export declare const RuntimeDefinitionResponseSchema: z.ZodPipe<z.ZodTransform<u
4114
4114
  };
4115
4115
  maxBytes: number;
4116
4116
  upload?: {
4117
- purpose: "models" | "uploads" | "agent-attachments" | "agent-artifacts" | "agent-edited-images" | "agent-workbench" | "agent-skill-archives" | "asset-screenshots" | "data-exports" | "data-feature-media" | "design-assets" | "design-board-thumbnails" | "design-images" | "dev-agent-reference-images" | "dev-agent-review-artifacts" | "external-delivery-techpacks" | "llm-generated-images" | "media-generated" | "media-uploads" | "model-training-files" | "models-checkpoints" | "models-clip" | "models-controlnet" | "models-diffusion-models" | "models-loras-test" | "models-vae" | "output-images" | "plugin-data-imports" | "plugin-runtime" | "plugin-runtime-outputs" | "step-thumbnails" | "techpack-design-intent" | "user-files-base" | "user-files-design-board-background" | "user-files-design-project-cover" | "user-files-designs" | "user-files-icons" | "user-files-import-comfyui-image" | "user-files-import-comfyui-json" | "user-files-import-comfyui-json-url" | "user-files-instruction-input" | "user-files-linesheet" | "user-files-media" | "user-files-other" | "user-files-prompt-assistant" | "user-files-table-data" | "user-files-techpack-attachments" | "user-files-text-data-file" | "user-files-workflow-input" | "workflow-image-mask" | "workflow-image-overlay" | "workflow-import";
4117
+ purpose: "uploads" | "agent-attachments" | "agent-artifacts" | "agent-edited-images" | "agent-workbench" | "agent-skill-archives" | "asset-screenshots" | "data-exports" | "data-feature-media" | "design-assets" | "design-board-thumbnails" | "design-images" | "dev-agent-reference-images" | "dev-agent-review-artifacts" | "external-delivery-techpacks" | "llm-generated-images" | "media-generated" | "media-uploads" | "model-training-files" | "models" | "models-checkpoints" | "models-clip" | "models-controlnet" | "models-diffusion-models" | "models-loras-test" | "models-vae" | "output-images" | "plugin-data-imports" | "plugin-runtime" | "plugin-runtime-outputs" | "step-thumbnails" | "techpack-design-intent" | "user-files-base" | "user-files-design-board-background" | "user-files-design-project-cover" | "user-files-designs" | "user-files-icons" | "user-files-import-comfyui-image" | "user-files-import-comfyui-json" | "user-files-import-comfyui-json-url" | "user-files-instruction-input" | "user-files-linesheet" | "user-files-media" | "user-files-other" | "user-files-prompt-assistant" | "user-files-table-data" | "user-files-techpack-attachments" | "user-files-text-data-file" | "user-files-workflow-input" | "workflow-image-mask" | "workflow-image-overlay" | "workflow-import";
4118
4118
  } | undefined;
4119
4119
  accept?: string | undefined;
4120
4120
  }[] | undefined;