@illalabs/interfaces 0.3.0 → 0.4.0-canary-beta-52713059
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/interfaces/chat/response.d.ts +8 -0
- package/dist/interfaces/chat/response.d.ts.map +1 -1
- package/dist/schemas/chatContext.d.ts +320 -0
- package/dist/schemas/chatContext.d.ts.map +1 -1
- package/dist/schemas/chatRequestBody.d.ts +1018 -0
- package/dist/schemas/chatRequestBody.d.ts.map +1 -1
- package/dist/schemas/chatRequestBody.js +7 -0
- package/dist/schemas/chatRequestBody.js.map +1 -1
- 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/planning.d.ts +666 -0
- package/dist/schemas/planning.d.ts.map +1 -0
- package/dist/schemas/planning.js +153 -0
- package/dist/schemas/planning.js.map +1 -0
- package/dist/schemas/telemetryEvents.d.ts +534 -4
- package/dist/schemas/telemetryEvents.d.ts.map +1 -1
- package/dist/schemas/telemetryEvents.js +88 -0
- package/dist/schemas/telemetryEvents.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/planning.d.ts +55 -0
- package/dist/types/planning.d.ts.map +1 -0
- package/dist/types/planning.js +2 -0
- package/dist/types/planning.js.map +1 -0
- package/dist/types/telemetry.d.ts +36 -1
- package/dist/types/telemetry.d.ts.map +1 -1
- package/dist/types/telemetry.js +2 -1
- package/dist/types/telemetry.js.map +1 -1
- package/package.json +1 -1
|
@@ -4,20 +4,20 @@ import { z } from "zod";
|
|
|
4
4
|
* Telemetry event type enum values.
|
|
5
5
|
* Used to infer TelemetryEventType in types/telemetry.ts
|
|
6
6
|
*/
|
|
7
|
-
export declare const telemetryEventTypes: readonly ["iteration_start", "iteration_end", "tool_call_batch", "tool_result", "scratchpad_reset", "llm_start", "llm_end", "text_delta", "finish", "error", "connected", "stream_end"];
|
|
7
|
+
export declare const telemetryEventTypes: readonly ["iteration_start", "iteration_end", "tool_call_batch", "tool_result", "scratchpad_reset", "llm_start", "llm_end", "text_delta", "finish", "error", "connected", "stream_end", "plan_generated", "plan_step_completed", "plan_invalidated", "replan_started", "replan_complete", "plan_execution_complete"];
|
|
8
8
|
/**
|
|
9
9
|
* Base telemetry event schema with common fields
|
|
10
10
|
*/
|
|
11
11
|
export declare const baseTelemetryEventSchema: z.ZodObject<{
|
|
12
12
|
requestId: z.ZodString;
|
|
13
|
-
type: z.ZodEnum<["iteration_start", "iteration_end", "tool_call_batch", "tool_result", "scratchpad_reset", "llm_start", "llm_end", "text_delta", "finish", "error", "connected", "stream_end"]>;
|
|
13
|
+
type: z.ZodEnum<["iteration_start", "iteration_end", "tool_call_batch", "tool_result", "scratchpad_reset", "llm_start", "llm_end", "text_delta", "finish", "error", "connected", "stream_end", "plan_generated", "plan_step_completed", "plan_invalidated", "replan_started", "replan_complete", "plan_execution_complete"]>;
|
|
14
14
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
type: "error" | "iteration_start" | "iteration_end" | "tool_call_batch" | "tool_result" | "scratchpad_reset" | "llm_start" | "llm_end" | "text_delta" | "finish" | "connected" | "stream_end";
|
|
16
|
+
type: "error" | "iteration_start" | "iteration_end" | "tool_call_batch" | "tool_result" | "scratchpad_reset" | "llm_start" | "llm_end" | "text_delta" | "finish" | "connected" | "stream_end" | "plan_generated" | "plan_step_completed" | "plan_invalidated" | "replan_started" | "replan_complete" | "plan_execution_complete";
|
|
17
17
|
requestId: string;
|
|
18
18
|
timestamp?: number | undefined;
|
|
19
19
|
}, {
|
|
20
|
-
type: "error" | "iteration_start" | "iteration_end" | "tool_call_batch" | "tool_result" | "scratchpad_reset" | "llm_start" | "llm_end" | "text_delta" | "finish" | "connected" | "stream_end";
|
|
20
|
+
type: "error" | "iteration_start" | "iteration_end" | "tool_call_batch" | "tool_result" | "scratchpad_reset" | "llm_start" | "llm_end" | "text_delta" | "finish" | "connected" | "stream_end" | "plan_generated" | "plan_step_completed" | "plan_invalidated" | "replan_started" | "replan_complete" | "plan_execution_complete";
|
|
21
21
|
requestId: string;
|
|
22
22
|
timestamp?: number | undefined;
|
|
23
23
|
}>;
|
|
@@ -472,6 +472,283 @@ export declare const errorTelemetryEventSchema: z.ZodObject<{
|
|
|
472
472
|
requestId: string;
|
|
473
473
|
timestamp?: number | undefined;
|
|
474
474
|
}>;
|
|
475
|
+
/**
|
|
476
|
+
* Plan generated event schema - emitted when a plan is created
|
|
477
|
+
*/
|
|
478
|
+
export declare const planGeneratedEventSchema: z.ZodObject<{
|
|
479
|
+
requestId: z.ZodString;
|
|
480
|
+
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
481
|
+
} & {
|
|
482
|
+
type: z.ZodLiteral<"plan_generated">;
|
|
483
|
+
data: z.ZodObject<{
|
|
484
|
+
planId: z.ZodString;
|
|
485
|
+
version: z.ZodNumber;
|
|
486
|
+
complexity: z.ZodEnum<["low", "medium", "high"]>;
|
|
487
|
+
stepCount: z.ZodNumber;
|
|
488
|
+
autoExecutable: z.ZodBoolean;
|
|
489
|
+
recommendedModel: z.ZodString;
|
|
490
|
+
}, "strip", z.ZodTypeAny, {
|
|
491
|
+
complexity: "low" | "medium" | "high";
|
|
492
|
+
recommendedModel: string;
|
|
493
|
+
planId: string;
|
|
494
|
+
version: number;
|
|
495
|
+
autoExecutable: boolean;
|
|
496
|
+
stepCount: number;
|
|
497
|
+
}, {
|
|
498
|
+
complexity: "low" | "medium" | "high";
|
|
499
|
+
recommendedModel: string;
|
|
500
|
+
planId: string;
|
|
501
|
+
version: number;
|
|
502
|
+
autoExecutable: boolean;
|
|
503
|
+
stepCount: number;
|
|
504
|
+
}>;
|
|
505
|
+
}, "strip", z.ZodTypeAny, {
|
|
506
|
+
type: "plan_generated";
|
|
507
|
+
data: {
|
|
508
|
+
complexity: "low" | "medium" | "high";
|
|
509
|
+
recommendedModel: string;
|
|
510
|
+
planId: string;
|
|
511
|
+
version: number;
|
|
512
|
+
autoExecutable: boolean;
|
|
513
|
+
stepCount: number;
|
|
514
|
+
};
|
|
515
|
+
requestId: string;
|
|
516
|
+
timestamp?: number | undefined;
|
|
517
|
+
}, {
|
|
518
|
+
type: "plan_generated";
|
|
519
|
+
data: {
|
|
520
|
+
complexity: "low" | "medium" | "high";
|
|
521
|
+
recommendedModel: string;
|
|
522
|
+
planId: string;
|
|
523
|
+
version: number;
|
|
524
|
+
autoExecutable: boolean;
|
|
525
|
+
stepCount: number;
|
|
526
|
+
};
|
|
527
|
+
requestId: string;
|
|
528
|
+
timestamp?: number | undefined;
|
|
529
|
+
}>;
|
|
530
|
+
/**
|
|
531
|
+
* Plan step completed event schema - emitted when a plan step finishes
|
|
532
|
+
*/
|
|
533
|
+
export declare const planStepCompletedEventSchema: z.ZodObject<{
|
|
534
|
+
requestId: z.ZodString;
|
|
535
|
+
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
536
|
+
} & {
|
|
537
|
+
type: z.ZodLiteral<"plan_step_completed">;
|
|
538
|
+
data: z.ZodObject<{
|
|
539
|
+
planId: z.ZodString;
|
|
540
|
+
stepNumber: z.ZodNumber;
|
|
541
|
+
stepDescription: z.ZodString;
|
|
542
|
+
/** Step execution duration in milliseconds */
|
|
543
|
+
duration: z.ZodNumber;
|
|
544
|
+
}, "strip", z.ZodTypeAny, {
|
|
545
|
+
duration: number;
|
|
546
|
+
stepNumber: number;
|
|
547
|
+
planId: string;
|
|
548
|
+
stepDescription: string;
|
|
549
|
+
}, {
|
|
550
|
+
duration: number;
|
|
551
|
+
stepNumber: number;
|
|
552
|
+
planId: string;
|
|
553
|
+
stepDescription: string;
|
|
554
|
+
}>;
|
|
555
|
+
}, "strip", z.ZodTypeAny, {
|
|
556
|
+
type: "plan_step_completed";
|
|
557
|
+
data: {
|
|
558
|
+
duration: number;
|
|
559
|
+
stepNumber: number;
|
|
560
|
+
planId: string;
|
|
561
|
+
stepDescription: string;
|
|
562
|
+
};
|
|
563
|
+
requestId: string;
|
|
564
|
+
timestamp?: number | undefined;
|
|
565
|
+
}, {
|
|
566
|
+
type: "plan_step_completed";
|
|
567
|
+
data: {
|
|
568
|
+
duration: number;
|
|
569
|
+
stepNumber: number;
|
|
570
|
+
planId: string;
|
|
571
|
+
stepDescription: string;
|
|
572
|
+
};
|
|
573
|
+
requestId: string;
|
|
574
|
+
timestamp?: number | undefined;
|
|
575
|
+
}>;
|
|
576
|
+
/**
|
|
577
|
+
* Plan invalidated event schema - emitted when a plan can no longer be executed
|
|
578
|
+
*/
|
|
579
|
+
export declare const planInvalidatedEventSchema: z.ZodObject<{
|
|
580
|
+
requestId: z.ZodString;
|
|
581
|
+
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
582
|
+
} & {
|
|
583
|
+
type: z.ZodLiteral<"plan_invalidated">;
|
|
584
|
+
data: z.ZodObject<{
|
|
585
|
+
planId: z.ZodString;
|
|
586
|
+
reason: z.ZodString;
|
|
587
|
+
failedStep: z.ZodNumber;
|
|
588
|
+
completedSteps: z.ZodArray<z.ZodNumber, "many">;
|
|
589
|
+
}, "strip", z.ZodTypeAny, {
|
|
590
|
+
planId: string;
|
|
591
|
+
reason: string;
|
|
592
|
+
failedStep: number;
|
|
593
|
+
completedSteps: number[];
|
|
594
|
+
}, {
|
|
595
|
+
planId: string;
|
|
596
|
+
reason: string;
|
|
597
|
+
failedStep: number;
|
|
598
|
+
completedSteps: number[];
|
|
599
|
+
}>;
|
|
600
|
+
}, "strip", z.ZodTypeAny, {
|
|
601
|
+
type: "plan_invalidated";
|
|
602
|
+
data: {
|
|
603
|
+
planId: string;
|
|
604
|
+
reason: string;
|
|
605
|
+
failedStep: number;
|
|
606
|
+
completedSteps: number[];
|
|
607
|
+
};
|
|
608
|
+
requestId: string;
|
|
609
|
+
timestamp?: number | undefined;
|
|
610
|
+
}, {
|
|
611
|
+
type: "plan_invalidated";
|
|
612
|
+
data: {
|
|
613
|
+
planId: string;
|
|
614
|
+
reason: string;
|
|
615
|
+
failedStep: number;
|
|
616
|
+
completedSteps: number[];
|
|
617
|
+
};
|
|
618
|
+
requestId: string;
|
|
619
|
+
timestamp?: number | undefined;
|
|
620
|
+
}>;
|
|
621
|
+
/**
|
|
622
|
+
* Replan started event schema - emitted when re-planning begins
|
|
623
|
+
*/
|
|
624
|
+
export declare const replanStartedEventSchema: z.ZodObject<{
|
|
625
|
+
requestId: z.ZodString;
|
|
626
|
+
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
627
|
+
} & {
|
|
628
|
+
type: z.ZodLiteral<"replan_started">;
|
|
629
|
+
data: z.ZodObject<{
|
|
630
|
+
previousPlanId: z.ZodString;
|
|
631
|
+
reason: z.ZodString;
|
|
632
|
+
}, "strip", z.ZodTypeAny, {
|
|
633
|
+
previousPlanId: string;
|
|
634
|
+
reason: string;
|
|
635
|
+
}, {
|
|
636
|
+
previousPlanId: string;
|
|
637
|
+
reason: string;
|
|
638
|
+
}>;
|
|
639
|
+
}, "strip", z.ZodTypeAny, {
|
|
640
|
+
type: "replan_started";
|
|
641
|
+
data: {
|
|
642
|
+
previousPlanId: string;
|
|
643
|
+
reason: string;
|
|
644
|
+
};
|
|
645
|
+
requestId: string;
|
|
646
|
+
timestamp?: number | undefined;
|
|
647
|
+
}, {
|
|
648
|
+
type: "replan_started";
|
|
649
|
+
data: {
|
|
650
|
+
previousPlanId: string;
|
|
651
|
+
reason: string;
|
|
652
|
+
};
|
|
653
|
+
requestId: string;
|
|
654
|
+
timestamp?: number | undefined;
|
|
655
|
+
}>;
|
|
656
|
+
/**
|
|
657
|
+
* Replan complete event schema - emitted when re-planning finishes
|
|
658
|
+
*/
|
|
659
|
+
export declare const replanCompleteEventSchema: z.ZodObject<{
|
|
660
|
+
requestId: z.ZodString;
|
|
661
|
+
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
662
|
+
} & {
|
|
663
|
+
type: z.ZodLiteral<"replan_complete">;
|
|
664
|
+
data: z.ZodObject<{
|
|
665
|
+
previousPlanId: z.ZodString;
|
|
666
|
+
newPlanId: z.ZodString;
|
|
667
|
+
newVersion: z.ZodNumber;
|
|
668
|
+
preservedSteps: z.ZodArray<z.ZodNumber, "many">;
|
|
669
|
+
}, "strip", z.ZodTypeAny, {
|
|
670
|
+
previousPlanId: string;
|
|
671
|
+
preservedSteps: number[];
|
|
672
|
+
newPlanId: string;
|
|
673
|
+
newVersion: number;
|
|
674
|
+
}, {
|
|
675
|
+
previousPlanId: string;
|
|
676
|
+
preservedSteps: number[];
|
|
677
|
+
newPlanId: string;
|
|
678
|
+
newVersion: number;
|
|
679
|
+
}>;
|
|
680
|
+
}, "strip", z.ZodTypeAny, {
|
|
681
|
+
type: "replan_complete";
|
|
682
|
+
data: {
|
|
683
|
+
previousPlanId: string;
|
|
684
|
+
preservedSteps: number[];
|
|
685
|
+
newPlanId: string;
|
|
686
|
+
newVersion: number;
|
|
687
|
+
};
|
|
688
|
+
requestId: string;
|
|
689
|
+
timestamp?: number | undefined;
|
|
690
|
+
}, {
|
|
691
|
+
type: "replan_complete";
|
|
692
|
+
data: {
|
|
693
|
+
previousPlanId: string;
|
|
694
|
+
preservedSteps: number[];
|
|
695
|
+
newPlanId: string;
|
|
696
|
+
newVersion: number;
|
|
697
|
+
};
|
|
698
|
+
requestId: string;
|
|
699
|
+
timestamp?: number | undefined;
|
|
700
|
+
}>;
|
|
701
|
+
/**
|
|
702
|
+
* Plan execution complete event schema - emitted when plan execution finishes
|
|
703
|
+
*/
|
|
704
|
+
export declare const planExecutionCompleteEventSchema: z.ZodObject<{
|
|
705
|
+
requestId: z.ZodString;
|
|
706
|
+
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
707
|
+
} & {
|
|
708
|
+
type: z.ZodLiteral<"plan_execution_complete">;
|
|
709
|
+
data: z.ZodObject<{
|
|
710
|
+
planId: z.ZodString;
|
|
711
|
+
status: z.ZodEnum<["success", "partial", "failed"]>;
|
|
712
|
+
completedSteps: z.ZodNumber;
|
|
713
|
+
totalSteps: z.ZodNumber;
|
|
714
|
+
/** Total plan execution duration in milliseconds */
|
|
715
|
+
duration: z.ZodNumber;
|
|
716
|
+
}, "strip", z.ZodTypeAny, {
|
|
717
|
+
status: "failed" | "success" | "partial";
|
|
718
|
+
duration: number;
|
|
719
|
+
planId: string;
|
|
720
|
+
completedSteps: number;
|
|
721
|
+
totalSteps: number;
|
|
722
|
+
}, {
|
|
723
|
+
status: "failed" | "success" | "partial";
|
|
724
|
+
duration: number;
|
|
725
|
+
planId: string;
|
|
726
|
+
completedSteps: number;
|
|
727
|
+
totalSteps: number;
|
|
728
|
+
}>;
|
|
729
|
+
}, "strip", z.ZodTypeAny, {
|
|
730
|
+
type: "plan_execution_complete";
|
|
731
|
+
data: {
|
|
732
|
+
status: "failed" | "success" | "partial";
|
|
733
|
+
duration: number;
|
|
734
|
+
planId: string;
|
|
735
|
+
completedSteps: number;
|
|
736
|
+
totalSteps: number;
|
|
737
|
+
};
|
|
738
|
+
requestId: string;
|
|
739
|
+
timestamp?: number | undefined;
|
|
740
|
+
}, {
|
|
741
|
+
type: "plan_execution_complete";
|
|
742
|
+
data: {
|
|
743
|
+
status: "failed" | "success" | "partial";
|
|
744
|
+
duration: number;
|
|
745
|
+
planId: string;
|
|
746
|
+
completedSteps: number;
|
|
747
|
+
totalSteps: number;
|
|
748
|
+
};
|
|
749
|
+
requestId: string;
|
|
750
|
+
timestamp?: number | undefined;
|
|
751
|
+
}>;
|
|
475
752
|
/**
|
|
476
753
|
* Schema for validating telemetry events.
|
|
477
754
|
* Discriminated union using the "type" field.
|
|
@@ -878,6 +1155,259 @@ export declare const telemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
878
1155
|
};
|
|
879
1156
|
requestId: string;
|
|
880
1157
|
timestamp?: number | undefined;
|
|
1158
|
+
}>, z.ZodObject<{
|
|
1159
|
+
requestId: z.ZodString;
|
|
1160
|
+
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
1161
|
+
} & {
|
|
1162
|
+
type: z.ZodLiteral<"plan_generated">;
|
|
1163
|
+
data: z.ZodObject<{
|
|
1164
|
+
planId: z.ZodString;
|
|
1165
|
+
version: z.ZodNumber;
|
|
1166
|
+
complexity: z.ZodEnum<["low", "medium", "high"]>;
|
|
1167
|
+
stepCount: z.ZodNumber;
|
|
1168
|
+
autoExecutable: z.ZodBoolean;
|
|
1169
|
+
recommendedModel: z.ZodString;
|
|
1170
|
+
}, "strip", z.ZodTypeAny, {
|
|
1171
|
+
complexity: "low" | "medium" | "high";
|
|
1172
|
+
recommendedModel: string;
|
|
1173
|
+
planId: string;
|
|
1174
|
+
version: number;
|
|
1175
|
+
autoExecutable: boolean;
|
|
1176
|
+
stepCount: number;
|
|
1177
|
+
}, {
|
|
1178
|
+
complexity: "low" | "medium" | "high";
|
|
1179
|
+
recommendedModel: string;
|
|
1180
|
+
planId: string;
|
|
1181
|
+
version: number;
|
|
1182
|
+
autoExecutable: boolean;
|
|
1183
|
+
stepCount: number;
|
|
1184
|
+
}>;
|
|
1185
|
+
}, "strip", z.ZodTypeAny, {
|
|
1186
|
+
type: "plan_generated";
|
|
1187
|
+
data: {
|
|
1188
|
+
complexity: "low" | "medium" | "high";
|
|
1189
|
+
recommendedModel: string;
|
|
1190
|
+
planId: string;
|
|
1191
|
+
version: number;
|
|
1192
|
+
autoExecutable: boolean;
|
|
1193
|
+
stepCount: number;
|
|
1194
|
+
};
|
|
1195
|
+
requestId: string;
|
|
1196
|
+
timestamp?: number | undefined;
|
|
1197
|
+
}, {
|
|
1198
|
+
type: "plan_generated";
|
|
1199
|
+
data: {
|
|
1200
|
+
complexity: "low" | "medium" | "high";
|
|
1201
|
+
recommendedModel: string;
|
|
1202
|
+
planId: string;
|
|
1203
|
+
version: number;
|
|
1204
|
+
autoExecutable: boolean;
|
|
1205
|
+
stepCount: number;
|
|
1206
|
+
};
|
|
1207
|
+
requestId: string;
|
|
1208
|
+
timestamp?: number | undefined;
|
|
1209
|
+
}>, z.ZodObject<{
|
|
1210
|
+
requestId: z.ZodString;
|
|
1211
|
+
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
1212
|
+
} & {
|
|
1213
|
+
type: z.ZodLiteral<"plan_step_completed">;
|
|
1214
|
+
data: z.ZodObject<{
|
|
1215
|
+
planId: z.ZodString;
|
|
1216
|
+
stepNumber: z.ZodNumber;
|
|
1217
|
+
stepDescription: z.ZodString;
|
|
1218
|
+
/** Step execution duration in milliseconds */
|
|
1219
|
+
duration: z.ZodNumber;
|
|
1220
|
+
}, "strip", z.ZodTypeAny, {
|
|
1221
|
+
duration: number;
|
|
1222
|
+
stepNumber: number;
|
|
1223
|
+
planId: string;
|
|
1224
|
+
stepDescription: string;
|
|
1225
|
+
}, {
|
|
1226
|
+
duration: number;
|
|
1227
|
+
stepNumber: number;
|
|
1228
|
+
planId: string;
|
|
1229
|
+
stepDescription: string;
|
|
1230
|
+
}>;
|
|
1231
|
+
}, "strip", z.ZodTypeAny, {
|
|
1232
|
+
type: "plan_step_completed";
|
|
1233
|
+
data: {
|
|
1234
|
+
duration: number;
|
|
1235
|
+
stepNumber: number;
|
|
1236
|
+
planId: string;
|
|
1237
|
+
stepDescription: string;
|
|
1238
|
+
};
|
|
1239
|
+
requestId: string;
|
|
1240
|
+
timestamp?: number | undefined;
|
|
1241
|
+
}, {
|
|
1242
|
+
type: "plan_step_completed";
|
|
1243
|
+
data: {
|
|
1244
|
+
duration: number;
|
|
1245
|
+
stepNumber: number;
|
|
1246
|
+
planId: string;
|
|
1247
|
+
stepDescription: string;
|
|
1248
|
+
};
|
|
1249
|
+
requestId: string;
|
|
1250
|
+
timestamp?: number | undefined;
|
|
1251
|
+
}>, z.ZodObject<{
|
|
1252
|
+
requestId: z.ZodString;
|
|
1253
|
+
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
1254
|
+
} & {
|
|
1255
|
+
type: z.ZodLiteral<"plan_invalidated">;
|
|
1256
|
+
data: z.ZodObject<{
|
|
1257
|
+
planId: z.ZodString;
|
|
1258
|
+
reason: z.ZodString;
|
|
1259
|
+
failedStep: z.ZodNumber;
|
|
1260
|
+
completedSteps: z.ZodArray<z.ZodNumber, "many">;
|
|
1261
|
+
}, "strip", z.ZodTypeAny, {
|
|
1262
|
+
planId: string;
|
|
1263
|
+
reason: string;
|
|
1264
|
+
failedStep: number;
|
|
1265
|
+
completedSteps: number[];
|
|
1266
|
+
}, {
|
|
1267
|
+
planId: string;
|
|
1268
|
+
reason: string;
|
|
1269
|
+
failedStep: number;
|
|
1270
|
+
completedSteps: number[];
|
|
1271
|
+
}>;
|
|
1272
|
+
}, "strip", z.ZodTypeAny, {
|
|
1273
|
+
type: "plan_invalidated";
|
|
1274
|
+
data: {
|
|
1275
|
+
planId: string;
|
|
1276
|
+
reason: string;
|
|
1277
|
+
failedStep: number;
|
|
1278
|
+
completedSteps: number[];
|
|
1279
|
+
};
|
|
1280
|
+
requestId: string;
|
|
1281
|
+
timestamp?: number | undefined;
|
|
1282
|
+
}, {
|
|
1283
|
+
type: "plan_invalidated";
|
|
1284
|
+
data: {
|
|
1285
|
+
planId: string;
|
|
1286
|
+
reason: string;
|
|
1287
|
+
failedStep: number;
|
|
1288
|
+
completedSteps: number[];
|
|
1289
|
+
};
|
|
1290
|
+
requestId: string;
|
|
1291
|
+
timestamp?: number | undefined;
|
|
1292
|
+
}>, z.ZodObject<{
|
|
1293
|
+
requestId: z.ZodString;
|
|
1294
|
+
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
1295
|
+
} & {
|
|
1296
|
+
type: z.ZodLiteral<"replan_started">;
|
|
1297
|
+
data: z.ZodObject<{
|
|
1298
|
+
previousPlanId: z.ZodString;
|
|
1299
|
+
reason: z.ZodString;
|
|
1300
|
+
}, "strip", z.ZodTypeAny, {
|
|
1301
|
+
previousPlanId: string;
|
|
1302
|
+
reason: string;
|
|
1303
|
+
}, {
|
|
1304
|
+
previousPlanId: string;
|
|
1305
|
+
reason: string;
|
|
1306
|
+
}>;
|
|
1307
|
+
}, "strip", z.ZodTypeAny, {
|
|
1308
|
+
type: "replan_started";
|
|
1309
|
+
data: {
|
|
1310
|
+
previousPlanId: string;
|
|
1311
|
+
reason: string;
|
|
1312
|
+
};
|
|
1313
|
+
requestId: string;
|
|
1314
|
+
timestamp?: number | undefined;
|
|
1315
|
+
}, {
|
|
1316
|
+
type: "replan_started";
|
|
1317
|
+
data: {
|
|
1318
|
+
previousPlanId: string;
|
|
1319
|
+
reason: string;
|
|
1320
|
+
};
|
|
1321
|
+
requestId: string;
|
|
1322
|
+
timestamp?: number | undefined;
|
|
1323
|
+
}>, z.ZodObject<{
|
|
1324
|
+
requestId: z.ZodString;
|
|
1325
|
+
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
1326
|
+
} & {
|
|
1327
|
+
type: z.ZodLiteral<"replan_complete">;
|
|
1328
|
+
data: z.ZodObject<{
|
|
1329
|
+
previousPlanId: z.ZodString;
|
|
1330
|
+
newPlanId: z.ZodString;
|
|
1331
|
+
newVersion: z.ZodNumber;
|
|
1332
|
+
preservedSteps: z.ZodArray<z.ZodNumber, "many">;
|
|
1333
|
+
}, "strip", z.ZodTypeAny, {
|
|
1334
|
+
previousPlanId: string;
|
|
1335
|
+
preservedSteps: number[];
|
|
1336
|
+
newPlanId: string;
|
|
1337
|
+
newVersion: number;
|
|
1338
|
+
}, {
|
|
1339
|
+
previousPlanId: string;
|
|
1340
|
+
preservedSteps: number[];
|
|
1341
|
+
newPlanId: string;
|
|
1342
|
+
newVersion: number;
|
|
1343
|
+
}>;
|
|
1344
|
+
}, "strip", z.ZodTypeAny, {
|
|
1345
|
+
type: "replan_complete";
|
|
1346
|
+
data: {
|
|
1347
|
+
previousPlanId: string;
|
|
1348
|
+
preservedSteps: number[];
|
|
1349
|
+
newPlanId: string;
|
|
1350
|
+
newVersion: number;
|
|
1351
|
+
};
|
|
1352
|
+
requestId: string;
|
|
1353
|
+
timestamp?: number | undefined;
|
|
1354
|
+
}, {
|
|
1355
|
+
type: "replan_complete";
|
|
1356
|
+
data: {
|
|
1357
|
+
previousPlanId: string;
|
|
1358
|
+
preservedSteps: number[];
|
|
1359
|
+
newPlanId: string;
|
|
1360
|
+
newVersion: number;
|
|
1361
|
+
};
|
|
1362
|
+
requestId: string;
|
|
1363
|
+
timestamp?: number | undefined;
|
|
1364
|
+
}>, z.ZodObject<{
|
|
1365
|
+
requestId: z.ZodString;
|
|
1366
|
+
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
1367
|
+
} & {
|
|
1368
|
+
type: z.ZodLiteral<"plan_execution_complete">;
|
|
1369
|
+
data: z.ZodObject<{
|
|
1370
|
+
planId: z.ZodString;
|
|
1371
|
+
status: z.ZodEnum<["success", "partial", "failed"]>;
|
|
1372
|
+
completedSteps: z.ZodNumber;
|
|
1373
|
+
totalSteps: z.ZodNumber;
|
|
1374
|
+
/** Total plan execution duration in milliseconds */
|
|
1375
|
+
duration: z.ZodNumber;
|
|
1376
|
+
}, "strip", z.ZodTypeAny, {
|
|
1377
|
+
status: "failed" | "success" | "partial";
|
|
1378
|
+
duration: number;
|
|
1379
|
+
planId: string;
|
|
1380
|
+
completedSteps: number;
|
|
1381
|
+
totalSteps: number;
|
|
1382
|
+
}, {
|
|
1383
|
+
status: "failed" | "success" | "partial";
|
|
1384
|
+
duration: number;
|
|
1385
|
+
planId: string;
|
|
1386
|
+
completedSteps: number;
|
|
1387
|
+
totalSteps: number;
|
|
1388
|
+
}>;
|
|
1389
|
+
}, "strip", z.ZodTypeAny, {
|
|
1390
|
+
type: "plan_execution_complete";
|
|
1391
|
+
data: {
|
|
1392
|
+
status: "failed" | "success" | "partial";
|
|
1393
|
+
duration: number;
|
|
1394
|
+
planId: string;
|
|
1395
|
+
completedSteps: number;
|
|
1396
|
+
totalSteps: number;
|
|
1397
|
+
};
|
|
1398
|
+
requestId: string;
|
|
1399
|
+
timestamp?: number | undefined;
|
|
1400
|
+
}, {
|
|
1401
|
+
type: "plan_execution_complete";
|
|
1402
|
+
data: {
|
|
1403
|
+
status: "failed" | "success" | "partial";
|
|
1404
|
+
duration: number;
|
|
1405
|
+
planId: string;
|
|
1406
|
+
completedSteps: number;
|
|
1407
|
+
totalSteps: number;
|
|
1408
|
+
};
|
|
1409
|
+
requestId: string;
|
|
1410
|
+
timestamp?: number | undefined;
|
|
881
1411
|
}>]>;
|
|
882
1412
|
/**
|
|
883
1413
|
* Schema for validating result events from the streaming endpoint.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telemetryEvents.d.ts","sourceRoot":"","sources":["../../src/schemas/telemetryEvents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"telemetryEvents.d.ts","sourceRoot":"","sources":["../../src/schemas/telemetryEvents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;;GAGG;AACH,eAAO,MAAM,mBAAmB,sTAmBtB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAInC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;EAE/B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;EAExC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;EAKpC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOlC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIhC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { IllaToolErrorSchema } from "./illaTools.js";
|
|
3
3
|
import { PendingToolCallSchema } from "./messages.js";
|
|
4
|
+
import { planComplexityValues, planExecutionStatusValues } from "./planning.js";
|
|
4
5
|
/**
|
|
5
6
|
* Telemetry event type enum values.
|
|
6
7
|
* Used to infer TelemetryEventType in types/telemetry.ts
|
|
@@ -18,6 +19,12 @@ export const telemetryEventTypes = [
|
|
|
18
19
|
"error",
|
|
19
20
|
"connected",
|
|
20
21
|
"stream_end",
|
|
22
|
+
"plan_generated",
|
|
23
|
+
"plan_step_completed",
|
|
24
|
+
"plan_invalidated",
|
|
25
|
+
"replan_started",
|
|
26
|
+
"replan_complete",
|
|
27
|
+
"plan_execution_complete",
|
|
21
28
|
];
|
|
22
29
|
/**
|
|
23
30
|
* Base telemetry event schema with common fields
|
|
@@ -156,6 +163,81 @@ export const errorTelemetryEventSchema = baseTelemetryEventSchema.extend({
|
|
|
156
163
|
code: z.string().optional(),
|
|
157
164
|
}),
|
|
158
165
|
});
|
|
166
|
+
/**
|
|
167
|
+
* Plan generated event schema - emitted when a plan is created
|
|
168
|
+
*/
|
|
169
|
+
export const planGeneratedEventSchema = baseTelemetryEventSchema.extend({
|
|
170
|
+
type: z.literal("plan_generated"),
|
|
171
|
+
data: z.object({
|
|
172
|
+
planId: z.string().uuid(),
|
|
173
|
+
version: z.number().int().positive(),
|
|
174
|
+
complexity: z.enum(planComplexityValues),
|
|
175
|
+
stepCount: z.number().int().nonnegative(),
|
|
176
|
+
autoExecutable: z.boolean(),
|
|
177
|
+
recommendedModel: z.string(),
|
|
178
|
+
}),
|
|
179
|
+
});
|
|
180
|
+
/**
|
|
181
|
+
* Plan step completed event schema - emitted when a plan step finishes
|
|
182
|
+
*/
|
|
183
|
+
export const planStepCompletedEventSchema = baseTelemetryEventSchema.extend({
|
|
184
|
+
type: z.literal("plan_step_completed"),
|
|
185
|
+
data: z.object({
|
|
186
|
+
planId: z.string().uuid(),
|
|
187
|
+
stepNumber: z.number().int().positive(),
|
|
188
|
+
stepDescription: z.string(),
|
|
189
|
+
/** Step execution duration in milliseconds */
|
|
190
|
+
duration: z.number().nonnegative(),
|
|
191
|
+
}),
|
|
192
|
+
});
|
|
193
|
+
/**
|
|
194
|
+
* Plan invalidated event schema - emitted when a plan can no longer be executed
|
|
195
|
+
*/
|
|
196
|
+
export const planInvalidatedEventSchema = baseTelemetryEventSchema.extend({
|
|
197
|
+
type: z.literal("plan_invalidated"),
|
|
198
|
+
data: z.object({
|
|
199
|
+
planId: z.string().uuid(),
|
|
200
|
+
reason: z.string(),
|
|
201
|
+
failedStep: z.number().int().positive(),
|
|
202
|
+
completedSteps: z.array(z.number().int().positive()),
|
|
203
|
+
}),
|
|
204
|
+
});
|
|
205
|
+
/**
|
|
206
|
+
* Replan started event schema - emitted when re-planning begins
|
|
207
|
+
*/
|
|
208
|
+
export const replanStartedEventSchema = baseTelemetryEventSchema.extend({
|
|
209
|
+
type: z.literal("replan_started"),
|
|
210
|
+
data: z.object({
|
|
211
|
+
previousPlanId: z.string().uuid(),
|
|
212
|
+
reason: z.string(),
|
|
213
|
+
}),
|
|
214
|
+
});
|
|
215
|
+
/**
|
|
216
|
+
* Replan complete event schema - emitted when re-planning finishes
|
|
217
|
+
*/
|
|
218
|
+
export const replanCompleteEventSchema = baseTelemetryEventSchema.extend({
|
|
219
|
+
type: z.literal("replan_complete"),
|
|
220
|
+
data: z.object({
|
|
221
|
+
previousPlanId: z.string().uuid(),
|
|
222
|
+
newPlanId: z.string().uuid(),
|
|
223
|
+
newVersion: z.number().int().positive(),
|
|
224
|
+
preservedSteps: z.array(z.number().int().positive()),
|
|
225
|
+
}),
|
|
226
|
+
});
|
|
227
|
+
/**
|
|
228
|
+
* Plan execution complete event schema - emitted when plan execution finishes
|
|
229
|
+
*/
|
|
230
|
+
export const planExecutionCompleteEventSchema = baseTelemetryEventSchema.extend({
|
|
231
|
+
type: z.literal("plan_execution_complete"),
|
|
232
|
+
data: z.object({
|
|
233
|
+
planId: z.string().uuid(),
|
|
234
|
+
status: z.enum(planExecutionStatusValues),
|
|
235
|
+
completedSteps: z.number().int().nonnegative(),
|
|
236
|
+
totalSteps: z.number().int().nonnegative(),
|
|
237
|
+
/** Total plan execution duration in milliseconds */
|
|
238
|
+
duration: z.number().nonnegative(),
|
|
239
|
+
}),
|
|
240
|
+
});
|
|
159
241
|
/**
|
|
160
242
|
* Schema for validating telemetry events.
|
|
161
243
|
* Discriminated union using the "type" field.
|
|
@@ -173,6 +255,12 @@ export const telemetryEventSchema = z.discriminatedUnion("type", [
|
|
|
173
255
|
textDeltaEventSchema,
|
|
174
256
|
finishEventSchema,
|
|
175
257
|
errorTelemetryEventSchema,
|
|
258
|
+
planGeneratedEventSchema,
|
|
259
|
+
planStepCompletedEventSchema,
|
|
260
|
+
planInvalidatedEventSchema,
|
|
261
|
+
replanStartedEventSchema,
|
|
262
|
+
replanCompleteEventSchema,
|
|
263
|
+
planExecutionCompleteEventSchema,
|
|
176
264
|
]);
|
|
177
265
|
/**
|
|
178
266
|
* Message schema for result events.
|