@illalabs/interfaces 0.10.3 → 0.10.4-canary-beta-d7ede344
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/schemas/chatContext.d.ts +20 -20
- package/dist/schemas/chatRequestBody.d.ts +64 -64
- package/dist/schemas/illaTools.d.ts +2 -2
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/messages.d.ts +4 -4
- package/dist/schemas/pendingConversationState.d.ts +27 -0
- package/dist/schemas/pendingConversationState.d.ts.map +1 -0
- package/dist/schemas/pendingConversationState.js +18 -0
- package/dist/schemas/pendingConversationState.js.map +1 -0
- package/dist/schemas/planning.d.ts +36 -36
- package/dist/schemas/planningRuntime.d.ts +20 -20
- package/dist/schemas/telemetryEvents.d.ts +330 -152
- package/dist/schemas/telemetryEvents.d.ts.map +1 -1
- package/dist/schemas/telemetryEvents.js +34 -0
- package/dist/schemas/telemetryEvents.js.map +1 -1
- package/dist/schemas/uiMessageNormalizer.d.ts.map +1 -1
- package/dist/schemas/uiMessageNormalizer.js +62 -22
- package/dist/schemas/uiMessageNormalizer.js.map +1 -1
- package/dist/types/messages.d.ts +3 -1
- package/dist/types/messages.d.ts.map +1 -1
- package/dist/types/messages.js +1 -1
- package/dist/types/messages.js.map +1 -1
- package/dist/types/telemetry.d.ts +16 -1
- package/dist/types/telemetry.d.ts.map +1 -1
- package/dist/types/telemetry.js +1 -1
- package/dist/types/telemetry.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kCAAkC,CAAC;AACjD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kCAAkC,CAAC;AACjD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC"}
|
|
@@ -652,7 +652,6 @@ export declare const ToolOutcomesSchema: z.ZodArray<z.ZodObject<{
|
|
|
652
652
|
}, "strict", z.ZodTypeAny, {
|
|
653
653
|
id: string;
|
|
654
654
|
name: string;
|
|
655
|
-
result?: unknown;
|
|
656
655
|
error?: {
|
|
657
656
|
type: "input";
|
|
658
657
|
errors: {
|
|
@@ -664,10 +663,10 @@ export declare const ToolOutcomesSchema: z.ZodArray<z.ZodObject<{
|
|
|
664
663
|
message: string;
|
|
665
664
|
details?: unknown;
|
|
666
665
|
} | undefined;
|
|
666
|
+
result?: unknown;
|
|
667
667
|
}, {
|
|
668
668
|
id: string;
|
|
669
669
|
name: string;
|
|
670
|
-
result?: unknown;
|
|
671
670
|
error?: {
|
|
672
671
|
type: "input";
|
|
673
672
|
errors: {
|
|
@@ -679,6 +678,7 @@ export declare const ToolOutcomesSchema: z.ZodArray<z.ZodObject<{
|
|
|
679
678
|
message: string;
|
|
680
679
|
details?: unknown;
|
|
681
680
|
} | undefined;
|
|
681
|
+
result?: unknown;
|
|
682
682
|
}>, "many">;
|
|
683
683
|
export declare const HistorySchema: z.ZodEffects<z.ZodArray<z.ZodType<UIMessageLike | ModelMessage, z.ZodTypeDef, UIMessageLike | ModelMessage>, "many">, ModelMessage[], (UIMessageLike | ModelMessage)[]>;
|
|
684
684
|
/**
|
|
@@ -7068,6 +7068,7 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
7068
7068
|
nativeTokenSymbol?: string | undefined;
|
|
7069
7069
|
}>>;
|
|
7070
7070
|
}, "strict", z.ZodTypeAny, {
|
|
7071
|
+
type: "tool-call";
|
|
7071
7072
|
toolCallId: string;
|
|
7072
7073
|
toolName: string;
|
|
7073
7074
|
input: {
|
|
@@ -7941,7 +7942,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
7941
7942
|
amountUSDValue?: string | undefined;
|
|
7942
7943
|
} | undefined;
|
|
7943
7944
|
};
|
|
7944
|
-
type: "tool-call";
|
|
7945
7945
|
simulated?: boolean | undefined;
|
|
7946
7946
|
simulation?: {
|
|
7947
7947
|
willSucceed: boolean;
|
|
@@ -7990,6 +7990,7 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
7990
7990
|
nativeTokenSymbol?: string | undefined;
|
|
7991
7991
|
} | undefined;
|
|
7992
7992
|
}, {
|
|
7993
|
+
type: "tool-call";
|
|
7993
7994
|
toolCallId: string;
|
|
7994
7995
|
toolName: string;
|
|
7995
7996
|
input: {
|
|
@@ -8863,7 +8864,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
8863
8864
|
amountUSDValue?: string | undefined;
|
|
8864
8865
|
} | undefined;
|
|
8865
8866
|
};
|
|
8866
|
-
type: "tool-call";
|
|
8867
8867
|
simulated?: boolean | undefined;
|
|
8868
8868
|
simulation?: {
|
|
8869
8869
|
willSucceed: boolean;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PendingActionStatusSchema: z.ZodEnum<["pending_confirmation", "superseded_by_user_update", "canceled_by_user", "confirmed"]>;
|
|
3
|
+
export declare const PendingActionMarkerSchema: z.ZodObject<{
|
|
4
|
+
type: z.ZodLiteral<"pending-action-marker">;
|
|
5
|
+
actionId: z.ZodString;
|
|
6
|
+
toolName: z.ZodString;
|
|
7
|
+
status: z.ZodEnum<["pending_confirmation", "superseded_by_user_update", "canceled_by_user", "confirmed"]>;
|
|
8
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
9
|
+
supersededByActionId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, "strict", z.ZodTypeAny, {
|
|
11
|
+
type: "pending-action-marker";
|
|
12
|
+
status: "pending_confirmation" | "superseded_by_user_update" | "canceled_by_user" | "confirmed";
|
|
13
|
+
toolName: string;
|
|
14
|
+
actionId: string;
|
|
15
|
+
summary?: string | undefined;
|
|
16
|
+
supersededByActionId?: string | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
type: "pending-action-marker";
|
|
19
|
+
status: "pending_confirmation" | "superseded_by_user_update" | "canceled_by_user" | "confirmed";
|
|
20
|
+
toolName: string;
|
|
21
|
+
actionId: string;
|
|
22
|
+
summary?: string | undefined;
|
|
23
|
+
supersededByActionId?: string | undefined;
|
|
24
|
+
}>;
|
|
25
|
+
export type PendingActionStatus = z.infer<typeof PendingActionStatusSchema>;
|
|
26
|
+
export type PendingActionMarker = z.infer<typeof PendingActionMarkerSchema>;
|
|
27
|
+
//# sourceMappingURL=pendingConversationState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pendingConversationState.d.ts","sourceRoot":"","sources":["../../src/schemas/pendingConversationState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,yBAAyB,mGAKpC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;EASzB,CAAC;AAEd,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export const PendingActionStatusSchema = z.enum([
|
|
3
|
+
"pending_confirmation",
|
|
4
|
+
"superseded_by_user_update",
|
|
5
|
+
"canceled_by_user",
|
|
6
|
+
"confirmed",
|
|
7
|
+
]);
|
|
8
|
+
export const PendingActionMarkerSchema = z
|
|
9
|
+
.object({
|
|
10
|
+
type: z.literal("pending-action-marker"),
|
|
11
|
+
actionId: z.string(),
|
|
12
|
+
toolName: z.string(),
|
|
13
|
+
status: PendingActionStatusSchema,
|
|
14
|
+
summary: z.string().optional(),
|
|
15
|
+
supersededByActionId: z.string().optional(),
|
|
16
|
+
})
|
|
17
|
+
.strict();
|
|
18
|
+
//# sourceMappingURL=pendingConversationState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pendingConversationState.js","sourceRoot":"","sources":["../../src/schemas/pendingConversationState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC5C,sBAAsB;IACtB,2BAA2B;IAC3B,kBAAkB;IAClB,WAAW;CACd,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC;KACrC,MAAM,CAAC;IACJ,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC;IACxC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,MAAM,EAAE,yBAAyB;IACjC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9C,CAAC;KACD,MAAM,EAAE,CAAC"}
|
|
@@ -96,7 +96,7 @@ export declare const PlanStepSchema: z.ZodObject<{
|
|
|
96
96
|
constraints?: string[] | undefined;
|
|
97
97
|
}>;
|
|
98
98
|
}, "strip", z.ZodTypeAny, {
|
|
99
|
-
status: "
|
|
99
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
100
100
|
description: string;
|
|
101
101
|
stepNumber: number;
|
|
102
102
|
operationType: "read" | "write";
|
|
@@ -109,10 +109,10 @@ export declare const PlanStepSchema: z.ZodObject<{
|
|
|
109
109
|
errorHandling: string;
|
|
110
110
|
constraints?: string[] | undefined;
|
|
111
111
|
};
|
|
112
|
-
toolName?: string | undefined;
|
|
113
112
|
result?: unknown;
|
|
113
|
+
toolName?: string | undefined;
|
|
114
114
|
}, {
|
|
115
|
-
status: "
|
|
115
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
116
116
|
description: string;
|
|
117
117
|
stepNumber: number;
|
|
118
118
|
operationType: "read" | "write";
|
|
@@ -125,8 +125,8 @@ export declare const PlanStepSchema: z.ZodObject<{
|
|
|
125
125
|
errorHandling: string;
|
|
126
126
|
constraints?: string[] | undefined;
|
|
127
127
|
};
|
|
128
|
-
toolName?: string | undefined;
|
|
129
128
|
result?: unknown;
|
|
129
|
+
toolName?: string | undefined;
|
|
130
130
|
}>;
|
|
131
131
|
/**
|
|
132
132
|
* Human-readable summary step (lighter than the full PlanStep).
|
|
@@ -138,12 +138,12 @@ export declare const UserSummaryStepSchema: z.ZodObject<{
|
|
|
138
138
|
requiresApproval: z.ZodBoolean;
|
|
139
139
|
}, "strip", z.ZodTypeAny, {
|
|
140
140
|
number: number;
|
|
141
|
-
status: "
|
|
141
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
142
142
|
description: string;
|
|
143
143
|
requiresApproval: boolean;
|
|
144
144
|
}, {
|
|
145
145
|
number: number;
|
|
146
|
-
status: "
|
|
146
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
147
147
|
description: string;
|
|
148
148
|
requiresApproval: boolean;
|
|
149
149
|
}>;
|
|
@@ -160,12 +160,12 @@ export declare const UserSummarySchema: z.ZodObject<{
|
|
|
160
160
|
requiresApproval: z.ZodBoolean;
|
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
162
|
number: number;
|
|
163
|
-
status: "
|
|
163
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
164
164
|
description: string;
|
|
165
165
|
requiresApproval: boolean;
|
|
166
166
|
}, {
|
|
167
167
|
number: number;
|
|
168
|
-
status: "
|
|
168
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
169
169
|
description: string;
|
|
170
170
|
requiresApproval: boolean;
|
|
171
171
|
}>, "many">;
|
|
@@ -175,7 +175,7 @@ export declare const UserSummarySchema: z.ZodObject<{
|
|
|
175
175
|
title: string;
|
|
176
176
|
steps: {
|
|
177
177
|
number: number;
|
|
178
|
-
status: "
|
|
178
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
179
179
|
description: string;
|
|
180
180
|
requiresApproval: boolean;
|
|
181
181
|
}[];
|
|
@@ -185,7 +185,7 @@ export declare const UserSummarySchema: z.ZodObject<{
|
|
|
185
185
|
title: string;
|
|
186
186
|
steps: {
|
|
187
187
|
number: number;
|
|
188
|
-
status: "
|
|
188
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
189
189
|
description: string;
|
|
190
190
|
requiresApproval: boolean;
|
|
191
191
|
}[];
|
|
@@ -254,7 +254,7 @@ export declare const ExecutionSchemaDefinition: z.ZodObject<{
|
|
|
254
254
|
constraints?: string[] | undefined;
|
|
255
255
|
}>;
|
|
256
256
|
}, "strip", z.ZodTypeAny, {
|
|
257
|
-
status: "
|
|
257
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
258
258
|
description: string;
|
|
259
259
|
stepNumber: number;
|
|
260
260
|
operationType: "read" | "write";
|
|
@@ -267,10 +267,10 @@ export declare const ExecutionSchemaDefinition: z.ZodObject<{
|
|
|
267
267
|
errorHandling: string;
|
|
268
268
|
constraints?: string[] | undefined;
|
|
269
269
|
};
|
|
270
|
-
toolName?: string | undefined;
|
|
271
270
|
result?: unknown;
|
|
271
|
+
toolName?: string | undefined;
|
|
272
272
|
}, {
|
|
273
|
-
status: "
|
|
273
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
274
274
|
description: string;
|
|
275
275
|
stepNumber: number;
|
|
276
276
|
operationType: "read" | "write";
|
|
@@ -283,8 +283,8 @@ export declare const ExecutionSchemaDefinition: z.ZodObject<{
|
|
|
283
283
|
errorHandling: string;
|
|
284
284
|
constraints?: string[] | undefined;
|
|
285
285
|
};
|
|
286
|
-
toolName?: string | undefined;
|
|
287
286
|
result?: unknown;
|
|
287
|
+
toolName?: string | undefined;
|
|
288
288
|
}>, "many">;
|
|
289
289
|
complexity: z.ZodEnum<["low", "medium", "high"]>;
|
|
290
290
|
/** Model ID from ILLA's supported models */
|
|
@@ -301,7 +301,7 @@ export declare const ExecutionSchemaDefinition: z.ZodObject<{
|
|
|
301
301
|
availableTools: z.ZodArray<z.ZodString, "many">;
|
|
302
302
|
}, "strip", z.ZodTypeAny, {
|
|
303
303
|
steps: {
|
|
304
|
-
status: "
|
|
304
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
305
305
|
description: string;
|
|
306
306
|
stepNumber: number;
|
|
307
307
|
operationType: "read" | "write";
|
|
@@ -314,8 +314,8 @@ export declare const ExecutionSchemaDefinition: z.ZodObject<{
|
|
|
314
314
|
errorHandling: string;
|
|
315
315
|
constraints?: string[] | undefined;
|
|
316
316
|
};
|
|
317
|
-
toolName?: string | undefined;
|
|
318
317
|
result?: unknown;
|
|
318
|
+
toolName?: string | undefined;
|
|
319
319
|
}[];
|
|
320
320
|
complexity: "low" | "medium" | "high";
|
|
321
321
|
recommendedModel: string;
|
|
@@ -326,7 +326,7 @@ export declare const ExecutionSchemaDefinition: z.ZodObject<{
|
|
|
326
326
|
availableTools: string[];
|
|
327
327
|
}, {
|
|
328
328
|
steps: {
|
|
329
|
-
status: "
|
|
329
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
330
330
|
description: string;
|
|
331
331
|
stepNumber: number;
|
|
332
332
|
operationType: "read" | "write";
|
|
@@ -339,8 +339,8 @@ export declare const ExecutionSchemaDefinition: z.ZodObject<{
|
|
|
339
339
|
errorHandling: string;
|
|
340
340
|
constraints?: string[] | undefined;
|
|
341
341
|
};
|
|
342
|
-
toolName?: string | undefined;
|
|
343
342
|
result?: unknown;
|
|
343
|
+
toolName?: string | undefined;
|
|
344
344
|
}[];
|
|
345
345
|
complexity: "low" | "medium" | "high";
|
|
346
346
|
recommendedModel: string;
|
|
@@ -387,12 +387,12 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
387
387
|
requiresApproval: z.ZodBoolean;
|
|
388
388
|
}, "strip", z.ZodTypeAny, {
|
|
389
389
|
number: number;
|
|
390
|
-
status: "
|
|
390
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
391
391
|
description: string;
|
|
392
392
|
requiresApproval: boolean;
|
|
393
393
|
}, {
|
|
394
394
|
number: number;
|
|
395
|
-
status: "
|
|
395
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
396
396
|
description: string;
|
|
397
397
|
requiresApproval: boolean;
|
|
398
398
|
}>, "many">;
|
|
@@ -402,7 +402,7 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
402
402
|
title: string;
|
|
403
403
|
steps: {
|
|
404
404
|
number: number;
|
|
405
|
-
status: "
|
|
405
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
406
406
|
description: string;
|
|
407
407
|
requiresApproval: boolean;
|
|
408
408
|
}[];
|
|
@@ -412,7 +412,7 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
412
412
|
title: string;
|
|
413
413
|
steps: {
|
|
414
414
|
number: number;
|
|
415
|
-
status: "
|
|
415
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
416
416
|
description: string;
|
|
417
417
|
requiresApproval: boolean;
|
|
418
418
|
}[];
|
|
@@ -460,7 +460,7 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
460
460
|
constraints?: string[] | undefined;
|
|
461
461
|
}>;
|
|
462
462
|
}, "strip", z.ZodTypeAny, {
|
|
463
|
-
status: "
|
|
463
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
464
464
|
description: string;
|
|
465
465
|
stepNumber: number;
|
|
466
466
|
operationType: "read" | "write";
|
|
@@ -473,10 +473,10 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
473
473
|
errorHandling: string;
|
|
474
474
|
constraints?: string[] | undefined;
|
|
475
475
|
};
|
|
476
|
-
toolName?: string | undefined;
|
|
477
476
|
result?: unknown;
|
|
477
|
+
toolName?: string | undefined;
|
|
478
478
|
}, {
|
|
479
|
-
status: "
|
|
479
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
480
480
|
description: string;
|
|
481
481
|
stepNumber: number;
|
|
482
482
|
operationType: "read" | "write";
|
|
@@ -489,8 +489,8 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
489
489
|
errorHandling: string;
|
|
490
490
|
constraints?: string[] | undefined;
|
|
491
491
|
};
|
|
492
|
-
toolName?: string | undefined;
|
|
493
492
|
result?: unknown;
|
|
493
|
+
toolName?: string | undefined;
|
|
494
494
|
}>, "many">;
|
|
495
495
|
complexity: z.ZodEnum<["low", "medium", "high"]>;
|
|
496
496
|
/** Model ID from ILLA's supported models */
|
|
@@ -507,7 +507,7 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
507
507
|
availableTools: z.ZodArray<z.ZodString, "many">;
|
|
508
508
|
}, "strip", z.ZodTypeAny, {
|
|
509
509
|
steps: {
|
|
510
|
-
status: "
|
|
510
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
511
511
|
description: string;
|
|
512
512
|
stepNumber: number;
|
|
513
513
|
operationType: "read" | "write";
|
|
@@ -520,8 +520,8 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
520
520
|
errorHandling: string;
|
|
521
521
|
constraints?: string[] | undefined;
|
|
522
522
|
};
|
|
523
|
-
toolName?: string | undefined;
|
|
524
523
|
result?: unknown;
|
|
524
|
+
toolName?: string | undefined;
|
|
525
525
|
}[];
|
|
526
526
|
complexity: "low" | "medium" | "high";
|
|
527
527
|
recommendedModel: string;
|
|
@@ -532,7 +532,7 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
532
532
|
availableTools: string[];
|
|
533
533
|
}, {
|
|
534
534
|
steps: {
|
|
535
|
-
status: "
|
|
535
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
536
536
|
description: string;
|
|
537
537
|
stepNumber: number;
|
|
538
538
|
operationType: "read" | "write";
|
|
@@ -545,8 +545,8 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
545
545
|
errorHandling: string;
|
|
546
546
|
constraints?: string[] | undefined;
|
|
547
547
|
};
|
|
548
|
-
toolName?: string | undefined;
|
|
549
548
|
result?: unknown;
|
|
549
|
+
toolName?: string | undefined;
|
|
550
550
|
}[];
|
|
551
551
|
complexity: "low" | "medium" | "high";
|
|
552
552
|
recommendedModel: string;
|
|
@@ -598,7 +598,7 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
598
598
|
title: string;
|
|
599
599
|
steps: {
|
|
600
600
|
number: number;
|
|
601
|
-
status: "
|
|
601
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
602
602
|
description: string;
|
|
603
603
|
requiresApproval: boolean;
|
|
604
604
|
}[];
|
|
@@ -606,7 +606,7 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
606
606
|
};
|
|
607
607
|
executionSchema: {
|
|
608
608
|
steps: {
|
|
609
|
-
status: "
|
|
609
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
610
610
|
description: string;
|
|
611
611
|
stepNumber: number;
|
|
612
612
|
operationType: "read" | "write";
|
|
@@ -619,8 +619,8 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
619
619
|
errorHandling: string;
|
|
620
620
|
constraints?: string[] | undefined;
|
|
621
621
|
};
|
|
622
|
-
toolName?: string | undefined;
|
|
623
622
|
result?: unknown;
|
|
623
|
+
toolName?: string | undefined;
|
|
624
624
|
}[];
|
|
625
625
|
complexity: "low" | "medium" | "high";
|
|
626
626
|
recommendedModel: string;
|
|
@@ -652,7 +652,7 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
652
652
|
title: string;
|
|
653
653
|
steps: {
|
|
654
654
|
number: number;
|
|
655
|
-
status: "
|
|
655
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
656
656
|
description: string;
|
|
657
657
|
requiresApproval: boolean;
|
|
658
658
|
}[];
|
|
@@ -660,7 +660,7 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
660
660
|
};
|
|
661
661
|
executionSchema: {
|
|
662
662
|
steps: {
|
|
663
|
-
status: "
|
|
663
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed";
|
|
664
664
|
description: string;
|
|
665
665
|
stepNumber: number;
|
|
666
666
|
operationType: "read" | "write";
|
|
@@ -673,8 +673,8 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
673
673
|
errorHandling: string;
|
|
674
674
|
constraints?: string[] | undefined;
|
|
675
675
|
};
|
|
676
|
-
toolName?: string | undefined;
|
|
677
676
|
result?: unknown;
|
|
677
|
+
toolName?: string | undefined;
|
|
678
678
|
}[];
|
|
679
679
|
complexity: "low" | "medium" | "high";
|
|
680
680
|
recommendedModel: string;
|
|
@@ -107,7 +107,7 @@ export declare const RuntimePlanStepSchema: z.ZodObject<{
|
|
|
107
107
|
toolInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
108
108
|
status: z.ZodEnum<["pending", "in_progress", "completed", "failed", "skipped", "awaiting_user_execution", "blocked"]>;
|
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
status: "
|
|
110
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
111
111
|
description: string;
|
|
112
112
|
title: string;
|
|
113
113
|
stepNumber: number;
|
|
@@ -117,7 +117,7 @@ export declare const RuntimePlanStepSchema: z.ZodObject<{
|
|
|
117
117
|
toolName?: string | undefined;
|
|
118
118
|
toolInput?: Record<string, unknown> | undefined;
|
|
119
119
|
}, {
|
|
120
|
-
status: "
|
|
120
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
121
121
|
description: string;
|
|
122
122
|
title: string;
|
|
123
123
|
stepNumber: number;
|
|
@@ -136,11 +136,11 @@ export declare const RuntimeUserSummaryStepSchema: z.ZodObject<{
|
|
|
136
136
|
status: z.ZodEnum<["pending", "in_progress", "completed", "failed", "skipped", "awaiting_user_execution", "blocked"]>;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
138
|
number: number;
|
|
139
|
-
status: "
|
|
139
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
140
140
|
description: string;
|
|
141
141
|
}, {
|
|
142
142
|
number: number;
|
|
143
|
-
status: "
|
|
143
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
144
144
|
description: string;
|
|
145
145
|
}>;
|
|
146
146
|
/**
|
|
@@ -160,11 +160,11 @@ export declare const RuntimeExecutionPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
160
160
|
status: z.ZodEnum<["pending", "in_progress", "completed", "failed", "skipped", "awaiting_user_execution", "blocked"]>;
|
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
162
|
number: number;
|
|
163
|
-
status: "
|
|
163
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
164
164
|
description: string;
|
|
165
165
|
}, {
|
|
166
166
|
number: number;
|
|
167
|
-
status: "
|
|
167
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
168
168
|
description: string;
|
|
169
169
|
}>, "many">;
|
|
170
170
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -172,7 +172,7 @@ export declare const RuntimeExecutionPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
172
172
|
title: string;
|
|
173
173
|
steps: {
|
|
174
174
|
number: number;
|
|
175
|
-
status: "
|
|
175
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
176
176
|
description: string;
|
|
177
177
|
}[];
|
|
178
178
|
}, {
|
|
@@ -180,7 +180,7 @@ export declare const RuntimeExecutionPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
180
180
|
title: string;
|
|
181
181
|
steps: {
|
|
182
182
|
number: number;
|
|
183
|
-
status: "
|
|
183
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
184
184
|
description: string;
|
|
185
185
|
}[];
|
|
186
186
|
}>;
|
|
@@ -197,7 +197,7 @@ export declare const RuntimeExecutionPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
197
197
|
toolInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
198
198
|
status: z.ZodEnum<["pending", "in_progress", "completed", "failed", "skipped", "awaiting_user_execution", "blocked"]>;
|
|
199
199
|
}, "strip", z.ZodTypeAny, {
|
|
200
|
-
status: "
|
|
200
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
201
201
|
description: string;
|
|
202
202
|
title: string;
|
|
203
203
|
stepNumber: number;
|
|
@@ -207,7 +207,7 @@ export declare const RuntimeExecutionPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
207
207
|
toolName?: string | undefined;
|
|
208
208
|
toolInput?: Record<string, unknown> | undefined;
|
|
209
209
|
}, {
|
|
210
|
-
status: "
|
|
210
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
211
211
|
description: string;
|
|
212
212
|
title: string;
|
|
213
213
|
stepNumber: number;
|
|
@@ -221,7 +221,7 @@ export declare const RuntimeExecutionPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
221
221
|
writeOperations: z.ZodArray<z.ZodString, "many">;
|
|
222
222
|
}, "strip", z.ZodTypeAny, {
|
|
223
223
|
steps: {
|
|
224
|
-
status: "
|
|
224
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
225
225
|
description: string;
|
|
226
226
|
title: string;
|
|
227
227
|
stepNumber: number;
|
|
@@ -235,7 +235,7 @@ export declare const RuntimeExecutionPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
235
235
|
writeOperations: string[];
|
|
236
236
|
}, {
|
|
237
237
|
steps: {
|
|
238
|
-
status: "
|
|
238
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
239
239
|
description: string;
|
|
240
240
|
title: string;
|
|
241
241
|
stepNumber: number;
|
|
@@ -258,13 +258,13 @@ export declare const RuntimeExecutionPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
258
258
|
title: string;
|
|
259
259
|
steps: {
|
|
260
260
|
number: number;
|
|
261
|
-
status: "
|
|
261
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
262
262
|
description: string;
|
|
263
263
|
}[];
|
|
264
264
|
};
|
|
265
265
|
executionSchema: {
|
|
266
266
|
steps: {
|
|
267
|
-
status: "
|
|
267
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
268
268
|
description: string;
|
|
269
269
|
title: string;
|
|
270
270
|
stepNumber: number;
|
|
@@ -287,13 +287,13 @@ export declare const RuntimeExecutionPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
287
287
|
title: string;
|
|
288
288
|
steps: {
|
|
289
289
|
number: number;
|
|
290
|
-
status: "
|
|
290
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
291
291
|
description: string;
|
|
292
292
|
}[];
|
|
293
293
|
};
|
|
294
294
|
executionSchema: {
|
|
295
295
|
steps: {
|
|
296
|
-
status: "
|
|
296
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
297
297
|
description: string;
|
|
298
298
|
title: string;
|
|
299
299
|
stepNumber: number;
|
|
@@ -316,13 +316,13 @@ export declare const RuntimeExecutionPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
316
316
|
title: string;
|
|
317
317
|
steps: {
|
|
318
318
|
number: number;
|
|
319
|
-
status: "
|
|
319
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
320
320
|
description: string;
|
|
321
321
|
}[];
|
|
322
322
|
};
|
|
323
323
|
executionSchema: {
|
|
324
324
|
steps: {
|
|
325
|
-
status: "
|
|
325
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
326
326
|
description: string;
|
|
327
327
|
title: string;
|
|
328
328
|
stepNumber: number;
|
|
@@ -345,13 +345,13 @@ export declare const RuntimeExecutionPlanSchema: z.ZodEffects<z.ZodObject<{
|
|
|
345
345
|
title: string;
|
|
346
346
|
steps: {
|
|
347
347
|
number: number;
|
|
348
|
-
status: "
|
|
348
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
349
349
|
description: string;
|
|
350
350
|
}[];
|
|
351
351
|
};
|
|
352
352
|
executionSchema: {
|
|
353
353
|
steps: {
|
|
354
|
-
status: "
|
|
354
|
+
status: "skipped" | "pending" | "in_progress" | "completed" | "failed" | "awaiting_user_execution" | "blocked";
|
|
355
355
|
description: string;
|
|
356
356
|
title: string;
|
|
357
357
|
stepNumber: number;
|