@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
@@ -22,6 +22,201 @@ export { WorkflowCatalogEntrySchema, WorkflowCompletionCommitSchema, WorkflowCom
22
22
  export { WorkflowColumnBindingSchema, WorkflowColumnInputSchema, WorkflowColumnDependencySchema, WorkflowColumnOutputSchema, WorkflowColumnFieldRefSchema, } from "../contracts/workflow-column";
23
23
  export { DesignBoardDocumentSchema, DesignBoardCommitCommandSchema } from '../contracts/design-board';
24
24
  export declare const canonicalContractSchemas: {
25
+ readonly "declarative-publication-verification-request": import("zod").ZodObject<{
26
+ resourceKind: import("zod").ZodEnum<{
27
+ page: "page";
28
+ navigation: "navigation";
29
+ workbench: "workbench";
30
+ }>;
31
+ resourceId: import("zod").ZodString;
32
+ releaseSlotId: import("zod").ZodString;
33
+ releaseVersion: import("zod").ZodOptional<import("zod").ZodNumber>;
34
+ expectedReleaseRevisionRef: import("zod").ZodOptional<import("zod").ZodObject<{
35
+ revision: import("zod").ZodNumber;
36
+ schemaVersion: import("zod").ZodNumber;
37
+ contentHash: import("zod").ZodString;
38
+ kind: import("zod").ZodString;
39
+ id: import("zod").ZodString;
40
+ ownerRepo: import("zod").ZodString;
41
+ visibility: import("zod").ZodEnum<{
42
+ tenant: "tenant";
43
+ public: "public";
44
+ global: "global";
45
+ }>;
46
+ tenantScope: import("zod").ZodOptional<import("zod").ZodObject<{
47
+ tenantRef: import("zod").ZodObject<{
48
+ kind: import("zod").ZodString;
49
+ id: import("zod").ZodString;
50
+ ownerRepo: import("zod").ZodString;
51
+ }, import("zod/v4/core").$strict>;
52
+ dataSpaceRef: import("zod").ZodObject<{
53
+ kind: import("zod").ZodString;
54
+ id: import("zod").ZodString;
55
+ ownerRepo: import("zod").ZodString;
56
+ }, import("zod/v4/core").$strict>;
57
+ teamRef: import("zod").ZodOptional<import("zod").ZodObject<{
58
+ kind: import("zod").ZodString;
59
+ id: import("zod").ZodString;
60
+ ownerRepo: import("zod").ZodString;
61
+ }, import("zod/v4/core").$strict>>;
62
+ }, import("zod/v4/core").$strict>>;
63
+ }, import("zod/v4/core").$strict>>;
64
+ expectedDefinitionRevisionRef: import("zod").ZodOptional<import("zod").ZodObject<{
65
+ revision: import("zod").ZodNumber;
66
+ schemaVersion: import("zod").ZodNumber;
67
+ contentHash: import("zod").ZodString;
68
+ kind: import("zod").ZodString;
69
+ id: import("zod").ZodString;
70
+ ownerRepo: import("zod").ZodString;
71
+ visibility: import("zod").ZodEnum<{
72
+ tenant: "tenant";
73
+ public: "public";
74
+ global: "global";
75
+ }>;
76
+ tenantScope: import("zod").ZodOptional<import("zod").ZodObject<{
77
+ tenantRef: import("zod").ZodObject<{
78
+ kind: import("zod").ZodString;
79
+ id: import("zod").ZodString;
80
+ ownerRepo: import("zod").ZodString;
81
+ }, import("zod/v4/core").$strict>;
82
+ dataSpaceRef: import("zod").ZodObject<{
83
+ kind: import("zod").ZodString;
84
+ id: import("zod").ZodString;
85
+ ownerRepo: import("zod").ZodString;
86
+ }, import("zod/v4/core").$strict>;
87
+ teamRef: import("zod").ZodOptional<import("zod").ZodObject<{
88
+ kind: import("zod").ZodString;
89
+ id: import("zod").ZodString;
90
+ ownerRepo: import("zod").ZodString;
91
+ }, import("zod/v4/core").$strict>>;
92
+ }, import("zod/v4/core").$strict>>;
93
+ }, import("zod/v4/core").$strict>>;
94
+ idempotencyKey: import("zod").ZodOptional<import("zod").ZodString>;
95
+ audience: import("zod").ZodOptional<import("zod").ZodObject<{
96
+ teamId: import("zod").ZodOptional<import("zod").ZodString>;
97
+ path: import("zod").ZodOptional<import("zod").ZodString>;
98
+ }, import("zod/v4/core").$strict>>;
99
+ }, import("zod/v4/core").$strict>;
100
+ readonly "declarative-publication-verification": import("zod").ZodObject<{
101
+ contract: import("zod").ZodLiteral<"DeclarativePublicationVerification">;
102
+ schemaVersion: import("zod").ZodLiteral<1>;
103
+ resourceKind: import("zod").ZodEnum<{
104
+ page: "page";
105
+ navigation: "navigation";
106
+ workbench: "workbench";
107
+ }>;
108
+ resourceId: import("zod").ZodString;
109
+ scope: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
110
+ kind: import("zod").ZodLiteral<"global">;
111
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
112
+ kind: import("zod").ZodLiteral<"team">;
113
+ teamId: import("zod").ZodString;
114
+ }, import("zod/v4/core").$strict>], "kind">;
115
+ publication: import("zod").ZodEnum<{
116
+ unknown: "unknown";
117
+ committed: "committed";
118
+ }>;
119
+ activation: import("zod").ZodEnum<{
120
+ unavailable: "unavailable";
121
+ active: "active";
122
+ deactivated: "deactivated";
123
+ superseded: "superseded";
124
+ }>;
125
+ integrity: import("zod").ZodEnum<{
126
+ failed: "failed";
127
+ verified: "verified";
128
+ unverified: "unverified";
129
+ }>;
130
+ runtime: import("zod").ZodEnum<{
131
+ failed: "failed";
132
+ forbidden: "forbidden";
133
+ verified: "verified";
134
+ "not-requested": "not-requested";
135
+ "context-required": "context-required";
136
+ }>;
137
+ retryable: import("zod").ZodDefault<import("zod").ZodBoolean>;
138
+ releaseRevisionRef: import("zod").ZodOptional<import("zod").ZodObject<{
139
+ revision: import("zod").ZodNumber;
140
+ schemaVersion: import("zod").ZodNumber;
141
+ contentHash: import("zod").ZodString;
142
+ kind: import("zod").ZodString;
143
+ id: import("zod").ZodString;
144
+ ownerRepo: import("zod").ZodString;
145
+ visibility: import("zod").ZodEnum<{
146
+ tenant: "tenant";
147
+ public: "public";
148
+ global: "global";
149
+ }>;
150
+ tenantScope: import("zod").ZodOptional<import("zod").ZodObject<{
151
+ tenantRef: import("zod").ZodObject<{
152
+ kind: import("zod").ZodString;
153
+ id: import("zod").ZodString;
154
+ ownerRepo: import("zod").ZodString;
155
+ }, import("zod/v4/core").$strict>;
156
+ dataSpaceRef: import("zod").ZodObject<{
157
+ kind: import("zod").ZodString;
158
+ id: import("zod").ZodString;
159
+ ownerRepo: import("zod").ZodString;
160
+ }, import("zod/v4/core").$strict>;
161
+ teamRef: import("zod").ZodOptional<import("zod").ZodObject<{
162
+ kind: import("zod").ZodString;
163
+ id: import("zod").ZodString;
164
+ ownerRepo: import("zod").ZodString;
165
+ }, import("zod/v4/core").$strict>>;
166
+ }, import("zod/v4/core").$strict>>;
167
+ }, import("zod/v4/core").$strict>>;
168
+ definitionRevisionRef: import("zod").ZodOptional<import("zod").ZodObject<{
169
+ revision: import("zod").ZodNumber;
170
+ schemaVersion: import("zod").ZodNumber;
171
+ contentHash: import("zod").ZodString;
172
+ kind: import("zod").ZodString;
173
+ id: import("zod").ZodString;
174
+ ownerRepo: import("zod").ZodString;
175
+ visibility: import("zod").ZodEnum<{
176
+ tenant: "tenant";
177
+ public: "public";
178
+ global: "global";
179
+ }>;
180
+ tenantScope: import("zod").ZodOptional<import("zod").ZodObject<{
181
+ tenantRef: import("zod").ZodObject<{
182
+ kind: import("zod").ZodString;
183
+ id: import("zod").ZodString;
184
+ ownerRepo: import("zod").ZodString;
185
+ }, import("zod/v4/core").$strict>;
186
+ dataSpaceRef: import("zod").ZodObject<{
187
+ kind: import("zod").ZodString;
188
+ id: import("zod").ZodString;
189
+ ownerRepo: import("zod").ZodString;
190
+ }, import("zod/v4/core").$strict>;
191
+ teamRef: import("zod").ZodOptional<import("zod").ZodObject<{
192
+ kind: import("zod").ZodString;
193
+ id: import("zod").ZodString;
194
+ ownerRepo: import("zod").ZodString;
195
+ }, import("zod/v4/core").$strict>>;
196
+ }, import("zod/v4/core").$strict>>;
197
+ }, import("zod/v4/core").$strict>>;
198
+ runtimeContentHash: import("zod").ZodOptional<import("zod").ZodString>;
199
+ requestId: import("zod").ZodOptional<import("zod").ZodString>;
200
+ diagnostics: import("zod").ZodArray<import("zod").ZodObject<{
201
+ code: import("zod").ZodString;
202
+ stage: import("zod").ZodOptional<import("zod").ZodEnum<{
203
+ contract: "contract";
204
+ reference: "reference";
205
+ runtime: "runtime";
206
+ document: "document";
207
+ policy: "policy";
208
+ }>>;
209
+ severity: import("zod").ZodOptional<import("zod").ZodEnum<{
210
+ error: "error";
211
+ warning: "warning";
212
+ info: "info";
213
+ }>>;
214
+ blocking: import("zod").ZodOptional<import("zod").ZodBoolean>;
215
+ path: import("zod").ZodString;
216
+ message: import("zod").ZodString;
217
+ recovery: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
218
+ }, import("zod/v4/core").$strict>>;
219
+ }, import("zod/v4/core").$strict>;
25
220
  readonly 'design-board-document': import("zod").ZodObject<{
26
221
  engine: import("zod").ZodLiteral<"excalidraw">;
27
222
  schemaVersion: import("zod").ZodLiteral<1>;
@@ -618,13 +813,13 @@ export declare const canonicalContractSchemas: {
618
813
  accepted: "accepted";
619
814
  }>;
620
815
  sessionStatus: import("zod").ZodEnum<{
816
+ failed: "failed";
621
817
  queued: "queued";
622
818
  running: "running";
623
819
  waiting_approval: "waiting_approval";
624
820
  stopping: "stopping";
625
821
  stopped: "stopped";
626
822
  completed: "completed";
627
- failed: "failed";
628
823
  }>;
629
824
  acceptedSequence: import("zod").ZodOptional<import("zod").ZodNumber>;
630
825
  resultEventIds: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
@@ -776,8 +971,8 @@ export declare const canonicalContractSchemas: {
776
971
  }>>;
777
972
  parts: import("zod").ZodArray<import("zod").ZodType<import("../contracts/common").JsonValue, unknown, import("zod/v4/core").$ZodTypeInternals<import("../contracts/common").JsonValue, unknown>>>;
778
973
  status: import("zod").ZodOptional<import("zod").ZodEnum<{
779
- completed: "completed";
780
974
  failed: "failed";
975
+ completed: "completed";
781
976
  streaming: "streaming";
782
977
  }>>;
783
978
  }, import("zod/v4/core").$strict>;
