@illalabs/interfaces 0.10.2-canary-beta-99447a7d → 0.10.2
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/messages.d.ts +4 -4
- package/dist/schemas/modelContext.d.ts +3 -3
- package/dist/schemas/planning.d.ts +36 -36
- package/dist/schemas/planningRuntime.d.ts +22 -22
- package/dist/schemas/telemetryEvents.d.ts +196 -374
- package/dist/schemas/telemetryEvents.d.ts.map +1 -1
- package/dist/schemas/telemetryEvents.js +0 -34
- package/dist/schemas/telemetryEvents.js.map +1 -1
- package/dist/schemas/uiMessageNormalizer.d.ts.map +1 -1
- package/dist/schemas/uiMessageNormalizer.js +2 -31
- package/dist/schemas/uiMessageNormalizer.js.map +1 -1
- package/dist/types/telemetry.d.ts +1 -16
- 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/dist/utils/constants.d.ts +1 -1
- package/dist/utils/constants.d.ts.map +1 -1
- package/dist/utils/constants.js +8 -0
- package/dist/utils/constants.js.map +1 -1
- package/package.json +1 -1
|
@@ -639,6 +639,7 @@ export declare const ToolOutcomesSchema: z.ZodArray<z.ZodObject<{
|
|
|
639
639
|
}, "strict", z.ZodTypeAny, {
|
|
640
640
|
id: string;
|
|
641
641
|
name: string;
|
|
642
|
+
result?: unknown;
|
|
642
643
|
error?: {
|
|
643
644
|
type: "input";
|
|
644
645
|
errors: {
|
|
@@ -650,10 +651,10 @@ export declare const ToolOutcomesSchema: z.ZodArray<z.ZodObject<{
|
|
|
650
651
|
message: string;
|
|
651
652
|
details?: unknown;
|
|
652
653
|
} | undefined;
|
|
653
|
-
result?: unknown;
|
|
654
654
|
}, {
|
|
655
655
|
id: string;
|
|
656
656
|
name: string;
|
|
657
|
+
result?: unknown;
|
|
657
658
|
error?: {
|
|
658
659
|
type: "input";
|
|
659
660
|
errors: {
|
|
@@ -665,7 +666,6 @@ export declare const ToolOutcomesSchema: z.ZodArray<z.ZodObject<{
|
|
|
665
666
|
message: string;
|
|
666
667
|
details?: unknown;
|
|
667
668
|
} | undefined;
|
|
668
|
-
result?: unknown;
|
|
669
669
|
}>, "many">;
|
|
670
670
|
export declare const HistorySchema: z.ZodEffects<z.ZodArray<z.ZodType<UIMessageLike | ModelMessage, z.ZodTypeDef, UIMessageLike | ModelMessage>, "many">, ModelMessage[], (UIMessageLike | ModelMessage)[]>;
|
|
671
671
|
/**
|
|
@@ -6904,7 +6904,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
6904
6904
|
nativeTokenSymbol?: string | undefined;
|
|
6905
6905
|
}>>;
|
|
6906
6906
|
}, "strict", z.ZodTypeAny, {
|
|
6907
|
-
type: "tool-call";
|
|
6908
6907
|
toolCallId: string;
|
|
6909
6908
|
toolName: string;
|
|
6910
6909
|
input: {
|
|
@@ -7757,6 +7756,7 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
7757
7756
|
amountUSDValue?: string | undefined;
|
|
7758
7757
|
} | undefined;
|
|
7759
7758
|
};
|
|
7759
|
+
type: "tool-call";
|
|
7760
7760
|
simulated?: boolean | undefined;
|
|
7761
7761
|
simulation?: {
|
|
7762
7762
|
willSucceed: boolean;
|
|
@@ -7805,7 +7805,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
7805
7805
|
nativeTokenSymbol?: string | undefined;
|
|
7806
7806
|
} | undefined;
|
|
7807
7807
|
}, {
|
|
7808
|
-
type: "tool-call";
|
|
7809
7808
|
toolCallId: string;
|
|
7810
7809
|
toolName: string;
|
|
7811
7810
|
input: {
|
|
@@ -8658,6 +8657,7 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
8658
8657
|
amountUSDValue?: string | undefined;
|
|
8659
8658
|
} | undefined;
|
|
8660
8659
|
};
|
|
8660
|
+
type: "tool-call";
|
|
8661
8661
|
simulated?: boolean | undefined;
|
|
8662
8662
|
simulation?: {
|
|
8663
8663
|
willSucceed: boolean;
|
|
@@ -2,13 +2,13 @@ import type { TypeOf } from "zod";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
export declare const ModelContextSchema: z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
|
|
4
4
|
provider: z.ZodLiteral<"openrouter">;
|
|
5
|
-
model: z.ZodEnum<["anthropic/claude-sonnet-4.5", "google/gemini-2.5-pro", "openai/gpt-5", "qwen/qwen3-vl-30b-a3b-thinking", "openai/gpt-5-mini", "moonshotai/kimi-k2-thinking", "google/gemini-3-flash-preview", "z-ai/glm-4.7-flash", "anthropic/claude-haiku-4.5", "deepseek/deepseek-v3.2"]>;
|
|
5
|
+
model: z.ZodEnum<["anthropic/claude-sonnet-4.5", "google/gemini-2.5-pro", "openai/gpt-5", "qwen/qwen3-vl-30b-a3b-thinking", "openai/gpt-5-mini", "moonshotai/kimi-k2-thinking", "google/gemini-3-flash-preview", "z-ai/glm-4.7-flash", "anthropic/claude-haiku-4.5", "deepseek/deepseek-v3.2", "openai/gpt-5.4-mini", "openai/gpt-5.4-nano", "anthropic/claude-sonnet-4.6", "anthropic/claude-opus-4.6", "minimax/minimax-m2.7", "moonshotai/kimi-k2.5", "z-ai/glm-5", "z-ai/glm-5-flash"]>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
7
|
provider: "openrouter";
|
|
8
|
-
model: "anthropic/claude-sonnet-4.5" | "google/gemini-2.5-pro" | "openai/gpt-5" | "qwen/qwen3-vl-30b-a3b-thinking" | "openai/gpt-5-mini" | "moonshotai/kimi-k2-thinking" | "google/gemini-3-flash-preview" | "z-ai/glm-4.7-flash" | "anthropic/claude-haiku-4.5" | "deepseek/deepseek-v3.2";
|
|
8
|
+
model: "anthropic/claude-sonnet-4.5" | "google/gemini-2.5-pro" | "openai/gpt-5" | "qwen/qwen3-vl-30b-a3b-thinking" | "openai/gpt-5-mini" | "moonshotai/kimi-k2-thinking" | "google/gemini-3-flash-preview" | "z-ai/glm-4.7-flash" | "anthropic/claude-haiku-4.5" | "deepseek/deepseek-v3.2" | "openai/gpt-5.4-mini" | "openai/gpt-5.4-nano" | "anthropic/claude-sonnet-4.6" | "anthropic/claude-opus-4.6" | "minimax/minimax-m2.7" | "moonshotai/kimi-k2.5" | "z-ai/glm-5" | "z-ai/glm-5-flash";
|
|
9
9
|
}, {
|
|
10
10
|
provider: "openrouter";
|
|
11
|
-
model: "anthropic/claude-sonnet-4.5" | "google/gemini-2.5-pro" | "openai/gpt-5" | "qwen/qwen3-vl-30b-a3b-thinking" | "openai/gpt-5-mini" | "moonshotai/kimi-k2-thinking" | "google/gemini-3-flash-preview" | "z-ai/glm-4.7-flash" | "anthropic/claude-haiku-4.5" | "deepseek/deepseek-v3.2";
|
|
11
|
+
model: "anthropic/claude-sonnet-4.5" | "google/gemini-2.5-pro" | "openai/gpt-5" | "qwen/qwen3-vl-30b-a3b-thinking" | "openai/gpt-5-mini" | "moonshotai/kimi-k2-thinking" | "google/gemini-3-flash-preview" | "z-ai/glm-4.7-flash" | "anthropic/claude-haiku-4.5" | "deepseek/deepseek-v3.2" | "openai/gpt-5.4-mini" | "openai/gpt-5.4-nano" | "anthropic/claude-sonnet-4.6" | "anthropic/claude-opus-4.6" | "minimax/minimax-m2.7" | "moonshotai/kimi-k2.5" | "z-ai/glm-5" | "z-ai/glm-5-flash";
|
|
12
12
|
}>, z.ZodObject<{
|
|
13
13
|
provider: z.ZodLiteral<"openai">;
|
|
14
14
|
model: z.ZodEnum<["gpt-4o", "gpt-4o-mini", "gpt-5", "gpt-5-mini-2025-08-07"]>;
|
|
@@ -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: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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
|
-
result?: unknown;
|
|
113
112
|
toolName?: string | undefined;
|
|
113
|
+
result?: unknown;
|
|
114
114
|
}, {
|
|
115
|
-
status: "
|
|
115
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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
|
-
result?: unknown;
|
|
129
128
|
toolName?: string | undefined;
|
|
129
|
+
result?: unknown;
|
|
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: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
142
142
|
description: string;
|
|
143
143
|
requiresApproval: boolean;
|
|
144
144
|
}, {
|
|
145
145
|
number: number;
|
|
146
|
-
status: "
|
|
146
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
164
164
|
description: string;
|
|
165
165
|
requiresApproval: boolean;
|
|
166
166
|
}, {
|
|
167
167
|
number: number;
|
|
168
|
-
status: "
|
|
168
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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
|
-
result?: unknown;
|
|
271
270
|
toolName?: string | undefined;
|
|
271
|
+
result?: unknown;
|
|
272
272
|
}, {
|
|
273
|
-
status: "
|
|
273
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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
|
-
result?: unknown;
|
|
287
286
|
toolName?: string | undefined;
|
|
287
|
+
result?: unknown;
|
|
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: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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
|
-
result?: unknown;
|
|
318
317
|
toolName?: string | undefined;
|
|
318
|
+
result?: unknown;
|
|
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: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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
|
-
result?: unknown;
|
|
343
342
|
toolName?: string | undefined;
|
|
343
|
+
result?: unknown;
|
|
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: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
391
391
|
description: string;
|
|
392
392
|
requiresApproval: boolean;
|
|
393
393
|
}, {
|
|
394
394
|
number: number;
|
|
395
|
-
status: "
|
|
395
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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
|
-
result?: unknown;
|
|
477
476
|
toolName?: string | undefined;
|
|
477
|
+
result?: unknown;
|
|
478
478
|
}, {
|
|
479
|
-
status: "
|
|
479
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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
|
-
result?: unknown;
|
|
493
492
|
toolName?: string | undefined;
|
|
493
|
+
result?: unknown;
|
|
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: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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
|
-
result?: unknown;
|
|
524
523
|
toolName?: string | undefined;
|
|
524
|
+
result?: unknown;
|
|
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: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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
|
-
result?: unknown;
|
|
549
548
|
toolName?: string | undefined;
|
|
549
|
+
result?: unknown;
|
|
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: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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
|
-
result?: unknown;
|
|
623
622
|
toolName?: string | undefined;
|
|
623
|
+
result?: unknown;
|
|
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: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
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
|
-
result?: unknown;
|
|
677
676
|
toolName?: string | undefined;
|
|
677
|
+
result?: unknown;
|
|
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: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "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: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "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: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "awaiting_user_execution" | "blocked";
|
|
140
140
|
description: string;
|
|
141
141
|
}, {
|
|
142
142
|
number: number;
|
|
143
|
-
status: "
|
|
143
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "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: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "awaiting_user_execution" | "blocked";
|
|
164
164
|
description: string;
|
|
165
165
|
}, {
|
|
166
166
|
number: number;
|
|
167
|
-
status: "
|
|
167
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "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: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "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: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "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: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "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: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "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: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "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: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "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: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "awaiting_user_execution" | "blocked";
|
|
262
262
|
description: string;
|
|
263
263
|
}[];
|
|
264
264
|
};
|
|
265
265
|
executionSchema: {
|
|
266
266
|
steps: {
|
|
267
|
-
status: "
|
|
267
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "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: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "awaiting_user_execution" | "blocked";
|
|
291
291
|
description: string;
|
|
292
292
|
}[];
|
|
293
293
|
};
|
|
294
294
|
executionSchema: {
|
|
295
295
|
steps: {
|
|
296
|
-
status: "
|
|
296
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "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: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "awaiting_user_execution" | "blocked";
|
|
320
320
|
description: string;
|
|
321
321
|
}[];
|
|
322
322
|
};
|
|
323
323
|
executionSchema: {
|
|
324
324
|
steps: {
|
|
325
|
-
status: "
|
|
325
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "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: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "awaiting_user_execution" | "blocked";
|
|
349
349
|
description: string;
|
|
350
350
|
}[];
|
|
351
351
|
};
|
|
352
352
|
executionSchema: {
|
|
353
353
|
steps: {
|
|
354
|
-
status: "
|
|
354
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped" | "awaiting_user_execution" | "blocked";
|
|
355
355
|
description: string;
|
|
356
356
|
title: string;
|
|
357
357
|
stepNumber: number;
|
|
@@ -387,7 +387,6 @@ export declare const RuntimePlanVerifierResultSchema: z.ZodObject<{
|
|
|
387
387
|
reason: z.ZodString;
|
|
388
388
|
confidence: z.ZodNumber;
|
|
389
389
|
}, "strip", z.ZodTypeAny, {
|
|
390
|
-
reason: string;
|
|
391
390
|
conflicts: {
|
|
392
391
|
type: string;
|
|
393
392
|
message: string;
|
|
@@ -396,8 +395,8 @@ export declare const RuntimePlanVerifierResultSchema: z.ZodObject<{
|
|
|
396
395
|
confidence: number;
|
|
397
396
|
stillSatisfiesPlan: boolean;
|
|
398
397
|
recommendedAction: "continue" | "replan" | "ask_user";
|
|
399
|
-
}, {
|
|
400
398
|
reason: string;
|
|
399
|
+
}, {
|
|
401
400
|
conflicts: {
|
|
402
401
|
type: string;
|
|
403
402
|
message: string;
|
|
@@ -406,6 +405,7 @@ export declare const RuntimePlanVerifierResultSchema: z.ZodObject<{
|
|
|
406
405
|
confidence: number;
|
|
407
406
|
stillSatisfiesPlan: boolean;
|
|
408
407
|
recommendedAction: "continue" | "replan" | "ask_user";
|
|
408
|
+
reason: string;
|
|
409
409
|
}>;
|
|
410
410
|
/**
|
|
411
411
|
* User decision payload sent when verifier feedback requires a choice.
|