@telora/factory 0.4.5 → 0.4.6
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/builder-completion.js +1 -1
- package/dist/builder-completion.js.map +1 -1
- package/dist/builder-spawner.d.ts +7 -1
- package/dist/builder-spawner.d.ts.map +1 -1
- package/dist/builder-spawner.js +9 -11
- package/dist/builder-spawner.js.map +1 -1
- package/dist/execution.d.ts +1 -0
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js.map +1 -1
- package/dist/git-factory.d.ts +9 -10
- package/dist/git-factory.d.ts.map +1 -1
- package/dist/git-factory.js +15 -42
- package/dist/git-factory.js.map +1 -1
- package/dist/instance-phase-dispatch.d.ts.map +1 -1
- package/dist/instance-phase-dispatch.js +53 -29
- package/dist/instance-phase-dispatch.js.map +1 -1
- package/dist/instance-poll-loop.d.ts.map +1 -1
- package/dist/instance-poll-loop.js +12 -10
- package/dist/instance-poll-loop.js.map +1 -1
- package/dist/plan-parser.d.ts +3 -31
- package/dist/plan-parser.d.ts.map +1 -1
- package/dist/planning-phase.d.ts.map +1 -1
- package/dist/planning-phase.js +1 -1
- package/dist/planning-phase.js.map +1 -1
- package/dist/queries/execution-units.d.ts +7 -12
- package/dist/queries/execution-units.d.ts.map +1 -1
- package/dist/queries/shared.d.ts +5 -5
- package/dist/queries/shared.d.ts.map +1 -1
- package/dist/strategy-design-schema.d.ts +125 -527
- package/dist/strategy-design-schema.d.ts.map +1 -1
- package/dist/types/config.d.ts +20 -0
- package/dist/types/config.d.ts.map +1 -0
- package/dist/types/config.js +5 -0
- package/dist/types/config.js.map +1 -0
- package/dist/types/context.d.ts +48 -0
- package/dist/types/context.d.ts.map +1 -0
- package/dist/types/context.js +5 -0
- package/dist/types/context.js.map +1 -0
- package/dist/types/gates.d.ts +126 -0
- package/dist/types/gates.d.ts.map +1 -0
- package/dist/types/gates.js +5 -0
- package/dist/types/gates.js.map +1 -0
- package/dist/types/index.d.ts +13 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +8 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/instance.d.ts +403 -0
- package/dist/types/instance.d.ts.map +1 -0
- package/dist/types/instance.js +7 -0
- package/dist/types/instance.js.map +1 -0
- package/dist/types/pipeline.d.ts +33 -0
- package/dist/types/pipeline.d.ts.map +1 -0
- package/dist/types/pipeline.js +5 -0
- package/dist/types/pipeline.js.map +1 -0
- package/dist/types.d.ts +5 -607
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +4 -3
- package/dist/types.js.map +1 -1
- package/dist/unit-session.js +1 -1
- package/dist/unit-session.js.map +1 -1
- package/package.json +1 -1
|
@@ -148,180 +148,78 @@ export interface StrategyGraphInput {
|
|
|
148
148
|
interfaceContract: StrategyContract | null;
|
|
149
149
|
}
|
|
150
150
|
export declare const ContractItemSchema: z.ZodObject<{
|
|
151
|
-
kind: z.ZodEnum<
|
|
151
|
+
kind: z.ZodEnum<{
|
|
152
|
+
type: "type";
|
|
153
|
+
file: "file";
|
|
154
|
+
export: "export";
|
|
155
|
+
api_endpoint: "api_endpoint";
|
|
156
|
+
db_table: "db_table";
|
|
157
|
+
}>;
|
|
152
158
|
identifier: z.ZodString;
|
|
153
159
|
description: z.ZodOptional<z.ZodString>;
|
|
154
|
-
},
|
|
155
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
156
|
-
identifier: string;
|
|
157
|
-
description?: string | undefined;
|
|
158
|
-
}, {
|
|
159
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
160
|
-
identifier: string;
|
|
161
|
-
description?: string | undefined;
|
|
162
|
-
}>;
|
|
160
|
+
}, z.core.$strip>;
|
|
163
161
|
export declare const StrategyContractSchema: z.ZodObject<{
|
|
164
162
|
produces: z.ZodArray<z.ZodObject<{
|
|
165
|
-
kind: z.ZodEnum<
|
|
163
|
+
kind: z.ZodEnum<{
|
|
164
|
+
type: "type";
|
|
165
|
+
file: "file";
|
|
166
|
+
export: "export";
|
|
167
|
+
api_endpoint: "api_endpoint";
|
|
168
|
+
db_table: "db_table";
|
|
169
|
+
}>;
|
|
166
170
|
identifier: z.ZodString;
|
|
167
171
|
description: z.ZodOptional<z.ZodString>;
|
|
168
|
-
},
|
|
169
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
170
|
-
identifier: string;
|
|
171
|
-
description?: string | undefined;
|
|
172
|
-
}, {
|
|
173
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
174
|
-
identifier: string;
|
|
175
|
-
description?: string | undefined;
|
|
176
|
-
}>, "many">;
|
|
172
|
+
}, z.core.$strip>>;
|
|
177
173
|
consumes: z.ZodArray<z.ZodObject<{
|
|
178
|
-
kind: z.ZodEnum<
|
|
174
|
+
kind: z.ZodEnum<{
|
|
175
|
+
type: "type";
|
|
176
|
+
file: "file";
|
|
177
|
+
export: "export";
|
|
178
|
+
api_endpoint: "api_endpoint";
|
|
179
|
+
db_table: "db_table";
|
|
180
|
+
}>;
|
|
179
181
|
identifier: z.ZodString;
|
|
180
182
|
description: z.ZodOptional<z.ZodString>;
|
|
181
|
-
},
|
|
182
|
-
|
|
183
|
-
identifier: string;
|
|
184
|
-
description?: string | undefined;
|
|
185
|
-
}, {
|
|
186
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
187
|
-
identifier: string;
|
|
188
|
-
description?: string | undefined;
|
|
189
|
-
}>, "many">;
|
|
190
|
-
}, "strip", z.ZodTypeAny, {
|
|
191
|
-
produces: {
|
|
192
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
193
|
-
identifier: string;
|
|
194
|
-
description?: string | undefined;
|
|
195
|
-
}[];
|
|
196
|
-
consumes: {
|
|
197
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
198
|
-
identifier: string;
|
|
199
|
-
description?: string | undefined;
|
|
200
|
-
}[];
|
|
201
|
-
}, {
|
|
202
|
-
produces: {
|
|
203
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
204
|
-
identifier: string;
|
|
205
|
-
description?: string | undefined;
|
|
206
|
-
}[];
|
|
207
|
-
consumes: {
|
|
208
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
209
|
-
identifier: string;
|
|
210
|
-
description?: string | undefined;
|
|
211
|
-
}[];
|
|
212
|
-
}>;
|
|
183
|
+
}, z.core.$strip>>;
|
|
184
|
+
}, z.core.$strip>;
|
|
213
185
|
export declare const InterfaceContractSchema: z.ZodObject<{
|
|
214
186
|
name: z.ZodString;
|
|
215
187
|
provider: z.ZodString;
|
|
216
188
|
consumer: z.ZodString;
|
|
217
189
|
description: z.ZodString;
|
|
218
|
-
},
|
|
219
|
-
description: string;
|
|
220
|
-
name: string;
|
|
221
|
-
provider: string;
|
|
222
|
-
consumer: string;
|
|
223
|
-
}, {
|
|
224
|
-
description: string;
|
|
225
|
-
name: string;
|
|
226
|
-
provider: string;
|
|
227
|
-
consumer: string;
|
|
228
|
-
}>;
|
|
190
|
+
}, z.core.$strip>;
|
|
229
191
|
export declare const StrategyDesignUnitSchema: z.ZodObject<{
|
|
230
192
|
tempId: z.ZodString;
|
|
231
193
|
name: z.ZodString;
|
|
232
194
|
description: z.ZodString;
|
|
233
195
|
techContext: z.ZodString;
|
|
234
196
|
priorityRank: z.ZodNumber;
|
|
235
|
-
dependsOn: z.ZodArray<z.ZodString
|
|
197
|
+
dependsOn: z.ZodArray<z.ZodString>;
|
|
236
198
|
interfaceContract: z.ZodObject<{
|
|
237
199
|
produces: z.ZodArray<z.ZodObject<{
|
|
238
|
-
kind: z.ZodEnum<
|
|
200
|
+
kind: z.ZodEnum<{
|
|
201
|
+
type: "type";
|
|
202
|
+
file: "file";
|
|
203
|
+
export: "export";
|
|
204
|
+
api_endpoint: "api_endpoint";
|
|
205
|
+
db_table: "db_table";
|
|
206
|
+
}>;
|
|
239
207
|
identifier: z.ZodString;
|
|
240
208
|
description: z.ZodOptional<z.ZodString>;
|
|
241
|
-
},
|
|
242
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
243
|
-
identifier: string;
|
|
244
|
-
description?: string | undefined;
|
|
245
|
-
}, {
|
|
246
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
247
|
-
identifier: string;
|
|
248
|
-
description?: string | undefined;
|
|
249
|
-
}>, "many">;
|
|
209
|
+
}, z.core.$strip>>;
|
|
250
210
|
consumes: z.ZodArray<z.ZodObject<{
|
|
251
|
-
kind: z.ZodEnum<
|
|
211
|
+
kind: z.ZodEnum<{
|
|
212
|
+
type: "type";
|
|
213
|
+
file: "file";
|
|
214
|
+
export: "export";
|
|
215
|
+
api_endpoint: "api_endpoint";
|
|
216
|
+
db_table: "db_table";
|
|
217
|
+
}>;
|
|
252
218
|
identifier: z.ZodString;
|
|
253
219
|
description: z.ZodOptional<z.ZodString>;
|
|
254
|
-
},
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
description?: string | undefined;
|
|
258
|
-
}, {
|
|
259
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
260
|
-
identifier: string;
|
|
261
|
-
description?: string | undefined;
|
|
262
|
-
}>, "many">;
|
|
263
|
-
}, "strip", z.ZodTypeAny, {
|
|
264
|
-
produces: {
|
|
265
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
266
|
-
identifier: string;
|
|
267
|
-
description?: string | undefined;
|
|
268
|
-
}[];
|
|
269
|
-
consumes: {
|
|
270
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
271
|
-
identifier: string;
|
|
272
|
-
description?: string | undefined;
|
|
273
|
-
}[];
|
|
274
|
-
}, {
|
|
275
|
-
produces: {
|
|
276
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
277
|
-
identifier: string;
|
|
278
|
-
description?: string | undefined;
|
|
279
|
-
}[];
|
|
280
|
-
consumes: {
|
|
281
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
282
|
-
identifier: string;
|
|
283
|
-
description?: string | undefined;
|
|
284
|
-
}[];
|
|
285
|
-
}>;
|
|
286
|
-
}, "strip", z.ZodTypeAny, {
|
|
287
|
-
description: string;
|
|
288
|
-
name: string;
|
|
289
|
-
tempId: string;
|
|
290
|
-
techContext: string;
|
|
291
|
-
priorityRank: number;
|
|
292
|
-
dependsOn: string[];
|
|
293
|
-
interfaceContract: {
|
|
294
|
-
produces: {
|
|
295
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
296
|
-
identifier: string;
|
|
297
|
-
description?: string | undefined;
|
|
298
|
-
}[];
|
|
299
|
-
consumes: {
|
|
300
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
301
|
-
identifier: string;
|
|
302
|
-
description?: string | undefined;
|
|
303
|
-
}[];
|
|
304
|
-
};
|
|
305
|
-
}, {
|
|
306
|
-
description: string;
|
|
307
|
-
name: string;
|
|
308
|
-
tempId: string;
|
|
309
|
-
techContext: string;
|
|
310
|
-
priorityRank: number;
|
|
311
|
-
dependsOn: string[];
|
|
312
|
-
interfaceContract: {
|
|
313
|
-
produces: {
|
|
314
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
315
|
-
identifier: string;
|
|
316
|
-
description?: string | undefined;
|
|
317
|
-
}[];
|
|
318
|
-
consumes: {
|
|
319
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
320
|
-
identifier: string;
|
|
321
|
-
description?: string | undefined;
|
|
322
|
-
}[];
|
|
323
|
-
};
|
|
324
|
-
}>;
|
|
220
|
+
}, z.core.$strip>>;
|
|
221
|
+
}, z.core.$strip>;
|
|
222
|
+
}, z.core.$strip>;
|
|
325
223
|
export declare const StrategyDesignPlanSchema: z.ZodObject<{
|
|
326
224
|
strategies: z.ZodArray<z.ZodObject<{
|
|
327
225
|
tempId: z.ZodString;
|
|
@@ -329,170 +227,40 @@ export declare const StrategyDesignPlanSchema: z.ZodObject<{
|
|
|
329
227
|
description: z.ZodString;
|
|
330
228
|
techContext: z.ZodString;
|
|
331
229
|
priorityRank: z.ZodNumber;
|
|
332
|
-
dependsOn: z.ZodArray<z.ZodString
|
|
230
|
+
dependsOn: z.ZodArray<z.ZodString>;
|
|
333
231
|
interfaceContract: z.ZodObject<{
|
|
334
232
|
produces: z.ZodArray<z.ZodObject<{
|
|
335
|
-
kind: z.ZodEnum<
|
|
233
|
+
kind: z.ZodEnum<{
|
|
234
|
+
type: "type";
|
|
235
|
+
file: "file";
|
|
236
|
+
export: "export";
|
|
237
|
+
api_endpoint: "api_endpoint";
|
|
238
|
+
db_table: "db_table";
|
|
239
|
+
}>;
|
|
336
240
|
identifier: z.ZodString;
|
|
337
241
|
description: z.ZodOptional<z.ZodString>;
|
|
338
|
-
},
|
|
339
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
340
|
-
identifier: string;
|
|
341
|
-
description?: string | undefined;
|
|
342
|
-
}, {
|
|
343
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
344
|
-
identifier: string;
|
|
345
|
-
description?: string | undefined;
|
|
346
|
-
}>, "many">;
|
|
242
|
+
}, z.core.$strip>>;
|
|
347
243
|
consumes: z.ZodArray<z.ZodObject<{
|
|
348
|
-
kind: z.ZodEnum<
|
|
244
|
+
kind: z.ZodEnum<{
|
|
245
|
+
type: "type";
|
|
246
|
+
file: "file";
|
|
247
|
+
export: "export";
|
|
248
|
+
api_endpoint: "api_endpoint";
|
|
249
|
+
db_table: "db_table";
|
|
250
|
+
}>;
|
|
349
251
|
identifier: z.ZodString;
|
|
350
252
|
description: z.ZodOptional<z.ZodString>;
|
|
351
|
-
},
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
description?: string | undefined;
|
|
355
|
-
}, {
|
|
356
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
357
|
-
identifier: string;
|
|
358
|
-
description?: string | undefined;
|
|
359
|
-
}>, "many">;
|
|
360
|
-
}, "strip", z.ZodTypeAny, {
|
|
361
|
-
produces: {
|
|
362
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
363
|
-
identifier: string;
|
|
364
|
-
description?: string | undefined;
|
|
365
|
-
}[];
|
|
366
|
-
consumes: {
|
|
367
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
368
|
-
identifier: string;
|
|
369
|
-
description?: string | undefined;
|
|
370
|
-
}[];
|
|
371
|
-
}, {
|
|
372
|
-
produces: {
|
|
373
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
374
|
-
identifier: string;
|
|
375
|
-
description?: string | undefined;
|
|
376
|
-
}[];
|
|
377
|
-
consumes: {
|
|
378
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
379
|
-
identifier: string;
|
|
380
|
-
description?: string | undefined;
|
|
381
|
-
}[];
|
|
382
|
-
}>;
|
|
383
|
-
}, "strip", z.ZodTypeAny, {
|
|
384
|
-
description: string;
|
|
385
|
-
name: string;
|
|
386
|
-
tempId: string;
|
|
387
|
-
techContext: string;
|
|
388
|
-
priorityRank: number;
|
|
389
|
-
dependsOn: string[];
|
|
390
|
-
interfaceContract: {
|
|
391
|
-
produces: {
|
|
392
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
393
|
-
identifier: string;
|
|
394
|
-
description?: string | undefined;
|
|
395
|
-
}[];
|
|
396
|
-
consumes: {
|
|
397
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
398
|
-
identifier: string;
|
|
399
|
-
description?: string | undefined;
|
|
400
|
-
}[];
|
|
401
|
-
};
|
|
402
|
-
}, {
|
|
403
|
-
description: string;
|
|
404
|
-
name: string;
|
|
405
|
-
tempId: string;
|
|
406
|
-
techContext: string;
|
|
407
|
-
priorityRank: number;
|
|
408
|
-
dependsOn: string[];
|
|
409
|
-
interfaceContract: {
|
|
410
|
-
produces: {
|
|
411
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
412
|
-
identifier: string;
|
|
413
|
-
description?: string | undefined;
|
|
414
|
-
}[];
|
|
415
|
-
consumes: {
|
|
416
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
417
|
-
identifier: string;
|
|
418
|
-
description?: string | undefined;
|
|
419
|
-
}[];
|
|
420
|
-
};
|
|
421
|
-
}>, "many">;
|
|
253
|
+
}, z.core.$strip>>;
|
|
254
|
+
}, z.core.$strip>;
|
|
255
|
+
}, z.core.$strip>>;
|
|
422
256
|
interfaceContracts: z.ZodArray<z.ZodObject<{
|
|
423
257
|
name: z.ZodString;
|
|
424
258
|
provider: z.ZodString;
|
|
425
259
|
consumer: z.ZodString;
|
|
426
260
|
description: z.ZodString;
|
|
427
|
-
},
|
|
428
|
-
description: string;
|
|
429
|
-
name: string;
|
|
430
|
-
provider: string;
|
|
431
|
-
consumer: string;
|
|
432
|
-
}, {
|
|
433
|
-
description: string;
|
|
434
|
-
name: string;
|
|
435
|
-
provider: string;
|
|
436
|
-
consumer: string;
|
|
437
|
-
}>, "many">;
|
|
261
|
+
}, z.core.$strip>>;
|
|
438
262
|
summary: z.ZodString;
|
|
439
|
-
},
|
|
440
|
-
strategies: {
|
|
441
|
-
description: string;
|
|
442
|
-
name: string;
|
|
443
|
-
tempId: string;
|
|
444
|
-
techContext: string;
|
|
445
|
-
priorityRank: number;
|
|
446
|
-
dependsOn: string[];
|
|
447
|
-
interfaceContract: {
|
|
448
|
-
produces: {
|
|
449
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
450
|
-
identifier: string;
|
|
451
|
-
description?: string | undefined;
|
|
452
|
-
}[];
|
|
453
|
-
consumes: {
|
|
454
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
455
|
-
identifier: string;
|
|
456
|
-
description?: string | undefined;
|
|
457
|
-
}[];
|
|
458
|
-
};
|
|
459
|
-
}[];
|
|
460
|
-
interfaceContracts: {
|
|
461
|
-
description: string;
|
|
462
|
-
name: string;
|
|
463
|
-
provider: string;
|
|
464
|
-
consumer: string;
|
|
465
|
-
}[];
|
|
466
|
-
summary: string;
|
|
467
|
-
}, {
|
|
468
|
-
strategies: {
|
|
469
|
-
description: string;
|
|
470
|
-
name: string;
|
|
471
|
-
tempId: string;
|
|
472
|
-
techContext: string;
|
|
473
|
-
priorityRank: number;
|
|
474
|
-
dependsOn: string[];
|
|
475
|
-
interfaceContract: {
|
|
476
|
-
produces: {
|
|
477
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
478
|
-
identifier: string;
|
|
479
|
-
description?: string | undefined;
|
|
480
|
-
}[];
|
|
481
|
-
consumes: {
|
|
482
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
483
|
-
identifier: string;
|
|
484
|
-
description?: string | undefined;
|
|
485
|
-
}[];
|
|
486
|
-
};
|
|
487
|
-
}[];
|
|
488
|
-
interfaceContracts: {
|
|
489
|
-
description: string;
|
|
490
|
-
name: string;
|
|
491
|
-
provider: string;
|
|
492
|
-
consumer: string;
|
|
493
|
-
}[];
|
|
494
|
-
summary: string;
|
|
495
|
-
}>;
|
|
263
|
+
}, z.core.$strip>;
|
|
496
264
|
/** Zod schema for validating getStrategiesByFactoryInstance response. */
|
|
497
265
|
export declare const PersistedStrategySchema: z.ZodObject<{
|
|
498
266
|
id: z.ZodString;
|
|
@@ -501,104 +269,43 @@ export declare const PersistedStrategySchema: z.ZodObject<{
|
|
|
501
269
|
techContext: z.ZodNullable<z.ZodString>;
|
|
502
270
|
priorityRank: z.ZodNumber;
|
|
503
271
|
status: z.ZodString;
|
|
504
|
-
executionStatus: z.ZodNullable<z.ZodEnum<
|
|
272
|
+
executionStatus: z.ZodNullable<z.ZodEnum<{
|
|
273
|
+
pending: "pending";
|
|
274
|
+
completed: "completed";
|
|
275
|
+
failed: "failed";
|
|
276
|
+
in_progress: "in_progress";
|
|
277
|
+
gating_deterministic: "gating_deterministic";
|
|
278
|
+
gating_behavioral: "gating_behavioral";
|
|
279
|
+
gating_adversarial: "gating_adversarial";
|
|
280
|
+
gate_fix_pending: "gate_fix_pending";
|
|
281
|
+
}>>;
|
|
505
282
|
interfaceContract: z.ZodNullable<z.ZodObject<{
|
|
506
283
|
produces: z.ZodArray<z.ZodObject<{
|
|
507
|
-
kind: z.ZodEnum<
|
|
284
|
+
kind: z.ZodEnum<{
|
|
285
|
+
type: "type";
|
|
286
|
+
file: "file";
|
|
287
|
+
export: "export";
|
|
288
|
+
api_endpoint: "api_endpoint";
|
|
289
|
+
db_table: "db_table";
|
|
290
|
+
}>;
|
|
508
291
|
identifier: z.ZodString;
|
|
509
292
|
description: z.ZodOptional<z.ZodString>;
|
|
510
|
-
},
|
|
511
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
512
|
-
identifier: string;
|
|
513
|
-
description?: string | undefined;
|
|
514
|
-
}, {
|
|
515
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
516
|
-
identifier: string;
|
|
517
|
-
description?: string | undefined;
|
|
518
|
-
}>, "many">;
|
|
293
|
+
}, z.core.$strip>>;
|
|
519
294
|
consumes: z.ZodArray<z.ZodObject<{
|
|
520
|
-
kind: z.ZodEnum<
|
|
295
|
+
kind: z.ZodEnum<{
|
|
296
|
+
type: "type";
|
|
297
|
+
file: "file";
|
|
298
|
+
export: "export";
|
|
299
|
+
api_endpoint: "api_endpoint";
|
|
300
|
+
db_table: "db_table";
|
|
301
|
+
}>;
|
|
521
302
|
identifier: z.ZodString;
|
|
522
303
|
description: z.ZodOptional<z.ZodString>;
|
|
523
|
-
},
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
description?: string | undefined;
|
|
527
|
-
}, {
|
|
528
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
529
|
-
identifier: string;
|
|
530
|
-
description?: string | undefined;
|
|
531
|
-
}>, "many">;
|
|
532
|
-
}, "strip", z.ZodTypeAny, {
|
|
533
|
-
produces: {
|
|
534
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
535
|
-
identifier: string;
|
|
536
|
-
description?: string | undefined;
|
|
537
|
-
}[];
|
|
538
|
-
consumes: {
|
|
539
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
540
|
-
identifier: string;
|
|
541
|
-
description?: string | undefined;
|
|
542
|
-
}[];
|
|
543
|
-
}, {
|
|
544
|
-
produces: {
|
|
545
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
546
|
-
identifier: string;
|
|
547
|
-
description?: string | undefined;
|
|
548
|
-
}[];
|
|
549
|
-
consumes: {
|
|
550
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
551
|
-
identifier: string;
|
|
552
|
-
description?: string | undefined;
|
|
553
|
-
}[];
|
|
554
|
-
}>>;
|
|
555
|
-
dependsOn: z.ZodArray<z.ZodString, "many">;
|
|
304
|
+
}, z.core.$strip>>;
|
|
305
|
+
}, z.core.$strip>>;
|
|
306
|
+
dependsOn: z.ZodArray<z.ZodString>;
|
|
556
307
|
gateFixStartedAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
557
|
-
},
|
|
558
|
-
status: string;
|
|
559
|
-
description: string | null;
|
|
560
|
-
name: string;
|
|
561
|
-
techContext: string | null;
|
|
562
|
-
priorityRank: number;
|
|
563
|
-
dependsOn: string[];
|
|
564
|
-
interfaceContract: {
|
|
565
|
-
produces: {
|
|
566
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
567
|
-
identifier: string;
|
|
568
|
-
description?: string | undefined;
|
|
569
|
-
}[];
|
|
570
|
-
consumes: {
|
|
571
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
572
|
-
identifier: string;
|
|
573
|
-
description?: string | undefined;
|
|
574
|
-
}[];
|
|
575
|
-
} | null;
|
|
576
|
-
id: string;
|
|
577
|
-
executionStatus: "pending" | "completed" | "failed" | "in_progress" | "gating_deterministic" | "gating_behavioral" | "gating_adversarial" | "gate_fix_pending" | null;
|
|
578
|
-
gateFixStartedAt: string | null;
|
|
579
|
-
}, {
|
|
580
|
-
status: string;
|
|
581
|
-
description: string | null;
|
|
582
|
-
name: string;
|
|
583
|
-
techContext: string | null;
|
|
584
|
-
priorityRank: number;
|
|
585
|
-
dependsOn: string[];
|
|
586
|
-
interfaceContract: {
|
|
587
|
-
produces: {
|
|
588
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
589
|
-
identifier: string;
|
|
590
|
-
description?: string | undefined;
|
|
591
|
-
}[];
|
|
592
|
-
consumes: {
|
|
593
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
594
|
-
identifier: string;
|
|
595
|
-
description?: string | undefined;
|
|
596
|
-
}[];
|
|
597
|
-
} | null;
|
|
598
|
-
id: string;
|
|
599
|
-
executionStatus: "pending" | "completed" | "failed" | "in_progress" | "gating_deterministic" | "gating_behavioral" | "gating_adversarial" | "gate_fix_pending" | null;
|
|
600
|
-
gateFixStartedAt?: string | null | undefined;
|
|
601
|
-
}>;
|
|
308
|
+
}, z.core.$strip>;
|
|
602
309
|
export declare const GetInstanceStrategiesResponseSchema: z.ZodObject<{
|
|
603
310
|
strategies: z.ZodArray<z.ZodObject<{
|
|
604
311
|
id: z.ZodString;
|
|
@@ -607,153 +314,44 @@ export declare const GetInstanceStrategiesResponseSchema: z.ZodObject<{
|
|
|
607
314
|
techContext: z.ZodNullable<z.ZodString>;
|
|
608
315
|
priorityRank: z.ZodNumber;
|
|
609
316
|
status: z.ZodString;
|
|
610
|
-
executionStatus: z.ZodNullable<z.ZodEnum<
|
|
317
|
+
executionStatus: z.ZodNullable<z.ZodEnum<{
|
|
318
|
+
pending: "pending";
|
|
319
|
+
completed: "completed";
|
|
320
|
+
failed: "failed";
|
|
321
|
+
in_progress: "in_progress";
|
|
322
|
+
gating_deterministic: "gating_deterministic";
|
|
323
|
+
gating_behavioral: "gating_behavioral";
|
|
324
|
+
gating_adversarial: "gating_adversarial";
|
|
325
|
+
gate_fix_pending: "gate_fix_pending";
|
|
326
|
+
}>>;
|
|
611
327
|
interfaceContract: z.ZodNullable<z.ZodObject<{
|
|
612
328
|
produces: z.ZodArray<z.ZodObject<{
|
|
613
|
-
kind: z.ZodEnum<
|
|
329
|
+
kind: z.ZodEnum<{
|
|
330
|
+
type: "type";
|
|
331
|
+
file: "file";
|
|
332
|
+
export: "export";
|
|
333
|
+
api_endpoint: "api_endpoint";
|
|
334
|
+
db_table: "db_table";
|
|
335
|
+
}>;
|
|
614
336
|
identifier: z.ZodString;
|
|
615
337
|
description: z.ZodOptional<z.ZodString>;
|
|
616
|
-
},
|
|
617
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
618
|
-
identifier: string;
|
|
619
|
-
description?: string | undefined;
|
|
620
|
-
}, {
|
|
621
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
622
|
-
identifier: string;
|
|
623
|
-
description?: string | undefined;
|
|
624
|
-
}>, "many">;
|
|
338
|
+
}, z.core.$strip>>;
|
|
625
339
|
consumes: z.ZodArray<z.ZodObject<{
|
|
626
|
-
kind: z.ZodEnum<
|
|
340
|
+
kind: z.ZodEnum<{
|
|
341
|
+
type: "type";
|
|
342
|
+
file: "file";
|
|
343
|
+
export: "export";
|
|
344
|
+
api_endpoint: "api_endpoint";
|
|
345
|
+
db_table: "db_table";
|
|
346
|
+
}>;
|
|
627
347
|
identifier: z.ZodString;
|
|
628
348
|
description: z.ZodOptional<z.ZodString>;
|
|
629
|
-
},
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
description?: string | undefined;
|
|
633
|
-
}, {
|
|
634
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
635
|
-
identifier: string;
|
|
636
|
-
description?: string | undefined;
|
|
637
|
-
}>, "many">;
|
|
638
|
-
}, "strip", z.ZodTypeAny, {
|
|
639
|
-
produces: {
|
|
640
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
641
|
-
identifier: string;
|
|
642
|
-
description?: string | undefined;
|
|
643
|
-
}[];
|
|
644
|
-
consumes: {
|
|
645
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
646
|
-
identifier: string;
|
|
647
|
-
description?: string | undefined;
|
|
648
|
-
}[];
|
|
649
|
-
}, {
|
|
650
|
-
produces: {
|
|
651
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
652
|
-
identifier: string;
|
|
653
|
-
description?: string | undefined;
|
|
654
|
-
}[];
|
|
655
|
-
consumes: {
|
|
656
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
657
|
-
identifier: string;
|
|
658
|
-
description?: string | undefined;
|
|
659
|
-
}[];
|
|
660
|
-
}>>;
|
|
661
|
-
dependsOn: z.ZodArray<z.ZodString, "many">;
|
|
349
|
+
}, z.core.$strip>>;
|
|
350
|
+
}, z.core.$strip>>;
|
|
351
|
+
dependsOn: z.ZodArray<z.ZodString>;
|
|
662
352
|
gateFixStartedAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
663
|
-
},
|
|
664
|
-
|
|
665
|
-
description: string | null;
|
|
666
|
-
name: string;
|
|
667
|
-
techContext: string | null;
|
|
668
|
-
priorityRank: number;
|
|
669
|
-
dependsOn: string[];
|
|
670
|
-
interfaceContract: {
|
|
671
|
-
produces: {
|
|
672
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
673
|
-
identifier: string;
|
|
674
|
-
description?: string | undefined;
|
|
675
|
-
}[];
|
|
676
|
-
consumes: {
|
|
677
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
678
|
-
identifier: string;
|
|
679
|
-
description?: string | undefined;
|
|
680
|
-
}[];
|
|
681
|
-
} | null;
|
|
682
|
-
id: string;
|
|
683
|
-
executionStatus: "pending" | "completed" | "failed" | "in_progress" | "gating_deterministic" | "gating_behavioral" | "gating_adversarial" | "gate_fix_pending" | null;
|
|
684
|
-
gateFixStartedAt: string | null;
|
|
685
|
-
}, {
|
|
686
|
-
status: string;
|
|
687
|
-
description: string | null;
|
|
688
|
-
name: string;
|
|
689
|
-
techContext: string | null;
|
|
690
|
-
priorityRank: number;
|
|
691
|
-
dependsOn: string[];
|
|
692
|
-
interfaceContract: {
|
|
693
|
-
produces: {
|
|
694
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
695
|
-
identifier: string;
|
|
696
|
-
description?: string | undefined;
|
|
697
|
-
}[];
|
|
698
|
-
consumes: {
|
|
699
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
700
|
-
identifier: string;
|
|
701
|
-
description?: string | undefined;
|
|
702
|
-
}[];
|
|
703
|
-
} | null;
|
|
704
|
-
id: string;
|
|
705
|
-
executionStatus: "pending" | "completed" | "failed" | "in_progress" | "gating_deterministic" | "gating_behavioral" | "gating_adversarial" | "gate_fix_pending" | null;
|
|
706
|
-
gateFixStartedAt?: string | null | undefined;
|
|
707
|
-
}>, "many">;
|
|
708
|
-
}, "strip", z.ZodTypeAny, {
|
|
709
|
-
strategies: {
|
|
710
|
-
status: string;
|
|
711
|
-
description: string | null;
|
|
712
|
-
name: string;
|
|
713
|
-
techContext: string | null;
|
|
714
|
-
priorityRank: number;
|
|
715
|
-
dependsOn: string[];
|
|
716
|
-
interfaceContract: {
|
|
717
|
-
produces: {
|
|
718
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
719
|
-
identifier: string;
|
|
720
|
-
description?: string | undefined;
|
|
721
|
-
}[];
|
|
722
|
-
consumes: {
|
|
723
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
724
|
-
identifier: string;
|
|
725
|
-
description?: string | undefined;
|
|
726
|
-
}[];
|
|
727
|
-
} | null;
|
|
728
|
-
id: string;
|
|
729
|
-
executionStatus: "pending" | "completed" | "failed" | "in_progress" | "gating_deterministic" | "gating_behavioral" | "gating_adversarial" | "gate_fix_pending" | null;
|
|
730
|
-
gateFixStartedAt: string | null;
|
|
731
|
-
}[];
|
|
732
|
-
}, {
|
|
733
|
-
strategies: {
|
|
734
|
-
status: string;
|
|
735
|
-
description: string | null;
|
|
736
|
-
name: string;
|
|
737
|
-
techContext: string | null;
|
|
738
|
-
priorityRank: number;
|
|
739
|
-
dependsOn: string[];
|
|
740
|
-
interfaceContract: {
|
|
741
|
-
produces: {
|
|
742
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
743
|
-
identifier: string;
|
|
744
|
-
description?: string | undefined;
|
|
745
|
-
}[];
|
|
746
|
-
consumes: {
|
|
747
|
-
kind: "type" | "file" | "export" | "api_endpoint" | "db_table";
|
|
748
|
-
identifier: string;
|
|
749
|
-
description?: string | undefined;
|
|
750
|
-
}[];
|
|
751
|
-
} | null;
|
|
752
|
-
id: string;
|
|
753
|
-
executionStatus: "pending" | "completed" | "failed" | "in_progress" | "gating_deterministic" | "gating_behavioral" | "gating_adversarial" | "gate_fix_pending" | null;
|
|
754
|
-
gateFixStartedAt?: string | null | undefined;
|
|
755
|
-
}[];
|
|
756
|
-
}>;
|
|
353
|
+
}, z.core.$strip>>;
|
|
354
|
+
}, z.core.$strip>;
|
|
757
355
|
/**
|
|
758
356
|
* Validate that all dependsOn references point to valid tempIds within the plan,
|
|
759
357
|
* and that interface contract provider/consumer references are valid.
|