@myagentroam/protocol 0.9.7 → 0.9.9
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/index.d.ts +746 -476
- package/dist/index.js +23 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -662,6 +662,276 @@ export type RunnerDefinition = z.infer<typeof runnerDefinitionSchema>;
|
|
|
662
662
|
export declare const runnerDefinitions: Readonly<Record<RunnerName, RunnerDefinition>>;
|
|
663
663
|
export declare const agentRunStatusSchema: z.ZodEnum<["QUEUED", "STARTING", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED", "INTERRUPTED"]>;
|
|
664
664
|
export type AgentRunStatus = z.infer<typeof agentRunStatusSchema>;
|
|
665
|
+
export declare const recentRunSchema: z.ZodObject<{
|
|
666
|
+
runId: z.ZodString;
|
|
667
|
+
nodeId: z.ZodString;
|
|
668
|
+
workspaceId: z.ZodString;
|
|
669
|
+
workspaceName: z.ZodOptional<z.ZodString>;
|
|
670
|
+
sessionId: z.ZodString;
|
|
671
|
+
sessionTitle: z.ZodString;
|
|
672
|
+
runner: z.ZodEnum<["codex", "claude-code", "opencode"]>;
|
|
673
|
+
status: z.ZodEnum<["QUEUED", "STARTING", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED", "INTERRUPTED"]>;
|
|
674
|
+
createdAt: z.ZodNumber;
|
|
675
|
+
startedAt: z.ZodNullable<z.ZodNumber>;
|
|
676
|
+
completedAt: z.ZodNullable<z.ZodNumber>;
|
|
677
|
+
sortAt: z.ZodNumber;
|
|
678
|
+
updatedAt: z.ZodNumber;
|
|
679
|
+
version: z.ZodNumber;
|
|
680
|
+
}, "strip", z.ZodTypeAny, {
|
|
681
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
682
|
+
createdAt: number;
|
|
683
|
+
updatedAt: number;
|
|
684
|
+
nodeId: string;
|
|
685
|
+
workspaceId: string;
|
|
686
|
+
runId: string;
|
|
687
|
+
version: number;
|
|
688
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
689
|
+
sessionId: string;
|
|
690
|
+
sessionTitle: string;
|
|
691
|
+
startedAt: number | null;
|
|
692
|
+
completedAt: number | null;
|
|
693
|
+
sortAt: number;
|
|
694
|
+
workspaceName?: string | undefined;
|
|
695
|
+
}, {
|
|
696
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
697
|
+
createdAt: number;
|
|
698
|
+
updatedAt: number;
|
|
699
|
+
nodeId: string;
|
|
700
|
+
workspaceId: string;
|
|
701
|
+
runId: string;
|
|
702
|
+
version: number;
|
|
703
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
704
|
+
sessionId: string;
|
|
705
|
+
sessionTitle: string;
|
|
706
|
+
startedAt: number | null;
|
|
707
|
+
completedAt: number | null;
|
|
708
|
+
sortAt: number;
|
|
709
|
+
workspaceName?: string | undefined;
|
|
710
|
+
}>;
|
|
711
|
+
export type RecentRun = z.infer<typeof recentRunSchema>;
|
|
712
|
+
export declare const recentRunProjectionSchema: z.ZodObject<Omit<{
|
|
713
|
+
runId: z.ZodString;
|
|
714
|
+
nodeId: z.ZodString;
|
|
715
|
+
workspaceId: z.ZodString;
|
|
716
|
+
workspaceName: z.ZodOptional<z.ZodString>;
|
|
717
|
+
sessionId: z.ZodString;
|
|
718
|
+
sessionTitle: z.ZodString;
|
|
719
|
+
runner: z.ZodEnum<["codex", "claude-code", "opencode"]>;
|
|
720
|
+
status: z.ZodEnum<["QUEUED", "STARTING", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED", "INTERRUPTED"]>;
|
|
721
|
+
createdAt: z.ZodNumber;
|
|
722
|
+
startedAt: z.ZodNullable<z.ZodNumber>;
|
|
723
|
+
completedAt: z.ZodNullable<z.ZodNumber>;
|
|
724
|
+
sortAt: z.ZodNumber;
|
|
725
|
+
updatedAt: z.ZodNumber;
|
|
726
|
+
version: z.ZodNumber;
|
|
727
|
+
}, "workspaceName"> & {
|
|
728
|
+
userId: z.ZodNumber;
|
|
729
|
+
}, "strip", z.ZodTypeAny, {
|
|
730
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
731
|
+
createdAt: number;
|
|
732
|
+
updatedAt: number;
|
|
733
|
+
nodeId: string;
|
|
734
|
+
workspaceId: string;
|
|
735
|
+
runId: string;
|
|
736
|
+
version: number;
|
|
737
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
738
|
+
sessionId: string;
|
|
739
|
+
sessionTitle: string;
|
|
740
|
+
startedAt: number | null;
|
|
741
|
+
completedAt: number | null;
|
|
742
|
+
sortAt: number;
|
|
743
|
+
userId: number;
|
|
744
|
+
}, {
|
|
745
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
746
|
+
createdAt: number;
|
|
747
|
+
updatedAt: number;
|
|
748
|
+
nodeId: string;
|
|
749
|
+
workspaceId: string;
|
|
750
|
+
runId: string;
|
|
751
|
+
version: number;
|
|
752
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
753
|
+
sessionId: string;
|
|
754
|
+
sessionTitle: string;
|
|
755
|
+
startedAt: number | null;
|
|
756
|
+
completedAt: number | null;
|
|
757
|
+
sortAt: number;
|
|
758
|
+
userId: number;
|
|
759
|
+
}>;
|
|
760
|
+
export type RecentRunProjection = z.infer<typeof recentRunProjectionSchema>;
|
|
761
|
+
export declare const recentRunProjectionMessageSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
762
|
+
kind: z.ZodLiteral<"UPDATE">;
|
|
763
|
+
run: z.ZodObject<Omit<{
|
|
764
|
+
runId: z.ZodString;
|
|
765
|
+
nodeId: z.ZodString;
|
|
766
|
+
workspaceId: z.ZodString;
|
|
767
|
+
workspaceName: z.ZodOptional<z.ZodString>;
|
|
768
|
+
sessionId: z.ZodString;
|
|
769
|
+
sessionTitle: z.ZodString;
|
|
770
|
+
runner: z.ZodEnum<["codex", "claude-code", "opencode"]>;
|
|
771
|
+
status: z.ZodEnum<["QUEUED", "STARTING", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED", "INTERRUPTED"]>;
|
|
772
|
+
createdAt: z.ZodNumber;
|
|
773
|
+
startedAt: z.ZodNullable<z.ZodNumber>;
|
|
774
|
+
completedAt: z.ZodNullable<z.ZodNumber>;
|
|
775
|
+
sortAt: z.ZodNumber;
|
|
776
|
+
updatedAt: z.ZodNumber;
|
|
777
|
+
version: z.ZodNumber;
|
|
778
|
+
}, "workspaceName"> & {
|
|
779
|
+
userId: z.ZodNumber;
|
|
780
|
+
}, "strip", z.ZodTypeAny, {
|
|
781
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
782
|
+
createdAt: number;
|
|
783
|
+
updatedAt: number;
|
|
784
|
+
nodeId: string;
|
|
785
|
+
workspaceId: string;
|
|
786
|
+
runId: string;
|
|
787
|
+
version: number;
|
|
788
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
789
|
+
sessionId: string;
|
|
790
|
+
sessionTitle: string;
|
|
791
|
+
startedAt: number | null;
|
|
792
|
+
completedAt: number | null;
|
|
793
|
+
sortAt: number;
|
|
794
|
+
userId: number;
|
|
795
|
+
}, {
|
|
796
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
797
|
+
createdAt: number;
|
|
798
|
+
updatedAt: number;
|
|
799
|
+
nodeId: string;
|
|
800
|
+
workspaceId: string;
|
|
801
|
+
runId: string;
|
|
802
|
+
version: number;
|
|
803
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
804
|
+
sessionId: string;
|
|
805
|
+
sessionTitle: string;
|
|
806
|
+
startedAt: number | null;
|
|
807
|
+
completedAt: number | null;
|
|
808
|
+
sortAt: number;
|
|
809
|
+
userId: number;
|
|
810
|
+
}>;
|
|
811
|
+
}, "strip", z.ZodTypeAny, {
|
|
812
|
+
kind: "UPDATE";
|
|
813
|
+
run: {
|
|
814
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
815
|
+
createdAt: number;
|
|
816
|
+
updatedAt: number;
|
|
817
|
+
nodeId: string;
|
|
818
|
+
workspaceId: string;
|
|
819
|
+
runId: string;
|
|
820
|
+
version: number;
|
|
821
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
822
|
+
sessionId: string;
|
|
823
|
+
sessionTitle: string;
|
|
824
|
+
startedAt: number | null;
|
|
825
|
+
completedAt: number | null;
|
|
826
|
+
sortAt: number;
|
|
827
|
+
userId: number;
|
|
828
|
+
};
|
|
829
|
+
}, {
|
|
830
|
+
kind: "UPDATE";
|
|
831
|
+
run: {
|
|
832
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
833
|
+
createdAt: number;
|
|
834
|
+
updatedAt: number;
|
|
835
|
+
nodeId: string;
|
|
836
|
+
workspaceId: string;
|
|
837
|
+
runId: string;
|
|
838
|
+
version: number;
|
|
839
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
840
|
+
sessionId: string;
|
|
841
|
+
sessionTitle: string;
|
|
842
|
+
startedAt: number | null;
|
|
843
|
+
completedAt: number | null;
|
|
844
|
+
sortAt: number;
|
|
845
|
+
userId: number;
|
|
846
|
+
};
|
|
847
|
+
}>, z.ZodObject<{
|
|
848
|
+
kind: z.ZodLiteral<"SNAPSHOT">;
|
|
849
|
+
runs: z.ZodArray<z.ZodObject<Omit<{
|
|
850
|
+
runId: z.ZodString;
|
|
851
|
+
nodeId: z.ZodString;
|
|
852
|
+
workspaceId: z.ZodString;
|
|
853
|
+
workspaceName: z.ZodOptional<z.ZodString>;
|
|
854
|
+
sessionId: z.ZodString;
|
|
855
|
+
sessionTitle: z.ZodString;
|
|
856
|
+
runner: z.ZodEnum<["codex", "claude-code", "opencode"]>;
|
|
857
|
+
status: z.ZodEnum<["QUEUED", "STARTING", "RUNNING", "CANCELLING", "SUCCEEDED", "FAILED", "CANCELLED", "INTERRUPTED"]>;
|
|
858
|
+
createdAt: z.ZodNumber;
|
|
859
|
+
startedAt: z.ZodNullable<z.ZodNumber>;
|
|
860
|
+
completedAt: z.ZodNullable<z.ZodNumber>;
|
|
861
|
+
sortAt: z.ZodNumber;
|
|
862
|
+
updatedAt: z.ZodNumber;
|
|
863
|
+
version: z.ZodNumber;
|
|
864
|
+
}, "workspaceName"> & {
|
|
865
|
+
userId: z.ZodNumber;
|
|
866
|
+
}, "strip", z.ZodTypeAny, {
|
|
867
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
868
|
+
createdAt: number;
|
|
869
|
+
updatedAt: number;
|
|
870
|
+
nodeId: string;
|
|
871
|
+
workspaceId: string;
|
|
872
|
+
runId: string;
|
|
873
|
+
version: number;
|
|
874
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
875
|
+
sessionId: string;
|
|
876
|
+
sessionTitle: string;
|
|
877
|
+
startedAt: number | null;
|
|
878
|
+
completedAt: number | null;
|
|
879
|
+
sortAt: number;
|
|
880
|
+
userId: number;
|
|
881
|
+
}, {
|
|
882
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
883
|
+
createdAt: number;
|
|
884
|
+
updatedAt: number;
|
|
885
|
+
nodeId: string;
|
|
886
|
+
workspaceId: string;
|
|
887
|
+
runId: string;
|
|
888
|
+
version: number;
|
|
889
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
890
|
+
sessionId: string;
|
|
891
|
+
sessionTitle: string;
|
|
892
|
+
startedAt: number | null;
|
|
893
|
+
completedAt: number | null;
|
|
894
|
+
sortAt: number;
|
|
895
|
+
userId: number;
|
|
896
|
+
}>, "many">;
|
|
897
|
+
}, "strip", z.ZodTypeAny, {
|
|
898
|
+
kind: "SNAPSHOT";
|
|
899
|
+
runs: {
|
|
900
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
901
|
+
createdAt: number;
|
|
902
|
+
updatedAt: number;
|
|
903
|
+
nodeId: string;
|
|
904
|
+
workspaceId: string;
|
|
905
|
+
runId: string;
|
|
906
|
+
version: number;
|
|
907
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
908
|
+
sessionId: string;
|
|
909
|
+
sessionTitle: string;
|
|
910
|
+
startedAt: number | null;
|
|
911
|
+
completedAt: number | null;
|
|
912
|
+
sortAt: number;
|
|
913
|
+
userId: number;
|
|
914
|
+
}[];
|
|
915
|
+
}, {
|
|
916
|
+
kind: "SNAPSHOT";
|
|
917
|
+
runs: {
|
|
918
|
+
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
919
|
+
createdAt: number;
|
|
920
|
+
updatedAt: number;
|
|
921
|
+
nodeId: string;
|
|
922
|
+
workspaceId: string;
|
|
923
|
+
runId: string;
|
|
924
|
+
version: number;
|
|
925
|
+
runner: "codex" | "claude-code" | "opencode";
|
|
926
|
+
sessionId: string;
|
|
927
|
+
sessionTitle: string;
|
|
928
|
+
startedAt: number | null;
|
|
929
|
+
completedAt: number | null;
|
|
930
|
+
sortAt: number;
|
|
931
|
+
userId: number;
|
|
932
|
+
}[];
|
|
933
|
+
}>]>;
|
|
934
|
+
export type RecentRunProjectionMessage = z.infer<typeof recentRunProjectionMessageSchema>;
|
|
665
935
|
/** Process-local Workspace FIFO projection; queue contents never enter SQLite. */
|
|
666
936
|
export declare const workspaceQueueItemSchema: z.ZodObject<{
|
|
667
937
|
run: z.ZodObject<{
|
|
@@ -693,6 +963,8 @@ export declare const workspaceQueueItemSchema: z.ZodObject<{
|
|
|
693
963
|
sessionTitle: z.ZodString;
|
|
694
964
|
content: z.ZodString;
|
|
695
965
|
}, "strip", z.ZodTypeAny, {
|
|
966
|
+
sessionId: string;
|
|
967
|
+
sessionTitle: string;
|
|
696
968
|
run: {
|
|
697
969
|
status: "QUEUED";
|
|
698
970
|
id: string;
|
|
@@ -702,10 +974,10 @@ export declare const workspaceQueueItemSchema: z.ZodObject<{
|
|
|
702
974
|
runner: "codex" | "claude-code" | "opencode";
|
|
703
975
|
sessionId: string;
|
|
704
976
|
};
|
|
705
|
-
sessionId: string;
|
|
706
|
-
sessionTitle: string;
|
|
707
977
|
content: string;
|
|
708
978
|
}, {
|
|
979
|
+
sessionId: string;
|
|
980
|
+
sessionTitle: string;
|
|
709
981
|
run: {
|
|
710
982
|
status: "QUEUED";
|
|
711
983
|
id: string;
|
|
@@ -715,8 +987,6 @@ export declare const workspaceQueueItemSchema: z.ZodObject<{
|
|
|
715
987
|
runner: "codex" | "claude-code" | "opencode";
|
|
716
988
|
sessionId: string;
|
|
717
989
|
};
|
|
718
|
-
sessionId: string;
|
|
719
|
-
sessionTitle: string;
|
|
720
990
|
content: string;
|
|
721
991
|
}>;
|
|
722
992
|
export declare const workspaceQueueSchema: z.ZodObject<{
|
|
@@ -752,6 +1022,8 @@ export declare const workspaceQueueSchema: z.ZodObject<{
|
|
|
752
1022
|
sessionTitle: z.ZodString;
|
|
753
1023
|
content: z.ZodString;
|
|
754
1024
|
}, "strip", z.ZodTypeAny, {
|
|
1025
|
+
sessionId: string;
|
|
1026
|
+
sessionTitle: string;
|
|
755
1027
|
run: {
|
|
756
1028
|
status: "QUEUED";
|
|
757
1029
|
id: string;
|
|
@@ -761,10 +1033,10 @@ export declare const workspaceQueueSchema: z.ZodObject<{
|
|
|
761
1033
|
runner: "codex" | "claude-code" | "opencode";
|
|
762
1034
|
sessionId: string;
|
|
763
1035
|
};
|
|
764
|
-
sessionId: string;
|
|
765
|
-
sessionTitle: string;
|
|
766
1036
|
content: string;
|
|
767
1037
|
}, {
|
|
1038
|
+
sessionId: string;
|
|
1039
|
+
sessionTitle: string;
|
|
768
1040
|
run: {
|
|
769
1041
|
status: "QUEUED";
|
|
770
1042
|
id: string;
|
|
@@ -774,14 +1046,14 @@ export declare const workspaceQueueSchema: z.ZodObject<{
|
|
|
774
1046
|
runner: "codex" | "claude-code" | "opencode";
|
|
775
1047
|
sessionId: string;
|
|
776
1048
|
};
|
|
777
|
-
sessionId: string;
|
|
778
|
-
sessionTitle: string;
|
|
779
1049
|
content: string;
|
|
780
1050
|
}>, "many">;
|
|
781
1051
|
}, "strip", z.ZodTypeAny, {
|
|
782
1052
|
version: number;
|
|
783
1053
|
paused: boolean;
|
|
784
1054
|
items: {
|
|
1055
|
+
sessionId: string;
|
|
1056
|
+
sessionTitle: string;
|
|
785
1057
|
run: {
|
|
786
1058
|
status: "QUEUED";
|
|
787
1059
|
id: string;
|
|
@@ -791,14 +1063,14 @@ export declare const workspaceQueueSchema: z.ZodObject<{
|
|
|
791
1063
|
runner: "codex" | "claude-code" | "opencode";
|
|
792
1064
|
sessionId: string;
|
|
793
1065
|
};
|
|
794
|
-
sessionId: string;
|
|
795
|
-
sessionTitle: string;
|
|
796
1066
|
content: string;
|
|
797
1067
|
}[];
|
|
798
1068
|
}, {
|
|
799
1069
|
version: number;
|
|
800
1070
|
paused: boolean;
|
|
801
1071
|
items: {
|
|
1072
|
+
sessionId: string;
|
|
1073
|
+
sessionTitle: string;
|
|
802
1074
|
run: {
|
|
803
1075
|
status: "QUEUED";
|
|
804
1076
|
id: string;
|
|
@@ -808,8 +1080,6 @@ export declare const workspaceQueueSchema: z.ZodObject<{
|
|
|
808
1080
|
runner: "codex" | "claude-code" | "opencode";
|
|
809
1081
|
sessionId: string;
|
|
810
1082
|
};
|
|
811
|
-
sessionId: string;
|
|
812
|
-
sessionTitle: string;
|
|
813
1083
|
content: string;
|
|
814
1084
|
}[];
|
|
815
1085
|
}>;
|
|
@@ -1801,6 +2071,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1801
2071
|
runId: string | null;
|
|
1802
2072
|
kind: "assistant_message";
|
|
1803
2073
|
sessionId: string;
|
|
2074
|
+
startedAt: number | null;
|
|
2075
|
+
completedAt: number | null;
|
|
1804
2076
|
payload: {
|
|
1805
2077
|
model: string | null;
|
|
1806
2078
|
text: string;
|
|
@@ -1810,8 +2082,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1810
2082
|
turnId: string;
|
|
1811
2083
|
parentItemId: string | null;
|
|
1812
2084
|
sourceSequence: number | null;
|
|
1813
|
-
startedAt: number | null;
|
|
1814
|
-
completedAt: number | null;
|
|
1815
2085
|
segmentId?: string | undefined;
|
|
1816
2086
|
segmentIndex?: number | undefined;
|
|
1817
2087
|
}, {
|
|
@@ -1820,6 +2090,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1820
2090
|
runId: string | null;
|
|
1821
2091
|
kind: "assistant_message";
|
|
1822
2092
|
sessionId: string;
|
|
2093
|
+
startedAt: number | null;
|
|
2094
|
+
completedAt: number | null;
|
|
1823
2095
|
payload: {
|
|
1824
2096
|
model: string | null;
|
|
1825
2097
|
text: string;
|
|
@@ -1829,8 +2101,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1829
2101
|
turnId: string;
|
|
1830
2102
|
parentItemId: string | null;
|
|
1831
2103
|
sourceSequence: number | null;
|
|
1832
|
-
startedAt: number | null;
|
|
1833
|
-
completedAt: number | null;
|
|
1834
2104
|
segmentId?: string | undefined;
|
|
1835
2105
|
segmentIndex?: number | undefined;
|
|
1836
2106
|
}>, z.ZodObject<{
|
|
@@ -1905,6 +2175,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1905
2175
|
runId: string | null;
|
|
1906
2176
|
kind: "user_message";
|
|
1907
2177
|
sessionId: string;
|
|
2178
|
+
startedAt: number | null;
|
|
2179
|
+
completedAt: number | null;
|
|
1908
2180
|
payload: {
|
|
1909
2181
|
clientMessageId: string | null;
|
|
1910
2182
|
text: string;
|
|
@@ -1922,8 +2194,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1922
2194
|
turnId: string;
|
|
1923
2195
|
parentItemId: string | null;
|
|
1924
2196
|
sourceSequence: number | null;
|
|
1925
|
-
startedAt: number | null;
|
|
1926
|
-
completedAt: number | null;
|
|
1927
2197
|
segmentId?: string | undefined;
|
|
1928
2198
|
segmentIndex?: number | undefined;
|
|
1929
2199
|
}, {
|
|
@@ -1932,6 +2202,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1932
2202
|
runId: string | null;
|
|
1933
2203
|
kind: "user_message";
|
|
1934
2204
|
sessionId: string;
|
|
2205
|
+
startedAt: number | null;
|
|
2206
|
+
completedAt: number | null;
|
|
1935
2207
|
payload: {
|
|
1936
2208
|
clientMessageId: string | null;
|
|
1937
2209
|
text: string;
|
|
@@ -1949,8 +2221,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1949
2221
|
turnId: string;
|
|
1950
2222
|
parentItemId: string | null;
|
|
1951
2223
|
sourceSequence: number | null;
|
|
1952
|
-
startedAt: number | null;
|
|
1953
|
-
completedAt: number | null;
|
|
1954
2224
|
segmentId?: string | undefined;
|
|
1955
2225
|
segmentIndex?: number | undefined;
|
|
1956
2226
|
}>, z.ZodObject<{
|
|
@@ -1996,6 +2266,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
1996
2266
|
runId: string | null;
|
|
1997
2267
|
kind: "reasoning_summary";
|
|
1998
2268
|
sessionId: string;
|
|
2269
|
+
startedAt: number | null;
|
|
2270
|
+
completedAt: number | null;
|
|
1999
2271
|
payload: {
|
|
2000
2272
|
sections: {
|
|
2001
2273
|
text: string;
|
|
@@ -2006,8 +2278,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2006
2278
|
turnId: string;
|
|
2007
2279
|
parentItemId: string | null;
|
|
2008
2280
|
sourceSequence: number | null;
|
|
2009
|
-
startedAt: number | null;
|
|
2010
|
-
completedAt: number | null;
|
|
2011
2281
|
segmentId?: string | undefined;
|
|
2012
2282
|
segmentIndex?: number | undefined;
|
|
2013
2283
|
}, {
|
|
@@ -2016,6 +2286,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2016
2286
|
runId: string | null;
|
|
2017
2287
|
kind: "reasoning_summary";
|
|
2018
2288
|
sessionId: string;
|
|
2289
|
+
startedAt: number | null;
|
|
2290
|
+
completedAt: number | null;
|
|
2019
2291
|
payload: {
|
|
2020
2292
|
sections: {
|
|
2021
2293
|
text: string;
|
|
@@ -2026,8 +2298,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2026
2298
|
turnId: string;
|
|
2027
2299
|
parentItemId: string | null;
|
|
2028
2300
|
sourceSequence: number | null;
|
|
2029
|
-
startedAt: number | null;
|
|
2030
|
-
completedAt: number | null;
|
|
2031
2301
|
segmentId?: string | undefined;
|
|
2032
2302
|
segmentIndex?: number | undefined;
|
|
2033
2303
|
}>, z.ZodObject<{
|
|
@@ -2081,6 +2351,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2081
2351
|
runId: string | null;
|
|
2082
2352
|
kind: "plan";
|
|
2083
2353
|
sessionId: string;
|
|
2354
|
+
startedAt: number | null;
|
|
2355
|
+
completedAt: number | null;
|
|
2084
2356
|
payload: {
|
|
2085
2357
|
explanation: string | null;
|
|
2086
2358
|
steps: {
|
|
@@ -2093,8 +2365,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2093
2365
|
turnId: string;
|
|
2094
2366
|
parentItemId: string | null;
|
|
2095
2367
|
sourceSequence: number | null;
|
|
2096
|
-
startedAt: number | null;
|
|
2097
|
-
completedAt: number | null;
|
|
2098
2368
|
segmentId?: string | undefined;
|
|
2099
2369
|
segmentIndex?: number | undefined;
|
|
2100
2370
|
}, {
|
|
@@ -2103,6 +2373,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2103
2373
|
runId: string | null;
|
|
2104
2374
|
kind: "plan";
|
|
2105
2375
|
sessionId: string;
|
|
2376
|
+
startedAt: number | null;
|
|
2377
|
+
completedAt: number | null;
|
|
2106
2378
|
payload: {
|
|
2107
2379
|
explanation: string | null;
|
|
2108
2380
|
steps: {
|
|
@@ -2115,8 +2387,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2115
2387
|
turnId: string;
|
|
2116
2388
|
parentItemId: string | null;
|
|
2117
2389
|
sourceSequence: number | null;
|
|
2118
|
-
startedAt: number | null;
|
|
2119
|
-
completedAt: number | null;
|
|
2120
2390
|
segmentId?: string | undefined;
|
|
2121
2391
|
segmentIndex?: number | undefined;
|
|
2122
2392
|
}>, z.ZodObject<{
|
|
@@ -2168,6 +2438,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2168
2438
|
runId: string | null;
|
|
2169
2439
|
kind: "tool_call";
|
|
2170
2440
|
sessionId: string;
|
|
2441
|
+
startedAt: number | null;
|
|
2442
|
+
completedAt: number | null;
|
|
2171
2443
|
payload: {
|
|
2172
2444
|
errorCode: string | null;
|
|
2173
2445
|
namespace: string;
|
|
@@ -2182,8 +2454,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2182
2454
|
turnId: string;
|
|
2183
2455
|
parentItemId: string | null;
|
|
2184
2456
|
sourceSequence: number | null;
|
|
2185
|
-
startedAt: number | null;
|
|
2186
|
-
completedAt: number | null;
|
|
2187
2457
|
segmentId?: string | undefined;
|
|
2188
2458
|
segmentIndex?: number | undefined;
|
|
2189
2459
|
}, {
|
|
@@ -2192,6 +2462,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2192
2462
|
runId: string | null;
|
|
2193
2463
|
kind: "tool_call";
|
|
2194
2464
|
sessionId: string;
|
|
2465
|
+
startedAt: number | null;
|
|
2466
|
+
completedAt: number | null;
|
|
2195
2467
|
payload: {
|
|
2196
2468
|
errorCode: string | null;
|
|
2197
2469
|
namespace: string;
|
|
@@ -2206,8 +2478,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2206
2478
|
turnId: string;
|
|
2207
2479
|
parentItemId: string | null;
|
|
2208
2480
|
sourceSequence: number | null;
|
|
2209
|
-
startedAt: number | null;
|
|
2210
|
-
completedAt: number | null;
|
|
2211
2481
|
segmentId?: string | undefined;
|
|
2212
2482
|
segmentIndex?: number | undefined;
|
|
2213
2483
|
}>, z.ZodObject<{
|
|
@@ -2256,6 +2526,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2256
2526
|
runId: string | null;
|
|
2257
2527
|
kind: "command_execution";
|
|
2258
2528
|
sessionId: string;
|
|
2529
|
+
startedAt: number | null;
|
|
2530
|
+
completedAt: number | null;
|
|
2259
2531
|
payload: {
|
|
2260
2532
|
command: string;
|
|
2261
2533
|
durationMs: number | null;
|
|
@@ -2269,8 +2541,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2269
2541
|
turnId: string;
|
|
2270
2542
|
parentItemId: string | null;
|
|
2271
2543
|
sourceSequence: number | null;
|
|
2272
|
-
startedAt: number | null;
|
|
2273
|
-
completedAt: number | null;
|
|
2274
2544
|
segmentId?: string | undefined;
|
|
2275
2545
|
segmentIndex?: number | undefined;
|
|
2276
2546
|
}, {
|
|
@@ -2279,6 +2549,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2279
2549
|
runId: string | null;
|
|
2280
2550
|
kind: "command_execution";
|
|
2281
2551
|
sessionId: string;
|
|
2552
|
+
startedAt: number | null;
|
|
2553
|
+
completedAt: number | null;
|
|
2282
2554
|
payload: {
|
|
2283
2555
|
command: string;
|
|
2284
2556
|
durationMs: number | null;
|
|
@@ -2292,8 +2564,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2292
2564
|
turnId: string;
|
|
2293
2565
|
parentItemId: string | null;
|
|
2294
2566
|
sourceSequence: number | null;
|
|
2295
|
-
startedAt: number | null;
|
|
2296
|
-
completedAt: number | null;
|
|
2297
2567
|
segmentId?: string | undefined;
|
|
2298
2568
|
segmentIndex?: number | undefined;
|
|
2299
2569
|
}>, z.ZodObject<{
|
|
@@ -2354,6 +2624,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2354
2624
|
runId: string | null;
|
|
2355
2625
|
kind: "file_change";
|
|
2356
2626
|
sessionId: string;
|
|
2627
|
+
startedAt: number | null;
|
|
2628
|
+
completedAt: number | null;
|
|
2357
2629
|
payload: {
|
|
2358
2630
|
changes: {
|
|
2359
2631
|
path: string;
|
|
@@ -2367,8 +2639,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2367
2639
|
turnId: string;
|
|
2368
2640
|
parentItemId: string | null;
|
|
2369
2641
|
sourceSequence: number | null;
|
|
2370
|
-
startedAt: number | null;
|
|
2371
|
-
completedAt: number | null;
|
|
2372
2642
|
segmentId?: string | undefined;
|
|
2373
2643
|
segmentIndex?: number | undefined;
|
|
2374
2644
|
}, {
|
|
@@ -2377,6 +2647,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2377
2647
|
runId: string | null;
|
|
2378
2648
|
kind: "file_change";
|
|
2379
2649
|
sessionId: string;
|
|
2650
|
+
startedAt: number | null;
|
|
2651
|
+
completedAt: number | null;
|
|
2380
2652
|
payload: {
|
|
2381
2653
|
changes: {
|
|
2382
2654
|
path: string;
|
|
@@ -2390,8 +2662,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2390
2662
|
turnId: string;
|
|
2391
2663
|
parentItemId: string | null;
|
|
2392
2664
|
sourceSequence: number | null;
|
|
2393
|
-
startedAt: number | null;
|
|
2394
|
-
completedAt: number | null;
|
|
2395
2665
|
segmentId?: string | undefined;
|
|
2396
2666
|
segmentIndex?: number | undefined;
|
|
2397
2667
|
}>, z.ZodObject<{
|
|
@@ -2434,6 +2704,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2434
2704
|
runId: string | null;
|
|
2435
2705
|
kind: "approval";
|
|
2436
2706
|
sessionId: string;
|
|
2707
|
+
startedAt: number | null;
|
|
2708
|
+
completedAt: number | null;
|
|
2437
2709
|
payload: {
|
|
2438
2710
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
2439
2711
|
expiresAt: number;
|
|
@@ -2445,8 +2717,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2445
2717
|
turnId: string;
|
|
2446
2718
|
parentItemId: string | null;
|
|
2447
2719
|
sourceSequence: number | null;
|
|
2448
|
-
startedAt: number | null;
|
|
2449
|
-
completedAt: number | null;
|
|
2450
2720
|
segmentId?: string | undefined;
|
|
2451
2721
|
segmentIndex?: number | undefined;
|
|
2452
2722
|
}, {
|
|
@@ -2455,6 +2725,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2455
2725
|
runId: string | null;
|
|
2456
2726
|
kind: "approval";
|
|
2457
2727
|
sessionId: string;
|
|
2728
|
+
startedAt: number | null;
|
|
2729
|
+
completedAt: number | null;
|
|
2458
2730
|
payload: {
|
|
2459
2731
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
2460
2732
|
expiresAt: number;
|
|
@@ -2466,8 +2738,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2466
2738
|
turnId: string;
|
|
2467
2739
|
parentItemId: string | null;
|
|
2468
2740
|
sourceSequence: number | null;
|
|
2469
|
-
startedAt: number | null;
|
|
2470
|
-
completedAt: number | null;
|
|
2471
2741
|
segmentId?: string | undefined;
|
|
2472
2742
|
segmentIndex?: number | undefined;
|
|
2473
2743
|
}>, z.ZodObject<{
|
|
@@ -2564,6 +2834,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2564
2834
|
runId: string | null;
|
|
2565
2835
|
kind: "user_input_request";
|
|
2566
2836
|
sessionId: string;
|
|
2837
|
+
startedAt: number | null;
|
|
2838
|
+
completedAt: number | null;
|
|
2567
2839
|
payload: {
|
|
2568
2840
|
requestId: string;
|
|
2569
2841
|
questions: {
|
|
@@ -2583,8 +2855,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2583
2855
|
turnId: string;
|
|
2584
2856
|
parentItemId: string | null;
|
|
2585
2857
|
sourceSequence: number | null;
|
|
2586
|
-
startedAt: number | null;
|
|
2587
|
-
completedAt: number | null;
|
|
2588
2858
|
segmentId?: string | undefined;
|
|
2589
2859
|
segmentIndex?: number | undefined;
|
|
2590
2860
|
}, {
|
|
@@ -2593,6 +2863,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2593
2863
|
runId: string | null;
|
|
2594
2864
|
kind: "user_input_request";
|
|
2595
2865
|
sessionId: string;
|
|
2866
|
+
startedAt: number | null;
|
|
2867
|
+
completedAt: number | null;
|
|
2596
2868
|
payload: {
|
|
2597
2869
|
requestId: string;
|
|
2598
2870
|
questions: {
|
|
@@ -2612,8 +2884,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2612
2884
|
turnId: string;
|
|
2613
2885
|
parentItemId: string | null;
|
|
2614
2886
|
sourceSequence: number | null;
|
|
2615
|
-
startedAt: number | null;
|
|
2616
|
-
completedAt: number | null;
|
|
2617
2887
|
segmentId?: string | undefined;
|
|
2618
2888
|
segmentIndex?: number | undefined;
|
|
2619
2889
|
}>, z.ZodObject<{
|
|
@@ -2647,6 +2917,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2647
2917
|
runId: string | null;
|
|
2648
2918
|
kind: "context_compaction";
|
|
2649
2919
|
sessionId: string;
|
|
2920
|
+
startedAt: number | null;
|
|
2921
|
+
completedAt: number | null;
|
|
2650
2922
|
payload: {
|
|
2651
2923
|
phase: "COMPLETED" | "STARTED";
|
|
2652
2924
|
summary: string | null;
|
|
@@ -2655,8 +2927,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2655
2927
|
turnId: string;
|
|
2656
2928
|
parentItemId: string | null;
|
|
2657
2929
|
sourceSequence: number | null;
|
|
2658
|
-
startedAt: number | null;
|
|
2659
|
-
completedAt: number | null;
|
|
2660
2930
|
segmentId?: string | undefined;
|
|
2661
2931
|
segmentIndex?: number | undefined;
|
|
2662
2932
|
}, {
|
|
@@ -2665,6 +2935,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2665
2935
|
runId: string | null;
|
|
2666
2936
|
kind: "context_compaction";
|
|
2667
2937
|
sessionId: string;
|
|
2938
|
+
startedAt: number | null;
|
|
2939
|
+
completedAt: number | null;
|
|
2668
2940
|
payload: {
|
|
2669
2941
|
phase: "COMPLETED" | "STARTED";
|
|
2670
2942
|
summary: string | null;
|
|
@@ -2673,8 +2945,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2673
2945
|
turnId: string;
|
|
2674
2946
|
parentItemId: string | null;
|
|
2675
2947
|
sourceSequence: number | null;
|
|
2676
|
-
startedAt: number | null;
|
|
2677
|
-
completedAt: number | null;
|
|
2678
2948
|
segmentId?: string | undefined;
|
|
2679
2949
|
segmentIndex?: number | undefined;
|
|
2680
2950
|
}>, z.ZodObject<{
|
|
@@ -2711,6 +2981,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2711
2981
|
runId: string | null;
|
|
2712
2982
|
kind: "warning";
|
|
2713
2983
|
sessionId: string;
|
|
2984
|
+
startedAt: number | null;
|
|
2985
|
+
completedAt: number | null;
|
|
2714
2986
|
payload: {
|
|
2715
2987
|
code: string;
|
|
2716
2988
|
message: string;
|
|
@@ -2720,8 +2992,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2720
2992
|
turnId: string;
|
|
2721
2993
|
parentItemId: string | null;
|
|
2722
2994
|
sourceSequence: number | null;
|
|
2723
|
-
startedAt: number | null;
|
|
2724
|
-
completedAt: number | null;
|
|
2725
2995
|
segmentId?: string | undefined;
|
|
2726
2996
|
segmentIndex?: number | undefined;
|
|
2727
2997
|
}, {
|
|
@@ -2730,6 +3000,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2730
3000
|
runId: string | null;
|
|
2731
3001
|
kind: "warning";
|
|
2732
3002
|
sessionId: string;
|
|
3003
|
+
startedAt: number | null;
|
|
3004
|
+
completedAt: number | null;
|
|
2733
3005
|
payload: {
|
|
2734
3006
|
code: string;
|
|
2735
3007
|
message: string;
|
|
@@ -2739,8 +3011,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2739
3011
|
turnId: string;
|
|
2740
3012
|
parentItemId: string | null;
|
|
2741
3013
|
sourceSequence: number | null;
|
|
2742
|
-
startedAt: number | null;
|
|
2743
|
-
completedAt: number | null;
|
|
2744
3014
|
segmentId?: string | undefined;
|
|
2745
3015
|
segmentIndex?: number | undefined;
|
|
2746
3016
|
}>, z.ZodObject<{
|
|
@@ -2783,6 +3053,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2783
3053
|
runId: string | null;
|
|
2784
3054
|
kind: "error";
|
|
2785
3055
|
sessionId: string;
|
|
3056
|
+
startedAt: number | null;
|
|
3057
|
+
completedAt: number | null;
|
|
2786
3058
|
payload: {
|
|
2787
3059
|
code: string;
|
|
2788
3060
|
message: string;
|
|
@@ -2794,8 +3066,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2794
3066
|
turnId: string;
|
|
2795
3067
|
parentItemId: string | null;
|
|
2796
3068
|
sourceSequence: number | null;
|
|
2797
|
-
startedAt: number | null;
|
|
2798
|
-
completedAt: number | null;
|
|
2799
3069
|
segmentId?: string | undefined;
|
|
2800
3070
|
segmentIndex?: number | undefined;
|
|
2801
3071
|
}, {
|
|
@@ -2804,6 +3074,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2804
3074
|
runId: string | null;
|
|
2805
3075
|
kind: "error";
|
|
2806
3076
|
sessionId: string;
|
|
3077
|
+
startedAt: number | null;
|
|
3078
|
+
completedAt: number | null;
|
|
2807
3079
|
payload: {
|
|
2808
3080
|
code: string;
|
|
2809
3081
|
message: string;
|
|
@@ -2815,8 +3087,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2815
3087
|
turnId: string;
|
|
2816
3088
|
parentItemId: string | null;
|
|
2817
3089
|
sourceSequence: number | null;
|
|
2818
|
-
startedAt: number | null;
|
|
2819
|
-
completedAt: number | null;
|
|
2820
3090
|
segmentId?: string | undefined;
|
|
2821
3091
|
segmentIndex?: number | undefined;
|
|
2822
3092
|
}>, z.ZodObject<{
|
|
@@ -2850,6 +3120,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2850
3120
|
runId: string | null;
|
|
2851
3121
|
kind: "turn_summary";
|
|
2852
3122
|
sessionId: string;
|
|
3123
|
+
startedAt: number | null;
|
|
3124
|
+
completedAt: number | null;
|
|
2853
3125
|
payload: {
|
|
2854
3126
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
2855
3127
|
durationMs: number | null;
|
|
@@ -2858,8 +3130,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2858
3130
|
turnId: string;
|
|
2859
3131
|
parentItemId: string | null;
|
|
2860
3132
|
sourceSequence: number | null;
|
|
2861
|
-
startedAt: number | null;
|
|
2862
|
-
completedAt: number | null;
|
|
2863
3133
|
segmentId?: string | undefined;
|
|
2864
3134
|
segmentIndex?: number | undefined;
|
|
2865
3135
|
}, {
|
|
@@ -2868,6 +3138,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2868
3138
|
runId: string | null;
|
|
2869
3139
|
kind: "turn_summary";
|
|
2870
3140
|
sessionId: string;
|
|
3141
|
+
startedAt: number | null;
|
|
3142
|
+
completedAt: number | null;
|
|
2871
3143
|
payload: {
|
|
2872
3144
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
2873
3145
|
durationMs: number | null;
|
|
@@ -2876,8 +3148,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2876
3148
|
turnId: string;
|
|
2877
3149
|
parentItemId: string | null;
|
|
2878
3150
|
sourceSequence: number | null;
|
|
2879
|
-
startedAt: number | null;
|
|
2880
|
-
completedAt: number | null;
|
|
2881
3151
|
segmentId?: string | undefined;
|
|
2882
3152
|
segmentIndex?: number | undefined;
|
|
2883
3153
|
}>, z.ZodObject<{
|
|
@@ -2911,6 +3181,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2911
3181
|
runId: string | null;
|
|
2912
3182
|
kind: "unknown";
|
|
2913
3183
|
sessionId: string;
|
|
3184
|
+
startedAt: number | null;
|
|
3185
|
+
completedAt: number | null;
|
|
2914
3186
|
payload: {
|
|
2915
3187
|
label: string;
|
|
2916
3188
|
sourceEventType: string;
|
|
@@ -2919,8 +3191,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2919
3191
|
turnId: string;
|
|
2920
3192
|
parentItemId: string | null;
|
|
2921
3193
|
sourceSequence: number | null;
|
|
2922
|
-
startedAt: number | null;
|
|
2923
|
-
completedAt: number | null;
|
|
2924
3194
|
segmentId?: string | undefined;
|
|
2925
3195
|
segmentIndex?: number | undefined;
|
|
2926
3196
|
}, {
|
|
@@ -2929,6 +3199,8 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2929
3199
|
runId: string | null;
|
|
2930
3200
|
kind: "unknown";
|
|
2931
3201
|
sessionId: string;
|
|
3202
|
+
startedAt: number | null;
|
|
3203
|
+
completedAt: number | null;
|
|
2932
3204
|
payload: {
|
|
2933
3205
|
label: string;
|
|
2934
3206
|
sourceEventType: string;
|
|
@@ -2937,8 +3209,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
2937
3209
|
turnId: string;
|
|
2938
3210
|
parentItemId: string | null;
|
|
2939
3211
|
sourceSequence: number | null;
|
|
2940
|
-
startedAt: number | null;
|
|
2941
|
-
completedAt: number | null;
|
|
2942
3212
|
segmentId?: string | undefined;
|
|
2943
3213
|
segmentIndex?: number | undefined;
|
|
2944
3214
|
}>]>;
|
|
@@ -2996,6 +3266,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
2996
3266
|
runId: string | null;
|
|
2997
3267
|
kind: "assistant_message";
|
|
2998
3268
|
sessionId: string;
|
|
3269
|
+
startedAt: number | null;
|
|
3270
|
+
completedAt: number | null;
|
|
2999
3271
|
payload: {
|
|
3000
3272
|
model: string | null;
|
|
3001
3273
|
text: string;
|
|
@@ -3005,8 +3277,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3005
3277
|
turnId: string;
|
|
3006
3278
|
parentItemId: string | null;
|
|
3007
3279
|
sourceSequence: number | null;
|
|
3008
|
-
startedAt: number | null;
|
|
3009
|
-
completedAt: number | null;
|
|
3010
3280
|
segmentId?: string | undefined;
|
|
3011
3281
|
segmentIndex?: number | undefined;
|
|
3012
3282
|
}, {
|
|
@@ -3015,6 +3285,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3015
3285
|
runId: string | null;
|
|
3016
3286
|
kind: "assistant_message";
|
|
3017
3287
|
sessionId: string;
|
|
3288
|
+
startedAt: number | null;
|
|
3289
|
+
completedAt: number | null;
|
|
3018
3290
|
payload: {
|
|
3019
3291
|
model: string | null;
|
|
3020
3292
|
text: string;
|
|
@@ -3024,8 +3296,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3024
3296
|
turnId: string;
|
|
3025
3297
|
parentItemId: string | null;
|
|
3026
3298
|
sourceSequence: number | null;
|
|
3027
|
-
startedAt: number | null;
|
|
3028
|
-
completedAt: number | null;
|
|
3029
3299
|
segmentId?: string | undefined;
|
|
3030
3300
|
segmentIndex?: number | undefined;
|
|
3031
3301
|
}>, z.ZodObject<{
|
|
@@ -3100,6 +3370,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3100
3370
|
runId: string | null;
|
|
3101
3371
|
kind: "user_message";
|
|
3102
3372
|
sessionId: string;
|
|
3373
|
+
startedAt: number | null;
|
|
3374
|
+
completedAt: number | null;
|
|
3103
3375
|
payload: {
|
|
3104
3376
|
clientMessageId: string | null;
|
|
3105
3377
|
text: string;
|
|
@@ -3117,8 +3389,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3117
3389
|
turnId: string;
|
|
3118
3390
|
parentItemId: string | null;
|
|
3119
3391
|
sourceSequence: number | null;
|
|
3120
|
-
startedAt: number | null;
|
|
3121
|
-
completedAt: number | null;
|
|
3122
3392
|
segmentId?: string | undefined;
|
|
3123
3393
|
segmentIndex?: number | undefined;
|
|
3124
3394
|
}, {
|
|
@@ -3127,6 +3397,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3127
3397
|
runId: string | null;
|
|
3128
3398
|
kind: "user_message";
|
|
3129
3399
|
sessionId: string;
|
|
3400
|
+
startedAt: number | null;
|
|
3401
|
+
completedAt: number | null;
|
|
3130
3402
|
payload: {
|
|
3131
3403
|
clientMessageId: string | null;
|
|
3132
3404
|
text: string;
|
|
@@ -3144,8 +3416,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3144
3416
|
turnId: string;
|
|
3145
3417
|
parentItemId: string | null;
|
|
3146
3418
|
sourceSequence: number | null;
|
|
3147
|
-
startedAt: number | null;
|
|
3148
|
-
completedAt: number | null;
|
|
3149
3419
|
segmentId?: string | undefined;
|
|
3150
3420
|
segmentIndex?: number | undefined;
|
|
3151
3421
|
}>, z.ZodObject<{
|
|
@@ -3191,6 +3461,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3191
3461
|
runId: string | null;
|
|
3192
3462
|
kind: "reasoning_summary";
|
|
3193
3463
|
sessionId: string;
|
|
3464
|
+
startedAt: number | null;
|
|
3465
|
+
completedAt: number | null;
|
|
3194
3466
|
payload: {
|
|
3195
3467
|
sections: {
|
|
3196
3468
|
text: string;
|
|
@@ -3201,8 +3473,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3201
3473
|
turnId: string;
|
|
3202
3474
|
parentItemId: string | null;
|
|
3203
3475
|
sourceSequence: number | null;
|
|
3204
|
-
startedAt: number | null;
|
|
3205
|
-
completedAt: number | null;
|
|
3206
3476
|
segmentId?: string | undefined;
|
|
3207
3477
|
segmentIndex?: number | undefined;
|
|
3208
3478
|
}, {
|
|
@@ -3211,6 +3481,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3211
3481
|
runId: string | null;
|
|
3212
3482
|
kind: "reasoning_summary";
|
|
3213
3483
|
sessionId: string;
|
|
3484
|
+
startedAt: number | null;
|
|
3485
|
+
completedAt: number | null;
|
|
3214
3486
|
payload: {
|
|
3215
3487
|
sections: {
|
|
3216
3488
|
text: string;
|
|
@@ -3221,8 +3493,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3221
3493
|
turnId: string;
|
|
3222
3494
|
parentItemId: string | null;
|
|
3223
3495
|
sourceSequence: number | null;
|
|
3224
|
-
startedAt: number | null;
|
|
3225
|
-
completedAt: number | null;
|
|
3226
3496
|
segmentId?: string | undefined;
|
|
3227
3497
|
segmentIndex?: number | undefined;
|
|
3228
3498
|
}>, z.ZodObject<{
|
|
@@ -3276,6 +3546,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3276
3546
|
runId: string | null;
|
|
3277
3547
|
kind: "plan";
|
|
3278
3548
|
sessionId: string;
|
|
3549
|
+
startedAt: number | null;
|
|
3550
|
+
completedAt: number | null;
|
|
3279
3551
|
payload: {
|
|
3280
3552
|
explanation: string | null;
|
|
3281
3553
|
steps: {
|
|
@@ -3288,8 +3560,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3288
3560
|
turnId: string;
|
|
3289
3561
|
parentItemId: string | null;
|
|
3290
3562
|
sourceSequence: number | null;
|
|
3291
|
-
startedAt: number | null;
|
|
3292
|
-
completedAt: number | null;
|
|
3293
3563
|
segmentId?: string | undefined;
|
|
3294
3564
|
segmentIndex?: number | undefined;
|
|
3295
3565
|
}, {
|
|
@@ -3298,6 +3568,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3298
3568
|
runId: string | null;
|
|
3299
3569
|
kind: "plan";
|
|
3300
3570
|
sessionId: string;
|
|
3571
|
+
startedAt: number | null;
|
|
3572
|
+
completedAt: number | null;
|
|
3301
3573
|
payload: {
|
|
3302
3574
|
explanation: string | null;
|
|
3303
3575
|
steps: {
|
|
@@ -3310,8 +3582,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3310
3582
|
turnId: string;
|
|
3311
3583
|
parentItemId: string | null;
|
|
3312
3584
|
sourceSequence: number | null;
|
|
3313
|
-
startedAt: number | null;
|
|
3314
|
-
completedAt: number | null;
|
|
3315
3585
|
segmentId?: string | undefined;
|
|
3316
3586
|
segmentIndex?: number | undefined;
|
|
3317
3587
|
}>, z.ZodObject<{
|
|
@@ -3363,6 +3633,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3363
3633
|
runId: string | null;
|
|
3364
3634
|
kind: "tool_call";
|
|
3365
3635
|
sessionId: string;
|
|
3636
|
+
startedAt: number | null;
|
|
3637
|
+
completedAt: number | null;
|
|
3366
3638
|
payload: {
|
|
3367
3639
|
errorCode: string | null;
|
|
3368
3640
|
namespace: string;
|
|
@@ -3377,8 +3649,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3377
3649
|
turnId: string;
|
|
3378
3650
|
parentItemId: string | null;
|
|
3379
3651
|
sourceSequence: number | null;
|
|
3380
|
-
startedAt: number | null;
|
|
3381
|
-
completedAt: number | null;
|
|
3382
3652
|
segmentId?: string | undefined;
|
|
3383
3653
|
segmentIndex?: number | undefined;
|
|
3384
3654
|
}, {
|
|
@@ -3387,6 +3657,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3387
3657
|
runId: string | null;
|
|
3388
3658
|
kind: "tool_call";
|
|
3389
3659
|
sessionId: string;
|
|
3660
|
+
startedAt: number | null;
|
|
3661
|
+
completedAt: number | null;
|
|
3390
3662
|
payload: {
|
|
3391
3663
|
errorCode: string | null;
|
|
3392
3664
|
namespace: string;
|
|
@@ -3401,8 +3673,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3401
3673
|
turnId: string;
|
|
3402
3674
|
parentItemId: string | null;
|
|
3403
3675
|
sourceSequence: number | null;
|
|
3404
|
-
startedAt: number | null;
|
|
3405
|
-
completedAt: number | null;
|
|
3406
3676
|
segmentId?: string | undefined;
|
|
3407
3677
|
segmentIndex?: number | undefined;
|
|
3408
3678
|
}>, z.ZodObject<{
|
|
@@ -3451,6 +3721,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3451
3721
|
runId: string | null;
|
|
3452
3722
|
kind: "command_execution";
|
|
3453
3723
|
sessionId: string;
|
|
3724
|
+
startedAt: number | null;
|
|
3725
|
+
completedAt: number | null;
|
|
3454
3726
|
payload: {
|
|
3455
3727
|
command: string;
|
|
3456
3728
|
durationMs: number | null;
|
|
@@ -3464,8 +3736,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3464
3736
|
turnId: string;
|
|
3465
3737
|
parentItemId: string | null;
|
|
3466
3738
|
sourceSequence: number | null;
|
|
3467
|
-
startedAt: number | null;
|
|
3468
|
-
completedAt: number | null;
|
|
3469
3739
|
segmentId?: string | undefined;
|
|
3470
3740
|
segmentIndex?: number | undefined;
|
|
3471
3741
|
}, {
|
|
@@ -3474,6 +3744,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3474
3744
|
runId: string | null;
|
|
3475
3745
|
kind: "command_execution";
|
|
3476
3746
|
sessionId: string;
|
|
3747
|
+
startedAt: number | null;
|
|
3748
|
+
completedAt: number | null;
|
|
3477
3749
|
payload: {
|
|
3478
3750
|
command: string;
|
|
3479
3751
|
durationMs: number | null;
|
|
@@ -3487,8 +3759,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3487
3759
|
turnId: string;
|
|
3488
3760
|
parentItemId: string | null;
|
|
3489
3761
|
sourceSequence: number | null;
|
|
3490
|
-
startedAt: number | null;
|
|
3491
|
-
completedAt: number | null;
|
|
3492
3762
|
segmentId?: string | undefined;
|
|
3493
3763
|
segmentIndex?: number | undefined;
|
|
3494
3764
|
}>, z.ZodObject<{
|
|
@@ -3549,6 +3819,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3549
3819
|
runId: string | null;
|
|
3550
3820
|
kind: "file_change";
|
|
3551
3821
|
sessionId: string;
|
|
3822
|
+
startedAt: number | null;
|
|
3823
|
+
completedAt: number | null;
|
|
3552
3824
|
payload: {
|
|
3553
3825
|
changes: {
|
|
3554
3826
|
path: string;
|
|
@@ -3562,8 +3834,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3562
3834
|
turnId: string;
|
|
3563
3835
|
parentItemId: string | null;
|
|
3564
3836
|
sourceSequence: number | null;
|
|
3565
|
-
startedAt: number | null;
|
|
3566
|
-
completedAt: number | null;
|
|
3567
3837
|
segmentId?: string | undefined;
|
|
3568
3838
|
segmentIndex?: number | undefined;
|
|
3569
3839
|
}, {
|
|
@@ -3572,6 +3842,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3572
3842
|
runId: string | null;
|
|
3573
3843
|
kind: "file_change";
|
|
3574
3844
|
sessionId: string;
|
|
3845
|
+
startedAt: number | null;
|
|
3846
|
+
completedAt: number | null;
|
|
3575
3847
|
payload: {
|
|
3576
3848
|
changes: {
|
|
3577
3849
|
path: string;
|
|
@@ -3585,8 +3857,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3585
3857
|
turnId: string;
|
|
3586
3858
|
parentItemId: string | null;
|
|
3587
3859
|
sourceSequence: number | null;
|
|
3588
|
-
startedAt: number | null;
|
|
3589
|
-
completedAt: number | null;
|
|
3590
3860
|
segmentId?: string | undefined;
|
|
3591
3861
|
segmentIndex?: number | undefined;
|
|
3592
3862
|
}>, z.ZodObject<{
|
|
@@ -3629,6 +3899,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3629
3899
|
runId: string | null;
|
|
3630
3900
|
kind: "approval";
|
|
3631
3901
|
sessionId: string;
|
|
3902
|
+
startedAt: number | null;
|
|
3903
|
+
completedAt: number | null;
|
|
3632
3904
|
payload: {
|
|
3633
3905
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
3634
3906
|
expiresAt: number;
|
|
@@ -3640,8 +3912,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3640
3912
|
turnId: string;
|
|
3641
3913
|
parentItemId: string | null;
|
|
3642
3914
|
sourceSequence: number | null;
|
|
3643
|
-
startedAt: number | null;
|
|
3644
|
-
completedAt: number | null;
|
|
3645
3915
|
segmentId?: string | undefined;
|
|
3646
3916
|
segmentIndex?: number | undefined;
|
|
3647
3917
|
}, {
|
|
@@ -3650,6 +3920,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3650
3920
|
runId: string | null;
|
|
3651
3921
|
kind: "approval";
|
|
3652
3922
|
sessionId: string;
|
|
3923
|
+
startedAt: number | null;
|
|
3924
|
+
completedAt: number | null;
|
|
3653
3925
|
payload: {
|
|
3654
3926
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
3655
3927
|
expiresAt: number;
|
|
@@ -3661,8 +3933,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3661
3933
|
turnId: string;
|
|
3662
3934
|
parentItemId: string | null;
|
|
3663
3935
|
sourceSequence: number | null;
|
|
3664
|
-
startedAt: number | null;
|
|
3665
|
-
completedAt: number | null;
|
|
3666
3936
|
segmentId?: string | undefined;
|
|
3667
3937
|
segmentIndex?: number | undefined;
|
|
3668
3938
|
}>, z.ZodObject<{
|
|
@@ -3759,6 +4029,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3759
4029
|
runId: string | null;
|
|
3760
4030
|
kind: "user_input_request";
|
|
3761
4031
|
sessionId: string;
|
|
4032
|
+
startedAt: number | null;
|
|
4033
|
+
completedAt: number | null;
|
|
3762
4034
|
payload: {
|
|
3763
4035
|
requestId: string;
|
|
3764
4036
|
questions: {
|
|
@@ -3778,8 +4050,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3778
4050
|
turnId: string;
|
|
3779
4051
|
parentItemId: string | null;
|
|
3780
4052
|
sourceSequence: number | null;
|
|
3781
|
-
startedAt: number | null;
|
|
3782
|
-
completedAt: number | null;
|
|
3783
4053
|
segmentId?: string | undefined;
|
|
3784
4054
|
segmentIndex?: number | undefined;
|
|
3785
4055
|
}, {
|
|
@@ -3788,6 +4058,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3788
4058
|
runId: string | null;
|
|
3789
4059
|
kind: "user_input_request";
|
|
3790
4060
|
sessionId: string;
|
|
4061
|
+
startedAt: number | null;
|
|
4062
|
+
completedAt: number | null;
|
|
3791
4063
|
payload: {
|
|
3792
4064
|
requestId: string;
|
|
3793
4065
|
questions: {
|
|
@@ -3807,8 +4079,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3807
4079
|
turnId: string;
|
|
3808
4080
|
parentItemId: string | null;
|
|
3809
4081
|
sourceSequence: number | null;
|
|
3810
|
-
startedAt: number | null;
|
|
3811
|
-
completedAt: number | null;
|
|
3812
4082
|
segmentId?: string | undefined;
|
|
3813
4083
|
segmentIndex?: number | undefined;
|
|
3814
4084
|
}>, z.ZodObject<{
|
|
@@ -3842,6 +4112,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3842
4112
|
runId: string | null;
|
|
3843
4113
|
kind: "context_compaction";
|
|
3844
4114
|
sessionId: string;
|
|
4115
|
+
startedAt: number | null;
|
|
4116
|
+
completedAt: number | null;
|
|
3845
4117
|
payload: {
|
|
3846
4118
|
phase: "COMPLETED" | "STARTED";
|
|
3847
4119
|
summary: string | null;
|
|
@@ -3850,8 +4122,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3850
4122
|
turnId: string;
|
|
3851
4123
|
parentItemId: string | null;
|
|
3852
4124
|
sourceSequence: number | null;
|
|
3853
|
-
startedAt: number | null;
|
|
3854
|
-
completedAt: number | null;
|
|
3855
4125
|
segmentId?: string | undefined;
|
|
3856
4126
|
segmentIndex?: number | undefined;
|
|
3857
4127
|
}, {
|
|
@@ -3860,6 +4130,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3860
4130
|
runId: string | null;
|
|
3861
4131
|
kind: "context_compaction";
|
|
3862
4132
|
sessionId: string;
|
|
4133
|
+
startedAt: number | null;
|
|
4134
|
+
completedAt: number | null;
|
|
3863
4135
|
payload: {
|
|
3864
4136
|
phase: "COMPLETED" | "STARTED";
|
|
3865
4137
|
summary: string | null;
|
|
@@ -3868,8 +4140,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3868
4140
|
turnId: string;
|
|
3869
4141
|
parentItemId: string | null;
|
|
3870
4142
|
sourceSequence: number | null;
|
|
3871
|
-
startedAt: number | null;
|
|
3872
|
-
completedAt: number | null;
|
|
3873
4143
|
segmentId?: string | undefined;
|
|
3874
4144
|
segmentIndex?: number | undefined;
|
|
3875
4145
|
}>, z.ZodObject<{
|
|
@@ -3906,6 +4176,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3906
4176
|
runId: string | null;
|
|
3907
4177
|
kind: "warning";
|
|
3908
4178
|
sessionId: string;
|
|
4179
|
+
startedAt: number | null;
|
|
4180
|
+
completedAt: number | null;
|
|
3909
4181
|
payload: {
|
|
3910
4182
|
code: string;
|
|
3911
4183
|
message: string;
|
|
@@ -3915,8 +4187,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3915
4187
|
turnId: string;
|
|
3916
4188
|
parentItemId: string | null;
|
|
3917
4189
|
sourceSequence: number | null;
|
|
3918
|
-
startedAt: number | null;
|
|
3919
|
-
completedAt: number | null;
|
|
3920
4190
|
segmentId?: string | undefined;
|
|
3921
4191
|
segmentIndex?: number | undefined;
|
|
3922
4192
|
}, {
|
|
@@ -3925,6 +4195,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3925
4195
|
runId: string | null;
|
|
3926
4196
|
kind: "warning";
|
|
3927
4197
|
sessionId: string;
|
|
4198
|
+
startedAt: number | null;
|
|
4199
|
+
completedAt: number | null;
|
|
3928
4200
|
payload: {
|
|
3929
4201
|
code: string;
|
|
3930
4202
|
message: string;
|
|
@@ -3934,8 +4206,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3934
4206
|
turnId: string;
|
|
3935
4207
|
parentItemId: string | null;
|
|
3936
4208
|
sourceSequence: number | null;
|
|
3937
|
-
startedAt: number | null;
|
|
3938
|
-
completedAt: number | null;
|
|
3939
4209
|
segmentId?: string | undefined;
|
|
3940
4210
|
segmentIndex?: number | undefined;
|
|
3941
4211
|
}>, z.ZodObject<{
|
|
@@ -3978,6 +4248,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3978
4248
|
runId: string | null;
|
|
3979
4249
|
kind: "error";
|
|
3980
4250
|
sessionId: string;
|
|
4251
|
+
startedAt: number | null;
|
|
4252
|
+
completedAt: number | null;
|
|
3981
4253
|
payload: {
|
|
3982
4254
|
code: string;
|
|
3983
4255
|
message: string;
|
|
@@ -3989,8 +4261,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3989
4261
|
turnId: string;
|
|
3990
4262
|
parentItemId: string | null;
|
|
3991
4263
|
sourceSequence: number | null;
|
|
3992
|
-
startedAt: number | null;
|
|
3993
|
-
completedAt: number | null;
|
|
3994
4264
|
segmentId?: string | undefined;
|
|
3995
4265
|
segmentIndex?: number | undefined;
|
|
3996
4266
|
}, {
|
|
@@ -3999,6 +4269,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
3999
4269
|
runId: string | null;
|
|
4000
4270
|
kind: "error";
|
|
4001
4271
|
sessionId: string;
|
|
4272
|
+
startedAt: number | null;
|
|
4273
|
+
completedAt: number | null;
|
|
4002
4274
|
payload: {
|
|
4003
4275
|
code: string;
|
|
4004
4276
|
message: string;
|
|
@@ -4010,8 +4282,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4010
4282
|
turnId: string;
|
|
4011
4283
|
parentItemId: string | null;
|
|
4012
4284
|
sourceSequence: number | null;
|
|
4013
|
-
startedAt: number | null;
|
|
4014
|
-
completedAt: number | null;
|
|
4015
4285
|
segmentId?: string | undefined;
|
|
4016
4286
|
segmentIndex?: number | undefined;
|
|
4017
4287
|
}>, z.ZodObject<{
|
|
@@ -4045,6 +4315,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4045
4315
|
runId: string | null;
|
|
4046
4316
|
kind: "turn_summary";
|
|
4047
4317
|
sessionId: string;
|
|
4318
|
+
startedAt: number | null;
|
|
4319
|
+
completedAt: number | null;
|
|
4048
4320
|
payload: {
|
|
4049
4321
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
4050
4322
|
durationMs: number | null;
|
|
@@ -4053,8 +4325,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4053
4325
|
turnId: string;
|
|
4054
4326
|
parentItemId: string | null;
|
|
4055
4327
|
sourceSequence: number | null;
|
|
4056
|
-
startedAt: number | null;
|
|
4057
|
-
completedAt: number | null;
|
|
4058
4328
|
segmentId?: string | undefined;
|
|
4059
4329
|
segmentIndex?: number | undefined;
|
|
4060
4330
|
}, {
|
|
@@ -4063,6 +4333,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4063
4333
|
runId: string | null;
|
|
4064
4334
|
kind: "turn_summary";
|
|
4065
4335
|
sessionId: string;
|
|
4336
|
+
startedAt: number | null;
|
|
4337
|
+
completedAt: number | null;
|
|
4066
4338
|
payload: {
|
|
4067
4339
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
4068
4340
|
durationMs: number | null;
|
|
@@ -4071,8 +4343,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4071
4343
|
turnId: string;
|
|
4072
4344
|
parentItemId: string | null;
|
|
4073
4345
|
sourceSequence: number | null;
|
|
4074
|
-
startedAt: number | null;
|
|
4075
|
-
completedAt: number | null;
|
|
4076
4346
|
segmentId?: string | undefined;
|
|
4077
4347
|
segmentIndex?: number | undefined;
|
|
4078
4348
|
}>, z.ZodObject<{
|
|
@@ -4106,6 +4376,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4106
4376
|
runId: string | null;
|
|
4107
4377
|
kind: "unknown";
|
|
4108
4378
|
sessionId: string;
|
|
4379
|
+
startedAt: number | null;
|
|
4380
|
+
completedAt: number | null;
|
|
4109
4381
|
payload: {
|
|
4110
4382
|
label: string;
|
|
4111
4383
|
sourceEventType: string;
|
|
@@ -4114,8 +4386,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4114
4386
|
turnId: string;
|
|
4115
4387
|
parentItemId: string | null;
|
|
4116
4388
|
sourceSequence: number | null;
|
|
4117
|
-
startedAt: number | null;
|
|
4118
|
-
completedAt: number | null;
|
|
4119
4389
|
segmentId?: string | undefined;
|
|
4120
4390
|
segmentIndex?: number | undefined;
|
|
4121
4391
|
}, {
|
|
@@ -4124,6 +4394,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4124
4394
|
runId: string | null;
|
|
4125
4395
|
kind: "unknown";
|
|
4126
4396
|
sessionId: string;
|
|
4397
|
+
startedAt: number | null;
|
|
4398
|
+
completedAt: number | null;
|
|
4127
4399
|
payload: {
|
|
4128
4400
|
label: string;
|
|
4129
4401
|
sourceEventType: string;
|
|
@@ -4132,8 +4404,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4132
4404
|
turnId: string;
|
|
4133
4405
|
parentItemId: string | null;
|
|
4134
4406
|
sourceSequence: number | null;
|
|
4135
|
-
startedAt: number | null;
|
|
4136
|
-
completedAt: number | null;
|
|
4137
4407
|
segmentId?: string | undefined;
|
|
4138
4408
|
segmentIndex?: number | undefined;
|
|
4139
4409
|
}>]>, "many">;
|
|
@@ -4144,12 +4414,16 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4144
4414
|
id: string;
|
|
4145
4415
|
runId: string | null;
|
|
4146
4416
|
sessionId: string;
|
|
4417
|
+
startedAt: number | null;
|
|
4418
|
+
completedAt: number | null;
|
|
4147
4419
|
items: ({
|
|
4148
4420
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4149
4421
|
id: string;
|
|
4150
4422
|
runId: string | null;
|
|
4151
4423
|
kind: "assistant_message";
|
|
4152
4424
|
sessionId: string;
|
|
4425
|
+
startedAt: number | null;
|
|
4426
|
+
completedAt: number | null;
|
|
4153
4427
|
payload: {
|
|
4154
4428
|
model: string | null;
|
|
4155
4429
|
text: string;
|
|
@@ -4159,8 +4433,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4159
4433
|
turnId: string;
|
|
4160
4434
|
parentItemId: string | null;
|
|
4161
4435
|
sourceSequence: number | null;
|
|
4162
|
-
startedAt: number | null;
|
|
4163
|
-
completedAt: number | null;
|
|
4164
4436
|
segmentId?: string | undefined;
|
|
4165
4437
|
segmentIndex?: number | undefined;
|
|
4166
4438
|
} | {
|
|
@@ -4169,6 +4441,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4169
4441
|
runId: string | null;
|
|
4170
4442
|
kind: "user_message";
|
|
4171
4443
|
sessionId: string;
|
|
4444
|
+
startedAt: number | null;
|
|
4445
|
+
completedAt: number | null;
|
|
4172
4446
|
payload: {
|
|
4173
4447
|
clientMessageId: string | null;
|
|
4174
4448
|
text: string;
|
|
@@ -4186,8 +4460,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4186
4460
|
turnId: string;
|
|
4187
4461
|
parentItemId: string | null;
|
|
4188
4462
|
sourceSequence: number | null;
|
|
4189
|
-
startedAt: number | null;
|
|
4190
|
-
completedAt: number | null;
|
|
4191
4463
|
segmentId?: string | undefined;
|
|
4192
4464
|
segmentIndex?: number | undefined;
|
|
4193
4465
|
} | {
|
|
@@ -4196,6 +4468,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4196
4468
|
runId: string | null;
|
|
4197
4469
|
kind: "plan";
|
|
4198
4470
|
sessionId: string;
|
|
4471
|
+
startedAt: number | null;
|
|
4472
|
+
completedAt: number | null;
|
|
4199
4473
|
payload: {
|
|
4200
4474
|
explanation: string | null;
|
|
4201
4475
|
steps: {
|
|
@@ -4208,8 +4482,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4208
4482
|
turnId: string;
|
|
4209
4483
|
parentItemId: string | null;
|
|
4210
4484
|
sourceSequence: number | null;
|
|
4211
|
-
startedAt: number | null;
|
|
4212
|
-
completedAt: number | null;
|
|
4213
4485
|
segmentId?: string | undefined;
|
|
4214
4486
|
segmentIndex?: number | undefined;
|
|
4215
4487
|
} | {
|
|
@@ -4218,6 +4490,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4218
4490
|
runId: string | null;
|
|
4219
4491
|
kind: "approval";
|
|
4220
4492
|
sessionId: string;
|
|
4493
|
+
startedAt: number | null;
|
|
4494
|
+
completedAt: number | null;
|
|
4221
4495
|
payload: {
|
|
4222
4496
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
4223
4497
|
expiresAt: number;
|
|
@@ -4229,8 +4503,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4229
4503
|
turnId: string;
|
|
4230
4504
|
parentItemId: string | null;
|
|
4231
4505
|
sourceSequence: number | null;
|
|
4232
|
-
startedAt: number | null;
|
|
4233
|
-
completedAt: number | null;
|
|
4234
4506
|
segmentId?: string | undefined;
|
|
4235
4507
|
segmentIndex?: number | undefined;
|
|
4236
4508
|
} | {
|
|
@@ -4239,6 +4511,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4239
4511
|
runId: string | null;
|
|
4240
4512
|
kind: "turn_summary";
|
|
4241
4513
|
sessionId: string;
|
|
4514
|
+
startedAt: number | null;
|
|
4515
|
+
completedAt: number | null;
|
|
4242
4516
|
payload: {
|
|
4243
4517
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
4244
4518
|
durationMs: number | null;
|
|
@@ -4247,8 +4521,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4247
4521
|
turnId: string;
|
|
4248
4522
|
parentItemId: string | null;
|
|
4249
4523
|
sourceSequence: number | null;
|
|
4250
|
-
startedAt: number | null;
|
|
4251
|
-
completedAt: number | null;
|
|
4252
4524
|
segmentId?: string | undefined;
|
|
4253
4525
|
segmentIndex?: number | undefined;
|
|
4254
4526
|
} | {
|
|
@@ -4257,6 +4529,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4257
4529
|
runId: string | null;
|
|
4258
4530
|
kind: "reasoning_summary";
|
|
4259
4531
|
sessionId: string;
|
|
4532
|
+
startedAt: number | null;
|
|
4533
|
+
completedAt: number | null;
|
|
4260
4534
|
payload: {
|
|
4261
4535
|
sections: {
|
|
4262
4536
|
text: string;
|
|
@@ -4267,8 +4541,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4267
4541
|
turnId: string;
|
|
4268
4542
|
parentItemId: string | null;
|
|
4269
4543
|
sourceSequence: number | null;
|
|
4270
|
-
startedAt: number | null;
|
|
4271
|
-
completedAt: number | null;
|
|
4272
4544
|
segmentId?: string | undefined;
|
|
4273
4545
|
segmentIndex?: number | undefined;
|
|
4274
4546
|
} | {
|
|
@@ -4277,6 +4549,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4277
4549
|
runId: string | null;
|
|
4278
4550
|
kind: "tool_call";
|
|
4279
4551
|
sessionId: string;
|
|
4552
|
+
startedAt: number | null;
|
|
4553
|
+
completedAt: number | null;
|
|
4280
4554
|
payload: {
|
|
4281
4555
|
errorCode: string | null;
|
|
4282
4556
|
namespace: string;
|
|
@@ -4291,8 +4565,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4291
4565
|
turnId: string;
|
|
4292
4566
|
parentItemId: string | null;
|
|
4293
4567
|
sourceSequence: number | null;
|
|
4294
|
-
startedAt: number | null;
|
|
4295
|
-
completedAt: number | null;
|
|
4296
4568
|
segmentId?: string | undefined;
|
|
4297
4569
|
segmentIndex?: number | undefined;
|
|
4298
4570
|
} | {
|
|
@@ -4301,6 +4573,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4301
4573
|
runId: string | null;
|
|
4302
4574
|
kind: "command_execution";
|
|
4303
4575
|
sessionId: string;
|
|
4576
|
+
startedAt: number | null;
|
|
4577
|
+
completedAt: number | null;
|
|
4304
4578
|
payload: {
|
|
4305
4579
|
command: string;
|
|
4306
4580
|
durationMs: number | null;
|
|
@@ -4314,8 +4588,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4314
4588
|
turnId: string;
|
|
4315
4589
|
parentItemId: string | null;
|
|
4316
4590
|
sourceSequence: number | null;
|
|
4317
|
-
startedAt: number | null;
|
|
4318
|
-
completedAt: number | null;
|
|
4319
4591
|
segmentId?: string | undefined;
|
|
4320
4592
|
segmentIndex?: number | undefined;
|
|
4321
4593
|
} | {
|
|
@@ -4324,6 +4596,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4324
4596
|
runId: string | null;
|
|
4325
4597
|
kind: "file_change";
|
|
4326
4598
|
sessionId: string;
|
|
4599
|
+
startedAt: number | null;
|
|
4600
|
+
completedAt: number | null;
|
|
4327
4601
|
payload: {
|
|
4328
4602
|
changes: {
|
|
4329
4603
|
path: string;
|
|
@@ -4337,8 +4611,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4337
4611
|
turnId: string;
|
|
4338
4612
|
parentItemId: string | null;
|
|
4339
4613
|
sourceSequence: number | null;
|
|
4340
|
-
startedAt: number | null;
|
|
4341
|
-
completedAt: number | null;
|
|
4342
4614
|
segmentId?: string | undefined;
|
|
4343
4615
|
segmentIndex?: number | undefined;
|
|
4344
4616
|
} | {
|
|
@@ -4347,6 +4619,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4347
4619
|
runId: string | null;
|
|
4348
4620
|
kind: "user_input_request";
|
|
4349
4621
|
sessionId: string;
|
|
4622
|
+
startedAt: number | null;
|
|
4623
|
+
completedAt: number | null;
|
|
4350
4624
|
payload: {
|
|
4351
4625
|
requestId: string;
|
|
4352
4626
|
questions: {
|
|
@@ -4366,8 +4640,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4366
4640
|
turnId: string;
|
|
4367
4641
|
parentItemId: string | null;
|
|
4368
4642
|
sourceSequence: number | null;
|
|
4369
|
-
startedAt: number | null;
|
|
4370
|
-
completedAt: number | null;
|
|
4371
4643
|
segmentId?: string | undefined;
|
|
4372
4644
|
segmentIndex?: number | undefined;
|
|
4373
4645
|
} | {
|
|
@@ -4376,6 +4648,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4376
4648
|
runId: string | null;
|
|
4377
4649
|
kind: "context_compaction";
|
|
4378
4650
|
sessionId: string;
|
|
4651
|
+
startedAt: number | null;
|
|
4652
|
+
completedAt: number | null;
|
|
4379
4653
|
payload: {
|
|
4380
4654
|
phase: "COMPLETED" | "STARTED";
|
|
4381
4655
|
summary: string | null;
|
|
@@ -4384,8 +4658,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4384
4658
|
turnId: string;
|
|
4385
4659
|
parentItemId: string | null;
|
|
4386
4660
|
sourceSequence: number | null;
|
|
4387
|
-
startedAt: number | null;
|
|
4388
|
-
completedAt: number | null;
|
|
4389
4661
|
segmentId?: string | undefined;
|
|
4390
4662
|
segmentIndex?: number | undefined;
|
|
4391
4663
|
} | {
|
|
@@ -4394,6 +4666,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4394
4666
|
runId: string | null;
|
|
4395
4667
|
kind: "warning";
|
|
4396
4668
|
sessionId: string;
|
|
4669
|
+
startedAt: number | null;
|
|
4670
|
+
completedAt: number | null;
|
|
4397
4671
|
payload: {
|
|
4398
4672
|
code: string;
|
|
4399
4673
|
message: string;
|
|
@@ -4403,8 +4677,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4403
4677
|
turnId: string;
|
|
4404
4678
|
parentItemId: string | null;
|
|
4405
4679
|
sourceSequence: number | null;
|
|
4406
|
-
startedAt: number | null;
|
|
4407
|
-
completedAt: number | null;
|
|
4408
4680
|
segmentId?: string | undefined;
|
|
4409
4681
|
segmentIndex?: number | undefined;
|
|
4410
4682
|
} | {
|
|
@@ -4413,6 +4685,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4413
4685
|
runId: string | null;
|
|
4414
4686
|
kind: "error";
|
|
4415
4687
|
sessionId: string;
|
|
4688
|
+
startedAt: number | null;
|
|
4689
|
+
completedAt: number | null;
|
|
4416
4690
|
payload: {
|
|
4417
4691
|
code: string;
|
|
4418
4692
|
message: string;
|
|
@@ -4424,8 +4698,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4424
4698
|
turnId: string;
|
|
4425
4699
|
parentItemId: string | null;
|
|
4426
4700
|
sourceSequence: number | null;
|
|
4427
|
-
startedAt: number | null;
|
|
4428
|
-
completedAt: number | null;
|
|
4429
4701
|
segmentId?: string | undefined;
|
|
4430
4702
|
segmentIndex?: number | undefined;
|
|
4431
4703
|
} | {
|
|
@@ -4434,6 +4706,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4434
4706
|
runId: string | null;
|
|
4435
4707
|
kind: "unknown";
|
|
4436
4708
|
sessionId: string;
|
|
4709
|
+
startedAt: number | null;
|
|
4710
|
+
completedAt: number | null;
|
|
4437
4711
|
payload: {
|
|
4438
4712
|
label: string;
|
|
4439
4713
|
sourceEventType: string;
|
|
@@ -4442,16 +4716,12 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4442
4716
|
turnId: string;
|
|
4443
4717
|
parentItemId: string | null;
|
|
4444
4718
|
sourceSequence: number | null;
|
|
4445
|
-
startedAt: number | null;
|
|
4446
|
-
completedAt: number | null;
|
|
4447
4719
|
segmentId?: string | undefined;
|
|
4448
4720
|
segmentIndex?: number | undefined;
|
|
4449
4721
|
})[];
|
|
4450
4722
|
model: string | null;
|
|
4451
4723
|
effort: string | null;
|
|
4452
4724
|
access: string | null;
|
|
4453
|
-
startedAt: number | null;
|
|
4454
|
-
completedAt: number | null;
|
|
4455
4725
|
userItemId: string | null;
|
|
4456
4726
|
rewind?: {
|
|
4457
4727
|
before: string | null;
|
|
@@ -4462,12 +4732,16 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4462
4732
|
id: string;
|
|
4463
4733
|
runId: string | null;
|
|
4464
4734
|
sessionId: string;
|
|
4735
|
+
startedAt: number | null;
|
|
4736
|
+
completedAt: number | null;
|
|
4465
4737
|
items: ({
|
|
4466
4738
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
4467
4739
|
id: string;
|
|
4468
4740
|
runId: string | null;
|
|
4469
4741
|
kind: "assistant_message";
|
|
4470
4742
|
sessionId: string;
|
|
4743
|
+
startedAt: number | null;
|
|
4744
|
+
completedAt: number | null;
|
|
4471
4745
|
payload: {
|
|
4472
4746
|
model: string | null;
|
|
4473
4747
|
text: string;
|
|
@@ -4477,8 +4751,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4477
4751
|
turnId: string;
|
|
4478
4752
|
parentItemId: string | null;
|
|
4479
4753
|
sourceSequence: number | null;
|
|
4480
|
-
startedAt: number | null;
|
|
4481
|
-
completedAt: number | null;
|
|
4482
4754
|
segmentId?: string | undefined;
|
|
4483
4755
|
segmentIndex?: number | undefined;
|
|
4484
4756
|
} | {
|
|
@@ -4487,6 +4759,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4487
4759
|
runId: string | null;
|
|
4488
4760
|
kind: "user_message";
|
|
4489
4761
|
sessionId: string;
|
|
4762
|
+
startedAt: number | null;
|
|
4763
|
+
completedAt: number | null;
|
|
4490
4764
|
payload: {
|
|
4491
4765
|
clientMessageId: string | null;
|
|
4492
4766
|
text: string;
|
|
@@ -4504,8 +4778,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4504
4778
|
turnId: string;
|
|
4505
4779
|
parentItemId: string | null;
|
|
4506
4780
|
sourceSequence: number | null;
|
|
4507
|
-
startedAt: number | null;
|
|
4508
|
-
completedAt: number | null;
|
|
4509
4781
|
segmentId?: string | undefined;
|
|
4510
4782
|
segmentIndex?: number | undefined;
|
|
4511
4783
|
} | {
|
|
@@ -4514,6 +4786,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4514
4786
|
runId: string | null;
|
|
4515
4787
|
kind: "plan";
|
|
4516
4788
|
sessionId: string;
|
|
4789
|
+
startedAt: number | null;
|
|
4790
|
+
completedAt: number | null;
|
|
4517
4791
|
payload: {
|
|
4518
4792
|
explanation: string | null;
|
|
4519
4793
|
steps: {
|
|
@@ -4526,8 +4800,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4526
4800
|
turnId: string;
|
|
4527
4801
|
parentItemId: string | null;
|
|
4528
4802
|
sourceSequence: number | null;
|
|
4529
|
-
startedAt: number | null;
|
|
4530
|
-
completedAt: number | null;
|
|
4531
4803
|
segmentId?: string | undefined;
|
|
4532
4804
|
segmentIndex?: number | undefined;
|
|
4533
4805
|
} | {
|
|
@@ -4536,6 +4808,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4536
4808
|
runId: string | null;
|
|
4537
4809
|
kind: "approval";
|
|
4538
4810
|
sessionId: string;
|
|
4811
|
+
startedAt: number | null;
|
|
4812
|
+
completedAt: number | null;
|
|
4539
4813
|
payload: {
|
|
4540
4814
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
4541
4815
|
expiresAt: number;
|
|
@@ -4547,8 +4821,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4547
4821
|
turnId: string;
|
|
4548
4822
|
parentItemId: string | null;
|
|
4549
4823
|
sourceSequence: number | null;
|
|
4550
|
-
startedAt: number | null;
|
|
4551
|
-
completedAt: number | null;
|
|
4552
4824
|
segmentId?: string | undefined;
|
|
4553
4825
|
segmentIndex?: number | undefined;
|
|
4554
4826
|
} | {
|
|
@@ -4557,6 +4829,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4557
4829
|
runId: string | null;
|
|
4558
4830
|
kind: "turn_summary";
|
|
4559
4831
|
sessionId: string;
|
|
4832
|
+
startedAt: number | null;
|
|
4833
|
+
completedAt: number | null;
|
|
4560
4834
|
payload: {
|
|
4561
4835
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
4562
4836
|
durationMs: number | null;
|
|
@@ -4565,8 +4839,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4565
4839
|
turnId: string;
|
|
4566
4840
|
parentItemId: string | null;
|
|
4567
4841
|
sourceSequence: number | null;
|
|
4568
|
-
startedAt: number | null;
|
|
4569
|
-
completedAt: number | null;
|
|
4570
4842
|
segmentId?: string | undefined;
|
|
4571
4843
|
segmentIndex?: number | undefined;
|
|
4572
4844
|
} | {
|
|
@@ -4575,6 +4847,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4575
4847
|
runId: string | null;
|
|
4576
4848
|
kind: "reasoning_summary";
|
|
4577
4849
|
sessionId: string;
|
|
4850
|
+
startedAt: number | null;
|
|
4851
|
+
completedAt: number | null;
|
|
4578
4852
|
payload: {
|
|
4579
4853
|
sections: {
|
|
4580
4854
|
text: string;
|
|
@@ -4585,8 +4859,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4585
4859
|
turnId: string;
|
|
4586
4860
|
parentItemId: string | null;
|
|
4587
4861
|
sourceSequence: number | null;
|
|
4588
|
-
startedAt: number | null;
|
|
4589
|
-
completedAt: number | null;
|
|
4590
4862
|
segmentId?: string | undefined;
|
|
4591
4863
|
segmentIndex?: number | undefined;
|
|
4592
4864
|
} | {
|
|
@@ -4595,6 +4867,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4595
4867
|
runId: string | null;
|
|
4596
4868
|
kind: "tool_call";
|
|
4597
4869
|
sessionId: string;
|
|
4870
|
+
startedAt: number | null;
|
|
4871
|
+
completedAt: number | null;
|
|
4598
4872
|
payload: {
|
|
4599
4873
|
errorCode: string | null;
|
|
4600
4874
|
namespace: string;
|
|
@@ -4609,8 +4883,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4609
4883
|
turnId: string;
|
|
4610
4884
|
parentItemId: string | null;
|
|
4611
4885
|
sourceSequence: number | null;
|
|
4612
|
-
startedAt: number | null;
|
|
4613
|
-
completedAt: number | null;
|
|
4614
4886
|
segmentId?: string | undefined;
|
|
4615
4887
|
segmentIndex?: number | undefined;
|
|
4616
4888
|
} | {
|
|
@@ -4619,6 +4891,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4619
4891
|
runId: string | null;
|
|
4620
4892
|
kind: "command_execution";
|
|
4621
4893
|
sessionId: string;
|
|
4894
|
+
startedAt: number | null;
|
|
4895
|
+
completedAt: number | null;
|
|
4622
4896
|
payload: {
|
|
4623
4897
|
command: string;
|
|
4624
4898
|
durationMs: number | null;
|
|
@@ -4632,8 +4906,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4632
4906
|
turnId: string;
|
|
4633
4907
|
parentItemId: string | null;
|
|
4634
4908
|
sourceSequence: number | null;
|
|
4635
|
-
startedAt: number | null;
|
|
4636
|
-
completedAt: number | null;
|
|
4637
4909
|
segmentId?: string | undefined;
|
|
4638
4910
|
segmentIndex?: number | undefined;
|
|
4639
4911
|
} | {
|
|
@@ -4642,6 +4914,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4642
4914
|
runId: string | null;
|
|
4643
4915
|
kind: "file_change";
|
|
4644
4916
|
sessionId: string;
|
|
4917
|
+
startedAt: number | null;
|
|
4918
|
+
completedAt: number | null;
|
|
4645
4919
|
payload: {
|
|
4646
4920
|
changes: {
|
|
4647
4921
|
path: string;
|
|
@@ -4655,8 +4929,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4655
4929
|
turnId: string;
|
|
4656
4930
|
parentItemId: string | null;
|
|
4657
4931
|
sourceSequence: number | null;
|
|
4658
|
-
startedAt: number | null;
|
|
4659
|
-
completedAt: number | null;
|
|
4660
4932
|
segmentId?: string | undefined;
|
|
4661
4933
|
segmentIndex?: number | undefined;
|
|
4662
4934
|
} | {
|
|
@@ -4665,6 +4937,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4665
4937
|
runId: string | null;
|
|
4666
4938
|
kind: "user_input_request";
|
|
4667
4939
|
sessionId: string;
|
|
4940
|
+
startedAt: number | null;
|
|
4941
|
+
completedAt: number | null;
|
|
4668
4942
|
payload: {
|
|
4669
4943
|
requestId: string;
|
|
4670
4944
|
questions: {
|
|
@@ -4684,8 +4958,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4684
4958
|
turnId: string;
|
|
4685
4959
|
parentItemId: string | null;
|
|
4686
4960
|
sourceSequence: number | null;
|
|
4687
|
-
startedAt: number | null;
|
|
4688
|
-
completedAt: number | null;
|
|
4689
4961
|
segmentId?: string | undefined;
|
|
4690
4962
|
segmentIndex?: number | undefined;
|
|
4691
4963
|
} | {
|
|
@@ -4694,6 +4966,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4694
4966
|
runId: string | null;
|
|
4695
4967
|
kind: "context_compaction";
|
|
4696
4968
|
sessionId: string;
|
|
4969
|
+
startedAt: number | null;
|
|
4970
|
+
completedAt: number | null;
|
|
4697
4971
|
payload: {
|
|
4698
4972
|
phase: "COMPLETED" | "STARTED";
|
|
4699
4973
|
summary: string | null;
|
|
@@ -4702,8 +4976,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4702
4976
|
turnId: string;
|
|
4703
4977
|
parentItemId: string | null;
|
|
4704
4978
|
sourceSequence: number | null;
|
|
4705
|
-
startedAt: number | null;
|
|
4706
|
-
completedAt: number | null;
|
|
4707
4979
|
segmentId?: string | undefined;
|
|
4708
4980
|
segmentIndex?: number | undefined;
|
|
4709
4981
|
} | {
|
|
@@ -4712,6 +4984,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4712
4984
|
runId: string | null;
|
|
4713
4985
|
kind: "warning";
|
|
4714
4986
|
sessionId: string;
|
|
4987
|
+
startedAt: number | null;
|
|
4988
|
+
completedAt: number | null;
|
|
4715
4989
|
payload: {
|
|
4716
4990
|
code: string;
|
|
4717
4991
|
message: string;
|
|
@@ -4721,8 +4995,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4721
4995
|
turnId: string;
|
|
4722
4996
|
parentItemId: string | null;
|
|
4723
4997
|
sourceSequence: number | null;
|
|
4724
|
-
startedAt: number | null;
|
|
4725
|
-
completedAt: number | null;
|
|
4726
4998
|
segmentId?: string | undefined;
|
|
4727
4999
|
segmentIndex?: number | undefined;
|
|
4728
5000
|
} | {
|
|
@@ -4731,6 +5003,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4731
5003
|
runId: string | null;
|
|
4732
5004
|
kind: "error";
|
|
4733
5005
|
sessionId: string;
|
|
5006
|
+
startedAt: number | null;
|
|
5007
|
+
completedAt: number | null;
|
|
4734
5008
|
payload: {
|
|
4735
5009
|
code: string;
|
|
4736
5010
|
message: string;
|
|
@@ -4742,8 +5016,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4742
5016
|
turnId: string;
|
|
4743
5017
|
parentItemId: string | null;
|
|
4744
5018
|
sourceSequence: number | null;
|
|
4745
|
-
startedAt: number | null;
|
|
4746
|
-
completedAt: number | null;
|
|
4747
5019
|
segmentId?: string | undefined;
|
|
4748
5020
|
segmentIndex?: number | undefined;
|
|
4749
5021
|
} | {
|
|
@@ -4752,6 +5024,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4752
5024
|
runId: string | null;
|
|
4753
5025
|
kind: "unknown";
|
|
4754
5026
|
sessionId: string;
|
|
5027
|
+
startedAt: number | null;
|
|
5028
|
+
completedAt: number | null;
|
|
4755
5029
|
payload: {
|
|
4756
5030
|
label: string;
|
|
4757
5031
|
sourceEventType: string;
|
|
@@ -4760,16 +5034,12 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
4760
5034
|
turnId: string;
|
|
4761
5035
|
parentItemId: string | null;
|
|
4762
5036
|
sourceSequence: number | null;
|
|
4763
|
-
startedAt: number | null;
|
|
4764
|
-
completedAt: number | null;
|
|
4765
5037
|
segmentId?: string | undefined;
|
|
4766
5038
|
segmentIndex?: number | undefined;
|
|
4767
5039
|
})[];
|
|
4768
5040
|
model: string | null;
|
|
4769
5041
|
effort: string | null;
|
|
4770
5042
|
access: string | null;
|
|
4771
|
-
startedAt: number | null;
|
|
4772
|
-
completedAt: number | null;
|
|
4773
5043
|
userItemId: string | null;
|
|
4774
5044
|
rewind?: {
|
|
4775
5045
|
before: string | null;
|
|
@@ -4828,6 +5098,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
4828
5098
|
runId: string | null;
|
|
4829
5099
|
kind: "assistant_message";
|
|
4830
5100
|
sessionId: string;
|
|
5101
|
+
startedAt: number | null;
|
|
5102
|
+
completedAt: number | null;
|
|
4831
5103
|
payload: {
|
|
4832
5104
|
model: string | null;
|
|
4833
5105
|
text: string;
|
|
@@ -4837,8 +5109,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
4837
5109
|
turnId: string;
|
|
4838
5110
|
parentItemId: string | null;
|
|
4839
5111
|
sourceSequence: number | null;
|
|
4840
|
-
startedAt: number | null;
|
|
4841
|
-
completedAt: number | null;
|
|
4842
5112
|
segmentId?: string | undefined;
|
|
4843
5113
|
segmentIndex?: number | undefined;
|
|
4844
5114
|
}, {
|
|
@@ -4847,6 +5117,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
4847
5117
|
runId: string | null;
|
|
4848
5118
|
kind: "assistant_message";
|
|
4849
5119
|
sessionId: string;
|
|
5120
|
+
startedAt: number | null;
|
|
5121
|
+
completedAt: number | null;
|
|
4850
5122
|
payload: {
|
|
4851
5123
|
model: string | null;
|
|
4852
5124
|
text: string;
|
|
@@ -4856,8 +5128,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
4856
5128
|
turnId: string;
|
|
4857
5129
|
parentItemId: string | null;
|
|
4858
5130
|
sourceSequence: number | null;
|
|
4859
|
-
startedAt: number | null;
|
|
4860
|
-
completedAt: number | null;
|
|
4861
5131
|
segmentId?: string | undefined;
|
|
4862
5132
|
segmentIndex?: number | undefined;
|
|
4863
5133
|
}>, z.ZodObject<{
|
|
@@ -4932,6 +5202,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
4932
5202
|
runId: string | null;
|
|
4933
5203
|
kind: "user_message";
|
|
4934
5204
|
sessionId: string;
|
|
5205
|
+
startedAt: number | null;
|
|
5206
|
+
completedAt: number | null;
|
|
4935
5207
|
payload: {
|
|
4936
5208
|
clientMessageId: string | null;
|
|
4937
5209
|
text: string;
|
|
@@ -4949,8 +5221,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
4949
5221
|
turnId: string;
|
|
4950
5222
|
parentItemId: string | null;
|
|
4951
5223
|
sourceSequence: number | null;
|
|
4952
|
-
startedAt: number | null;
|
|
4953
|
-
completedAt: number | null;
|
|
4954
5224
|
segmentId?: string | undefined;
|
|
4955
5225
|
segmentIndex?: number | undefined;
|
|
4956
5226
|
}, {
|
|
@@ -4959,6 +5229,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
4959
5229
|
runId: string | null;
|
|
4960
5230
|
kind: "user_message";
|
|
4961
5231
|
sessionId: string;
|
|
5232
|
+
startedAt: number | null;
|
|
5233
|
+
completedAt: number | null;
|
|
4962
5234
|
payload: {
|
|
4963
5235
|
clientMessageId: string | null;
|
|
4964
5236
|
text: string;
|
|
@@ -4976,8 +5248,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
4976
5248
|
turnId: string;
|
|
4977
5249
|
parentItemId: string | null;
|
|
4978
5250
|
sourceSequence: number | null;
|
|
4979
|
-
startedAt: number | null;
|
|
4980
|
-
completedAt: number | null;
|
|
4981
5251
|
segmentId?: string | undefined;
|
|
4982
5252
|
segmentIndex?: number | undefined;
|
|
4983
5253
|
}>, z.ZodObject<{
|
|
@@ -5023,6 +5293,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5023
5293
|
runId: string | null;
|
|
5024
5294
|
kind: "reasoning_summary";
|
|
5025
5295
|
sessionId: string;
|
|
5296
|
+
startedAt: number | null;
|
|
5297
|
+
completedAt: number | null;
|
|
5026
5298
|
payload: {
|
|
5027
5299
|
sections: {
|
|
5028
5300
|
text: string;
|
|
@@ -5033,8 +5305,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5033
5305
|
turnId: string;
|
|
5034
5306
|
parentItemId: string | null;
|
|
5035
5307
|
sourceSequence: number | null;
|
|
5036
|
-
startedAt: number | null;
|
|
5037
|
-
completedAt: number | null;
|
|
5038
5308
|
segmentId?: string | undefined;
|
|
5039
5309
|
segmentIndex?: number | undefined;
|
|
5040
5310
|
}, {
|
|
@@ -5043,6 +5313,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5043
5313
|
runId: string | null;
|
|
5044
5314
|
kind: "reasoning_summary";
|
|
5045
5315
|
sessionId: string;
|
|
5316
|
+
startedAt: number | null;
|
|
5317
|
+
completedAt: number | null;
|
|
5046
5318
|
payload: {
|
|
5047
5319
|
sections: {
|
|
5048
5320
|
text: string;
|
|
@@ -5053,8 +5325,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5053
5325
|
turnId: string;
|
|
5054
5326
|
parentItemId: string | null;
|
|
5055
5327
|
sourceSequence: number | null;
|
|
5056
|
-
startedAt: number | null;
|
|
5057
|
-
completedAt: number | null;
|
|
5058
5328
|
segmentId?: string | undefined;
|
|
5059
5329
|
segmentIndex?: number | undefined;
|
|
5060
5330
|
}>, z.ZodObject<{
|
|
@@ -5108,6 +5378,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5108
5378
|
runId: string | null;
|
|
5109
5379
|
kind: "plan";
|
|
5110
5380
|
sessionId: string;
|
|
5381
|
+
startedAt: number | null;
|
|
5382
|
+
completedAt: number | null;
|
|
5111
5383
|
payload: {
|
|
5112
5384
|
explanation: string | null;
|
|
5113
5385
|
steps: {
|
|
@@ -5120,8 +5392,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5120
5392
|
turnId: string;
|
|
5121
5393
|
parentItemId: string | null;
|
|
5122
5394
|
sourceSequence: number | null;
|
|
5123
|
-
startedAt: number | null;
|
|
5124
|
-
completedAt: number | null;
|
|
5125
5395
|
segmentId?: string | undefined;
|
|
5126
5396
|
segmentIndex?: number | undefined;
|
|
5127
5397
|
}, {
|
|
@@ -5130,6 +5400,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5130
5400
|
runId: string | null;
|
|
5131
5401
|
kind: "plan";
|
|
5132
5402
|
sessionId: string;
|
|
5403
|
+
startedAt: number | null;
|
|
5404
|
+
completedAt: number | null;
|
|
5133
5405
|
payload: {
|
|
5134
5406
|
explanation: string | null;
|
|
5135
5407
|
steps: {
|
|
@@ -5142,8 +5414,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5142
5414
|
turnId: string;
|
|
5143
5415
|
parentItemId: string | null;
|
|
5144
5416
|
sourceSequence: number | null;
|
|
5145
|
-
startedAt: number | null;
|
|
5146
|
-
completedAt: number | null;
|
|
5147
5417
|
segmentId?: string | undefined;
|
|
5148
5418
|
segmentIndex?: number | undefined;
|
|
5149
5419
|
}>, z.ZodObject<{
|
|
@@ -5195,6 +5465,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5195
5465
|
runId: string | null;
|
|
5196
5466
|
kind: "tool_call";
|
|
5197
5467
|
sessionId: string;
|
|
5468
|
+
startedAt: number | null;
|
|
5469
|
+
completedAt: number | null;
|
|
5198
5470
|
payload: {
|
|
5199
5471
|
errorCode: string | null;
|
|
5200
5472
|
namespace: string;
|
|
@@ -5209,8 +5481,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5209
5481
|
turnId: string;
|
|
5210
5482
|
parentItemId: string | null;
|
|
5211
5483
|
sourceSequence: number | null;
|
|
5212
|
-
startedAt: number | null;
|
|
5213
|
-
completedAt: number | null;
|
|
5214
5484
|
segmentId?: string | undefined;
|
|
5215
5485
|
segmentIndex?: number | undefined;
|
|
5216
5486
|
}, {
|
|
@@ -5219,6 +5489,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5219
5489
|
runId: string | null;
|
|
5220
5490
|
kind: "tool_call";
|
|
5221
5491
|
sessionId: string;
|
|
5492
|
+
startedAt: number | null;
|
|
5493
|
+
completedAt: number | null;
|
|
5222
5494
|
payload: {
|
|
5223
5495
|
errorCode: string | null;
|
|
5224
5496
|
namespace: string;
|
|
@@ -5233,8 +5505,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5233
5505
|
turnId: string;
|
|
5234
5506
|
parentItemId: string | null;
|
|
5235
5507
|
sourceSequence: number | null;
|
|
5236
|
-
startedAt: number | null;
|
|
5237
|
-
completedAt: number | null;
|
|
5238
5508
|
segmentId?: string | undefined;
|
|
5239
5509
|
segmentIndex?: number | undefined;
|
|
5240
5510
|
}>, z.ZodObject<{
|
|
@@ -5283,6 +5553,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5283
5553
|
runId: string | null;
|
|
5284
5554
|
kind: "command_execution";
|
|
5285
5555
|
sessionId: string;
|
|
5556
|
+
startedAt: number | null;
|
|
5557
|
+
completedAt: number | null;
|
|
5286
5558
|
payload: {
|
|
5287
5559
|
command: string;
|
|
5288
5560
|
durationMs: number | null;
|
|
@@ -5296,8 +5568,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5296
5568
|
turnId: string;
|
|
5297
5569
|
parentItemId: string | null;
|
|
5298
5570
|
sourceSequence: number | null;
|
|
5299
|
-
startedAt: number | null;
|
|
5300
|
-
completedAt: number | null;
|
|
5301
5571
|
segmentId?: string | undefined;
|
|
5302
5572
|
segmentIndex?: number | undefined;
|
|
5303
5573
|
}, {
|
|
@@ -5306,6 +5576,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5306
5576
|
runId: string | null;
|
|
5307
5577
|
kind: "command_execution";
|
|
5308
5578
|
sessionId: string;
|
|
5579
|
+
startedAt: number | null;
|
|
5580
|
+
completedAt: number | null;
|
|
5309
5581
|
payload: {
|
|
5310
5582
|
command: string;
|
|
5311
5583
|
durationMs: number | null;
|
|
@@ -5319,8 +5591,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5319
5591
|
turnId: string;
|
|
5320
5592
|
parentItemId: string | null;
|
|
5321
5593
|
sourceSequence: number | null;
|
|
5322
|
-
startedAt: number | null;
|
|
5323
|
-
completedAt: number | null;
|
|
5324
5594
|
segmentId?: string | undefined;
|
|
5325
5595
|
segmentIndex?: number | undefined;
|
|
5326
5596
|
}>, z.ZodObject<{
|
|
@@ -5381,6 +5651,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5381
5651
|
runId: string | null;
|
|
5382
5652
|
kind: "file_change";
|
|
5383
5653
|
sessionId: string;
|
|
5654
|
+
startedAt: number | null;
|
|
5655
|
+
completedAt: number | null;
|
|
5384
5656
|
payload: {
|
|
5385
5657
|
changes: {
|
|
5386
5658
|
path: string;
|
|
@@ -5394,8 +5666,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5394
5666
|
turnId: string;
|
|
5395
5667
|
parentItemId: string | null;
|
|
5396
5668
|
sourceSequence: number | null;
|
|
5397
|
-
startedAt: number | null;
|
|
5398
|
-
completedAt: number | null;
|
|
5399
5669
|
segmentId?: string | undefined;
|
|
5400
5670
|
segmentIndex?: number | undefined;
|
|
5401
5671
|
}, {
|
|
@@ -5404,6 +5674,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5404
5674
|
runId: string | null;
|
|
5405
5675
|
kind: "file_change";
|
|
5406
5676
|
sessionId: string;
|
|
5677
|
+
startedAt: number | null;
|
|
5678
|
+
completedAt: number | null;
|
|
5407
5679
|
payload: {
|
|
5408
5680
|
changes: {
|
|
5409
5681
|
path: string;
|
|
@@ -5417,8 +5689,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5417
5689
|
turnId: string;
|
|
5418
5690
|
parentItemId: string | null;
|
|
5419
5691
|
sourceSequence: number | null;
|
|
5420
|
-
startedAt: number | null;
|
|
5421
|
-
completedAt: number | null;
|
|
5422
5692
|
segmentId?: string | undefined;
|
|
5423
5693
|
segmentIndex?: number | undefined;
|
|
5424
5694
|
}>, z.ZodObject<{
|
|
@@ -5461,6 +5731,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5461
5731
|
runId: string | null;
|
|
5462
5732
|
kind: "approval";
|
|
5463
5733
|
sessionId: string;
|
|
5734
|
+
startedAt: number | null;
|
|
5735
|
+
completedAt: number | null;
|
|
5464
5736
|
payload: {
|
|
5465
5737
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
5466
5738
|
expiresAt: number;
|
|
@@ -5472,8 +5744,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5472
5744
|
turnId: string;
|
|
5473
5745
|
parentItemId: string | null;
|
|
5474
5746
|
sourceSequence: number | null;
|
|
5475
|
-
startedAt: number | null;
|
|
5476
|
-
completedAt: number | null;
|
|
5477
5747
|
segmentId?: string | undefined;
|
|
5478
5748
|
segmentIndex?: number | undefined;
|
|
5479
5749
|
}, {
|
|
@@ -5482,6 +5752,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5482
5752
|
runId: string | null;
|
|
5483
5753
|
kind: "approval";
|
|
5484
5754
|
sessionId: string;
|
|
5755
|
+
startedAt: number | null;
|
|
5756
|
+
completedAt: number | null;
|
|
5485
5757
|
payload: {
|
|
5486
5758
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
5487
5759
|
expiresAt: number;
|
|
@@ -5493,8 +5765,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5493
5765
|
turnId: string;
|
|
5494
5766
|
parentItemId: string | null;
|
|
5495
5767
|
sourceSequence: number | null;
|
|
5496
|
-
startedAt: number | null;
|
|
5497
|
-
completedAt: number | null;
|
|
5498
5768
|
segmentId?: string | undefined;
|
|
5499
5769
|
segmentIndex?: number | undefined;
|
|
5500
5770
|
}>, z.ZodObject<{
|
|
@@ -5591,6 +5861,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5591
5861
|
runId: string | null;
|
|
5592
5862
|
kind: "user_input_request";
|
|
5593
5863
|
sessionId: string;
|
|
5864
|
+
startedAt: number | null;
|
|
5865
|
+
completedAt: number | null;
|
|
5594
5866
|
payload: {
|
|
5595
5867
|
requestId: string;
|
|
5596
5868
|
questions: {
|
|
@@ -5610,8 +5882,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5610
5882
|
turnId: string;
|
|
5611
5883
|
parentItemId: string | null;
|
|
5612
5884
|
sourceSequence: number | null;
|
|
5613
|
-
startedAt: number | null;
|
|
5614
|
-
completedAt: number | null;
|
|
5615
5885
|
segmentId?: string | undefined;
|
|
5616
5886
|
segmentIndex?: number | undefined;
|
|
5617
5887
|
}, {
|
|
@@ -5620,6 +5890,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5620
5890
|
runId: string | null;
|
|
5621
5891
|
kind: "user_input_request";
|
|
5622
5892
|
sessionId: string;
|
|
5893
|
+
startedAt: number | null;
|
|
5894
|
+
completedAt: number | null;
|
|
5623
5895
|
payload: {
|
|
5624
5896
|
requestId: string;
|
|
5625
5897
|
questions: {
|
|
@@ -5639,8 +5911,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5639
5911
|
turnId: string;
|
|
5640
5912
|
parentItemId: string | null;
|
|
5641
5913
|
sourceSequence: number | null;
|
|
5642
|
-
startedAt: number | null;
|
|
5643
|
-
completedAt: number | null;
|
|
5644
5914
|
segmentId?: string | undefined;
|
|
5645
5915
|
segmentIndex?: number | undefined;
|
|
5646
5916
|
}>, z.ZodObject<{
|
|
@@ -5674,6 +5944,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5674
5944
|
runId: string | null;
|
|
5675
5945
|
kind: "context_compaction";
|
|
5676
5946
|
sessionId: string;
|
|
5947
|
+
startedAt: number | null;
|
|
5948
|
+
completedAt: number | null;
|
|
5677
5949
|
payload: {
|
|
5678
5950
|
phase: "COMPLETED" | "STARTED";
|
|
5679
5951
|
summary: string | null;
|
|
@@ -5682,8 +5954,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5682
5954
|
turnId: string;
|
|
5683
5955
|
parentItemId: string | null;
|
|
5684
5956
|
sourceSequence: number | null;
|
|
5685
|
-
startedAt: number | null;
|
|
5686
|
-
completedAt: number | null;
|
|
5687
5957
|
segmentId?: string | undefined;
|
|
5688
5958
|
segmentIndex?: number | undefined;
|
|
5689
5959
|
}, {
|
|
@@ -5692,6 +5962,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5692
5962
|
runId: string | null;
|
|
5693
5963
|
kind: "context_compaction";
|
|
5694
5964
|
sessionId: string;
|
|
5965
|
+
startedAt: number | null;
|
|
5966
|
+
completedAt: number | null;
|
|
5695
5967
|
payload: {
|
|
5696
5968
|
phase: "COMPLETED" | "STARTED";
|
|
5697
5969
|
summary: string | null;
|
|
@@ -5700,8 +5972,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5700
5972
|
turnId: string;
|
|
5701
5973
|
parentItemId: string | null;
|
|
5702
5974
|
sourceSequence: number | null;
|
|
5703
|
-
startedAt: number | null;
|
|
5704
|
-
completedAt: number | null;
|
|
5705
5975
|
segmentId?: string | undefined;
|
|
5706
5976
|
segmentIndex?: number | undefined;
|
|
5707
5977
|
}>, z.ZodObject<{
|
|
@@ -5738,6 +6008,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5738
6008
|
runId: string | null;
|
|
5739
6009
|
kind: "warning";
|
|
5740
6010
|
sessionId: string;
|
|
6011
|
+
startedAt: number | null;
|
|
6012
|
+
completedAt: number | null;
|
|
5741
6013
|
payload: {
|
|
5742
6014
|
code: string;
|
|
5743
6015
|
message: string;
|
|
@@ -5747,8 +6019,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5747
6019
|
turnId: string;
|
|
5748
6020
|
parentItemId: string | null;
|
|
5749
6021
|
sourceSequence: number | null;
|
|
5750
|
-
startedAt: number | null;
|
|
5751
|
-
completedAt: number | null;
|
|
5752
6022
|
segmentId?: string | undefined;
|
|
5753
6023
|
segmentIndex?: number | undefined;
|
|
5754
6024
|
}, {
|
|
@@ -5757,6 +6027,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5757
6027
|
runId: string | null;
|
|
5758
6028
|
kind: "warning";
|
|
5759
6029
|
sessionId: string;
|
|
6030
|
+
startedAt: number | null;
|
|
6031
|
+
completedAt: number | null;
|
|
5760
6032
|
payload: {
|
|
5761
6033
|
code: string;
|
|
5762
6034
|
message: string;
|
|
@@ -5766,8 +6038,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5766
6038
|
turnId: string;
|
|
5767
6039
|
parentItemId: string | null;
|
|
5768
6040
|
sourceSequence: number | null;
|
|
5769
|
-
startedAt: number | null;
|
|
5770
|
-
completedAt: number | null;
|
|
5771
6041
|
segmentId?: string | undefined;
|
|
5772
6042
|
segmentIndex?: number | undefined;
|
|
5773
6043
|
}>, z.ZodObject<{
|
|
@@ -5810,6 +6080,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5810
6080
|
runId: string | null;
|
|
5811
6081
|
kind: "error";
|
|
5812
6082
|
sessionId: string;
|
|
6083
|
+
startedAt: number | null;
|
|
6084
|
+
completedAt: number | null;
|
|
5813
6085
|
payload: {
|
|
5814
6086
|
code: string;
|
|
5815
6087
|
message: string;
|
|
@@ -5821,8 +6093,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5821
6093
|
turnId: string;
|
|
5822
6094
|
parentItemId: string | null;
|
|
5823
6095
|
sourceSequence: number | null;
|
|
5824
|
-
startedAt: number | null;
|
|
5825
|
-
completedAt: number | null;
|
|
5826
6096
|
segmentId?: string | undefined;
|
|
5827
6097
|
segmentIndex?: number | undefined;
|
|
5828
6098
|
}, {
|
|
@@ -5831,6 +6101,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5831
6101
|
runId: string | null;
|
|
5832
6102
|
kind: "error";
|
|
5833
6103
|
sessionId: string;
|
|
6104
|
+
startedAt: number | null;
|
|
6105
|
+
completedAt: number | null;
|
|
5834
6106
|
payload: {
|
|
5835
6107
|
code: string;
|
|
5836
6108
|
message: string;
|
|
@@ -5842,8 +6114,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5842
6114
|
turnId: string;
|
|
5843
6115
|
parentItemId: string | null;
|
|
5844
6116
|
sourceSequence: number | null;
|
|
5845
|
-
startedAt: number | null;
|
|
5846
|
-
completedAt: number | null;
|
|
5847
6117
|
segmentId?: string | undefined;
|
|
5848
6118
|
segmentIndex?: number | undefined;
|
|
5849
6119
|
}>, z.ZodObject<{
|
|
@@ -5877,6 +6147,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5877
6147
|
runId: string | null;
|
|
5878
6148
|
kind: "turn_summary";
|
|
5879
6149
|
sessionId: string;
|
|
6150
|
+
startedAt: number | null;
|
|
6151
|
+
completedAt: number | null;
|
|
5880
6152
|
payload: {
|
|
5881
6153
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
5882
6154
|
durationMs: number | null;
|
|
@@ -5885,8 +6157,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5885
6157
|
turnId: string;
|
|
5886
6158
|
parentItemId: string | null;
|
|
5887
6159
|
sourceSequence: number | null;
|
|
5888
|
-
startedAt: number | null;
|
|
5889
|
-
completedAt: number | null;
|
|
5890
6160
|
segmentId?: string | undefined;
|
|
5891
6161
|
segmentIndex?: number | undefined;
|
|
5892
6162
|
}, {
|
|
@@ -5895,6 +6165,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5895
6165
|
runId: string | null;
|
|
5896
6166
|
kind: "turn_summary";
|
|
5897
6167
|
sessionId: string;
|
|
6168
|
+
startedAt: number | null;
|
|
6169
|
+
completedAt: number | null;
|
|
5898
6170
|
payload: {
|
|
5899
6171
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
5900
6172
|
durationMs: number | null;
|
|
@@ -5903,8 +6175,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5903
6175
|
turnId: string;
|
|
5904
6176
|
parentItemId: string | null;
|
|
5905
6177
|
sourceSequence: number | null;
|
|
5906
|
-
startedAt: number | null;
|
|
5907
|
-
completedAt: number | null;
|
|
5908
6178
|
segmentId?: string | undefined;
|
|
5909
6179
|
segmentIndex?: number | undefined;
|
|
5910
6180
|
}>, z.ZodObject<{
|
|
@@ -5938,6 +6208,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5938
6208
|
runId: string | null;
|
|
5939
6209
|
kind: "unknown";
|
|
5940
6210
|
sessionId: string;
|
|
6211
|
+
startedAt: number | null;
|
|
6212
|
+
completedAt: number | null;
|
|
5941
6213
|
payload: {
|
|
5942
6214
|
label: string;
|
|
5943
6215
|
sourceEventType: string;
|
|
@@ -5946,8 +6218,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5946
6218
|
turnId: string;
|
|
5947
6219
|
parentItemId: string | null;
|
|
5948
6220
|
sourceSequence: number | null;
|
|
5949
|
-
startedAt: number | null;
|
|
5950
|
-
completedAt: number | null;
|
|
5951
6221
|
segmentId?: string | undefined;
|
|
5952
6222
|
segmentIndex?: number | undefined;
|
|
5953
6223
|
}, {
|
|
@@ -5956,6 +6226,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5956
6226
|
runId: string | null;
|
|
5957
6227
|
kind: "unknown";
|
|
5958
6228
|
sessionId: string;
|
|
6229
|
+
startedAt: number | null;
|
|
6230
|
+
completedAt: number | null;
|
|
5959
6231
|
payload: {
|
|
5960
6232
|
label: string;
|
|
5961
6233
|
sourceEventType: string;
|
|
@@ -5964,8 +6236,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5964
6236
|
turnId: string;
|
|
5965
6237
|
parentItemId: string | null;
|
|
5966
6238
|
sourceSequence: number | null;
|
|
5967
|
-
startedAt: number | null;
|
|
5968
|
-
completedAt: number | null;
|
|
5969
6239
|
segmentId?: string | undefined;
|
|
5970
6240
|
segmentIndex?: number | undefined;
|
|
5971
6241
|
}>]>, "many">;
|
|
@@ -5976,12 +6246,16 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5976
6246
|
id: string;
|
|
5977
6247
|
runId: string | null;
|
|
5978
6248
|
sessionId: string;
|
|
6249
|
+
startedAt: number | null;
|
|
6250
|
+
completedAt: number | null;
|
|
5979
6251
|
items: ({
|
|
5980
6252
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
5981
6253
|
id: string;
|
|
5982
6254
|
runId: string | null;
|
|
5983
6255
|
kind: "assistant_message";
|
|
5984
6256
|
sessionId: string;
|
|
6257
|
+
startedAt: number | null;
|
|
6258
|
+
completedAt: number | null;
|
|
5985
6259
|
payload: {
|
|
5986
6260
|
model: string | null;
|
|
5987
6261
|
text: string;
|
|
@@ -5991,8 +6265,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
5991
6265
|
turnId: string;
|
|
5992
6266
|
parentItemId: string | null;
|
|
5993
6267
|
sourceSequence: number | null;
|
|
5994
|
-
startedAt: number | null;
|
|
5995
|
-
completedAt: number | null;
|
|
5996
6268
|
segmentId?: string | undefined;
|
|
5997
6269
|
segmentIndex?: number | undefined;
|
|
5998
6270
|
} | {
|
|
@@ -6001,6 +6273,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6001
6273
|
runId: string | null;
|
|
6002
6274
|
kind: "user_message";
|
|
6003
6275
|
sessionId: string;
|
|
6276
|
+
startedAt: number | null;
|
|
6277
|
+
completedAt: number | null;
|
|
6004
6278
|
payload: {
|
|
6005
6279
|
clientMessageId: string | null;
|
|
6006
6280
|
text: string;
|
|
@@ -6018,8 +6292,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6018
6292
|
turnId: string;
|
|
6019
6293
|
parentItemId: string | null;
|
|
6020
6294
|
sourceSequence: number | null;
|
|
6021
|
-
startedAt: number | null;
|
|
6022
|
-
completedAt: number | null;
|
|
6023
6295
|
segmentId?: string | undefined;
|
|
6024
6296
|
segmentIndex?: number | undefined;
|
|
6025
6297
|
} | {
|
|
@@ -6028,6 +6300,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6028
6300
|
runId: string | null;
|
|
6029
6301
|
kind: "plan";
|
|
6030
6302
|
sessionId: string;
|
|
6303
|
+
startedAt: number | null;
|
|
6304
|
+
completedAt: number | null;
|
|
6031
6305
|
payload: {
|
|
6032
6306
|
explanation: string | null;
|
|
6033
6307
|
steps: {
|
|
@@ -6040,8 +6314,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6040
6314
|
turnId: string;
|
|
6041
6315
|
parentItemId: string | null;
|
|
6042
6316
|
sourceSequence: number | null;
|
|
6043
|
-
startedAt: number | null;
|
|
6044
|
-
completedAt: number | null;
|
|
6045
6317
|
segmentId?: string | undefined;
|
|
6046
6318
|
segmentIndex?: number | undefined;
|
|
6047
6319
|
} | {
|
|
@@ -6050,6 +6322,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6050
6322
|
runId: string | null;
|
|
6051
6323
|
kind: "approval";
|
|
6052
6324
|
sessionId: string;
|
|
6325
|
+
startedAt: number | null;
|
|
6326
|
+
completedAt: number | null;
|
|
6053
6327
|
payload: {
|
|
6054
6328
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
6055
6329
|
expiresAt: number;
|
|
@@ -6061,8 +6335,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6061
6335
|
turnId: string;
|
|
6062
6336
|
parentItemId: string | null;
|
|
6063
6337
|
sourceSequence: number | null;
|
|
6064
|
-
startedAt: number | null;
|
|
6065
|
-
completedAt: number | null;
|
|
6066
6338
|
segmentId?: string | undefined;
|
|
6067
6339
|
segmentIndex?: number | undefined;
|
|
6068
6340
|
} | {
|
|
@@ -6071,6 +6343,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6071
6343
|
runId: string | null;
|
|
6072
6344
|
kind: "turn_summary";
|
|
6073
6345
|
sessionId: string;
|
|
6346
|
+
startedAt: number | null;
|
|
6347
|
+
completedAt: number | null;
|
|
6074
6348
|
payload: {
|
|
6075
6349
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
6076
6350
|
durationMs: number | null;
|
|
@@ -6079,8 +6353,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6079
6353
|
turnId: string;
|
|
6080
6354
|
parentItemId: string | null;
|
|
6081
6355
|
sourceSequence: number | null;
|
|
6082
|
-
startedAt: number | null;
|
|
6083
|
-
completedAt: number | null;
|
|
6084
6356
|
segmentId?: string | undefined;
|
|
6085
6357
|
segmentIndex?: number | undefined;
|
|
6086
6358
|
} | {
|
|
@@ -6089,6 +6361,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6089
6361
|
runId: string | null;
|
|
6090
6362
|
kind: "reasoning_summary";
|
|
6091
6363
|
sessionId: string;
|
|
6364
|
+
startedAt: number | null;
|
|
6365
|
+
completedAt: number | null;
|
|
6092
6366
|
payload: {
|
|
6093
6367
|
sections: {
|
|
6094
6368
|
text: string;
|
|
@@ -6099,8 +6373,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6099
6373
|
turnId: string;
|
|
6100
6374
|
parentItemId: string | null;
|
|
6101
6375
|
sourceSequence: number | null;
|
|
6102
|
-
startedAt: number | null;
|
|
6103
|
-
completedAt: number | null;
|
|
6104
6376
|
segmentId?: string | undefined;
|
|
6105
6377
|
segmentIndex?: number | undefined;
|
|
6106
6378
|
} | {
|
|
@@ -6109,6 +6381,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6109
6381
|
runId: string | null;
|
|
6110
6382
|
kind: "tool_call";
|
|
6111
6383
|
sessionId: string;
|
|
6384
|
+
startedAt: number | null;
|
|
6385
|
+
completedAt: number | null;
|
|
6112
6386
|
payload: {
|
|
6113
6387
|
errorCode: string | null;
|
|
6114
6388
|
namespace: string;
|
|
@@ -6123,8 +6397,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6123
6397
|
turnId: string;
|
|
6124
6398
|
parentItemId: string | null;
|
|
6125
6399
|
sourceSequence: number | null;
|
|
6126
|
-
startedAt: number | null;
|
|
6127
|
-
completedAt: number | null;
|
|
6128
6400
|
segmentId?: string | undefined;
|
|
6129
6401
|
segmentIndex?: number | undefined;
|
|
6130
6402
|
} | {
|
|
@@ -6133,6 +6405,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6133
6405
|
runId: string | null;
|
|
6134
6406
|
kind: "command_execution";
|
|
6135
6407
|
sessionId: string;
|
|
6408
|
+
startedAt: number | null;
|
|
6409
|
+
completedAt: number | null;
|
|
6136
6410
|
payload: {
|
|
6137
6411
|
command: string;
|
|
6138
6412
|
durationMs: number | null;
|
|
@@ -6146,8 +6420,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6146
6420
|
turnId: string;
|
|
6147
6421
|
parentItemId: string | null;
|
|
6148
6422
|
sourceSequence: number | null;
|
|
6149
|
-
startedAt: number | null;
|
|
6150
|
-
completedAt: number | null;
|
|
6151
6423
|
segmentId?: string | undefined;
|
|
6152
6424
|
segmentIndex?: number | undefined;
|
|
6153
6425
|
} | {
|
|
@@ -6156,6 +6428,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6156
6428
|
runId: string | null;
|
|
6157
6429
|
kind: "file_change";
|
|
6158
6430
|
sessionId: string;
|
|
6431
|
+
startedAt: number | null;
|
|
6432
|
+
completedAt: number | null;
|
|
6159
6433
|
payload: {
|
|
6160
6434
|
changes: {
|
|
6161
6435
|
path: string;
|
|
@@ -6169,8 +6443,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6169
6443
|
turnId: string;
|
|
6170
6444
|
parentItemId: string | null;
|
|
6171
6445
|
sourceSequence: number | null;
|
|
6172
|
-
startedAt: number | null;
|
|
6173
|
-
completedAt: number | null;
|
|
6174
6446
|
segmentId?: string | undefined;
|
|
6175
6447
|
segmentIndex?: number | undefined;
|
|
6176
6448
|
} | {
|
|
@@ -6179,6 +6451,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6179
6451
|
runId: string | null;
|
|
6180
6452
|
kind: "user_input_request";
|
|
6181
6453
|
sessionId: string;
|
|
6454
|
+
startedAt: number | null;
|
|
6455
|
+
completedAt: number | null;
|
|
6182
6456
|
payload: {
|
|
6183
6457
|
requestId: string;
|
|
6184
6458
|
questions: {
|
|
@@ -6198,8 +6472,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6198
6472
|
turnId: string;
|
|
6199
6473
|
parentItemId: string | null;
|
|
6200
6474
|
sourceSequence: number | null;
|
|
6201
|
-
startedAt: number | null;
|
|
6202
|
-
completedAt: number | null;
|
|
6203
6475
|
segmentId?: string | undefined;
|
|
6204
6476
|
segmentIndex?: number | undefined;
|
|
6205
6477
|
} | {
|
|
@@ -6208,6 +6480,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6208
6480
|
runId: string | null;
|
|
6209
6481
|
kind: "context_compaction";
|
|
6210
6482
|
sessionId: string;
|
|
6483
|
+
startedAt: number | null;
|
|
6484
|
+
completedAt: number | null;
|
|
6211
6485
|
payload: {
|
|
6212
6486
|
phase: "COMPLETED" | "STARTED";
|
|
6213
6487
|
summary: string | null;
|
|
@@ -6216,8 +6490,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6216
6490
|
turnId: string;
|
|
6217
6491
|
parentItemId: string | null;
|
|
6218
6492
|
sourceSequence: number | null;
|
|
6219
|
-
startedAt: number | null;
|
|
6220
|
-
completedAt: number | null;
|
|
6221
6493
|
segmentId?: string | undefined;
|
|
6222
6494
|
segmentIndex?: number | undefined;
|
|
6223
6495
|
} | {
|
|
@@ -6226,6 +6498,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6226
6498
|
runId: string | null;
|
|
6227
6499
|
kind: "warning";
|
|
6228
6500
|
sessionId: string;
|
|
6501
|
+
startedAt: number | null;
|
|
6502
|
+
completedAt: number | null;
|
|
6229
6503
|
payload: {
|
|
6230
6504
|
code: string;
|
|
6231
6505
|
message: string;
|
|
@@ -6235,8 +6509,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6235
6509
|
turnId: string;
|
|
6236
6510
|
parentItemId: string | null;
|
|
6237
6511
|
sourceSequence: number | null;
|
|
6238
|
-
startedAt: number | null;
|
|
6239
|
-
completedAt: number | null;
|
|
6240
6512
|
segmentId?: string | undefined;
|
|
6241
6513
|
segmentIndex?: number | undefined;
|
|
6242
6514
|
} | {
|
|
@@ -6245,6 +6517,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6245
6517
|
runId: string | null;
|
|
6246
6518
|
kind: "error";
|
|
6247
6519
|
sessionId: string;
|
|
6520
|
+
startedAt: number | null;
|
|
6521
|
+
completedAt: number | null;
|
|
6248
6522
|
payload: {
|
|
6249
6523
|
code: string;
|
|
6250
6524
|
message: string;
|
|
@@ -6256,8 +6530,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6256
6530
|
turnId: string;
|
|
6257
6531
|
parentItemId: string | null;
|
|
6258
6532
|
sourceSequence: number | null;
|
|
6259
|
-
startedAt: number | null;
|
|
6260
|
-
completedAt: number | null;
|
|
6261
6533
|
segmentId?: string | undefined;
|
|
6262
6534
|
segmentIndex?: number | undefined;
|
|
6263
6535
|
} | {
|
|
@@ -6266,6 +6538,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6266
6538
|
runId: string | null;
|
|
6267
6539
|
kind: "unknown";
|
|
6268
6540
|
sessionId: string;
|
|
6541
|
+
startedAt: number | null;
|
|
6542
|
+
completedAt: number | null;
|
|
6269
6543
|
payload: {
|
|
6270
6544
|
label: string;
|
|
6271
6545
|
sourceEventType: string;
|
|
@@ -6274,14 +6548,10 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6274
6548
|
turnId: string;
|
|
6275
6549
|
parentItemId: string | null;
|
|
6276
6550
|
sourceSequence: number | null;
|
|
6277
|
-
startedAt: number | null;
|
|
6278
|
-
completedAt: number | null;
|
|
6279
6551
|
segmentId?: string | undefined;
|
|
6280
6552
|
segmentIndex?: number | undefined;
|
|
6281
6553
|
})[];
|
|
6282
6554
|
turnId: string;
|
|
6283
|
-
startedAt: number | null;
|
|
6284
|
-
completedAt: number | null;
|
|
6285
6555
|
index: number;
|
|
6286
6556
|
rewind?: {
|
|
6287
6557
|
before: string | null;
|
|
@@ -6292,12 +6562,16 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6292
6562
|
id: string;
|
|
6293
6563
|
runId: string | null;
|
|
6294
6564
|
sessionId: string;
|
|
6565
|
+
startedAt: number | null;
|
|
6566
|
+
completedAt: number | null;
|
|
6295
6567
|
items: ({
|
|
6296
6568
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
6297
6569
|
id: string;
|
|
6298
6570
|
runId: string | null;
|
|
6299
6571
|
kind: "assistant_message";
|
|
6300
6572
|
sessionId: string;
|
|
6573
|
+
startedAt: number | null;
|
|
6574
|
+
completedAt: number | null;
|
|
6301
6575
|
payload: {
|
|
6302
6576
|
model: string | null;
|
|
6303
6577
|
text: string;
|
|
@@ -6307,8 +6581,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6307
6581
|
turnId: string;
|
|
6308
6582
|
parentItemId: string | null;
|
|
6309
6583
|
sourceSequence: number | null;
|
|
6310
|
-
startedAt: number | null;
|
|
6311
|
-
completedAt: number | null;
|
|
6312
6584
|
segmentId?: string | undefined;
|
|
6313
6585
|
segmentIndex?: number | undefined;
|
|
6314
6586
|
} | {
|
|
@@ -6317,6 +6589,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6317
6589
|
runId: string | null;
|
|
6318
6590
|
kind: "user_message";
|
|
6319
6591
|
sessionId: string;
|
|
6592
|
+
startedAt: number | null;
|
|
6593
|
+
completedAt: number | null;
|
|
6320
6594
|
payload: {
|
|
6321
6595
|
clientMessageId: string | null;
|
|
6322
6596
|
text: string;
|
|
@@ -6334,8 +6608,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6334
6608
|
turnId: string;
|
|
6335
6609
|
parentItemId: string | null;
|
|
6336
6610
|
sourceSequence: number | null;
|
|
6337
|
-
startedAt: number | null;
|
|
6338
|
-
completedAt: number | null;
|
|
6339
6611
|
segmentId?: string | undefined;
|
|
6340
6612
|
segmentIndex?: number | undefined;
|
|
6341
6613
|
} | {
|
|
@@ -6344,6 +6616,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6344
6616
|
runId: string | null;
|
|
6345
6617
|
kind: "plan";
|
|
6346
6618
|
sessionId: string;
|
|
6619
|
+
startedAt: number | null;
|
|
6620
|
+
completedAt: number | null;
|
|
6347
6621
|
payload: {
|
|
6348
6622
|
explanation: string | null;
|
|
6349
6623
|
steps: {
|
|
@@ -6356,8 +6630,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6356
6630
|
turnId: string;
|
|
6357
6631
|
parentItemId: string | null;
|
|
6358
6632
|
sourceSequence: number | null;
|
|
6359
|
-
startedAt: number | null;
|
|
6360
|
-
completedAt: number | null;
|
|
6361
6633
|
segmentId?: string | undefined;
|
|
6362
6634
|
segmentIndex?: number | undefined;
|
|
6363
6635
|
} | {
|
|
@@ -6366,6 +6638,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6366
6638
|
runId: string | null;
|
|
6367
6639
|
kind: "approval";
|
|
6368
6640
|
sessionId: string;
|
|
6641
|
+
startedAt: number | null;
|
|
6642
|
+
completedAt: number | null;
|
|
6369
6643
|
payload: {
|
|
6370
6644
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
6371
6645
|
expiresAt: number;
|
|
@@ -6377,8 +6651,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6377
6651
|
turnId: string;
|
|
6378
6652
|
parentItemId: string | null;
|
|
6379
6653
|
sourceSequence: number | null;
|
|
6380
|
-
startedAt: number | null;
|
|
6381
|
-
completedAt: number | null;
|
|
6382
6654
|
segmentId?: string | undefined;
|
|
6383
6655
|
segmentIndex?: number | undefined;
|
|
6384
6656
|
} | {
|
|
@@ -6387,6 +6659,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6387
6659
|
runId: string | null;
|
|
6388
6660
|
kind: "turn_summary";
|
|
6389
6661
|
sessionId: string;
|
|
6662
|
+
startedAt: number | null;
|
|
6663
|
+
completedAt: number | null;
|
|
6390
6664
|
payload: {
|
|
6391
6665
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
6392
6666
|
durationMs: number | null;
|
|
@@ -6395,8 +6669,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6395
6669
|
turnId: string;
|
|
6396
6670
|
parentItemId: string | null;
|
|
6397
6671
|
sourceSequence: number | null;
|
|
6398
|
-
startedAt: number | null;
|
|
6399
|
-
completedAt: number | null;
|
|
6400
6672
|
segmentId?: string | undefined;
|
|
6401
6673
|
segmentIndex?: number | undefined;
|
|
6402
6674
|
} | {
|
|
@@ -6405,6 +6677,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6405
6677
|
runId: string | null;
|
|
6406
6678
|
kind: "reasoning_summary";
|
|
6407
6679
|
sessionId: string;
|
|
6680
|
+
startedAt: number | null;
|
|
6681
|
+
completedAt: number | null;
|
|
6408
6682
|
payload: {
|
|
6409
6683
|
sections: {
|
|
6410
6684
|
text: string;
|
|
@@ -6415,8 +6689,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6415
6689
|
turnId: string;
|
|
6416
6690
|
parentItemId: string | null;
|
|
6417
6691
|
sourceSequence: number | null;
|
|
6418
|
-
startedAt: number | null;
|
|
6419
|
-
completedAt: number | null;
|
|
6420
6692
|
segmentId?: string | undefined;
|
|
6421
6693
|
segmentIndex?: number | undefined;
|
|
6422
6694
|
} | {
|
|
@@ -6425,6 +6697,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6425
6697
|
runId: string | null;
|
|
6426
6698
|
kind: "tool_call";
|
|
6427
6699
|
sessionId: string;
|
|
6700
|
+
startedAt: number | null;
|
|
6701
|
+
completedAt: number | null;
|
|
6428
6702
|
payload: {
|
|
6429
6703
|
errorCode: string | null;
|
|
6430
6704
|
namespace: string;
|
|
@@ -6439,8 +6713,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6439
6713
|
turnId: string;
|
|
6440
6714
|
parentItemId: string | null;
|
|
6441
6715
|
sourceSequence: number | null;
|
|
6442
|
-
startedAt: number | null;
|
|
6443
|
-
completedAt: number | null;
|
|
6444
6716
|
segmentId?: string | undefined;
|
|
6445
6717
|
segmentIndex?: number | undefined;
|
|
6446
6718
|
} | {
|
|
@@ -6449,6 +6721,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6449
6721
|
runId: string | null;
|
|
6450
6722
|
kind: "command_execution";
|
|
6451
6723
|
sessionId: string;
|
|
6724
|
+
startedAt: number | null;
|
|
6725
|
+
completedAt: number | null;
|
|
6452
6726
|
payload: {
|
|
6453
6727
|
command: string;
|
|
6454
6728
|
durationMs: number | null;
|
|
@@ -6462,8 +6736,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6462
6736
|
turnId: string;
|
|
6463
6737
|
parentItemId: string | null;
|
|
6464
6738
|
sourceSequence: number | null;
|
|
6465
|
-
startedAt: number | null;
|
|
6466
|
-
completedAt: number | null;
|
|
6467
6739
|
segmentId?: string | undefined;
|
|
6468
6740
|
segmentIndex?: number | undefined;
|
|
6469
6741
|
} | {
|
|
@@ -6472,6 +6744,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6472
6744
|
runId: string | null;
|
|
6473
6745
|
kind: "file_change";
|
|
6474
6746
|
sessionId: string;
|
|
6747
|
+
startedAt: number | null;
|
|
6748
|
+
completedAt: number | null;
|
|
6475
6749
|
payload: {
|
|
6476
6750
|
changes: {
|
|
6477
6751
|
path: string;
|
|
@@ -6485,8 +6759,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6485
6759
|
turnId: string;
|
|
6486
6760
|
parentItemId: string | null;
|
|
6487
6761
|
sourceSequence: number | null;
|
|
6488
|
-
startedAt: number | null;
|
|
6489
|
-
completedAt: number | null;
|
|
6490
6762
|
segmentId?: string | undefined;
|
|
6491
6763
|
segmentIndex?: number | undefined;
|
|
6492
6764
|
} | {
|
|
@@ -6495,6 +6767,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6495
6767
|
runId: string | null;
|
|
6496
6768
|
kind: "user_input_request";
|
|
6497
6769
|
sessionId: string;
|
|
6770
|
+
startedAt: number | null;
|
|
6771
|
+
completedAt: number | null;
|
|
6498
6772
|
payload: {
|
|
6499
6773
|
requestId: string;
|
|
6500
6774
|
questions: {
|
|
@@ -6514,8 +6788,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6514
6788
|
turnId: string;
|
|
6515
6789
|
parentItemId: string | null;
|
|
6516
6790
|
sourceSequence: number | null;
|
|
6517
|
-
startedAt: number | null;
|
|
6518
|
-
completedAt: number | null;
|
|
6519
6791
|
segmentId?: string | undefined;
|
|
6520
6792
|
segmentIndex?: number | undefined;
|
|
6521
6793
|
} | {
|
|
@@ -6524,6 +6796,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6524
6796
|
runId: string | null;
|
|
6525
6797
|
kind: "context_compaction";
|
|
6526
6798
|
sessionId: string;
|
|
6799
|
+
startedAt: number | null;
|
|
6800
|
+
completedAt: number | null;
|
|
6527
6801
|
payload: {
|
|
6528
6802
|
phase: "COMPLETED" | "STARTED";
|
|
6529
6803
|
summary: string | null;
|
|
@@ -6532,8 +6806,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6532
6806
|
turnId: string;
|
|
6533
6807
|
parentItemId: string | null;
|
|
6534
6808
|
sourceSequence: number | null;
|
|
6535
|
-
startedAt: number | null;
|
|
6536
|
-
completedAt: number | null;
|
|
6537
6809
|
segmentId?: string | undefined;
|
|
6538
6810
|
segmentIndex?: number | undefined;
|
|
6539
6811
|
} | {
|
|
@@ -6542,6 +6814,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6542
6814
|
runId: string | null;
|
|
6543
6815
|
kind: "warning";
|
|
6544
6816
|
sessionId: string;
|
|
6817
|
+
startedAt: number | null;
|
|
6818
|
+
completedAt: number | null;
|
|
6545
6819
|
payload: {
|
|
6546
6820
|
code: string;
|
|
6547
6821
|
message: string;
|
|
@@ -6551,8 +6825,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6551
6825
|
turnId: string;
|
|
6552
6826
|
parentItemId: string | null;
|
|
6553
6827
|
sourceSequence: number | null;
|
|
6554
|
-
startedAt: number | null;
|
|
6555
|
-
completedAt: number | null;
|
|
6556
6828
|
segmentId?: string | undefined;
|
|
6557
6829
|
segmentIndex?: number | undefined;
|
|
6558
6830
|
} | {
|
|
@@ -6561,6 +6833,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6561
6833
|
runId: string | null;
|
|
6562
6834
|
kind: "error";
|
|
6563
6835
|
sessionId: string;
|
|
6836
|
+
startedAt: number | null;
|
|
6837
|
+
completedAt: number | null;
|
|
6564
6838
|
payload: {
|
|
6565
6839
|
code: string;
|
|
6566
6840
|
message: string;
|
|
@@ -6572,8 +6846,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6572
6846
|
turnId: string;
|
|
6573
6847
|
parentItemId: string | null;
|
|
6574
6848
|
sourceSequence: number | null;
|
|
6575
|
-
startedAt: number | null;
|
|
6576
|
-
completedAt: number | null;
|
|
6577
6849
|
segmentId?: string | undefined;
|
|
6578
6850
|
segmentIndex?: number | undefined;
|
|
6579
6851
|
} | {
|
|
@@ -6582,6 +6854,8 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6582
6854
|
runId: string | null;
|
|
6583
6855
|
kind: "unknown";
|
|
6584
6856
|
sessionId: string;
|
|
6857
|
+
startedAt: number | null;
|
|
6858
|
+
completedAt: number | null;
|
|
6585
6859
|
payload: {
|
|
6586
6860
|
label: string;
|
|
6587
6861
|
sourceEventType: string;
|
|
@@ -6590,14 +6864,10 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
6590
6864
|
turnId: string;
|
|
6591
6865
|
parentItemId: string | null;
|
|
6592
6866
|
sourceSequence: number | null;
|
|
6593
|
-
startedAt: number | null;
|
|
6594
|
-
completedAt: number | null;
|
|
6595
6867
|
segmentId?: string | undefined;
|
|
6596
6868
|
segmentIndex?: number | undefined;
|
|
6597
6869
|
})[];
|
|
6598
6870
|
turnId: string;
|
|
6599
|
-
startedAt: number | null;
|
|
6600
|
-
completedAt: number | null;
|
|
6601
6871
|
index: number;
|
|
6602
6872
|
rewind?: {
|
|
6603
6873
|
before: string | null;
|
|
@@ -6658,6 +6928,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
6658
6928
|
runId: string | null;
|
|
6659
6929
|
kind: "assistant_message";
|
|
6660
6930
|
sessionId: string;
|
|
6931
|
+
startedAt: number | null;
|
|
6932
|
+
completedAt: number | null;
|
|
6661
6933
|
payload: {
|
|
6662
6934
|
model: string | null;
|
|
6663
6935
|
text: string;
|
|
@@ -6667,8 +6939,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
6667
6939
|
turnId: string;
|
|
6668
6940
|
parentItemId: string | null;
|
|
6669
6941
|
sourceSequence: number | null;
|
|
6670
|
-
startedAt: number | null;
|
|
6671
|
-
completedAt: number | null;
|
|
6672
6942
|
segmentId?: string | undefined;
|
|
6673
6943
|
segmentIndex?: number | undefined;
|
|
6674
6944
|
}, {
|
|
@@ -6677,6 +6947,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
6677
6947
|
runId: string | null;
|
|
6678
6948
|
kind: "assistant_message";
|
|
6679
6949
|
sessionId: string;
|
|
6950
|
+
startedAt: number | null;
|
|
6951
|
+
completedAt: number | null;
|
|
6680
6952
|
payload: {
|
|
6681
6953
|
model: string | null;
|
|
6682
6954
|
text: string;
|
|
@@ -6686,8 +6958,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
6686
6958
|
turnId: string;
|
|
6687
6959
|
parentItemId: string | null;
|
|
6688
6960
|
sourceSequence: number | null;
|
|
6689
|
-
startedAt: number | null;
|
|
6690
|
-
completedAt: number | null;
|
|
6691
6961
|
segmentId?: string | undefined;
|
|
6692
6962
|
segmentIndex?: number | undefined;
|
|
6693
6963
|
}>, z.ZodObject<{
|
|
@@ -6762,6 +7032,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
6762
7032
|
runId: string | null;
|
|
6763
7033
|
kind: "user_message";
|
|
6764
7034
|
sessionId: string;
|
|
7035
|
+
startedAt: number | null;
|
|
7036
|
+
completedAt: number | null;
|
|
6765
7037
|
payload: {
|
|
6766
7038
|
clientMessageId: string | null;
|
|
6767
7039
|
text: string;
|
|
@@ -6779,8 +7051,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
6779
7051
|
turnId: string;
|
|
6780
7052
|
parentItemId: string | null;
|
|
6781
7053
|
sourceSequence: number | null;
|
|
6782
|
-
startedAt: number | null;
|
|
6783
|
-
completedAt: number | null;
|
|
6784
7054
|
segmentId?: string | undefined;
|
|
6785
7055
|
segmentIndex?: number | undefined;
|
|
6786
7056
|
}, {
|
|
@@ -6789,6 +7059,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
6789
7059
|
runId: string | null;
|
|
6790
7060
|
kind: "user_message";
|
|
6791
7061
|
sessionId: string;
|
|
7062
|
+
startedAt: number | null;
|
|
7063
|
+
completedAt: number | null;
|
|
6792
7064
|
payload: {
|
|
6793
7065
|
clientMessageId: string | null;
|
|
6794
7066
|
text: string;
|
|
@@ -6806,8 +7078,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
6806
7078
|
turnId: string;
|
|
6807
7079
|
parentItemId: string | null;
|
|
6808
7080
|
sourceSequence: number | null;
|
|
6809
|
-
startedAt: number | null;
|
|
6810
|
-
completedAt: number | null;
|
|
6811
7081
|
segmentId?: string | undefined;
|
|
6812
7082
|
segmentIndex?: number | undefined;
|
|
6813
7083
|
}>, z.ZodObject<{
|
|
@@ -6853,6 +7123,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
6853
7123
|
runId: string | null;
|
|
6854
7124
|
kind: "reasoning_summary";
|
|
6855
7125
|
sessionId: string;
|
|
7126
|
+
startedAt: number | null;
|
|
7127
|
+
completedAt: number | null;
|
|
6856
7128
|
payload: {
|
|
6857
7129
|
sections: {
|
|
6858
7130
|
text: string;
|
|
@@ -6863,8 +7135,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
6863
7135
|
turnId: string;
|
|
6864
7136
|
parentItemId: string | null;
|
|
6865
7137
|
sourceSequence: number | null;
|
|
6866
|
-
startedAt: number | null;
|
|
6867
|
-
completedAt: number | null;
|
|
6868
7138
|
segmentId?: string | undefined;
|
|
6869
7139
|
segmentIndex?: number | undefined;
|
|
6870
7140
|
}, {
|
|
@@ -6873,6 +7143,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
6873
7143
|
runId: string | null;
|
|
6874
7144
|
kind: "reasoning_summary";
|
|
6875
7145
|
sessionId: string;
|
|
7146
|
+
startedAt: number | null;
|
|
7147
|
+
completedAt: number | null;
|
|
6876
7148
|
payload: {
|
|
6877
7149
|
sections: {
|
|
6878
7150
|
text: string;
|
|
@@ -6883,8 +7155,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
6883
7155
|
turnId: string;
|
|
6884
7156
|
parentItemId: string | null;
|
|
6885
7157
|
sourceSequence: number | null;
|
|
6886
|
-
startedAt: number | null;
|
|
6887
|
-
completedAt: number | null;
|
|
6888
7158
|
segmentId?: string | undefined;
|
|
6889
7159
|
segmentIndex?: number | undefined;
|
|
6890
7160
|
}>, z.ZodObject<{
|
|
@@ -6938,6 +7208,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
6938
7208
|
runId: string | null;
|
|
6939
7209
|
kind: "plan";
|
|
6940
7210
|
sessionId: string;
|
|
7211
|
+
startedAt: number | null;
|
|
7212
|
+
completedAt: number | null;
|
|
6941
7213
|
payload: {
|
|
6942
7214
|
explanation: string | null;
|
|
6943
7215
|
steps: {
|
|
@@ -6950,8 +7222,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
6950
7222
|
turnId: string;
|
|
6951
7223
|
parentItemId: string | null;
|
|
6952
7224
|
sourceSequence: number | null;
|
|
6953
|
-
startedAt: number | null;
|
|
6954
|
-
completedAt: number | null;
|
|
6955
7225
|
segmentId?: string | undefined;
|
|
6956
7226
|
segmentIndex?: number | undefined;
|
|
6957
7227
|
}, {
|
|
@@ -6960,6 +7230,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
6960
7230
|
runId: string | null;
|
|
6961
7231
|
kind: "plan";
|
|
6962
7232
|
sessionId: string;
|
|
7233
|
+
startedAt: number | null;
|
|
7234
|
+
completedAt: number | null;
|
|
6963
7235
|
payload: {
|
|
6964
7236
|
explanation: string | null;
|
|
6965
7237
|
steps: {
|
|
@@ -6972,8 +7244,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
6972
7244
|
turnId: string;
|
|
6973
7245
|
parentItemId: string | null;
|
|
6974
7246
|
sourceSequence: number | null;
|
|
6975
|
-
startedAt: number | null;
|
|
6976
|
-
completedAt: number | null;
|
|
6977
7247
|
segmentId?: string | undefined;
|
|
6978
7248
|
segmentIndex?: number | undefined;
|
|
6979
7249
|
}>, z.ZodObject<{
|
|
@@ -7025,6 +7295,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7025
7295
|
runId: string | null;
|
|
7026
7296
|
kind: "tool_call";
|
|
7027
7297
|
sessionId: string;
|
|
7298
|
+
startedAt: number | null;
|
|
7299
|
+
completedAt: number | null;
|
|
7028
7300
|
payload: {
|
|
7029
7301
|
errorCode: string | null;
|
|
7030
7302
|
namespace: string;
|
|
@@ -7039,8 +7311,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7039
7311
|
turnId: string;
|
|
7040
7312
|
parentItemId: string | null;
|
|
7041
7313
|
sourceSequence: number | null;
|
|
7042
|
-
startedAt: number | null;
|
|
7043
|
-
completedAt: number | null;
|
|
7044
7314
|
segmentId?: string | undefined;
|
|
7045
7315
|
segmentIndex?: number | undefined;
|
|
7046
7316
|
}, {
|
|
@@ -7049,6 +7319,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7049
7319
|
runId: string | null;
|
|
7050
7320
|
kind: "tool_call";
|
|
7051
7321
|
sessionId: string;
|
|
7322
|
+
startedAt: number | null;
|
|
7323
|
+
completedAt: number | null;
|
|
7052
7324
|
payload: {
|
|
7053
7325
|
errorCode: string | null;
|
|
7054
7326
|
namespace: string;
|
|
@@ -7063,8 +7335,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7063
7335
|
turnId: string;
|
|
7064
7336
|
parentItemId: string | null;
|
|
7065
7337
|
sourceSequence: number | null;
|
|
7066
|
-
startedAt: number | null;
|
|
7067
|
-
completedAt: number | null;
|
|
7068
7338
|
segmentId?: string | undefined;
|
|
7069
7339
|
segmentIndex?: number | undefined;
|
|
7070
7340
|
}>, z.ZodObject<{
|
|
@@ -7113,6 +7383,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7113
7383
|
runId: string | null;
|
|
7114
7384
|
kind: "command_execution";
|
|
7115
7385
|
sessionId: string;
|
|
7386
|
+
startedAt: number | null;
|
|
7387
|
+
completedAt: number | null;
|
|
7116
7388
|
payload: {
|
|
7117
7389
|
command: string;
|
|
7118
7390
|
durationMs: number | null;
|
|
@@ -7126,8 +7398,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7126
7398
|
turnId: string;
|
|
7127
7399
|
parentItemId: string | null;
|
|
7128
7400
|
sourceSequence: number | null;
|
|
7129
|
-
startedAt: number | null;
|
|
7130
|
-
completedAt: number | null;
|
|
7131
7401
|
segmentId?: string | undefined;
|
|
7132
7402
|
segmentIndex?: number | undefined;
|
|
7133
7403
|
}, {
|
|
@@ -7136,6 +7406,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7136
7406
|
runId: string | null;
|
|
7137
7407
|
kind: "command_execution";
|
|
7138
7408
|
sessionId: string;
|
|
7409
|
+
startedAt: number | null;
|
|
7410
|
+
completedAt: number | null;
|
|
7139
7411
|
payload: {
|
|
7140
7412
|
command: string;
|
|
7141
7413
|
durationMs: number | null;
|
|
@@ -7149,8 +7421,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7149
7421
|
turnId: string;
|
|
7150
7422
|
parentItemId: string | null;
|
|
7151
7423
|
sourceSequence: number | null;
|
|
7152
|
-
startedAt: number | null;
|
|
7153
|
-
completedAt: number | null;
|
|
7154
7424
|
segmentId?: string | undefined;
|
|
7155
7425
|
segmentIndex?: number | undefined;
|
|
7156
7426
|
}>, z.ZodObject<{
|
|
@@ -7211,6 +7481,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7211
7481
|
runId: string | null;
|
|
7212
7482
|
kind: "file_change";
|
|
7213
7483
|
sessionId: string;
|
|
7484
|
+
startedAt: number | null;
|
|
7485
|
+
completedAt: number | null;
|
|
7214
7486
|
payload: {
|
|
7215
7487
|
changes: {
|
|
7216
7488
|
path: string;
|
|
@@ -7224,8 +7496,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7224
7496
|
turnId: string;
|
|
7225
7497
|
parentItemId: string | null;
|
|
7226
7498
|
sourceSequence: number | null;
|
|
7227
|
-
startedAt: number | null;
|
|
7228
|
-
completedAt: number | null;
|
|
7229
7499
|
segmentId?: string | undefined;
|
|
7230
7500
|
segmentIndex?: number | undefined;
|
|
7231
7501
|
}, {
|
|
@@ -7234,6 +7504,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7234
7504
|
runId: string | null;
|
|
7235
7505
|
kind: "file_change";
|
|
7236
7506
|
sessionId: string;
|
|
7507
|
+
startedAt: number | null;
|
|
7508
|
+
completedAt: number | null;
|
|
7237
7509
|
payload: {
|
|
7238
7510
|
changes: {
|
|
7239
7511
|
path: string;
|
|
@@ -7247,8 +7519,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7247
7519
|
turnId: string;
|
|
7248
7520
|
parentItemId: string | null;
|
|
7249
7521
|
sourceSequence: number | null;
|
|
7250
|
-
startedAt: number | null;
|
|
7251
|
-
completedAt: number | null;
|
|
7252
7522
|
segmentId?: string | undefined;
|
|
7253
7523
|
segmentIndex?: number | undefined;
|
|
7254
7524
|
}>, z.ZodObject<{
|
|
@@ -7291,6 +7561,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7291
7561
|
runId: string | null;
|
|
7292
7562
|
kind: "approval";
|
|
7293
7563
|
sessionId: string;
|
|
7564
|
+
startedAt: number | null;
|
|
7565
|
+
completedAt: number | null;
|
|
7294
7566
|
payload: {
|
|
7295
7567
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
7296
7568
|
expiresAt: number;
|
|
@@ -7302,8 +7574,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7302
7574
|
turnId: string;
|
|
7303
7575
|
parentItemId: string | null;
|
|
7304
7576
|
sourceSequence: number | null;
|
|
7305
|
-
startedAt: number | null;
|
|
7306
|
-
completedAt: number | null;
|
|
7307
7577
|
segmentId?: string | undefined;
|
|
7308
7578
|
segmentIndex?: number | undefined;
|
|
7309
7579
|
}, {
|
|
@@ -7312,6 +7582,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7312
7582
|
runId: string | null;
|
|
7313
7583
|
kind: "approval";
|
|
7314
7584
|
sessionId: string;
|
|
7585
|
+
startedAt: number | null;
|
|
7586
|
+
completedAt: number | null;
|
|
7315
7587
|
payload: {
|
|
7316
7588
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
7317
7589
|
expiresAt: number;
|
|
@@ -7323,8 +7595,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7323
7595
|
turnId: string;
|
|
7324
7596
|
parentItemId: string | null;
|
|
7325
7597
|
sourceSequence: number | null;
|
|
7326
|
-
startedAt: number | null;
|
|
7327
|
-
completedAt: number | null;
|
|
7328
7598
|
segmentId?: string | undefined;
|
|
7329
7599
|
segmentIndex?: number | undefined;
|
|
7330
7600
|
}>, z.ZodObject<{
|
|
@@ -7421,6 +7691,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7421
7691
|
runId: string | null;
|
|
7422
7692
|
kind: "user_input_request";
|
|
7423
7693
|
sessionId: string;
|
|
7694
|
+
startedAt: number | null;
|
|
7695
|
+
completedAt: number | null;
|
|
7424
7696
|
payload: {
|
|
7425
7697
|
requestId: string;
|
|
7426
7698
|
questions: {
|
|
@@ -7440,8 +7712,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7440
7712
|
turnId: string;
|
|
7441
7713
|
parentItemId: string | null;
|
|
7442
7714
|
sourceSequence: number | null;
|
|
7443
|
-
startedAt: number | null;
|
|
7444
|
-
completedAt: number | null;
|
|
7445
7715
|
segmentId?: string | undefined;
|
|
7446
7716
|
segmentIndex?: number | undefined;
|
|
7447
7717
|
}, {
|
|
@@ -7450,6 +7720,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7450
7720
|
runId: string | null;
|
|
7451
7721
|
kind: "user_input_request";
|
|
7452
7722
|
sessionId: string;
|
|
7723
|
+
startedAt: number | null;
|
|
7724
|
+
completedAt: number | null;
|
|
7453
7725
|
payload: {
|
|
7454
7726
|
requestId: string;
|
|
7455
7727
|
questions: {
|
|
@@ -7469,8 +7741,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7469
7741
|
turnId: string;
|
|
7470
7742
|
parentItemId: string | null;
|
|
7471
7743
|
sourceSequence: number | null;
|
|
7472
|
-
startedAt: number | null;
|
|
7473
|
-
completedAt: number | null;
|
|
7474
7744
|
segmentId?: string | undefined;
|
|
7475
7745
|
segmentIndex?: number | undefined;
|
|
7476
7746
|
}>, z.ZodObject<{
|
|
@@ -7504,6 +7774,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7504
7774
|
runId: string | null;
|
|
7505
7775
|
kind: "context_compaction";
|
|
7506
7776
|
sessionId: string;
|
|
7777
|
+
startedAt: number | null;
|
|
7778
|
+
completedAt: number | null;
|
|
7507
7779
|
payload: {
|
|
7508
7780
|
phase: "COMPLETED" | "STARTED";
|
|
7509
7781
|
summary: string | null;
|
|
@@ -7512,8 +7784,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7512
7784
|
turnId: string;
|
|
7513
7785
|
parentItemId: string | null;
|
|
7514
7786
|
sourceSequence: number | null;
|
|
7515
|
-
startedAt: number | null;
|
|
7516
|
-
completedAt: number | null;
|
|
7517
7787
|
segmentId?: string | undefined;
|
|
7518
7788
|
segmentIndex?: number | undefined;
|
|
7519
7789
|
}, {
|
|
@@ -7522,6 +7792,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7522
7792
|
runId: string | null;
|
|
7523
7793
|
kind: "context_compaction";
|
|
7524
7794
|
sessionId: string;
|
|
7795
|
+
startedAt: number | null;
|
|
7796
|
+
completedAt: number | null;
|
|
7525
7797
|
payload: {
|
|
7526
7798
|
phase: "COMPLETED" | "STARTED";
|
|
7527
7799
|
summary: string | null;
|
|
@@ -7530,8 +7802,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7530
7802
|
turnId: string;
|
|
7531
7803
|
parentItemId: string | null;
|
|
7532
7804
|
sourceSequence: number | null;
|
|
7533
|
-
startedAt: number | null;
|
|
7534
|
-
completedAt: number | null;
|
|
7535
7805
|
segmentId?: string | undefined;
|
|
7536
7806
|
segmentIndex?: number | undefined;
|
|
7537
7807
|
}>, z.ZodObject<{
|
|
@@ -7568,6 +7838,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7568
7838
|
runId: string | null;
|
|
7569
7839
|
kind: "warning";
|
|
7570
7840
|
sessionId: string;
|
|
7841
|
+
startedAt: number | null;
|
|
7842
|
+
completedAt: number | null;
|
|
7571
7843
|
payload: {
|
|
7572
7844
|
code: string;
|
|
7573
7845
|
message: string;
|
|
@@ -7577,8 +7849,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7577
7849
|
turnId: string;
|
|
7578
7850
|
parentItemId: string | null;
|
|
7579
7851
|
sourceSequence: number | null;
|
|
7580
|
-
startedAt: number | null;
|
|
7581
|
-
completedAt: number | null;
|
|
7582
7852
|
segmentId?: string | undefined;
|
|
7583
7853
|
segmentIndex?: number | undefined;
|
|
7584
7854
|
}, {
|
|
@@ -7587,6 +7857,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7587
7857
|
runId: string | null;
|
|
7588
7858
|
kind: "warning";
|
|
7589
7859
|
sessionId: string;
|
|
7860
|
+
startedAt: number | null;
|
|
7861
|
+
completedAt: number | null;
|
|
7590
7862
|
payload: {
|
|
7591
7863
|
code: string;
|
|
7592
7864
|
message: string;
|
|
@@ -7596,8 +7868,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7596
7868
|
turnId: string;
|
|
7597
7869
|
parentItemId: string | null;
|
|
7598
7870
|
sourceSequence: number | null;
|
|
7599
|
-
startedAt: number | null;
|
|
7600
|
-
completedAt: number | null;
|
|
7601
7871
|
segmentId?: string | undefined;
|
|
7602
7872
|
segmentIndex?: number | undefined;
|
|
7603
7873
|
}>, z.ZodObject<{
|
|
@@ -7640,6 +7910,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7640
7910
|
runId: string | null;
|
|
7641
7911
|
kind: "error";
|
|
7642
7912
|
sessionId: string;
|
|
7913
|
+
startedAt: number | null;
|
|
7914
|
+
completedAt: number | null;
|
|
7643
7915
|
payload: {
|
|
7644
7916
|
code: string;
|
|
7645
7917
|
message: string;
|
|
@@ -7651,8 +7923,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7651
7923
|
turnId: string;
|
|
7652
7924
|
parentItemId: string | null;
|
|
7653
7925
|
sourceSequence: number | null;
|
|
7654
|
-
startedAt: number | null;
|
|
7655
|
-
completedAt: number | null;
|
|
7656
7926
|
segmentId?: string | undefined;
|
|
7657
7927
|
segmentIndex?: number | undefined;
|
|
7658
7928
|
}, {
|
|
@@ -7661,6 +7931,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7661
7931
|
runId: string | null;
|
|
7662
7932
|
kind: "error";
|
|
7663
7933
|
sessionId: string;
|
|
7934
|
+
startedAt: number | null;
|
|
7935
|
+
completedAt: number | null;
|
|
7664
7936
|
payload: {
|
|
7665
7937
|
code: string;
|
|
7666
7938
|
message: string;
|
|
@@ -7672,8 +7944,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7672
7944
|
turnId: string;
|
|
7673
7945
|
parentItemId: string | null;
|
|
7674
7946
|
sourceSequence: number | null;
|
|
7675
|
-
startedAt: number | null;
|
|
7676
|
-
completedAt: number | null;
|
|
7677
7947
|
segmentId?: string | undefined;
|
|
7678
7948
|
segmentIndex?: number | undefined;
|
|
7679
7949
|
}>, z.ZodObject<{
|
|
@@ -7707,6 +7977,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7707
7977
|
runId: string | null;
|
|
7708
7978
|
kind: "turn_summary";
|
|
7709
7979
|
sessionId: string;
|
|
7980
|
+
startedAt: number | null;
|
|
7981
|
+
completedAt: number | null;
|
|
7710
7982
|
payload: {
|
|
7711
7983
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
7712
7984
|
durationMs: number | null;
|
|
@@ -7715,8 +7987,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7715
7987
|
turnId: string;
|
|
7716
7988
|
parentItemId: string | null;
|
|
7717
7989
|
sourceSequence: number | null;
|
|
7718
|
-
startedAt: number | null;
|
|
7719
|
-
completedAt: number | null;
|
|
7720
7990
|
segmentId?: string | undefined;
|
|
7721
7991
|
segmentIndex?: number | undefined;
|
|
7722
7992
|
}, {
|
|
@@ -7725,6 +7995,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7725
7995
|
runId: string | null;
|
|
7726
7996
|
kind: "turn_summary";
|
|
7727
7997
|
sessionId: string;
|
|
7998
|
+
startedAt: number | null;
|
|
7999
|
+
completedAt: number | null;
|
|
7728
8000
|
payload: {
|
|
7729
8001
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
7730
8002
|
durationMs: number | null;
|
|
@@ -7733,8 +8005,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7733
8005
|
turnId: string;
|
|
7734
8006
|
parentItemId: string | null;
|
|
7735
8007
|
sourceSequence: number | null;
|
|
7736
|
-
startedAt: number | null;
|
|
7737
|
-
completedAt: number | null;
|
|
7738
8008
|
segmentId?: string | undefined;
|
|
7739
8009
|
segmentIndex?: number | undefined;
|
|
7740
8010
|
}>, z.ZodObject<{
|
|
@@ -7768,6 +8038,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7768
8038
|
runId: string | null;
|
|
7769
8039
|
kind: "unknown";
|
|
7770
8040
|
sessionId: string;
|
|
8041
|
+
startedAt: number | null;
|
|
8042
|
+
completedAt: number | null;
|
|
7771
8043
|
payload: {
|
|
7772
8044
|
label: string;
|
|
7773
8045
|
sourceEventType: string;
|
|
@@ -7776,8 +8048,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7776
8048
|
turnId: string;
|
|
7777
8049
|
parentItemId: string | null;
|
|
7778
8050
|
sourceSequence: number | null;
|
|
7779
|
-
startedAt: number | null;
|
|
7780
|
-
completedAt: number | null;
|
|
7781
8051
|
segmentId?: string | undefined;
|
|
7782
8052
|
segmentIndex?: number | undefined;
|
|
7783
8053
|
}, {
|
|
@@ -7786,6 +8056,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7786
8056
|
runId: string | null;
|
|
7787
8057
|
kind: "unknown";
|
|
7788
8058
|
sessionId: string;
|
|
8059
|
+
startedAt: number | null;
|
|
8060
|
+
completedAt: number | null;
|
|
7789
8061
|
payload: {
|
|
7790
8062
|
label: string;
|
|
7791
8063
|
sourceEventType: string;
|
|
@@ -7794,8 +8066,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7794
8066
|
turnId: string;
|
|
7795
8067
|
parentItemId: string | null;
|
|
7796
8068
|
sourceSequence: number | null;
|
|
7797
|
-
startedAt: number | null;
|
|
7798
|
-
completedAt: number | null;
|
|
7799
8069
|
segmentId?: string | undefined;
|
|
7800
8070
|
segmentIndex?: number | undefined;
|
|
7801
8071
|
}>]>, "many">;
|
|
@@ -7806,12 +8076,16 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7806
8076
|
id: string;
|
|
7807
8077
|
runId: string | null;
|
|
7808
8078
|
sessionId: string;
|
|
8079
|
+
startedAt: number | null;
|
|
8080
|
+
completedAt: number | null;
|
|
7809
8081
|
items: ({
|
|
7810
8082
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
7811
8083
|
id: string;
|
|
7812
8084
|
runId: string | null;
|
|
7813
8085
|
kind: "assistant_message";
|
|
7814
8086
|
sessionId: string;
|
|
8087
|
+
startedAt: number | null;
|
|
8088
|
+
completedAt: number | null;
|
|
7815
8089
|
payload: {
|
|
7816
8090
|
model: string | null;
|
|
7817
8091
|
text: string;
|
|
@@ -7821,8 +8095,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7821
8095
|
turnId: string;
|
|
7822
8096
|
parentItemId: string | null;
|
|
7823
8097
|
sourceSequence: number | null;
|
|
7824
|
-
startedAt: number | null;
|
|
7825
|
-
completedAt: number | null;
|
|
7826
8098
|
segmentId?: string | undefined;
|
|
7827
8099
|
segmentIndex?: number | undefined;
|
|
7828
8100
|
} | {
|
|
@@ -7831,6 +8103,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7831
8103
|
runId: string | null;
|
|
7832
8104
|
kind: "user_message";
|
|
7833
8105
|
sessionId: string;
|
|
8106
|
+
startedAt: number | null;
|
|
8107
|
+
completedAt: number | null;
|
|
7834
8108
|
payload: {
|
|
7835
8109
|
clientMessageId: string | null;
|
|
7836
8110
|
text: string;
|
|
@@ -7848,8 +8122,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7848
8122
|
turnId: string;
|
|
7849
8123
|
parentItemId: string | null;
|
|
7850
8124
|
sourceSequence: number | null;
|
|
7851
|
-
startedAt: number | null;
|
|
7852
|
-
completedAt: number | null;
|
|
7853
8125
|
segmentId?: string | undefined;
|
|
7854
8126
|
segmentIndex?: number | undefined;
|
|
7855
8127
|
} | {
|
|
@@ -7858,6 +8130,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7858
8130
|
runId: string | null;
|
|
7859
8131
|
kind: "plan";
|
|
7860
8132
|
sessionId: string;
|
|
8133
|
+
startedAt: number | null;
|
|
8134
|
+
completedAt: number | null;
|
|
7861
8135
|
payload: {
|
|
7862
8136
|
explanation: string | null;
|
|
7863
8137
|
steps: {
|
|
@@ -7870,8 +8144,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7870
8144
|
turnId: string;
|
|
7871
8145
|
parentItemId: string | null;
|
|
7872
8146
|
sourceSequence: number | null;
|
|
7873
|
-
startedAt: number | null;
|
|
7874
|
-
completedAt: number | null;
|
|
7875
8147
|
segmentId?: string | undefined;
|
|
7876
8148
|
segmentIndex?: number | undefined;
|
|
7877
8149
|
} | {
|
|
@@ -7880,6 +8152,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7880
8152
|
runId: string | null;
|
|
7881
8153
|
kind: "approval";
|
|
7882
8154
|
sessionId: string;
|
|
8155
|
+
startedAt: number | null;
|
|
8156
|
+
completedAt: number | null;
|
|
7883
8157
|
payload: {
|
|
7884
8158
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
7885
8159
|
expiresAt: number;
|
|
@@ -7891,8 +8165,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7891
8165
|
turnId: string;
|
|
7892
8166
|
parentItemId: string | null;
|
|
7893
8167
|
sourceSequence: number | null;
|
|
7894
|
-
startedAt: number | null;
|
|
7895
|
-
completedAt: number | null;
|
|
7896
8168
|
segmentId?: string | undefined;
|
|
7897
8169
|
segmentIndex?: number | undefined;
|
|
7898
8170
|
} | {
|
|
@@ -7901,6 +8173,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7901
8173
|
runId: string | null;
|
|
7902
8174
|
kind: "turn_summary";
|
|
7903
8175
|
sessionId: string;
|
|
8176
|
+
startedAt: number | null;
|
|
8177
|
+
completedAt: number | null;
|
|
7904
8178
|
payload: {
|
|
7905
8179
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
7906
8180
|
durationMs: number | null;
|
|
@@ -7909,8 +8183,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7909
8183
|
turnId: string;
|
|
7910
8184
|
parentItemId: string | null;
|
|
7911
8185
|
sourceSequence: number | null;
|
|
7912
|
-
startedAt: number | null;
|
|
7913
|
-
completedAt: number | null;
|
|
7914
8186
|
segmentId?: string | undefined;
|
|
7915
8187
|
segmentIndex?: number | undefined;
|
|
7916
8188
|
} | {
|
|
@@ -7919,6 +8191,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7919
8191
|
runId: string | null;
|
|
7920
8192
|
kind: "reasoning_summary";
|
|
7921
8193
|
sessionId: string;
|
|
8194
|
+
startedAt: number | null;
|
|
8195
|
+
completedAt: number | null;
|
|
7922
8196
|
payload: {
|
|
7923
8197
|
sections: {
|
|
7924
8198
|
text: string;
|
|
@@ -7929,8 +8203,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7929
8203
|
turnId: string;
|
|
7930
8204
|
parentItemId: string | null;
|
|
7931
8205
|
sourceSequence: number | null;
|
|
7932
|
-
startedAt: number | null;
|
|
7933
|
-
completedAt: number | null;
|
|
7934
8206
|
segmentId?: string | undefined;
|
|
7935
8207
|
segmentIndex?: number | undefined;
|
|
7936
8208
|
} | {
|
|
@@ -7939,6 +8211,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7939
8211
|
runId: string | null;
|
|
7940
8212
|
kind: "tool_call";
|
|
7941
8213
|
sessionId: string;
|
|
8214
|
+
startedAt: number | null;
|
|
8215
|
+
completedAt: number | null;
|
|
7942
8216
|
payload: {
|
|
7943
8217
|
errorCode: string | null;
|
|
7944
8218
|
namespace: string;
|
|
@@ -7953,8 +8227,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7953
8227
|
turnId: string;
|
|
7954
8228
|
parentItemId: string | null;
|
|
7955
8229
|
sourceSequence: number | null;
|
|
7956
|
-
startedAt: number | null;
|
|
7957
|
-
completedAt: number | null;
|
|
7958
8230
|
segmentId?: string | undefined;
|
|
7959
8231
|
segmentIndex?: number | undefined;
|
|
7960
8232
|
} | {
|
|
@@ -7963,6 +8235,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7963
8235
|
runId: string | null;
|
|
7964
8236
|
kind: "command_execution";
|
|
7965
8237
|
sessionId: string;
|
|
8238
|
+
startedAt: number | null;
|
|
8239
|
+
completedAt: number | null;
|
|
7966
8240
|
payload: {
|
|
7967
8241
|
command: string;
|
|
7968
8242
|
durationMs: number | null;
|
|
@@ -7976,8 +8250,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7976
8250
|
turnId: string;
|
|
7977
8251
|
parentItemId: string | null;
|
|
7978
8252
|
sourceSequence: number | null;
|
|
7979
|
-
startedAt: number | null;
|
|
7980
|
-
completedAt: number | null;
|
|
7981
8253
|
segmentId?: string | undefined;
|
|
7982
8254
|
segmentIndex?: number | undefined;
|
|
7983
8255
|
} | {
|
|
@@ -7986,6 +8258,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7986
8258
|
runId: string | null;
|
|
7987
8259
|
kind: "file_change";
|
|
7988
8260
|
sessionId: string;
|
|
8261
|
+
startedAt: number | null;
|
|
8262
|
+
completedAt: number | null;
|
|
7989
8263
|
payload: {
|
|
7990
8264
|
changes: {
|
|
7991
8265
|
path: string;
|
|
@@ -7999,8 +8273,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
7999
8273
|
turnId: string;
|
|
8000
8274
|
parentItemId: string | null;
|
|
8001
8275
|
sourceSequence: number | null;
|
|
8002
|
-
startedAt: number | null;
|
|
8003
|
-
completedAt: number | null;
|
|
8004
8276
|
segmentId?: string | undefined;
|
|
8005
8277
|
segmentIndex?: number | undefined;
|
|
8006
8278
|
} | {
|
|
@@ -8009,6 +8281,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8009
8281
|
runId: string | null;
|
|
8010
8282
|
kind: "user_input_request";
|
|
8011
8283
|
sessionId: string;
|
|
8284
|
+
startedAt: number | null;
|
|
8285
|
+
completedAt: number | null;
|
|
8012
8286
|
payload: {
|
|
8013
8287
|
requestId: string;
|
|
8014
8288
|
questions: {
|
|
@@ -8028,8 +8302,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8028
8302
|
turnId: string;
|
|
8029
8303
|
parentItemId: string | null;
|
|
8030
8304
|
sourceSequence: number | null;
|
|
8031
|
-
startedAt: number | null;
|
|
8032
|
-
completedAt: number | null;
|
|
8033
8305
|
segmentId?: string | undefined;
|
|
8034
8306
|
segmentIndex?: number | undefined;
|
|
8035
8307
|
} | {
|
|
@@ -8038,6 +8310,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8038
8310
|
runId: string | null;
|
|
8039
8311
|
kind: "context_compaction";
|
|
8040
8312
|
sessionId: string;
|
|
8313
|
+
startedAt: number | null;
|
|
8314
|
+
completedAt: number | null;
|
|
8041
8315
|
payload: {
|
|
8042
8316
|
phase: "COMPLETED" | "STARTED";
|
|
8043
8317
|
summary: string | null;
|
|
@@ -8046,8 +8320,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8046
8320
|
turnId: string;
|
|
8047
8321
|
parentItemId: string | null;
|
|
8048
8322
|
sourceSequence: number | null;
|
|
8049
|
-
startedAt: number | null;
|
|
8050
|
-
completedAt: number | null;
|
|
8051
8323
|
segmentId?: string | undefined;
|
|
8052
8324
|
segmentIndex?: number | undefined;
|
|
8053
8325
|
} | {
|
|
@@ -8056,6 +8328,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8056
8328
|
runId: string | null;
|
|
8057
8329
|
kind: "warning";
|
|
8058
8330
|
sessionId: string;
|
|
8331
|
+
startedAt: number | null;
|
|
8332
|
+
completedAt: number | null;
|
|
8059
8333
|
payload: {
|
|
8060
8334
|
code: string;
|
|
8061
8335
|
message: string;
|
|
@@ -8065,8 +8339,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8065
8339
|
turnId: string;
|
|
8066
8340
|
parentItemId: string | null;
|
|
8067
8341
|
sourceSequence: number | null;
|
|
8068
|
-
startedAt: number | null;
|
|
8069
|
-
completedAt: number | null;
|
|
8070
8342
|
segmentId?: string | undefined;
|
|
8071
8343
|
segmentIndex?: number | undefined;
|
|
8072
8344
|
} | {
|
|
@@ -8075,6 +8347,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8075
8347
|
runId: string | null;
|
|
8076
8348
|
kind: "error";
|
|
8077
8349
|
sessionId: string;
|
|
8350
|
+
startedAt: number | null;
|
|
8351
|
+
completedAt: number | null;
|
|
8078
8352
|
payload: {
|
|
8079
8353
|
code: string;
|
|
8080
8354
|
message: string;
|
|
@@ -8086,8 +8360,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8086
8360
|
turnId: string;
|
|
8087
8361
|
parentItemId: string | null;
|
|
8088
8362
|
sourceSequence: number | null;
|
|
8089
|
-
startedAt: number | null;
|
|
8090
|
-
completedAt: number | null;
|
|
8091
8363
|
segmentId?: string | undefined;
|
|
8092
8364
|
segmentIndex?: number | undefined;
|
|
8093
8365
|
} | {
|
|
@@ -8096,6 +8368,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8096
8368
|
runId: string | null;
|
|
8097
8369
|
kind: "unknown";
|
|
8098
8370
|
sessionId: string;
|
|
8371
|
+
startedAt: number | null;
|
|
8372
|
+
completedAt: number | null;
|
|
8099
8373
|
payload: {
|
|
8100
8374
|
label: string;
|
|
8101
8375
|
sourceEventType: string;
|
|
@@ -8104,14 +8378,10 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8104
8378
|
turnId: string;
|
|
8105
8379
|
parentItemId: string | null;
|
|
8106
8380
|
sourceSequence: number | null;
|
|
8107
|
-
startedAt: number | null;
|
|
8108
|
-
completedAt: number | null;
|
|
8109
8381
|
segmentId?: string | undefined;
|
|
8110
8382
|
segmentIndex?: number | undefined;
|
|
8111
8383
|
})[];
|
|
8112
8384
|
turnId: string;
|
|
8113
|
-
startedAt: number | null;
|
|
8114
|
-
completedAt: number | null;
|
|
8115
8385
|
index: number;
|
|
8116
8386
|
rewind?: {
|
|
8117
8387
|
before: string | null;
|
|
@@ -8122,12 +8392,16 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8122
8392
|
id: string;
|
|
8123
8393
|
runId: string | null;
|
|
8124
8394
|
sessionId: string;
|
|
8395
|
+
startedAt: number | null;
|
|
8396
|
+
completedAt: number | null;
|
|
8125
8397
|
items: ({
|
|
8126
8398
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
8127
8399
|
id: string;
|
|
8128
8400
|
runId: string | null;
|
|
8129
8401
|
kind: "assistant_message";
|
|
8130
8402
|
sessionId: string;
|
|
8403
|
+
startedAt: number | null;
|
|
8404
|
+
completedAt: number | null;
|
|
8131
8405
|
payload: {
|
|
8132
8406
|
model: string | null;
|
|
8133
8407
|
text: string;
|
|
@@ -8137,8 +8411,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8137
8411
|
turnId: string;
|
|
8138
8412
|
parentItemId: string | null;
|
|
8139
8413
|
sourceSequence: number | null;
|
|
8140
|
-
startedAt: number | null;
|
|
8141
|
-
completedAt: number | null;
|
|
8142
8414
|
segmentId?: string | undefined;
|
|
8143
8415
|
segmentIndex?: number | undefined;
|
|
8144
8416
|
} | {
|
|
@@ -8147,6 +8419,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8147
8419
|
runId: string | null;
|
|
8148
8420
|
kind: "user_message";
|
|
8149
8421
|
sessionId: string;
|
|
8422
|
+
startedAt: number | null;
|
|
8423
|
+
completedAt: number | null;
|
|
8150
8424
|
payload: {
|
|
8151
8425
|
clientMessageId: string | null;
|
|
8152
8426
|
text: string;
|
|
@@ -8164,8 +8438,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8164
8438
|
turnId: string;
|
|
8165
8439
|
parentItemId: string | null;
|
|
8166
8440
|
sourceSequence: number | null;
|
|
8167
|
-
startedAt: number | null;
|
|
8168
|
-
completedAt: number | null;
|
|
8169
8441
|
segmentId?: string | undefined;
|
|
8170
8442
|
segmentIndex?: number | undefined;
|
|
8171
8443
|
} | {
|
|
@@ -8174,6 +8446,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8174
8446
|
runId: string | null;
|
|
8175
8447
|
kind: "plan";
|
|
8176
8448
|
sessionId: string;
|
|
8449
|
+
startedAt: number | null;
|
|
8450
|
+
completedAt: number | null;
|
|
8177
8451
|
payload: {
|
|
8178
8452
|
explanation: string | null;
|
|
8179
8453
|
steps: {
|
|
@@ -8186,8 +8460,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8186
8460
|
turnId: string;
|
|
8187
8461
|
parentItemId: string | null;
|
|
8188
8462
|
sourceSequence: number | null;
|
|
8189
|
-
startedAt: number | null;
|
|
8190
|
-
completedAt: number | null;
|
|
8191
8463
|
segmentId?: string | undefined;
|
|
8192
8464
|
segmentIndex?: number | undefined;
|
|
8193
8465
|
} | {
|
|
@@ -8196,6 +8468,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8196
8468
|
runId: string | null;
|
|
8197
8469
|
kind: "approval";
|
|
8198
8470
|
sessionId: string;
|
|
8471
|
+
startedAt: number | null;
|
|
8472
|
+
completedAt: number | null;
|
|
8199
8473
|
payload: {
|
|
8200
8474
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
8201
8475
|
expiresAt: number;
|
|
@@ -8207,8 +8481,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8207
8481
|
turnId: string;
|
|
8208
8482
|
parentItemId: string | null;
|
|
8209
8483
|
sourceSequence: number | null;
|
|
8210
|
-
startedAt: number | null;
|
|
8211
|
-
completedAt: number | null;
|
|
8212
8484
|
segmentId?: string | undefined;
|
|
8213
8485
|
segmentIndex?: number | undefined;
|
|
8214
8486
|
} | {
|
|
@@ -8217,6 +8489,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8217
8489
|
runId: string | null;
|
|
8218
8490
|
kind: "turn_summary";
|
|
8219
8491
|
sessionId: string;
|
|
8492
|
+
startedAt: number | null;
|
|
8493
|
+
completedAt: number | null;
|
|
8220
8494
|
payload: {
|
|
8221
8495
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
8222
8496
|
durationMs: number | null;
|
|
@@ -8225,8 +8499,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8225
8499
|
turnId: string;
|
|
8226
8500
|
parentItemId: string | null;
|
|
8227
8501
|
sourceSequence: number | null;
|
|
8228
|
-
startedAt: number | null;
|
|
8229
|
-
completedAt: number | null;
|
|
8230
8502
|
segmentId?: string | undefined;
|
|
8231
8503
|
segmentIndex?: number | undefined;
|
|
8232
8504
|
} | {
|
|
@@ -8235,6 +8507,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8235
8507
|
runId: string | null;
|
|
8236
8508
|
kind: "reasoning_summary";
|
|
8237
8509
|
sessionId: string;
|
|
8510
|
+
startedAt: number | null;
|
|
8511
|
+
completedAt: number | null;
|
|
8238
8512
|
payload: {
|
|
8239
8513
|
sections: {
|
|
8240
8514
|
text: string;
|
|
@@ -8245,8 +8519,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8245
8519
|
turnId: string;
|
|
8246
8520
|
parentItemId: string | null;
|
|
8247
8521
|
sourceSequence: number | null;
|
|
8248
|
-
startedAt: number | null;
|
|
8249
|
-
completedAt: number | null;
|
|
8250
8522
|
segmentId?: string | undefined;
|
|
8251
8523
|
segmentIndex?: number | undefined;
|
|
8252
8524
|
} | {
|
|
@@ -8255,6 +8527,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8255
8527
|
runId: string | null;
|
|
8256
8528
|
kind: "tool_call";
|
|
8257
8529
|
sessionId: string;
|
|
8530
|
+
startedAt: number | null;
|
|
8531
|
+
completedAt: number | null;
|
|
8258
8532
|
payload: {
|
|
8259
8533
|
errorCode: string | null;
|
|
8260
8534
|
namespace: string;
|
|
@@ -8269,8 +8543,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8269
8543
|
turnId: string;
|
|
8270
8544
|
parentItemId: string | null;
|
|
8271
8545
|
sourceSequence: number | null;
|
|
8272
|
-
startedAt: number | null;
|
|
8273
|
-
completedAt: number | null;
|
|
8274
8546
|
segmentId?: string | undefined;
|
|
8275
8547
|
segmentIndex?: number | undefined;
|
|
8276
8548
|
} | {
|
|
@@ -8279,6 +8551,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8279
8551
|
runId: string | null;
|
|
8280
8552
|
kind: "command_execution";
|
|
8281
8553
|
sessionId: string;
|
|
8554
|
+
startedAt: number | null;
|
|
8555
|
+
completedAt: number | null;
|
|
8282
8556
|
payload: {
|
|
8283
8557
|
command: string;
|
|
8284
8558
|
durationMs: number | null;
|
|
@@ -8292,8 +8566,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8292
8566
|
turnId: string;
|
|
8293
8567
|
parentItemId: string | null;
|
|
8294
8568
|
sourceSequence: number | null;
|
|
8295
|
-
startedAt: number | null;
|
|
8296
|
-
completedAt: number | null;
|
|
8297
8569
|
segmentId?: string | undefined;
|
|
8298
8570
|
segmentIndex?: number | undefined;
|
|
8299
8571
|
} | {
|
|
@@ -8302,6 +8574,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8302
8574
|
runId: string | null;
|
|
8303
8575
|
kind: "file_change";
|
|
8304
8576
|
sessionId: string;
|
|
8577
|
+
startedAt: number | null;
|
|
8578
|
+
completedAt: number | null;
|
|
8305
8579
|
payload: {
|
|
8306
8580
|
changes: {
|
|
8307
8581
|
path: string;
|
|
@@ -8315,8 +8589,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8315
8589
|
turnId: string;
|
|
8316
8590
|
parentItemId: string | null;
|
|
8317
8591
|
sourceSequence: number | null;
|
|
8318
|
-
startedAt: number | null;
|
|
8319
|
-
completedAt: number | null;
|
|
8320
8592
|
segmentId?: string | undefined;
|
|
8321
8593
|
segmentIndex?: number | undefined;
|
|
8322
8594
|
} | {
|
|
@@ -8325,6 +8597,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8325
8597
|
runId: string | null;
|
|
8326
8598
|
kind: "user_input_request";
|
|
8327
8599
|
sessionId: string;
|
|
8600
|
+
startedAt: number | null;
|
|
8601
|
+
completedAt: number | null;
|
|
8328
8602
|
payload: {
|
|
8329
8603
|
requestId: string;
|
|
8330
8604
|
questions: {
|
|
@@ -8344,8 +8618,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8344
8618
|
turnId: string;
|
|
8345
8619
|
parentItemId: string | null;
|
|
8346
8620
|
sourceSequence: number | null;
|
|
8347
|
-
startedAt: number | null;
|
|
8348
|
-
completedAt: number | null;
|
|
8349
8621
|
segmentId?: string | undefined;
|
|
8350
8622
|
segmentIndex?: number | undefined;
|
|
8351
8623
|
} | {
|
|
@@ -8354,6 +8626,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8354
8626
|
runId: string | null;
|
|
8355
8627
|
kind: "context_compaction";
|
|
8356
8628
|
sessionId: string;
|
|
8629
|
+
startedAt: number | null;
|
|
8630
|
+
completedAt: number | null;
|
|
8357
8631
|
payload: {
|
|
8358
8632
|
phase: "COMPLETED" | "STARTED";
|
|
8359
8633
|
summary: string | null;
|
|
@@ -8362,8 +8636,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8362
8636
|
turnId: string;
|
|
8363
8637
|
parentItemId: string | null;
|
|
8364
8638
|
sourceSequence: number | null;
|
|
8365
|
-
startedAt: number | null;
|
|
8366
|
-
completedAt: number | null;
|
|
8367
8639
|
segmentId?: string | undefined;
|
|
8368
8640
|
segmentIndex?: number | undefined;
|
|
8369
8641
|
} | {
|
|
@@ -8372,6 +8644,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8372
8644
|
runId: string | null;
|
|
8373
8645
|
kind: "warning";
|
|
8374
8646
|
sessionId: string;
|
|
8647
|
+
startedAt: number | null;
|
|
8648
|
+
completedAt: number | null;
|
|
8375
8649
|
payload: {
|
|
8376
8650
|
code: string;
|
|
8377
8651
|
message: string;
|
|
@@ -8381,8 +8655,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8381
8655
|
turnId: string;
|
|
8382
8656
|
parentItemId: string | null;
|
|
8383
8657
|
sourceSequence: number | null;
|
|
8384
|
-
startedAt: number | null;
|
|
8385
|
-
completedAt: number | null;
|
|
8386
8658
|
segmentId?: string | undefined;
|
|
8387
8659
|
segmentIndex?: number | undefined;
|
|
8388
8660
|
} | {
|
|
@@ -8391,6 +8663,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8391
8663
|
runId: string | null;
|
|
8392
8664
|
kind: "error";
|
|
8393
8665
|
sessionId: string;
|
|
8666
|
+
startedAt: number | null;
|
|
8667
|
+
completedAt: number | null;
|
|
8394
8668
|
payload: {
|
|
8395
8669
|
code: string;
|
|
8396
8670
|
message: string;
|
|
@@ -8402,8 +8676,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8402
8676
|
turnId: string;
|
|
8403
8677
|
parentItemId: string | null;
|
|
8404
8678
|
sourceSequence: number | null;
|
|
8405
|
-
startedAt: number | null;
|
|
8406
|
-
completedAt: number | null;
|
|
8407
8679
|
segmentId?: string | undefined;
|
|
8408
8680
|
segmentIndex?: number | undefined;
|
|
8409
8681
|
} | {
|
|
@@ -8412,6 +8684,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8412
8684
|
runId: string | null;
|
|
8413
8685
|
kind: "unknown";
|
|
8414
8686
|
sessionId: string;
|
|
8687
|
+
startedAt: number | null;
|
|
8688
|
+
completedAt: number | null;
|
|
8415
8689
|
payload: {
|
|
8416
8690
|
label: string;
|
|
8417
8691
|
sourceEventType: string;
|
|
@@ -8420,14 +8694,10 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8420
8694
|
turnId: string;
|
|
8421
8695
|
parentItemId: string | null;
|
|
8422
8696
|
sourceSequence: number | null;
|
|
8423
|
-
startedAt: number | null;
|
|
8424
|
-
completedAt: number | null;
|
|
8425
8697
|
segmentId?: string | undefined;
|
|
8426
8698
|
segmentIndex?: number | undefined;
|
|
8427
8699
|
})[];
|
|
8428
8700
|
turnId: string;
|
|
8429
|
-
startedAt: number | null;
|
|
8430
|
-
completedAt: number | null;
|
|
8431
8701
|
index: number;
|
|
8432
8702
|
rewind?: {
|
|
8433
8703
|
before: string | null;
|
|
@@ -8449,12 +8719,16 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8449
8719
|
id: string;
|
|
8450
8720
|
runId: string | null;
|
|
8451
8721
|
sessionId: string;
|
|
8722
|
+
startedAt: number | null;
|
|
8723
|
+
completedAt: number | null;
|
|
8452
8724
|
items: ({
|
|
8453
8725
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
8454
8726
|
id: string;
|
|
8455
8727
|
runId: string | null;
|
|
8456
8728
|
kind: "assistant_message";
|
|
8457
8729
|
sessionId: string;
|
|
8730
|
+
startedAt: number | null;
|
|
8731
|
+
completedAt: number | null;
|
|
8458
8732
|
payload: {
|
|
8459
8733
|
model: string | null;
|
|
8460
8734
|
text: string;
|
|
@@ -8464,8 +8738,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8464
8738
|
turnId: string;
|
|
8465
8739
|
parentItemId: string | null;
|
|
8466
8740
|
sourceSequence: number | null;
|
|
8467
|
-
startedAt: number | null;
|
|
8468
|
-
completedAt: number | null;
|
|
8469
8741
|
segmentId?: string | undefined;
|
|
8470
8742
|
segmentIndex?: number | undefined;
|
|
8471
8743
|
} | {
|
|
@@ -8474,6 +8746,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8474
8746
|
runId: string | null;
|
|
8475
8747
|
kind: "user_message";
|
|
8476
8748
|
sessionId: string;
|
|
8749
|
+
startedAt: number | null;
|
|
8750
|
+
completedAt: number | null;
|
|
8477
8751
|
payload: {
|
|
8478
8752
|
clientMessageId: string | null;
|
|
8479
8753
|
text: string;
|
|
@@ -8491,8 +8765,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8491
8765
|
turnId: string;
|
|
8492
8766
|
parentItemId: string | null;
|
|
8493
8767
|
sourceSequence: number | null;
|
|
8494
|
-
startedAt: number | null;
|
|
8495
|
-
completedAt: number | null;
|
|
8496
8768
|
segmentId?: string | undefined;
|
|
8497
8769
|
segmentIndex?: number | undefined;
|
|
8498
8770
|
} | {
|
|
@@ -8501,6 +8773,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8501
8773
|
runId: string | null;
|
|
8502
8774
|
kind: "plan";
|
|
8503
8775
|
sessionId: string;
|
|
8776
|
+
startedAt: number | null;
|
|
8777
|
+
completedAt: number | null;
|
|
8504
8778
|
payload: {
|
|
8505
8779
|
explanation: string | null;
|
|
8506
8780
|
steps: {
|
|
@@ -8513,8 +8787,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8513
8787
|
turnId: string;
|
|
8514
8788
|
parentItemId: string | null;
|
|
8515
8789
|
sourceSequence: number | null;
|
|
8516
|
-
startedAt: number | null;
|
|
8517
|
-
completedAt: number | null;
|
|
8518
8790
|
segmentId?: string | undefined;
|
|
8519
8791
|
segmentIndex?: number | undefined;
|
|
8520
8792
|
} | {
|
|
@@ -8523,6 +8795,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8523
8795
|
runId: string | null;
|
|
8524
8796
|
kind: "approval";
|
|
8525
8797
|
sessionId: string;
|
|
8798
|
+
startedAt: number | null;
|
|
8799
|
+
completedAt: number | null;
|
|
8526
8800
|
payload: {
|
|
8527
8801
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
8528
8802
|
expiresAt: number;
|
|
@@ -8534,8 +8808,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8534
8808
|
turnId: string;
|
|
8535
8809
|
parentItemId: string | null;
|
|
8536
8810
|
sourceSequence: number | null;
|
|
8537
|
-
startedAt: number | null;
|
|
8538
|
-
completedAt: number | null;
|
|
8539
8811
|
segmentId?: string | undefined;
|
|
8540
8812
|
segmentIndex?: number | undefined;
|
|
8541
8813
|
} | {
|
|
@@ -8544,6 +8816,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8544
8816
|
runId: string | null;
|
|
8545
8817
|
kind: "turn_summary";
|
|
8546
8818
|
sessionId: string;
|
|
8819
|
+
startedAt: number | null;
|
|
8820
|
+
completedAt: number | null;
|
|
8547
8821
|
payload: {
|
|
8548
8822
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
8549
8823
|
durationMs: number | null;
|
|
@@ -8552,8 +8826,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8552
8826
|
turnId: string;
|
|
8553
8827
|
parentItemId: string | null;
|
|
8554
8828
|
sourceSequence: number | null;
|
|
8555
|
-
startedAt: number | null;
|
|
8556
|
-
completedAt: number | null;
|
|
8557
8829
|
segmentId?: string | undefined;
|
|
8558
8830
|
segmentIndex?: number | undefined;
|
|
8559
8831
|
} | {
|
|
@@ -8562,6 +8834,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8562
8834
|
runId: string | null;
|
|
8563
8835
|
kind: "reasoning_summary";
|
|
8564
8836
|
sessionId: string;
|
|
8837
|
+
startedAt: number | null;
|
|
8838
|
+
completedAt: number | null;
|
|
8565
8839
|
payload: {
|
|
8566
8840
|
sections: {
|
|
8567
8841
|
text: string;
|
|
@@ -8572,8 +8846,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8572
8846
|
turnId: string;
|
|
8573
8847
|
parentItemId: string | null;
|
|
8574
8848
|
sourceSequence: number | null;
|
|
8575
|
-
startedAt: number | null;
|
|
8576
|
-
completedAt: number | null;
|
|
8577
8849
|
segmentId?: string | undefined;
|
|
8578
8850
|
segmentIndex?: number | undefined;
|
|
8579
8851
|
} | {
|
|
@@ -8582,6 +8854,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8582
8854
|
runId: string | null;
|
|
8583
8855
|
kind: "tool_call";
|
|
8584
8856
|
sessionId: string;
|
|
8857
|
+
startedAt: number | null;
|
|
8858
|
+
completedAt: number | null;
|
|
8585
8859
|
payload: {
|
|
8586
8860
|
errorCode: string | null;
|
|
8587
8861
|
namespace: string;
|
|
@@ -8596,8 +8870,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8596
8870
|
turnId: string;
|
|
8597
8871
|
parentItemId: string | null;
|
|
8598
8872
|
sourceSequence: number | null;
|
|
8599
|
-
startedAt: number | null;
|
|
8600
|
-
completedAt: number | null;
|
|
8601
8873
|
segmentId?: string | undefined;
|
|
8602
8874
|
segmentIndex?: number | undefined;
|
|
8603
8875
|
} | {
|
|
@@ -8606,6 +8878,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8606
8878
|
runId: string | null;
|
|
8607
8879
|
kind: "command_execution";
|
|
8608
8880
|
sessionId: string;
|
|
8881
|
+
startedAt: number | null;
|
|
8882
|
+
completedAt: number | null;
|
|
8609
8883
|
payload: {
|
|
8610
8884
|
command: string;
|
|
8611
8885
|
durationMs: number | null;
|
|
@@ -8619,8 +8893,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8619
8893
|
turnId: string;
|
|
8620
8894
|
parentItemId: string | null;
|
|
8621
8895
|
sourceSequence: number | null;
|
|
8622
|
-
startedAt: number | null;
|
|
8623
|
-
completedAt: number | null;
|
|
8624
8896
|
segmentId?: string | undefined;
|
|
8625
8897
|
segmentIndex?: number | undefined;
|
|
8626
8898
|
} | {
|
|
@@ -8629,6 +8901,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8629
8901
|
runId: string | null;
|
|
8630
8902
|
kind: "file_change";
|
|
8631
8903
|
sessionId: string;
|
|
8904
|
+
startedAt: number | null;
|
|
8905
|
+
completedAt: number | null;
|
|
8632
8906
|
payload: {
|
|
8633
8907
|
changes: {
|
|
8634
8908
|
path: string;
|
|
@@ -8642,8 +8916,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8642
8916
|
turnId: string;
|
|
8643
8917
|
parentItemId: string | null;
|
|
8644
8918
|
sourceSequence: number | null;
|
|
8645
|
-
startedAt: number | null;
|
|
8646
|
-
completedAt: number | null;
|
|
8647
8919
|
segmentId?: string | undefined;
|
|
8648
8920
|
segmentIndex?: number | undefined;
|
|
8649
8921
|
} | {
|
|
@@ -8652,6 +8924,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8652
8924
|
runId: string | null;
|
|
8653
8925
|
kind: "user_input_request";
|
|
8654
8926
|
sessionId: string;
|
|
8927
|
+
startedAt: number | null;
|
|
8928
|
+
completedAt: number | null;
|
|
8655
8929
|
payload: {
|
|
8656
8930
|
requestId: string;
|
|
8657
8931
|
questions: {
|
|
@@ -8671,8 +8945,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8671
8945
|
turnId: string;
|
|
8672
8946
|
parentItemId: string | null;
|
|
8673
8947
|
sourceSequence: number | null;
|
|
8674
|
-
startedAt: number | null;
|
|
8675
|
-
completedAt: number | null;
|
|
8676
8948
|
segmentId?: string | undefined;
|
|
8677
8949
|
segmentIndex?: number | undefined;
|
|
8678
8950
|
} | {
|
|
@@ -8681,6 +8953,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8681
8953
|
runId: string | null;
|
|
8682
8954
|
kind: "context_compaction";
|
|
8683
8955
|
sessionId: string;
|
|
8956
|
+
startedAt: number | null;
|
|
8957
|
+
completedAt: number | null;
|
|
8684
8958
|
payload: {
|
|
8685
8959
|
phase: "COMPLETED" | "STARTED";
|
|
8686
8960
|
summary: string | null;
|
|
@@ -8689,8 +8963,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8689
8963
|
turnId: string;
|
|
8690
8964
|
parentItemId: string | null;
|
|
8691
8965
|
sourceSequence: number | null;
|
|
8692
|
-
startedAt: number | null;
|
|
8693
|
-
completedAt: number | null;
|
|
8694
8966
|
segmentId?: string | undefined;
|
|
8695
8967
|
segmentIndex?: number | undefined;
|
|
8696
8968
|
} | {
|
|
@@ -8699,6 +8971,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8699
8971
|
runId: string | null;
|
|
8700
8972
|
kind: "warning";
|
|
8701
8973
|
sessionId: string;
|
|
8974
|
+
startedAt: number | null;
|
|
8975
|
+
completedAt: number | null;
|
|
8702
8976
|
payload: {
|
|
8703
8977
|
code: string;
|
|
8704
8978
|
message: string;
|
|
@@ -8708,8 +8982,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8708
8982
|
turnId: string;
|
|
8709
8983
|
parentItemId: string | null;
|
|
8710
8984
|
sourceSequence: number | null;
|
|
8711
|
-
startedAt: number | null;
|
|
8712
|
-
completedAt: number | null;
|
|
8713
8985
|
segmentId?: string | undefined;
|
|
8714
8986
|
segmentIndex?: number | undefined;
|
|
8715
8987
|
} | {
|
|
@@ -8718,6 +8990,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8718
8990
|
runId: string | null;
|
|
8719
8991
|
kind: "error";
|
|
8720
8992
|
sessionId: string;
|
|
8993
|
+
startedAt: number | null;
|
|
8994
|
+
completedAt: number | null;
|
|
8721
8995
|
payload: {
|
|
8722
8996
|
code: string;
|
|
8723
8997
|
message: string;
|
|
@@ -8729,8 +9003,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8729
9003
|
turnId: string;
|
|
8730
9004
|
parentItemId: string | null;
|
|
8731
9005
|
sourceSequence: number | null;
|
|
8732
|
-
startedAt: number | null;
|
|
8733
|
-
completedAt: number | null;
|
|
8734
9006
|
segmentId?: string | undefined;
|
|
8735
9007
|
segmentIndex?: number | undefined;
|
|
8736
9008
|
} | {
|
|
@@ -8739,6 +9011,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8739
9011
|
runId: string | null;
|
|
8740
9012
|
kind: "unknown";
|
|
8741
9013
|
sessionId: string;
|
|
9014
|
+
startedAt: number | null;
|
|
9015
|
+
completedAt: number | null;
|
|
8742
9016
|
payload: {
|
|
8743
9017
|
label: string;
|
|
8744
9018
|
sourceEventType: string;
|
|
@@ -8747,14 +9021,10 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8747
9021
|
turnId: string;
|
|
8748
9022
|
parentItemId: string | null;
|
|
8749
9023
|
sourceSequence: number | null;
|
|
8750
|
-
startedAt: number | null;
|
|
8751
|
-
completedAt: number | null;
|
|
8752
9024
|
segmentId?: string | undefined;
|
|
8753
9025
|
segmentIndex?: number | undefined;
|
|
8754
9026
|
})[];
|
|
8755
9027
|
turnId: string;
|
|
8756
|
-
startedAt: number | null;
|
|
8757
|
-
completedAt: number | null;
|
|
8758
9028
|
index: number;
|
|
8759
9029
|
rewind?: {
|
|
8760
9030
|
before: string | null;
|
|
@@ -8774,12 +9044,16 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8774
9044
|
id: string;
|
|
8775
9045
|
runId: string | null;
|
|
8776
9046
|
sessionId: string;
|
|
9047
|
+
startedAt: number | null;
|
|
9048
|
+
completedAt: number | null;
|
|
8777
9049
|
items: ({
|
|
8778
9050
|
status: "FAILED" | "CANCELLED" | "INTERRUPTED" | "PENDING" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
8779
9051
|
id: string;
|
|
8780
9052
|
runId: string | null;
|
|
8781
9053
|
kind: "assistant_message";
|
|
8782
9054
|
sessionId: string;
|
|
9055
|
+
startedAt: number | null;
|
|
9056
|
+
completedAt: number | null;
|
|
8783
9057
|
payload: {
|
|
8784
9058
|
model: string | null;
|
|
8785
9059
|
text: string;
|
|
@@ -8789,8 +9063,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8789
9063
|
turnId: string;
|
|
8790
9064
|
parentItemId: string | null;
|
|
8791
9065
|
sourceSequence: number | null;
|
|
8792
|
-
startedAt: number | null;
|
|
8793
|
-
completedAt: number | null;
|
|
8794
9066
|
segmentId?: string | undefined;
|
|
8795
9067
|
segmentIndex?: number | undefined;
|
|
8796
9068
|
} | {
|
|
@@ -8799,6 +9071,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8799
9071
|
runId: string | null;
|
|
8800
9072
|
kind: "user_message";
|
|
8801
9073
|
sessionId: string;
|
|
9074
|
+
startedAt: number | null;
|
|
9075
|
+
completedAt: number | null;
|
|
8802
9076
|
payload: {
|
|
8803
9077
|
clientMessageId: string | null;
|
|
8804
9078
|
text: string;
|
|
@@ -8816,8 +9090,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8816
9090
|
turnId: string;
|
|
8817
9091
|
parentItemId: string | null;
|
|
8818
9092
|
sourceSequence: number | null;
|
|
8819
|
-
startedAt: number | null;
|
|
8820
|
-
completedAt: number | null;
|
|
8821
9093
|
segmentId?: string | undefined;
|
|
8822
9094
|
segmentIndex?: number | undefined;
|
|
8823
9095
|
} | {
|
|
@@ -8826,6 +9098,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8826
9098
|
runId: string | null;
|
|
8827
9099
|
kind: "plan";
|
|
8828
9100
|
sessionId: string;
|
|
9101
|
+
startedAt: number | null;
|
|
9102
|
+
completedAt: number | null;
|
|
8829
9103
|
payload: {
|
|
8830
9104
|
explanation: string | null;
|
|
8831
9105
|
steps: {
|
|
@@ -8838,8 +9112,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8838
9112
|
turnId: string;
|
|
8839
9113
|
parentItemId: string | null;
|
|
8840
9114
|
sourceSequence: number | null;
|
|
8841
|
-
startedAt: number | null;
|
|
8842
|
-
completedAt: number | null;
|
|
8843
9115
|
segmentId?: string | undefined;
|
|
8844
9116
|
segmentIndex?: number | undefined;
|
|
8845
9117
|
} | {
|
|
@@ -8848,6 +9120,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8848
9120
|
runId: string | null;
|
|
8849
9121
|
kind: "approval";
|
|
8850
9122
|
sessionId: string;
|
|
9123
|
+
startedAt: number | null;
|
|
9124
|
+
completedAt: number | null;
|
|
8851
9125
|
payload: {
|
|
8852
9126
|
category: "COMMAND" | "FILE_CHANGE" | "NETWORK" | "TOOL" | "OTHER";
|
|
8853
9127
|
expiresAt: number;
|
|
@@ -8859,8 +9133,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8859
9133
|
turnId: string;
|
|
8860
9134
|
parentItemId: string | null;
|
|
8861
9135
|
sourceSequence: number | null;
|
|
8862
|
-
startedAt: number | null;
|
|
8863
|
-
completedAt: number | null;
|
|
8864
9136
|
segmentId?: string | undefined;
|
|
8865
9137
|
segmentIndex?: number | undefined;
|
|
8866
9138
|
} | {
|
|
@@ -8869,6 +9141,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8869
9141
|
runId: string | null;
|
|
8870
9142
|
kind: "turn_summary";
|
|
8871
9143
|
sessionId: string;
|
|
9144
|
+
startedAt: number | null;
|
|
9145
|
+
completedAt: number | null;
|
|
8872
9146
|
payload: {
|
|
8873
9147
|
status: "FAILED" | "QUEUED" | "STARTING" | "RUNNING" | "CANCELLING" | "SUCCEEDED" | "CANCELLED" | "INTERRUPTED";
|
|
8874
9148
|
durationMs: number | null;
|
|
@@ -8877,8 +9151,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8877
9151
|
turnId: string;
|
|
8878
9152
|
parentItemId: string | null;
|
|
8879
9153
|
sourceSequence: number | null;
|
|
8880
|
-
startedAt: number | null;
|
|
8881
|
-
completedAt: number | null;
|
|
8882
9154
|
segmentId?: string | undefined;
|
|
8883
9155
|
segmentIndex?: number | undefined;
|
|
8884
9156
|
} | {
|
|
@@ -8887,6 +9159,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8887
9159
|
runId: string | null;
|
|
8888
9160
|
kind: "reasoning_summary";
|
|
8889
9161
|
sessionId: string;
|
|
9162
|
+
startedAt: number | null;
|
|
9163
|
+
completedAt: number | null;
|
|
8890
9164
|
payload: {
|
|
8891
9165
|
sections: {
|
|
8892
9166
|
text: string;
|
|
@@ -8897,8 +9171,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8897
9171
|
turnId: string;
|
|
8898
9172
|
parentItemId: string | null;
|
|
8899
9173
|
sourceSequence: number | null;
|
|
8900
|
-
startedAt: number | null;
|
|
8901
|
-
completedAt: number | null;
|
|
8902
9174
|
segmentId?: string | undefined;
|
|
8903
9175
|
segmentIndex?: number | undefined;
|
|
8904
9176
|
} | {
|
|
@@ -8907,6 +9179,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8907
9179
|
runId: string | null;
|
|
8908
9180
|
kind: "tool_call";
|
|
8909
9181
|
sessionId: string;
|
|
9182
|
+
startedAt: number | null;
|
|
9183
|
+
completedAt: number | null;
|
|
8910
9184
|
payload: {
|
|
8911
9185
|
errorCode: string | null;
|
|
8912
9186
|
namespace: string;
|
|
@@ -8921,8 +9195,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8921
9195
|
turnId: string;
|
|
8922
9196
|
parentItemId: string | null;
|
|
8923
9197
|
sourceSequence: number | null;
|
|
8924
|
-
startedAt: number | null;
|
|
8925
|
-
completedAt: number | null;
|
|
8926
9198
|
segmentId?: string | undefined;
|
|
8927
9199
|
segmentIndex?: number | undefined;
|
|
8928
9200
|
} | {
|
|
@@ -8931,6 +9203,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8931
9203
|
runId: string | null;
|
|
8932
9204
|
kind: "command_execution";
|
|
8933
9205
|
sessionId: string;
|
|
9206
|
+
startedAt: number | null;
|
|
9207
|
+
completedAt: number | null;
|
|
8934
9208
|
payload: {
|
|
8935
9209
|
command: string;
|
|
8936
9210
|
durationMs: number | null;
|
|
@@ -8944,8 +9218,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8944
9218
|
turnId: string;
|
|
8945
9219
|
parentItemId: string | null;
|
|
8946
9220
|
sourceSequence: number | null;
|
|
8947
|
-
startedAt: number | null;
|
|
8948
|
-
completedAt: number | null;
|
|
8949
9221
|
segmentId?: string | undefined;
|
|
8950
9222
|
segmentIndex?: number | undefined;
|
|
8951
9223
|
} | {
|
|
@@ -8954,6 +9226,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8954
9226
|
runId: string | null;
|
|
8955
9227
|
kind: "file_change";
|
|
8956
9228
|
sessionId: string;
|
|
9229
|
+
startedAt: number | null;
|
|
9230
|
+
completedAt: number | null;
|
|
8957
9231
|
payload: {
|
|
8958
9232
|
changes: {
|
|
8959
9233
|
path: string;
|
|
@@ -8967,8 +9241,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8967
9241
|
turnId: string;
|
|
8968
9242
|
parentItemId: string | null;
|
|
8969
9243
|
sourceSequence: number | null;
|
|
8970
|
-
startedAt: number | null;
|
|
8971
|
-
completedAt: number | null;
|
|
8972
9244
|
segmentId?: string | undefined;
|
|
8973
9245
|
segmentIndex?: number | undefined;
|
|
8974
9246
|
} | {
|
|
@@ -8977,6 +9249,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8977
9249
|
runId: string | null;
|
|
8978
9250
|
kind: "user_input_request";
|
|
8979
9251
|
sessionId: string;
|
|
9252
|
+
startedAt: number | null;
|
|
9253
|
+
completedAt: number | null;
|
|
8980
9254
|
payload: {
|
|
8981
9255
|
requestId: string;
|
|
8982
9256
|
questions: {
|
|
@@ -8996,8 +9270,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
8996
9270
|
turnId: string;
|
|
8997
9271
|
parentItemId: string | null;
|
|
8998
9272
|
sourceSequence: number | null;
|
|
8999
|
-
startedAt: number | null;
|
|
9000
|
-
completedAt: number | null;
|
|
9001
9273
|
segmentId?: string | undefined;
|
|
9002
9274
|
segmentIndex?: number | undefined;
|
|
9003
9275
|
} | {
|
|
@@ -9006,6 +9278,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
9006
9278
|
runId: string | null;
|
|
9007
9279
|
kind: "context_compaction";
|
|
9008
9280
|
sessionId: string;
|
|
9281
|
+
startedAt: number | null;
|
|
9282
|
+
completedAt: number | null;
|
|
9009
9283
|
payload: {
|
|
9010
9284
|
phase: "COMPLETED" | "STARTED";
|
|
9011
9285
|
summary: string | null;
|
|
@@ -9014,8 +9288,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
9014
9288
|
turnId: string;
|
|
9015
9289
|
parentItemId: string | null;
|
|
9016
9290
|
sourceSequence: number | null;
|
|
9017
|
-
startedAt: number | null;
|
|
9018
|
-
completedAt: number | null;
|
|
9019
9291
|
segmentId?: string | undefined;
|
|
9020
9292
|
segmentIndex?: number | undefined;
|
|
9021
9293
|
} | {
|
|
@@ -9024,6 +9296,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
9024
9296
|
runId: string | null;
|
|
9025
9297
|
kind: "warning";
|
|
9026
9298
|
sessionId: string;
|
|
9299
|
+
startedAt: number | null;
|
|
9300
|
+
completedAt: number | null;
|
|
9027
9301
|
payload: {
|
|
9028
9302
|
code: string;
|
|
9029
9303
|
message: string;
|
|
@@ -9033,8 +9307,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
9033
9307
|
turnId: string;
|
|
9034
9308
|
parentItemId: string | null;
|
|
9035
9309
|
sourceSequence: number | null;
|
|
9036
|
-
startedAt: number | null;
|
|
9037
|
-
completedAt: number | null;
|
|
9038
9310
|
segmentId?: string | undefined;
|
|
9039
9311
|
segmentIndex?: number | undefined;
|
|
9040
9312
|
} | {
|
|
@@ -9043,6 +9315,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
9043
9315
|
runId: string | null;
|
|
9044
9316
|
kind: "error";
|
|
9045
9317
|
sessionId: string;
|
|
9318
|
+
startedAt: number | null;
|
|
9319
|
+
completedAt: number | null;
|
|
9046
9320
|
payload: {
|
|
9047
9321
|
code: string;
|
|
9048
9322
|
message: string;
|
|
@@ -9054,8 +9328,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
9054
9328
|
turnId: string;
|
|
9055
9329
|
parentItemId: string | null;
|
|
9056
9330
|
sourceSequence: number | null;
|
|
9057
|
-
startedAt: number | null;
|
|
9058
|
-
completedAt: number | null;
|
|
9059
9331
|
segmentId?: string | undefined;
|
|
9060
9332
|
segmentIndex?: number | undefined;
|
|
9061
9333
|
} | {
|
|
@@ -9064,6 +9336,8 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
9064
9336
|
runId: string | null;
|
|
9065
9337
|
kind: "unknown";
|
|
9066
9338
|
sessionId: string;
|
|
9339
|
+
startedAt: number | null;
|
|
9340
|
+
completedAt: number | null;
|
|
9067
9341
|
payload: {
|
|
9068
9342
|
label: string;
|
|
9069
9343
|
sourceEventType: string;
|
|
@@ -9072,14 +9346,10 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
9072
9346
|
turnId: string;
|
|
9073
9347
|
parentItemId: string | null;
|
|
9074
9348
|
sourceSequence: number | null;
|
|
9075
|
-
startedAt: number | null;
|
|
9076
|
-
completedAt: number | null;
|
|
9077
9349
|
segmentId?: string | undefined;
|
|
9078
9350
|
segmentIndex?: number | undefined;
|
|
9079
9351
|
})[];
|
|
9080
9352
|
turnId: string;
|
|
9081
|
-
startedAt: number | null;
|
|
9082
|
-
completedAt: number | null;
|
|
9083
9353
|
index: number;
|
|
9084
9354
|
rewind?: {
|
|
9085
9355
|
before: string | null;
|