@illalabs/interfaces 0.7.0 → 0.7.1-canary-beta-8ec17b3e
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 +65 -65
- package/dist/schemas/illaTools.d.ts +15 -15
- 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 +52 -51
- package/dist/schemas/messages.d.ts.map +1 -1
- package/dist/schemas/messages.js +4 -1
- package/dist/schemas/messages.js.map +1 -1
- package/dist/schemas/planning.d.ts +18 -18
- package/dist/schemas/planningRuntime.d.ts +10 -10
- package/dist/schemas/telemetryEvents.d.ts +322 -288
- package/dist/schemas/telemetryEvents.d.ts.map +1 -1
- package/dist/schemas/telemetryEvents.js +3 -0
- package/dist/schemas/telemetryEvents.js.map +1 -1
- package/dist/schemas/uiMessageNormalizer.d.ts +22 -0
- package/dist/schemas/uiMessageNormalizer.d.ts.map +1 -0
- package/dist/schemas/uiMessageNormalizer.js +173 -0
- package/dist/schemas/uiMessageNormalizer.js.map +1 -0
- package/package.json +1 -1
|
@@ -105,8 +105,8 @@ export declare const PlanStepSchema: z.ZodObject<{
|
|
|
105
105
|
errorHandling: string;
|
|
106
106
|
constraints?: string[] | undefined;
|
|
107
107
|
};
|
|
108
|
-
result?: unknown;
|
|
109
108
|
toolName?: string | undefined;
|
|
109
|
+
result?: unknown;
|
|
110
110
|
}, {
|
|
111
111
|
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
112
112
|
description: string;
|
|
@@ -121,8 +121,8 @@ export declare const PlanStepSchema: z.ZodObject<{
|
|
|
121
121
|
errorHandling: string;
|
|
122
122
|
constraints?: string[] | undefined;
|
|
123
123
|
};
|
|
124
|
-
result?: unknown;
|
|
125
124
|
toolName?: string | undefined;
|
|
125
|
+
result?: unknown;
|
|
126
126
|
}>;
|
|
127
127
|
/**
|
|
128
128
|
* Human-readable summary step (lighter than the full PlanStep).
|
|
@@ -197,12 +197,12 @@ export declare const PlanConflictSchema: z.ZodObject<{
|
|
|
197
197
|
/** How to fix or an alternative approach */
|
|
198
198
|
suggestion: z.ZodOptional<z.ZodString>;
|
|
199
199
|
}, "strip", z.ZodTypeAny, {
|
|
200
|
-
message: string;
|
|
201
200
|
type: "conflicting_intent" | "impossible_task" | "missing_tool" | "unsupported_operation";
|
|
201
|
+
message: string;
|
|
202
202
|
suggestion?: string | undefined;
|
|
203
203
|
}, {
|
|
204
|
-
message: string;
|
|
205
204
|
type: "conflicting_intent" | "impossible_task" | "missing_tool" | "unsupported_operation";
|
|
205
|
+
message: string;
|
|
206
206
|
suggestion?: string | undefined;
|
|
207
207
|
}>;
|
|
208
208
|
/**
|
|
@@ -263,8 +263,8 @@ export declare const ExecutionSchemaDefinition: z.ZodObject<{
|
|
|
263
263
|
errorHandling: string;
|
|
264
264
|
constraints?: string[] | undefined;
|
|
265
265
|
};
|
|
266
|
-
result?: unknown;
|
|
267
266
|
toolName?: string | undefined;
|
|
267
|
+
result?: unknown;
|
|
268
268
|
}, {
|
|
269
269
|
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
270
270
|
description: string;
|
|
@@ -279,8 +279,8 @@ export declare const ExecutionSchemaDefinition: z.ZodObject<{
|
|
|
279
279
|
errorHandling: string;
|
|
280
280
|
constraints?: string[] | undefined;
|
|
281
281
|
};
|
|
282
|
-
result?: unknown;
|
|
283
282
|
toolName?: string | undefined;
|
|
283
|
+
result?: unknown;
|
|
284
284
|
}>, "many">;
|
|
285
285
|
complexity: z.ZodEnum<["low", "medium", "high"]>;
|
|
286
286
|
/** Model ID from ILLA's supported models */
|
|
@@ -310,8 +310,8 @@ export declare const ExecutionSchemaDefinition: z.ZodObject<{
|
|
|
310
310
|
errorHandling: string;
|
|
311
311
|
constraints?: string[] | undefined;
|
|
312
312
|
};
|
|
313
|
-
result?: unknown;
|
|
314
313
|
toolName?: string | undefined;
|
|
314
|
+
result?: unknown;
|
|
315
315
|
}[];
|
|
316
316
|
complexity: "low" | "medium" | "high";
|
|
317
317
|
recommendedModel: string;
|
|
@@ -335,8 +335,8 @@ export declare const ExecutionSchemaDefinition: z.ZodObject<{
|
|
|
335
335
|
errorHandling: string;
|
|
336
336
|
constraints?: string[] | undefined;
|
|
337
337
|
};
|
|
338
|
-
result?: unknown;
|
|
339
338
|
toolName?: string | undefined;
|
|
339
|
+
result?: unknown;
|
|
340
340
|
}[];
|
|
341
341
|
complexity: "low" | "medium" | "high";
|
|
342
342
|
recommendedModel: string;
|
|
@@ -469,8 +469,8 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
469
469
|
errorHandling: string;
|
|
470
470
|
constraints?: string[] | undefined;
|
|
471
471
|
};
|
|
472
|
-
result?: unknown;
|
|
473
472
|
toolName?: string | undefined;
|
|
473
|
+
result?: unknown;
|
|
474
474
|
}, {
|
|
475
475
|
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
476
476
|
description: string;
|
|
@@ -485,8 +485,8 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
485
485
|
errorHandling: string;
|
|
486
486
|
constraints?: string[] | undefined;
|
|
487
487
|
};
|
|
488
|
-
result?: unknown;
|
|
489
488
|
toolName?: string | undefined;
|
|
489
|
+
result?: unknown;
|
|
490
490
|
}>, "many">;
|
|
491
491
|
complexity: z.ZodEnum<["low", "medium", "high"]>;
|
|
492
492
|
/** Model ID from ILLA's supported models */
|
|
@@ -516,8 +516,8 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
516
516
|
errorHandling: string;
|
|
517
517
|
constraints?: string[] | undefined;
|
|
518
518
|
};
|
|
519
|
-
result?: unknown;
|
|
520
519
|
toolName?: string | undefined;
|
|
520
|
+
result?: unknown;
|
|
521
521
|
}[];
|
|
522
522
|
complexity: "low" | "medium" | "high";
|
|
523
523
|
recommendedModel: string;
|
|
@@ -541,8 +541,8 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
541
541
|
errorHandling: string;
|
|
542
542
|
constraints?: string[] | undefined;
|
|
543
543
|
};
|
|
544
|
-
result?: unknown;
|
|
545
544
|
toolName?: string | undefined;
|
|
545
|
+
result?: unknown;
|
|
546
546
|
}[];
|
|
547
547
|
complexity: "low" | "medium" | "high";
|
|
548
548
|
recommendedModel: string;
|
|
@@ -559,12 +559,12 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
559
559
|
/** How to fix or an alternative approach */
|
|
560
560
|
suggestion: z.ZodOptional<z.ZodString>;
|
|
561
561
|
}, "strip", z.ZodTypeAny, {
|
|
562
|
-
message: string;
|
|
563
562
|
type: "conflicting_intent" | "impossible_task" | "missing_tool" | "unsupported_operation";
|
|
563
|
+
message: string;
|
|
564
564
|
suggestion?: string | undefined;
|
|
565
565
|
}, {
|
|
566
|
-
message: string;
|
|
567
566
|
type: "conflicting_intent" | "impossible_task" | "missing_tool" | "unsupported_operation";
|
|
567
|
+
message: string;
|
|
568
568
|
suggestion?: string | undefined;
|
|
569
569
|
}>, "many">>;
|
|
570
570
|
replanContext: z.ZodOptional<z.ZodObject<{
|
|
@@ -615,8 +615,8 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
615
615
|
errorHandling: string;
|
|
616
616
|
constraints?: string[] | undefined;
|
|
617
617
|
};
|
|
618
|
-
result?: unknown;
|
|
619
618
|
toolName?: string | undefined;
|
|
619
|
+
result?: unknown;
|
|
620
620
|
}[];
|
|
621
621
|
complexity: "low" | "medium" | "high";
|
|
622
622
|
recommendedModel: string;
|
|
@@ -628,8 +628,8 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
628
628
|
};
|
|
629
629
|
createdAt: string;
|
|
630
630
|
conflicts?: {
|
|
631
|
-
message: string;
|
|
632
631
|
type: "conflicting_intent" | "impossible_task" | "missing_tool" | "unsupported_operation";
|
|
632
|
+
message: string;
|
|
633
633
|
suggestion?: string | undefined;
|
|
634
634
|
}[] | undefined;
|
|
635
635
|
replanContext?: {
|
|
@@ -669,8 +669,8 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
669
669
|
errorHandling: string;
|
|
670
670
|
constraints?: string[] | undefined;
|
|
671
671
|
};
|
|
672
|
-
result?: unknown;
|
|
673
672
|
toolName?: string | undefined;
|
|
673
|
+
result?: unknown;
|
|
674
674
|
}[];
|
|
675
675
|
complexity: "low" | "medium" | "high";
|
|
676
676
|
recommendedModel: string;
|
|
@@ -682,8 +682,8 @@ export declare const ExecutionPlanSchema: z.ZodObject<{
|
|
|
682
682
|
};
|
|
683
683
|
createdAt: string;
|
|
684
684
|
conflicts?: {
|
|
685
|
-
message: string;
|
|
686
685
|
type: "conflicting_intent" | "impossible_task" | "missing_tool" | "unsupported_operation";
|
|
686
|
+
message: string;
|
|
687
687
|
suggestion?: string | undefined;
|
|
688
688
|
}[] | undefined;
|
|
689
689
|
replanContext?: {
|
|
@@ -37,12 +37,12 @@ export declare const RuntimeClassificationConflictSchema: z.ZodObject<{
|
|
|
37
37
|
message: z.ZodString;
|
|
38
38
|
suggestion: z.ZodOptional<z.ZodString>;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
message: string;
|
|
41
40
|
type: string;
|
|
41
|
+
message: string;
|
|
42
42
|
suggestion?: string | undefined;
|
|
43
43
|
}, {
|
|
44
|
-
message: string;
|
|
45
44
|
type: string;
|
|
45
|
+
message: string;
|
|
46
46
|
suggestion?: string | undefined;
|
|
47
47
|
}>;
|
|
48
48
|
/**
|
|
@@ -57,12 +57,12 @@ export declare const RuntimeIntentClassificationSchema: z.ZodObject<{
|
|
|
57
57
|
message: z.ZodString;
|
|
58
58
|
suggestion: z.ZodOptional<z.ZodString>;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
|
-
message: string;
|
|
61
60
|
type: string;
|
|
61
|
+
message: string;
|
|
62
62
|
suggestion?: string | undefined;
|
|
63
63
|
}, {
|
|
64
|
-
message: string;
|
|
65
64
|
type: string;
|
|
65
|
+
message: string;
|
|
66
66
|
suggestion?: string | undefined;
|
|
67
67
|
}>, "many">;
|
|
68
68
|
confidence: z.ZodNumber;
|
|
@@ -70,8 +70,8 @@ export declare const RuntimeIntentClassificationSchema: z.ZodObject<{
|
|
|
70
70
|
operationType: "unknown" | "read" | "write" | "mixed";
|
|
71
71
|
complexity: "unknown" | "single" | "multi";
|
|
72
72
|
conflicts: {
|
|
73
|
-
message: string;
|
|
74
73
|
type: string;
|
|
74
|
+
message: string;
|
|
75
75
|
suggestion?: string | undefined;
|
|
76
76
|
}[];
|
|
77
77
|
amountType: "unknown" | "relative" | "absolute";
|
|
@@ -80,8 +80,8 @@ export declare const RuntimeIntentClassificationSchema: z.ZodObject<{
|
|
|
80
80
|
operationType: "unknown" | "read" | "write" | "mixed";
|
|
81
81
|
complexity: "unknown" | "single" | "multi";
|
|
82
82
|
conflicts: {
|
|
83
|
-
message: string;
|
|
84
83
|
type: string;
|
|
84
|
+
message: string;
|
|
85
85
|
suggestion?: string | undefined;
|
|
86
86
|
}[];
|
|
87
87
|
amountType: "unknown" | "relative" | "absolute";
|
|
@@ -371,12 +371,12 @@ export declare const RuntimePlanVerifierResultSchema: z.ZodObject<{
|
|
|
371
371
|
message: z.ZodString;
|
|
372
372
|
suggestion: z.ZodOptional<z.ZodString>;
|
|
373
373
|
}, "strip", z.ZodTypeAny, {
|
|
374
|
-
message: string;
|
|
375
374
|
type: string;
|
|
375
|
+
message: string;
|
|
376
376
|
suggestion?: string | undefined;
|
|
377
377
|
}, {
|
|
378
|
-
message: string;
|
|
379
378
|
type: string;
|
|
379
|
+
message: string;
|
|
380
380
|
suggestion?: string | undefined;
|
|
381
381
|
}>, "many">;
|
|
382
382
|
recommendedAction: z.ZodEnum<["continue", "ask_user", "replan"]>;
|
|
@@ -384,8 +384,8 @@ export declare const RuntimePlanVerifierResultSchema: z.ZodObject<{
|
|
|
384
384
|
confidence: z.ZodNumber;
|
|
385
385
|
}, "strip", z.ZodTypeAny, {
|
|
386
386
|
conflicts: {
|
|
387
|
-
message: string;
|
|
388
387
|
type: string;
|
|
388
|
+
message: string;
|
|
389
389
|
suggestion?: string | undefined;
|
|
390
390
|
}[];
|
|
391
391
|
confidence: number;
|
|
@@ -394,8 +394,8 @@ export declare const RuntimePlanVerifierResultSchema: z.ZodObject<{
|
|
|
394
394
|
reason: string;
|
|
395
395
|
}, {
|
|
396
396
|
conflicts: {
|
|
397
|
-
message: string;
|
|
398
397
|
type: string;
|
|
398
|
+
message: string;
|
|
399
399
|
suggestion?: string | undefined;
|
|
400
400
|
}[];
|
|
401
401
|
confidence: number;
|