@@ -813,19 +1008,19 @@ export declare const canonicalContractSchemas: {
813
1008
  planId: import("zod").ZodString;
814
1009
  title: import("zod").ZodOptional<import("zod").ZodString>;
815
1010
  status: import("zod").ZodEnum<{
1011
+ pending: "pending";
1012
+ failed: "failed";
816
1013
  running: "running";
817
1014
  completed: "completed";
818
- failed: "failed";
819
- pending: "pending";
820
1015
  }>;
821
1016
  steps: import("zod").ZodArray<import("zod").ZodObject<{
822
1017
  id: import("zod").ZodString;
823
1018
  title: import("zod").ZodString;
824
1019
  status: import("zod").ZodEnum<{
1020
+ pending: "pending";
1021
+ failed: "failed";
825
1022
  running: "running";
826
1023
  completed: "completed";
827
- failed: "failed";
828
- pending: "pending";
829
1024
  skipped: "skipped";
830
1025
  }>;
831
1026
  }, import("zod/v4/core").$strict>>;
@@ -844,10 +1039,10 @@ export declare const canonicalContractSchemas: {
844
1039
  taskId: import("zod").ZodString;
845
1040
  title: import("zod").ZodString;
846
1041
  status: import("zod").ZodEnum<{
1042
+ pending: "pending";
1043
+ failed: "failed";
847
1044
  running: "running";
848
1045
  completed: "completed";
849
- failed: "failed";
850
- pending: "pending";
851
1046
  skipped: "skipped";
852
1047
  }>;
853
1048
  detail: import("zod").ZodOptional<import("zod").ZodString>;
@@ -866,10 +1061,10 @@ export declare const canonicalContractSchemas: {
866
1061
  toolCallId: import("zod").ZodString;
867
1062
  toolName: import("zod").ZodString;
868
1063
  status: import("zod").ZodEnum<{
1064
+ pending: "pending";
1065
+ failed: "failed";
869
1066
  running: "running";
870
1067
  completed: "completed";
871
- failed: "failed";
872
- pending: "pending";
873
1068
  denied: "denied";
874
1069
  }>;
875
1070
  input: import("zod").ZodOptional<import("zod").ZodType<import("../contracts/common").JsonValue, unknown, import("zod/v4/core").$ZodTypeInternals<import("../contracts/common").JsonValue, unknown>>>;
@@ -913,13 +1108,13 @@ export declare const canonicalContractSchemas: {
913
1108
  eventType: import("zod").ZodLiteral<"status">;
914
1109
  payload: import("zod").ZodObject<{
915
1110
  status: import("zod").ZodEnum<{
1111
+ failed: "failed";
916
1112
  queued: "queued";
917
1113
  running: "running";
918
1114
  waiting_approval: "waiting_approval";
919
1115
  stopping: "stopping";
920
1116
  stopped: "stopped";
921
1117
  completed: "completed";
922
- failed: "failed";
923
1118
  }>;
924
1119
  detail: import("zod").ZodOptional<import("zod").ZodString>;
925
1120
  startedAt: import("zod").ZodOptional<import("zod").ZodString>;
@@ -951,12 +1146,13 @@ export declare const canonicalContractSchemas: {
951
1146
  other: "other";
952
1147
  }>;
953
1148
  status: import("zod").ZodEnum<{
954
- failed: "failed";
955
1149
  pending: "pending";
956
1150
  ready: "ready";
1151
+ failed: "failed";
957
1152
  }>;
958
1153
  mimeType: import("zod").ZodOptional<import("zod").ZodString>;
959
1154
  url: import("zod").ZodOptional<import("zod").ZodString>;
1155
+ fileUri: import("zod").ZodOptional<import("zod").ZodString>;
960
1156
  size: import("zod").ZodOptional<import("zod").ZodNumber>;
961
1157
  sourceEventId: import("zod").ZodOptional<import("zod").ZodString>;
962
1158
  }, import("zod/v4/core").$strict>;
@@ -1022,9 +1218,9 @@ export declare const canonicalContractSchemas: {
1022
1218
  payload: import("zod").ZodObject<{
1023
1219
  path: import("zod").ZodString;
1024
1220
  status: import("zod").ZodEnum<{
1221
+ deleted: "deleted";
1025
1222
  added: "added";
1026
1223
  modified: "modified";
1027
- deleted: "deleted";
1028
1224
  renamed: "renamed";
1029
1225
  }>;
1030
1226
  patch: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1083,8 +1279,8 @@ export declare const canonicalContractSchemas: {
1083
1279
  testId: import("zod").ZodString;
1084
1280
  name: import("zod").ZodString;
1085
1281
  status: import("zod").ZodEnum<{
1086
- running: "running";
1087
1282
  failed: "failed";
1283
+ running: "running";
1088
1284
  skipped: "skipped";
1089
1285
  passed: "passed";
1090
1286
  }>;
@@ -1153,8 +1349,8 @@ export declare const canonicalContractSchemas: {
1153
1349
  highlights: import("zod").ZodArray<import("zod").ZodString>;
1154
1350
  pendingItems: import("zod").ZodArray<import("zod").ZodString>;
1155
1351
  status: import("zod").ZodEnum<{
1156
- completed: "completed";
1157
1352
  failed: "failed";
1353
+ completed: "completed";
1158
1354
  generating: "generating";
1159
1355
  }>;
1160
1356
  }, import("zod/v4/core").$strict>;
@@ -1182,8 +1378,8 @@ export declare const canonicalContractSchemas: {
1182
1378
  }>>;
1183
1379
  parts: import("zod").ZodArray<import("zod").ZodType<import("../contracts/common").JsonValue, unknown, import("zod/v4/core").$ZodTypeInternals<import("../contracts/common").JsonValue, unknown>>>;
1184
1380
  status: import("zod").ZodOptional<import("zod").ZodEnum<{
1185
- completed: "completed";
1186
1381
  failed: "failed";
1382
+ completed: "completed";
1187
1383
  streaming: "streaming";
1188
1384
  }>>;
1189
1385
  }, import("zod/v4/core").$strict>;
@@ -1219,19 +1415,19 @@ export declare const canonicalContractSchemas: {
1219
1415
  planId: import("zod").ZodString;
1220
1416
  title: import("zod").ZodOptional<import("zod").ZodString>;
1221
1417
  status: import("zod").ZodEnum<{
1418
+ pending: "pending";
1419
+ failed: "failed";
1222
1420
  running: "running";
1223
1421
  completed: "completed";
1224
- failed: "failed";
1225
- pending: "pending";
1226
1422
  }>;
1227
1423
  steps: import("zod").ZodArray<import("zod").ZodObject<{
1228
1424
  id: import("zod").ZodString;
1229
1425
  title: import("zod").ZodString;
1230
1426
  status: import("zod").ZodEnum<{
1427
+ pending: "pending";
1428
+ failed: "failed";
1231
1429
  running: "running";
1232
1430
  completed: "completed";
1233
- failed: "failed";
1234
- pending: "pending";
1235
1431
  skipped: "skipped";
1236
1432
  }>;
1237
1433
  }, import("zod/v4/core").$strict>>;
@@ -1250,10 +1446,10 @@ export declare const canonicalContractSchemas: {
1250
1446
  taskId: import("zod").ZodString;
1251
1447
  title: import("zod").ZodString;
1252
1448
  status: import("zod").ZodEnum<{
1449
+ pending: "pending";
1450
+ failed: "failed";
1253
1451
  running: "running";
1254
1452
  completed: "completed";
1255
- failed: "failed";
1256
- pending: "pending";
1257
1453
  skipped: "skipped";
1258
1454
  }>;
1259
1455
  detail: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1272,10 +1468,10 @@ export declare const canonicalContractSchemas: {
1272
1468
  toolCallId: import("zod").ZodString;
1273
1469
  toolName: import("zod").ZodString;
1274
1470
  status: import("zod").ZodEnum<{
1471
+ pending: "pending";
1472
+ failed: "failed";
1275
1473
  running: "running";
1276
1474
  completed: "completed";
1277
- failed: "failed";
1278
- pending: "pending";
1279
1475
  denied: "denied";
1280
1476
  }>;
1281
1477
  input: import("zod").ZodOptional<import("zod").ZodType<import("../contracts/common").JsonValue, unknown, import("zod/v4/core").$ZodTypeInternals<import("../contracts/common").JsonValue, unknown>>>;
@@ -1319,13 +1515,13 @@ export declare const canonicalContractSchemas: {
1319
1515
  eventType: import("zod").ZodLiteral<"status">;
1320
1516
  payload: import("zod").ZodObject<{
1321
1517
  status: import("zod").ZodEnum<{
1518
+ failed: "failed";
1322
1519
  queued: "queued";
1323
1520
  running: "running";
1324
1521
  waiting_approval: "waiting_approval";
1325
1522
  stopping: "stopping";
1326
1523
  stopped: "stopped";
1327
1524
  completed: "completed";
1328
- failed: "failed";
1329
1525
  }>;
1330
1526
  detail: import("zod").ZodOptional<import("zod").ZodString>;
1331
1527
  startedAt: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1357,12 +1553,13 @@ export declare const canonicalContractSchemas: {
1357
1553
  other: "other";
1358
1554
  }>;
1359
1555
  status: import("zod").ZodEnum<{
1360
- failed: "failed";
1361
1556
  pending: "pending";
1362
1557
  ready: "ready";
1558
+ failed: "failed";
1363
1559
  }>;
1364
1560
  mimeType: import("zod").ZodOptional<import("zod").ZodString>;
1365
1561
  url: import("zod").ZodOptional<import("zod").ZodString>;
1562
+ fileUri: import("zod").ZodOptional<import("zod").ZodString>;
1366
1563
  size: import("zod").ZodOptional<import("zod").ZodNumber>;
1367
1564
  sourceEventId: import("zod").ZodOptional<import("zod").ZodString>;
1368
1565
  }, import("zod/v4/core").$strict>;
@@ -1428,9 +1625,9 @@ export declare const canonicalContractSchemas: {
1428
1625
  payload: import("zod").ZodObject<{
1429
1626
  path: import("zod").ZodString;
1430
1627
  status: import("zod").ZodEnum<{
1628
+ deleted: "deleted";
1431
1629
  added: "added";
1432
1630
  modified: "modified";
1433
- deleted: "deleted";
1434
1631
  renamed: "renamed";
1435
1632
  }>;
1436
1633
  patch: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1489,8 +1686,8 @@ export declare const canonicalContractSchemas: {
1489
1686
  testId: import("zod").ZodString;
1490
1687
  name: import("zod").ZodString;
1491
1688
  status: import("zod").ZodEnum<{
1492
- running: "running";
1493
1689
  failed: "failed";
1690
+ running: "running";
1494
1691
  skipped: "skipped";
1495
1692
  passed: "passed";
1496
1693
  }>;
@@ -1559,8 +1756,8 @@ export declare const canonicalContractSchemas: {
1559
1756
  highlights: import("zod").ZodArray<import("zod").ZodString>;
1560
1757
  pendingItems: import("zod").ZodArray<import("zod").ZodString>;
1561
1758
  status: import("zod").ZodEnum<{
1562
- completed: "completed";
1563
1759
  failed: "failed";
1760
+ completed: "completed";
1564
1761
  generating: "generating";
1565
1762
  }>;
1566
1763
  }, import("zod/v4/core").$strict>;
@@ -1570,13 +1767,13 @@ export declare const canonicalContractSchemas: {
1570
1767
  sessionId: import("zod").ZodString;
1571
1768
  sourceMessageId: import("zod").ZodString;
1572
1769
  status: import("zod").ZodEnum<{
1770
+ failed: "failed";
1573
1771
  queued: "queued";
1574
1772
  running: "running";
1575
1773
  waiting_approval: "waiting_approval";
1576
1774
  stopping: "stopping";
1577
1775
  stopped: "stopped";
1578
1776
  completed: "completed";
1579
- failed: "failed";
1580
1777
  }>;
1581
1778
  startedAt: import("zod").ZodString;
1582
1779
  stoppingRequestedAt: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1624,13 +1821,13 @@ export declare const canonicalContractSchemas: {
1624
1821
  }>>;
1625
1822
  }, import("zod/v4/core").$strict>;
1626
1823
  status: import("zod").ZodEnum<{
1824
+ failed: "failed";
1627
1825
  queued: "queued";
1628
1826
  running: "running";
1629
1827
  waiting_approval: "waiting_approval";
1630
1828
  stopping: "stopping";
1631
1829
  stopped: "stopped";
1632
1830
  completed: "completed";
1633
- failed: "failed";
1634
1831
  }>;
1635
1832
  events: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
1636
1833
  contract: import("zod").ZodLiteral<"AgentSessionEvent">;
@@ -1655,8 +1852,8 @@ export declare const canonicalContractSchemas: {
1655
1852
  }>>;
1656
1853
  parts: import("zod").ZodArray<import("zod").ZodType<import("../contracts/common").JsonValue, unknown, import("zod/v4/core").$ZodTypeInternals<import("../contracts/common").JsonValue, unknown>>>;
1657
1854
  status: import("zod").ZodOptional<import("zod").ZodEnum<{
1658
- completed: "completed";
1659
1855
  failed: "failed";
1856
+ completed: "completed";
1660
1857
  streaming: "streaming";
1661
1858
  }>>;
1662
1859
  }, import("zod/v4/core").$strict>;
@@ -1692,19 +1889,19 @@ export declare const canonicalContractSchemas: {
1692
1889
  planId: import("zod").ZodString;
1693
1890
  title: import("zod").ZodOptional<import("zod").ZodString>;
1694
1891
  status: import("zod").ZodEnum<{
1892
+ pending: "pending";
1893
+ failed: "failed";
1695
1894
  running: "running";
1696
1895
  completed: "completed";
1697
- failed: "failed";
1698
- pending: "pending";
1699
1896
  }>;
1700
1897
  steps: import("zod").ZodArray<import("zod").ZodObject<{
1701
1898
  id: import("zod").ZodString;
1702
1899
  title: import("zod").ZodString;
1703
1900
  status: import("zod").ZodEnum<{
1901
+ pending: "pending";
1902
+ failed: "failed";
1704
1903
  running: "running";
1705
1904
  completed: "completed";
1706
- failed: "failed";
1707
- pending: "pending";
1708
1905
  skipped: "skipped";
1709
1906
  }>;
1710
1907
  }, import("zod/v4/core").$strict>>;
@@ -1723,10 +1920,10 @@ export declare const canonicalContractSchemas: {
1723
1920
  taskId: import("zod").ZodString;
1724
1921
  title: import("zod").ZodString;
1725
1922
  status: import("zod").ZodEnum<{
1923
+ pending: "pending";
1924
+ failed: "failed";
1726
1925
  running: "running";
1727
1926
  completed: "completed";
1728
- failed: "failed";
1729
- pending: "pending";
1730
1927
  skipped: "skipped";
1731
1928
  }>;
1732
1929
  detail: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1745,10 +1942,10 @@ export declare const canonicalContractSchemas: {
1745
1942
  toolCallId: import("zod").ZodString;
1746
1943
  toolName: import("zod").ZodString;
1747
1944
  status: import("zod").ZodEnum<{
1945
+ pending: "pending";
1946
+ failed: "failed";
1748
1947
  running: "running";
1749
1948
  completed: "completed";
1750
- failed: "failed";
1751
- pending: "pending";
1752
1949
  denied: "denied";
1753
1950
  }>;
1754
1951
  input: import("zod").ZodOptional<import("zod").ZodType<import("../contracts/common").JsonValue, unknown, import("zod/v4/core").$ZodTypeInternals<import("../contracts/common").JsonValue, unknown>>>;
@@ -1792,13 +1989,13 @@ export declare const canonicalContractSchemas: {
1792
1989
  eventType: import("zod").ZodLiteral<"status">;
1793
1990
  payload: import("zod").ZodObject<{
1794
1991
  status: import("zod").ZodEnum<{
1992
+ failed: "failed";
1795
1993
  queued: "queued";
1796
1994
  running: "running";
1797
1995
  waiting_approval: "waiting_approval";
1798
1996
  stopping: "stopping";
1799
1997
  stopped: "stopped";
1800
1998
  completed: "completed";
1801
- failed: "failed";
1802
1999
  }>;
1803
2000
  detail: import("zod").ZodOptional<import("zod").ZodString>;
1804
2001
  startedAt: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1830,12 +2027,13 @@ export declare const canonicalContractSchemas: {
1830
2027
  other: "other";
1831
2028
  }>;
1832
2029
  status: import("zod").ZodEnum<{
1833
- failed: "failed";
1834
2030
  pending: "pending";
1835
2031
  ready: "ready";
2032
+ failed: "failed";
1836
2033
  }>;
1837
2034
  mimeType: import("zod").ZodOptional<import("zod").ZodString>;
1838
2035
  url: import("zod").ZodOptional<import("zod").ZodString>;
2036
+ fileUri: import("zod").ZodOptional<import("zod").ZodString>;
1839
2037
  size: import("zod").ZodOptional<import("zod").ZodNumber>;
1840
2038
  sourceEventId: import("zod").ZodOptional<import("zod").ZodString>;
1841
2039
  }, import("zod/v4/core").$strict>;
@@ -1901,9 +2099,9 @@ export declare const canonicalContractSchemas: {
1901
2099
  payload: import("zod").ZodObject<{
1902
2100
  path: import("zod").ZodString;
1903
2101
  status: import("zod").ZodEnum<{
2102
+ deleted: "deleted";
1904
2103
  added: "added";
1905
2104
  modified: "modified";
1906
- deleted: "deleted";
1907
2105
  renamed: "renamed";
1908
2106
  }>;
1909
2107
  patch: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1962,8 +2160,8 @@ export declare const canonicalContractSchemas: {
1962
2160
  testId: import("zod").ZodString;
1963
2161
  name: import("zod").ZodString;
1964
2162
  status: import("zod").ZodEnum<{
1965
- running: "running";
1966
2163
  failed: "failed";
2164
+ running: "running";
1967
2165
  skipped: "skipped";
1968
2166
  passed: "passed";
1969
2167
  }>;
@@ -2032,8 +2230,8 @@ export declare const canonicalContractSchemas: {
2032
2230
  highlights: import("zod").ZodArray<import("zod").ZodString>;
2033
2231
  pendingItems: import("zod").ZodArray<import("zod").ZodString>;
2034
2232
  status: import("zod").ZodEnum<{
2035
- completed: "completed";
2036
2233
  failed: "failed";
2234
+ completed: "completed";
2037
2235
  generating: "generating";
2038
2236
  }>;
2039
2237
  }, import("zod/v4/core").$strict>;
@@ -2240,8 +2438,8 @@ export declare const canonicalContractSchemas: {
2240
2438
  description: import("zod").ZodOptional<import("zod").ZodString>;
2241
2439
  prompt: import("zod").ZodString;
2242
2440
  action: import("zod").ZodDefault<import("zod").ZodEnum<{
2243
- prompt: "prompt";
2244
2441
  upload: "upload";
2442
+ prompt: "prompt";
2245
2443
  }>>;
2246
2444
  icon: import("zod").ZodOptional<import("zod").ZodEnum<{
2247
2445
  code: "code";
@@ -12896,7 +13094,6 @@ export declare const canonicalContractSchemas: {
12896
13094
  maxBytes: import("zod").ZodNumber;
12897
13095
  upload: import("zod").ZodOptional<import("zod").ZodObject<{
12898
13096
  purpose: import("zod").ZodEnum<{
12899
- models: "models";
12900
13097
  uploads: "uploads";
12901
13098
  "agent-attachments": "agent-attachments";
12902
13099
  "agent-artifacts": "agent-artifacts";
@@ -12916,6 +13113,7 @@ export declare const canonicalContractSchemas: {
12916
13113
  "media-generated": "media-generated";
12917
13114
  "media-uploads": "media-uploads";
12918
13115
  "model-training-files": "model-training-files";
13116
+ models: "models";
12919
13117
  "models-checkpoints": "models-checkpoints";
12920
13118
  "models-clip": "models-clip";
12921
13119
  "models-controlnet": "models-controlnet";
@@ -17782,8 +17980,8 @@ export declare const canonicalContractSchemas: {
17782
17980
  description: import("zod").ZodOptional<import("zod").ZodString>;
17783
17981
  prompt: import("zod").ZodString;
17784
17982
  action: import("zod").ZodDefault<import("zod").ZodEnum<{
17785
- prompt: "prompt";
17786
17983
  upload: "upload";
17984
+ prompt: "prompt";
17787
17985
  }>>;
17788
17986
  icon: import("zod").ZodOptional<import("zod").ZodEnum<{
17789
17987
  code: "code";
@@ -18872,8 +19070,8 @@ export declare const canonicalContractSchemas: {
18872
19070
  description: import("zod").ZodOptional<import("zod").ZodString>;
18873
19071
  prompt: import("zod").ZodString;
18874
19072
  action: import("zod").ZodDefault<import("zod").ZodEnum<{
18875
- prompt: "prompt";
18876
19073
  upload: "upload";
19074
+ prompt: "prompt";
18877
19075
  }>>;
18878
19076
  icon: import("zod").ZodOptional<import("zod").ZodEnum<{
18879
19077
  code: "code";