@opencode-ai/sdk 0.0.0-next-14814 → 0.0.0-next-14818
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/v2/gen/types.gen.d.ts +605 -673
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: `${string}://${string}` | (string & {});
|
|
3
3
|
};
|
|
4
|
-
export type Event = EventModelsDevRefreshed | EventIntegrationUpdated | EventIntegrationConnectionUpdated | EventCatalogUpdated | EventAgentUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved |
|
|
4
|
+
export type Event = EventModelsDevRefreshed | EventIntegrationUpdated | EventIntegrationConnectionUpdated | EventCatalogUpdated | EventAgentUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventAgentSelected | EventModelSelected | EventSessionMoved | EventRenamed | EventForked | EventPromptPromoted | EventPromptAdmitted | EventExecutionSettled | EventSessionContextUpdated | EventSynthetic | EventSkillActivated | EventShellStarted | EventShellEnded | EventStepStarted | EventStepEnded | EventStepFailed | EventTextStarted | EventTextDelta | EventTextEnded | EventReasoningStarted | EventReasoningDelta | EventReasoningEnded | EventToolInputStarted | EventToolInputDelta | EventToolInputEnded | EventToolCalled | EventToolProgress | EventToolSuccess | EventToolFailed | EventRetried | EventCompactionStarted | EventCompactionDelta | EventCompactionEnded | EventRevertStaged | EventRevertCleared | EventRevertCommitted | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventInstallationUpdated | EventInstallationUpdateAvailable | EventFileEdited | EventReferenceUpdated | EventPermissionV2Asked | EventPermissionV2Replied | EventPluginAdded | EventProjectDirectoriesUpdated | EventCommandUpdated | EventSkillUpdated | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventShellCreated | EventShellExited | EventShellDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventFormCreated | EventFormReplied | EventFormCancelled | EventTodoUpdated | EventLspUpdated | EventPermissionAsked | EventPermissionReplied | EventTuiPromptAppend2 | EventTuiCommandExecute2 | EventTuiToastShow2 | EventTuiSessionSelect2 | EventMcpToolsChanged | EventMcpStatusChanged | EventCommandExecuted | EventProjectUpdated | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventServerConnected | EventGlobalDisposed | EventServerInstanceDisposed;
|
|
5
5
|
export type QuestionReplied = {
|
|
6
6
|
sessionID: string;
|
|
7
7
|
requestID: string;
|
|
@@ -654,93 +654,77 @@ export type GlobalEvent = {
|
|
|
654
654
|
};
|
|
655
655
|
} | {
|
|
656
656
|
id: string;
|
|
657
|
-
type: "
|
|
657
|
+
type: "agent.selected";
|
|
658
658
|
properties: {
|
|
659
|
-
timestamp: number;
|
|
660
659
|
sessionID: string;
|
|
661
|
-
messageID: string;
|
|
662
660
|
agent: string;
|
|
663
661
|
};
|
|
664
662
|
} | {
|
|
665
663
|
id: string;
|
|
666
|
-
type: "
|
|
664
|
+
type: "model.selected";
|
|
667
665
|
properties: {
|
|
668
|
-
timestamp: number;
|
|
669
666
|
sessionID: string;
|
|
670
|
-
messageID: string;
|
|
671
667
|
model: ModelRef;
|
|
672
668
|
};
|
|
673
669
|
} | {
|
|
674
670
|
id: string;
|
|
675
|
-
type: "session.
|
|
671
|
+
type: "session.moved";
|
|
676
672
|
properties: {
|
|
677
|
-
timestamp: number;
|
|
678
673
|
sessionID: string;
|
|
679
674
|
location: LocationRef;
|
|
680
|
-
|
|
675
|
+
subpath?: string;
|
|
681
676
|
};
|
|
682
677
|
} | {
|
|
683
678
|
id: string;
|
|
684
|
-
type: "
|
|
679
|
+
type: "renamed";
|
|
685
680
|
properties: {
|
|
686
|
-
timestamp: number;
|
|
687
681
|
sessionID: string;
|
|
688
682
|
title: string;
|
|
689
683
|
};
|
|
690
684
|
} | {
|
|
691
685
|
id: string;
|
|
692
|
-
type: "
|
|
686
|
+
type: "forked";
|
|
693
687
|
properties: {
|
|
694
|
-
timestamp: number;
|
|
695
688
|
sessionID: string;
|
|
696
689
|
parentID: string;
|
|
697
|
-
|
|
690
|
+
from?: string;
|
|
698
691
|
};
|
|
699
692
|
} | {
|
|
700
693
|
id: string;
|
|
701
|
-
type: "
|
|
694
|
+
type: "prompt.promoted";
|
|
702
695
|
properties: {
|
|
703
|
-
timestamp: number;
|
|
704
696
|
sessionID: string;
|
|
705
|
-
|
|
706
|
-
prompt: Prompt;
|
|
707
|
-
delivery: "steer" | "queue";
|
|
697
|
+
inputID: string;
|
|
708
698
|
};
|
|
709
699
|
} | {
|
|
710
700
|
id: string;
|
|
711
|
-
type: "
|
|
701
|
+
type: "prompt.admitted";
|
|
712
702
|
properties: {
|
|
713
|
-
timestamp: number;
|
|
714
703
|
sessionID: string;
|
|
715
|
-
|
|
704
|
+
inputID: string;
|
|
716
705
|
prompt: Prompt;
|
|
717
706
|
delivery: "steer" | "queue";
|
|
718
707
|
};
|
|
719
708
|
} | {
|
|
720
709
|
id: string;
|
|
721
|
-
type: "
|
|
710
|
+
type: "execution.settled";
|
|
722
711
|
properties: {
|
|
723
|
-
timestamp: number;
|
|
724
712
|
sessionID: string;
|
|
725
713
|
outcome: "success" | "failure" | "interrupted";
|
|
726
714
|
error?: SessionErrorUnknown;
|
|
727
715
|
};
|
|
728
716
|
} | {
|
|
729
717
|
id: string;
|
|
730
|
-
type: "session.
|
|
718
|
+
type: "session.context.updated";
|
|
731
719
|
properties: {
|
|
732
|
-
timestamp: number;
|
|
733
720
|
sessionID: string;
|
|
734
|
-
messageID: string;
|
|
735
721
|
text: string;
|
|
736
722
|
};
|
|
737
723
|
} | {
|
|
738
724
|
id: string;
|
|
739
|
-
type: "
|
|
725
|
+
type: "synthetic";
|
|
740
726
|
properties: {
|
|
741
|
-
timestamp: number;
|
|
742
727
|
sessionID: string;
|
|
743
|
-
messageID: string;
|
|
744
728
|
text: string;
|
|
745
729
|
description?: string;
|
|
746
730
|
metadata?: {
|
|
@@ -749,38 +733,32 @@ export type GlobalEvent = {
|
|
|
749
733
|
};
|
|
750
734
|
} | {
|
|
751
735
|
id: string;
|
|
752
|
-
type: "
|
|
736
|
+
type: "skill.activated";
|
|
753
737
|
properties: {
|
|
754
|
-
timestamp: number;
|
|
755
738
|
sessionID: string;
|
|
756
|
-
messageID: string;
|
|
757
739
|
name: string;
|
|
758
740
|
text: string;
|
|
759
741
|
};
|
|
760
742
|
} | {
|
|
761
743
|
id: string;
|
|
762
|
-
type: "
|
|
744
|
+
type: "shell.started";
|
|
763
745
|
properties: {
|
|
764
|
-
timestamp: number;
|
|
765
746
|
sessionID: string;
|
|
766
|
-
messageID: string;
|
|
767
747
|
callID: string;
|
|
768
748
|
command: string;
|
|
769
749
|
};
|
|
770
750
|
} | {
|
|
771
751
|
id: string;
|
|
772
|
-
type: "
|
|
752
|
+
type: "shell.ended";
|
|
773
753
|
properties: {
|
|
774
|
-
timestamp: number;
|
|
775
754
|
sessionID: string;
|
|
776
755
|
callID: string;
|
|
777
756
|
output: string;
|
|
778
757
|
};
|
|
779
758
|
} | {
|
|
780
759
|
id: string;
|
|
781
|
-
type: "
|
|
760
|
+
type: "step.started";
|
|
782
761
|
properties: {
|
|
783
|
-
timestamp: number;
|
|
784
762
|
sessionID: string;
|
|
785
763
|
assistantMessageID: string;
|
|
786
764
|
agent: string;
|
|
@@ -789,9 +767,8 @@ export type GlobalEvent = {
|
|
|
789
767
|
};
|
|
790
768
|
} | {
|
|
791
769
|
id: string;
|
|
792
|
-
type: "
|
|
770
|
+
type: "step.ended";
|
|
793
771
|
properties: {
|
|
794
|
-
timestamp: number;
|
|
795
772
|
sessionID: string;
|
|
796
773
|
assistantMessageID: string;
|
|
797
774
|
finish: string;
|
|
@@ -810,27 +787,24 @@ export type GlobalEvent = {
|
|
|
810
787
|
};
|
|
811
788
|
} | {
|
|
812
789
|
id: string;
|
|
813
|
-
type: "
|
|
790
|
+
type: "step.failed";
|
|
814
791
|
properties: {
|
|
815
|
-
timestamp: number;
|
|
816
792
|
sessionID: string;
|
|
817
793
|
assistantMessageID: string;
|
|
818
794
|
error: SessionErrorUnknown;
|
|
819
795
|
};
|
|
820
796
|
} | {
|
|
821
797
|
id: string;
|
|
822
|
-
type: "
|
|
798
|
+
type: "text.started";
|
|
823
799
|
properties: {
|
|
824
|
-
timestamp: number;
|
|
825
800
|
sessionID: string;
|
|
826
801
|
assistantMessageID: string;
|
|
827
802
|
textID: string;
|
|
828
803
|
};
|
|
829
804
|
} | {
|
|
830
805
|
id: string;
|
|
831
|
-
type: "
|
|
806
|
+
type: "text.delta";
|
|
832
807
|
properties: {
|
|
833
|
-
timestamp: number;
|
|
834
808
|
sessionID: string;
|
|
835
809
|
assistantMessageID: string;
|
|
836
810
|
textID: string;
|
|
@@ -838,9 +812,8 @@ export type GlobalEvent = {
|
|
|
838
812
|
};
|
|
839
813
|
} | {
|
|
840
814
|
id: string;
|
|
841
|
-
type: "
|
|
815
|
+
type: "text.ended";
|
|
842
816
|
properties: {
|
|
843
|
-
timestamp: number;
|
|
844
817
|
sessionID: string;
|
|
845
818
|
assistantMessageID: string;
|
|
846
819
|
textID: string;
|
|
@@ -848,9 +821,8 @@ export type GlobalEvent = {
|
|
|
848
821
|
};
|
|
849
822
|
} | {
|
|
850
823
|
id: string;
|
|
851
|
-
type: "
|
|
824
|
+
type: "reasoning.started";
|
|
852
825
|
properties: {
|
|
853
|
-
timestamp: number;
|
|
854
826
|
sessionID: string;
|
|
855
827
|
assistantMessageID: string;
|
|
856
828
|
reasoningID: string;
|
|
@@ -858,9 +830,8 @@ export type GlobalEvent = {
|
|
|
858
830
|
};
|
|
859
831
|
} | {
|
|
860
832
|
id: string;
|
|
861
|
-
type: "
|
|
833
|
+
type: "reasoning.delta";
|
|
862
834
|
properties: {
|
|
863
|
-
timestamp: number;
|
|
864
835
|
sessionID: string;
|
|
865
836
|
assistantMessageID: string;
|
|
866
837
|
reasoningID: string;
|
|
@@ -868,9 +839,8 @@ export type GlobalEvent = {
|
|
|
868
839
|
};
|
|
869
840
|
} | {
|
|
870
841
|
id: string;
|
|
871
|
-
type: "
|
|
842
|
+
type: "reasoning.ended";
|
|
872
843
|
properties: {
|
|
873
|
-
timestamp: number;
|
|
874
844
|
sessionID: string;
|
|
875
845
|
assistantMessageID: string;
|
|
876
846
|
reasoningID: string;
|
|
@@ -879,9 +849,8 @@ export type GlobalEvent = {
|
|
|
879
849
|
};
|
|
880
850
|
} | {
|
|
881
851
|
id: string;
|
|
882
|
-
type: "
|
|
852
|
+
type: "tool.input.started";
|
|
883
853
|
properties: {
|
|
884
|
-
timestamp: number;
|
|
885
854
|
sessionID: string;
|
|
886
855
|
assistantMessageID: string;
|
|
887
856
|
callID: string;
|
|
@@ -889,9 +858,8 @@ export type GlobalEvent = {
|
|
|
889
858
|
};
|
|
890
859
|
} | {
|
|
891
860
|
id: string;
|
|
892
|
-
type: "
|
|
861
|
+
type: "tool.input.delta";
|
|
893
862
|
properties: {
|
|
894
|
-
timestamp: number;
|
|
895
863
|
sessionID: string;
|
|
896
864
|
assistantMessageID: string;
|
|
897
865
|
callID: string;
|
|
@@ -899,9 +867,8 @@ export type GlobalEvent = {
|
|
|
899
867
|
};
|
|
900
868
|
} | {
|
|
901
869
|
id: string;
|
|
902
|
-
type: "
|
|
870
|
+
type: "tool.input.ended";
|
|
903
871
|
properties: {
|
|
904
|
-
timestamp: number;
|
|
905
872
|
sessionID: string;
|
|
906
873
|
assistantMessageID: string;
|
|
907
874
|
callID: string;
|
|
@@ -909,9 +876,8 @@ export type GlobalEvent = {
|
|
|
909
876
|
};
|
|
910
877
|
} | {
|
|
911
878
|
id: string;
|
|
912
|
-
type: "
|
|
879
|
+
type: "tool.called";
|
|
913
880
|
properties: {
|
|
914
|
-
timestamp: number;
|
|
915
881
|
sessionID: string;
|
|
916
882
|
assistantMessageID: string;
|
|
917
883
|
callID: string;
|
|
@@ -926,9 +892,8 @@ export type GlobalEvent = {
|
|
|
926
892
|
};
|
|
927
893
|
} | {
|
|
928
894
|
id: string;
|
|
929
|
-
type: "
|
|
895
|
+
type: "tool.progress";
|
|
930
896
|
properties: {
|
|
931
|
-
timestamp: number;
|
|
932
897
|
sessionID: string;
|
|
933
898
|
assistantMessageID: string;
|
|
934
899
|
callID: string;
|
|
@@ -939,9 +904,8 @@ export type GlobalEvent = {
|
|
|
939
904
|
};
|
|
940
905
|
} | {
|
|
941
906
|
id: string;
|
|
942
|
-
type: "
|
|
907
|
+
type: "tool.success";
|
|
943
908
|
properties: {
|
|
944
|
-
timestamp: number;
|
|
945
909
|
sessionID: string;
|
|
946
910
|
assistantMessageID: string;
|
|
947
911
|
callID: string;
|
|
@@ -958,9 +922,8 @@ export type GlobalEvent = {
|
|
|
958
922
|
};
|
|
959
923
|
} | {
|
|
960
924
|
id: string;
|
|
961
|
-
type: "
|
|
925
|
+
type: "tool.failed";
|
|
962
926
|
properties: {
|
|
963
|
-
timestamp: number;
|
|
964
927
|
sessionID: string;
|
|
965
928
|
assistantMessageID: string;
|
|
966
929
|
callID: string;
|
|
@@ -973,62 +936,52 @@ export type GlobalEvent = {
|
|
|
973
936
|
};
|
|
974
937
|
} | {
|
|
975
938
|
id: string;
|
|
976
|
-
type: "
|
|
939
|
+
type: "retried";
|
|
977
940
|
properties: {
|
|
978
|
-
timestamp: number;
|
|
979
941
|
sessionID: string;
|
|
980
942
|
attempt: number;
|
|
981
|
-
error:
|
|
943
|
+
error: SessionRetryError;
|
|
982
944
|
};
|
|
983
945
|
} | {
|
|
984
946
|
id: string;
|
|
985
|
-
type: "
|
|
947
|
+
type: "compaction.started";
|
|
986
948
|
properties: {
|
|
987
|
-
timestamp: number;
|
|
988
949
|
sessionID: string;
|
|
989
|
-
messageID: string;
|
|
990
950
|
reason: "auto" | "manual";
|
|
991
951
|
};
|
|
992
952
|
} | {
|
|
993
953
|
id: string;
|
|
994
|
-
type: "
|
|
954
|
+
type: "compaction.delta";
|
|
995
955
|
properties: {
|
|
996
|
-
timestamp: number;
|
|
997
956
|
sessionID: string;
|
|
998
|
-
messageID: string;
|
|
999
957
|
text: string;
|
|
1000
958
|
};
|
|
1001
959
|
} | {
|
|
1002
960
|
id: string;
|
|
1003
|
-
type: "
|
|
961
|
+
type: "compaction.ended";
|
|
1004
962
|
properties: {
|
|
1005
|
-
timestamp: number;
|
|
1006
963
|
sessionID: string;
|
|
1007
|
-
messageID: string;
|
|
1008
964
|
reason: "auto" | "manual";
|
|
1009
965
|
text: string;
|
|
1010
966
|
recent: string;
|
|
1011
967
|
};
|
|
1012
968
|
} | {
|
|
1013
969
|
id: string;
|
|
1014
|
-
type: "
|
|
970
|
+
type: "revert.staged";
|
|
1015
971
|
properties: {
|
|
1016
|
-
timestamp: number;
|
|
1017
972
|
sessionID: string;
|
|
1018
973
|
revert: RevertState;
|
|
1019
974
|
};
|
|
1020
975
|
} | {
|
|
1021
976
|
id: string;
|
|
1022
|
-
type: "
|
|
977
|
+
type: "revert.cleared";
|
|
1023
978
|
properties: {
|
|
1024
|
-
timestamp: number;
|
|
1025
979
|
sessionID: string;
|
|
1026
980
|
};
|
|
1027
981
|
} | {
|
|
1028
982
|
id: string;
|
|
1029
|
-
type: "
|
|
983
|
+
type: "revert.committed";
|
|
1030
984
|
properties: {
|
|
1031
|
-
timestamp: number;
|
|
1032
985
|
sessionID: string;
|
|
1033
986
|
messageID: string;
|
|
1034
987
|
};
|
|
@@ -1300,13 +1253,6 @@ export type GlobalEvent = {
|
|
|
1300
1253
|
properties: {
|
|
1301
1254
|
server: string;
|
|
1302
1255
|
};
|
|
1303
|
-
} | {
|
|
1304
|
-
id: string;
|
|
1305
|
-
type: "mcp.browser.open.failed";
|
|
1306
|
-
properties: {
|
|
1307
|
-
mcpName: string;
|
|
1308
|
-
url: string;
|
|
1309
|
-
};
|
|
1310
1256
|
} | {
|
|
1311
1257
|
id: string;
|
|
1312
1258
|
type: "mcp.status.changed";
|
|
@@ -1431,7 +1377,7 @@ export type GlobalEvent = {
|
|
|
1431
1377
|
properties: {
|
|
1432
1378
|
[key: string]: unknown;
|
|
1433
1379
|
};
|
|
1434
|
-
} | EventServerInstanceDisposed | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved |
|
|
1380
|
+
} | EventServerInstanceDisposed | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventAgentSelected | SyncEventModelSelected | SyncEventSessionMoved | SyncEventRenamed | SyncEventForked | SyncEventPromptPromoted | SyncEventPromptAdmitted | SyncEventSessionContextUpdated | SyncEventSynthetic | SyncEventSkillActivated | SyncEventShellStarted | SyncEventShellEnded | SyncEventStepStarted | SyncEventStepEnded | SyncEventStepFailed | SyncEventTextStarted | SyncEventTextEnded | SyncEventReasoningStarted | SyncEventReasoningEnded | SyncEventToolInputStarted | SyncEventToolInputEnded | SyncEventToolCalled | SyncEventToolProgress | SyncEventToolSuccess | SyncEventToolFailed | SyncEventRetried | SyncEventCompactionStarted | SyncEventCompactionEnded | SyncEventRevertStaged | SyncEventRevertCleared | SyncEventRevertCommitted;
|
|
1435
1381
|
};
|
|
1436
1382
|
/**
|
|
1437
1383
|
* Log level
|
|
@@ -2384,7 +2330,85 @@ export type UnknownError1 = {
|
|
|
2384
2330
|
message: string;
|
|
2385
2331
|
ref?: string;
|
|
2386
2332
|
};
|
|
2387
|
-
export type
|
|
2333
|
+
export type Renamed = {
|
|
2334
|
+
id: string;
|
|
2335
|
+
created: number;
|
|
2336
|
+
metadata?: {
|
|
2337
|
+
[key: string]: unknown;
|
|
2338
|
+
};
|
|
2339
|
+
type: "renamed";
|
|
2340
|
+
durable: {
|
|
2341
|
+
aggregateID: string;
|
|
2342
|
+
seq: number;
|
|
2343
|
+
version: number;
|
|
2344
|
+
};
|
|
2345
|
+
location?: LocationRef;
|
|
2346
|
+
data: {
|
|
2347
|
+
sessionID: string;
|
|
2348
|
+
title: string;
|
|
2349
|
+
};
|
|
2350
|
+
};
|
|
2351
|
+
export type Forked = {
|
|
2352
|
+
id: string;
|
|
2353
|
+
created: number;
|
|
2354
|
+
metadata?: {
|
|
2355
|
+
[key: string]: unknown;
|
|
2356
|
+
};
|
|
2357
|
+
type: "forked";
|
|
2358
|
+
durable: {
|
|
2359
|
+
aggregateID: string;
|
|
2360
|
+
seq: number;
|
|
2361
|
+
version: number;
|
|
2362
|
+
};
|
|
2363
|
+
location?: LocationRef;
|
|
2364
|
+
data: {
|
|
2365
|
+
sessionID: string;
|
|
2366
|
+
parentID: string;
|
|
2367
|
+
from?: string;
|
|
2368
|
+
};
|
|
2369
|
+
};
|
|
2370
|
+
export type Synthetic = {
|
|
2371
|
+
id: string;
|
|
2372
|
+
created: number;
|
|
2373
|
+
metadata?: {
|
|
2374
|
+
[key: string]: unknown;
|
|
2375
|
+
};
|
|
2376
|
+
type: "synthetic";
|
|
2377
|
+
durable: {
|
|
2378
|
+
aggregateID: string;
|
|
2379
|
+
seq: number;
|
|
2380
|
+
version: number;
|
|
2381
|
+
};
|
|
2382
|
+
location?: LocationRef;
|
|
2383
|
+
data: {
|
|
2384
|
+
sessionID: string;
|
|
2385
|
+
text: string;
|
|
2386
|
+
description?: string;
|
|
2387
|
+
metadata?: {
|
|
2388
|
+
[key: string]: unknown;
|
|
2389
|
+
};
|
|
2390
|
+
};
|
|
2391
|
+
};
|
|
2392
|
+
export type Retried = {
|
|
2393
|
+
id: string;
|
|
2394
|
+
created: number;
|
|
2395
|
+
metadata?: {
|
|
2396
|
+
[key: string]: unknown;
|
|
2397
|
+
};
|
|
2398
|
+
type: "retried";
|
|
2399
|
+
durable: {
|
|
2400
|
+
aggregateID: string;
|
|
2401
|
+
seq: number;
|
|
2402
|
+
version: number;
|
|
2403
|
+
};
|
|
2404
|
+
location?: LocationRef;
|
|
2405
|
+
data: {
|
|
2406
|
+
sessionID: string;
|
|
2407
|
+
attempt: number;
|
|
2408
|
+
error: SessionRetryError;
|
|
2409
|
+
};
|
|
2410
|
+
};
|
|
2411
|
+
export type SessionDurableEvent = AgentSelected | ModelSelected | SessionMoved | Renamed | Forked | PromptPromoted | PromptAdmitted | SessionContextUpdated | Synthetic | SkillActivated | ShellStarted | ShellEnded | StepStarted | StepEnded | StepFailed | TextStarted | TextEnded | ReasoningStarted | ReasoningEnded | ToolInputStarted | ToolInputEnded | ToolCalled | ToolProgress | ToolSuccess | ToolFailed | Retried | CompactionStarted | CompactionEnded | RevertStaged | RevertCleared | RevertCommitted;
|
|
2388
2412
|
export type SessionLogItem = SessionDurableEvent | EventLogSynced;
|
|
2389
2413
|
export type SessionLogItemStream = string;
|
|
2390
2414
|
export type SessionMessagesResponse = {
|
|
@@ -2446,6 +2470,7 @@ export type Shell1 = {
|
|
|
2446
2470
|
};
|
|
2447
2471
|
export type SessionStatus2 = {
|
|
2448
2472
|
id: string;
|
|
2473
|
+
created: number;
|
|
2449
2474
|
metadata?: {
|
|
2450
2475
|
[key: string]: unknown;
|
|
2451
2476
|
};
|
|
@@ -2458,6 +2483,7 @@ export type SessionStatus2 = {
|
|
|
2458
2483
|
};
|
|
2459
2484
|
export type QuestionReplied2 = {
|
|
2460
2485
|
id: string;
|
|
2486
|
+
created: number;
|
|
2461
2487
|
metadata?: {
|
|
2462
2488
|
[key: string]: unknown;
|
|
2463
2489
|
};
|
|
@@ -2471,6 +2497,7 @@ export type QuestionReplied2 = {
|
|
|
2471
2497
|
};
|
|
2472
2498
|
export type QuestionRejected2 = {
|
|
2473
2499
|
id: string;
|
|
2500
|
+
created: number;
|
|
2474
2501
|
metadata?: {
|
|
2475
2502
|
[key: string]: unknown;
|
|
2476
2503
|
};
|
|
@@ -2481,7 +2508,7 @@ export type QuestionRejected2 = {
|
|
|
2481
2508
|
requestID: string;
|
|
2482
2509
|
};
|
|
2483
2510
|
};
|
|
2484
|
-
export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionUpdated | SessionDeleted | MessageUpdated | MessageRemoved | MessagePartUpdated | MessagePartRemoved |
|
|
2511
|
+
export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionUpdated | SessionDeleted | MessageUpdated | MessageRemoved | MessagePartUpdated | MessagePartRemoved | AgentSelected | ModelSelected | SessionMoved | Renamed | Forked | PromptPromoted | PromptAdmitted | ExecutionSettled | SessionContextUpdated | Synthetic | SkillActivated | ShellStarted | ShellEnded | StepStarted | StepEnded | StepFailed | TextStarted | TextDelta | TextEnded | ReasoningStarted | ReasoningDelta | ReasoningEnded | ToolInputStarted | ToolInputDelta | ToolInputEnded | ToolCalled | ToolProgress | ToolSuccess | ToolFailed | Retried | CompactionStarted | CompactionDelta | CompactionEnded | RevertStaged | RevertCleared | RevertCommitted | MessagePartDelta | SessionDiff | SessionError | InstallationUpdated | InstallationUpdateAvailable | FileEdited | ReferenceUpdated | PermissionV2Asked | PermissionV2Replied | PluginAdded | ProjectDirectoriesUpdated | CommandUpdated | SkillUpdated | FileWatcherUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | ShellCreated | ShellExited | ShellDeleted | QuestionV2Asked | QuestionV2Replied | QuestionV2Rejected | FormCreated | FormReplied | FormCancelled | TodoUpdated | LspUpdated | PermissionAsked | PermissionReplied | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | McpToolsChanged | McpStatusChanged | CommandExecuted | ProjectUpdated | SessionStatus2 | SessionIdle | QuestionAsked | QuestionReplied2 | QuestionRejected2 | SessionCompacted | VcsBranchUpdated | WorkspaceReady | WorkspaceFailed | WorkspaceStatus | WorktreeReady | WorktreeFailed | ServerConnected | GlobalDisposed;
|
|
2485
2512
|
export type V2EventStream = string;
|
|
2486
2513
|
export type ForbiddenError = {
|
|
2487
2514
|
_tag: "ForbiddenError";
|
|
@@ -2617,7 +2644,7 @@ export type ToolFileContent = {
|
|
|
2617
2644
|
name?: string;
|
|
2618
2645
|
};
|
|
2619
2646
|
export type LlmToolContent = ToolTextContent | ToolFileContent;
|
|
2620
|
-
export type
|
|
2647
|
+
export type SessionRetryError = {
|
|
2621
2648
|
message: string;
|
|
2622
2649
|
statusCode?: number;
|
|
2623
2650
|
isRetryable: boolean;
|
|
@@ -2897,147 +2924,132 @@ export type SyncEventMessagePartRemoved = {
|
|
|
2897
2924
|
};
|
|
2898
2925
|
};
|
|
2899
2926
|
};
|
|
2900
|
-
export type
|
|
2927
|
+
export type SyncEventAgentSelected = {
|
|
2901
2928
|
type: "sync";
|
|
2902
2929
|
id: string;
|
|
2903
2930
|
syncEvent: {
|
|
2904
|
-
type: "
|
|
2931
|
+
type: "agent.selected.1";
|
|
2905
2932
|
id: string;
|
|
2906
2933
|
seq: number;
|
|
2907
2934
|
aggregateID: string;
|
|
2908
2935
|
data: {
|
|
2909
|
-
timestamp: number;
|
|
2910
2936
|
sessionID: string;
|
|
2911
|
-
messageID: string;
|
|
2912
2937
|
agent: string;
|
|
2913
2938
|
};
|
|
2914
2939
|
};
|
|
2915
2940
|
};
|
|
2916
|
-
export type
|
|
2941
|
+
export type SyncEventModelSelected = {
|
|
2917
2942
|
type: "sync";
|
|
2918
2943
|
id: string;
|
|
2919
2944
|
syncEvent: {
|
|
2920
|
-
type: "
|
|
2945
|
+
type: "model.selected.1";
|
|
2921
2946
|
id: string;
|
|
2922
2947
|
seq: number;
|
|
2923
2948
|
aggregateID: string;
|
|
2924
2949
|
data: {
|
|
2925
|
-
timestamp: number;
|
|
2926
2950
|
sessionID: string;
|
|
2927
|
-
messageID: string;
|
|
2928
2951
|
model: ModelRef;
|
|
2929
2952
|
};
|
|
2930
2953
|
};
|
|
2931
2954
|
};
|
|
2932
|
-
export type
|
|
2955
|
+
export type SyncEventSessionMoved = {
|
|
2933
2956
|
type: "sync";
|
|
2934
2957
|
id: string;
|
|
2935
2958
|
syncEvent: {
|
|
2936
|
-
type: "session.
|
|
2959
|
+
type: "session.moved.1";
|
|
2937
2960
|
id: string;
|
|
2938
2961
|
seq: number;
|
|
2939
2962
|
aggregateID: string;
|
|
2940
2963
|
data: {
|
|
2941
|
-
timestamp: number;
|
|
2942
2964
|
sessionID: string;
|
|
2943
2965
|
location: LocationRef;
|
|
2944
|
-
|
|
2966
|
+
subpath?: string;
|
|
2945
2967
|
};
|
|
2946
2968
|
};
|
|
2947
2969
|
};
|
|
2948
|
-
export type
|
|
2970
|
+
export type SyncEventRenamed = {
|
|
2949
2971
|
type: "sync";
|
|
2950
2972
|
id: string;
|
|
2951
2973
|
syncEvent: {
|
|
2952
|
-
type: "
|
|
2974
|
+
type: "renamed.1";
|
|
2953
2975
|
id: string;
|
|
2954
2976
|
seq: number;
|
|
2955
2977
|
aggregateID: string;
|
|
2956
2978
|
data: {
|
|
2957
|
-
timestamp: number;
|
|
2958
2979
|
sessionID: string;
|
|
2959
2980
|
title: string;
|
|
2960
2981
|
};
|
|
2961
2982
|
};
|
|
2962
2983
|
};
|
|
2963
|
-
export type
|
|
2984
|
+
export type SyncEventForked = {
|
|
2964
2985
|
type: "sync";
|
|
2965
2986
|
id: string;
|
|
2966
2987
|
syncEvent: {
|
|
2967
|
-
type: "
|
|
2988
|
+
type: "forked.1";
|
|
2968
2989
|
id: string;
|
|
2969
2990
|
seq: number;
|
|
2970
2991
|
aggregateID: string;
|
|
2971
2992
|
data: {
|
|
2972
|
-
timestamp: number;
|
|
2973
2993
|
sessionID: string;
|
|
2974
2994
|
parentID: string;
|
|
2975
|
-
|
|
2995
|
+
from?: string;
|
|
2976
2996
|
};
|
|
2977
2997
|
};
|
|
2978
2998
|
};
|
|
2979
|
-
export type
|
|
2999
|
+
export type SyncEventPromptPromoted = {
|
|
2980
3000
|
type: "sync";
|
|
2981
3001
|
id: string;
|
|
2982
3002
|
syncEvent: {
|
|
2983
|
-
type: "
|
|
3003
|
+
type: "prompt.promoted.1";
|
|
2984
3004
|
id: string;
|
|
2985
3005
|
seq: number;
|
|
2986
3006
|
aggregateID: string;
|
|
2987
3007
|
data: {
|
|
2988
|
-
timestamp: number;
|
|
2989
3008
|
sessionID: string;
|
|
2990
|
-
|
|
2991
|
-
prompt: Prompt;
|
|
2992
|
-
delivery: "steer" | "queue";
|
|
3009
|
+
inputID: string;
|
|
2993
3010
|
};
|
|
2994
3011
|
};
|
|
2995
3012
|
};
|
|
2996
|
-
export type
|
|
3013
|
+
export type SyncEventPromptAdmitted = {
|
|
2997
3014
|
type: "sync";
|
|
2998
3015
|
id: string;
|
|
2999
3016
|
syncEvent: {
|
|
3000
|
-
type: "
|
|
3017
|
+
type: "prompt.admitted.1";
|
|
3001
3018
|
id: string;
|
|
3002
3019
|
seq: number;
|
|
3003
3020
|
aggregateID: string;
|
|
3004
3021
|
data: {
|
|
3005
|
-
timestamp: number;
|
|
3006
3022
|
sessionID: string;
|
|
3007
|
-
|
|
3023
|
+
inputID: string;
|
|
3008
3024
|
prompt: Prompt;
|
|
3009
3025
|
delivery: "steer" | "queue";
|
|
3010
3026
|
};
|
|
3011
3027
|
};
|
|
3012
3028
|
};
|
|
3013
|
-
export type
|
|
3029
|
+
export type SyncEventSessionContextUpdated = {
|
|
3014
3030
|
type: "sync";
|
|
3015
3031
|
id: string;
|
|
3016
3032
|
syncEvent: {
|
|
3017
|
-
type: "session.
|
|
3033
|
+
type: "session.context.updated.1";
|
|
3018
3034
|
id: string;
|
|
3019
3035
|
seq: number;
|
|
3020
3036
|
aggregateID: string;
|
|
3021
3037
|
data: {
|
|
3022
|
-
timestamp: number;
|
|
3023
3038
|
sessionID: string;
|
|
3024
|
-
messageID: string;
|
|
3025
3039
|
text: string;
|
|
3026
3040
|
};
|
|
3027
3041
|
};
|
|
3028
3042
|
};
|
|
3029
|
-
export type
|
|
3043
|
+
export type SyncEventSynthetic = {
|
|
3030
3044
|
type: "sync";
|
|
3031
3045
|
id: string;
|
|
3032
3046
|
syncEvent: {
|
|
3033
|
-
type: "
|
|
3047
|
+
type: "synthetic.1";
|
|
3034
3048
|
id: string;
|
|
3035
3049
|
seq: number;
|
|
3036
3050
|
aggregateID: string;
|
|
3037
3051
|
data: {
|
|
3038
|
-
timestamp: number;
|
|
3039
3052
|
sessionID: string;
|
|
3040
|
-
messageID: string;
|
|
3041
3053
|
text: string;
|
|
3042
3054
|
description?: string;
|
|
3043
3055
|
metadata?: {
|
|
@@ -3046,66 +3058,60 @@ export type SyncEventSessionNextSynthetic = {
|
|
|
3046
3058
|
};
|
|
3047
3059
|
};
|
|
3048
3060
|
};
|
|
3049
|
-
export type
|
|
3061
|
+
export type SyncEventSkillActivated = {
|
|
3050
3062
|
type: "sync";
|
|
3051
3063
|
id: string;
|
|
3052
3064
|
syncEvent: {
|
|
3053
|
-
type: "
|
|
3065
|
+
type: "skill.activated.1";
|
|
3054
3066
|
id: string;
|
|
3055
3067
|
seq: number;
|
|
3056
3068
|
aggregateID: string;
|
|
3057
3069
|
data: {
|
|
3058
|
-
timestamp: number;
|
|
3059
3070
|
sessionID: string;
|
|
3060
|
-
messageID: string;
|
|
3061
3071
|
name: string;
|
|
3062
3072
|
text: string;
|
|
3063
3073
|
};
|
|
3064
3074
|
};
|
|
3065
3075
|
};
|
|
3066
|
-
export type
|
|
3076
|
+
export type SyncEventShellStarted = {
|
|
3067
3077
|
type: "sync";
|
|
3068
3078
|
id: string;
|
|
3069
3079
|
syncEvent: {
|
|
3070
|
-
type: "
|
|
3080
|
+
type: "shell.started.1";
|
|
3071
3081
|
id: string;
|
|
3072
3082
|
seq: number;
|
|
3073
3083
|
aggregateID: string;
|
|
3074
3084
|
data: {
|
|
3075
|
-
timestamp: number;
|
|
3076
3085
|
sessionID: string;
|
|
3077
|
-
messageID: string;
|
|
3078
3086
|
callID: string;
|
|
3079
3087
|
command: string;
|
|
3080
3088
|
};
|
|
3081
3089
|
};
|
|
3082
3090
|
};
|
|
3083
|
-
export type
|
|
3091
|
+
export type SyncEventShellEnded = {
|
|
3084
3092
|
type: "sync";
|
|
3085
3093
|
id: string;
|
|
3086
3094
|
syncEvent: {
|
|
3087
|
-
type: "
|
|
3095
|
+
type: "shell.ended.1";
|
|
3088
3096
|
id: string;
|
|
3089
3097
|
seq: number;
|
|
3090
3098
|
aggregateID: string;
|
|
3091
3099
|
data: {
|
|
3092
|
-
timestamp: number;
|
|
3093
3100
|
sessionID: string;
|
|
3094
3101
|
callID: string;
|
|
3095
3102
|
output: string;
|
|
3096
3103
|
};
|
|
3097
3104
|
};
|
|
3098
3105
|
};
|
|
3099
|
-
export type
|
|
3106
|
+
export type SyncEventStepStarted = {
|
|
3100
3107
|
type: "sync";
|
|
3101
3108
|
id: string;
|
|
3102
3109
|
syncEvent: {
|
|
3103
|
-
type: "
|
|
3110
|
+
type: "step.started.1";
|
|
3104
3111
|
id: string;
|
|
3105
3112
|
seq: number;
|
|
3106
3113
|
aggregateID: string;
|
|
3107
3114
|
data: {
|
|
3108
|
-
timestamp: number;
|
|
3109
3115
|
sessionID: string;
|
|
3110
3116
|
assistantMessageID: string;
|
|
3111
3117
|
agent: string;
|
|
@@ -3114,16 +3120,15 @@ export type SyncEventSessionNextStepStarted = {
|
|
|
3114
3120
|
};
|
|
3115
3121
|
};
|
|
3116
3122
|
};
|
|
3117
|
-
export type
|
|
3123
|
+
export type SyncEventStepEnded = {
|
|
3118
3124
|
type: "sync";
|
|
3119
3125
|
id: string;
|
|
3120
3126
|
syncEvent: {
|
|
3121
|
-
type: "
|
|
3127
|
+
type: "step.ended.1";
|
|
3122
3128
|
id: string;
|
|
3123
3129
|
seq: number;
|
|
3124
3130
|
aggregateID: string;
|
|
3125
3131
|
data: {
|
|
3126
|
-
timestamp: number;
|
|
3127
3132
|
sessionID: string;
|
|
3128
3133
|
assistantMessageID: string;
|
|
3129
3134
|
finish: string;
|
|
@@ -3142,48 +3147,45 @@ export type SyncEventSessionNextStepEnded = {
|
|
|
3142
3147
|
};
|
|
3143
3148
|
};
|
|
3144
3149
|
};
|
|
3145
|
-
export type
|
|
3150
|
+
export type SyncEventStepFailed = {
|
|
3146
3151
|
type: "sync";
|
|
3147
3152
|
id: string;
|
|
3148
3153
|
syncEvent: {
|
|
3149
|
-
type: "
|
|
3154
|
+
type: "step.failed.1";
|
|
3150
3155
|
id: string;
|
|
3151
3156
|
seq: number;
|
|
3152
3157
|
aggregateID: string;
|
|
3153
3158
|
data: {
|
|
3154
|
-
timestamp: number;
|
|
3155
3159
|
sessionID: string;
|
|
3156
3160
|
assistantMessageID: string;
|
|
3157
3161
|
error: SessionErrorUnknown;
|
|
3158
3162
|
};
|
|
3159
3163
|
};
|
|
3160
3164
|
};
|
|
3161
|
-
export type
|
|
3165
|
+
export type SyncEventTextStarted = {
|
|
3162
3166
|
type: "sync";
|
|
3163
3167
|
id: string;
|
|
3164
3168
|
syncEvent: {
|
|
3165
|
-
type: "
|
|
3169
|
+
type: "text.started.1";
|
|
3166
3170
|
id: string;
|
|
3167
3171
|
seq: number;
|
|
3168
3172
|
aggregateID: string;
|
|
3169
3173
|
data: {
|
|
3170
|
-
timestamp: number;
|
|
3171
3174
|
sessionID: string;
|
|
3172
3175
|
assistantMessageID: string;
|
|
3173
3176
|
textID: string;
|
|
3174
3177
|
};
|
|
3175
3178
|
};
|
|
3176
3179
|
};
|
|
3177
|
-
export type
|
|
3180
|
+
export type SyncEventTextEnded = {
|
|
3178
3181
|
type: "sync";
|
|
3179
3182
|
id: string;
|
|
3180
3183
|
syncEvent: {
|
|
3181
|
-
type: "
|
|
3184
|
+
type: "text.ended.1";
|
|
3182
3185
|
id: string;
|
|
3183
3186
|
seq: number;
|
|
3184
3187
|
aggregateID: string;
|
|
3185
3188
|
data: {
|
|
3186
|
-
timestamp: number;
|
|
3187
3189
|
sessionID: string;
|
|
3188
3190
|
assistantMessageID: string;
|
|
3189
3191
|
textID: string;
|
|
@@ -3191,16 +3193,15 @@ export type SyncEventSessionNextTextEnded = {
|
|
|
3191
3193
|
};
|
|
3192
3194
|
};
|
|
3193
3195
|
};
|
|
3194
|
-
export type
|
|
3196
|
+
export type SyncEventReasoningStarted = {
|
|
3195
3197
|
type: "sync";
|
|
3196
3198
|
id: string;
|
|
3197
3199
|
syncEvent: {
|
|
3198
|
-
type: "
|
|
3200
|
+
type: "reasoning.started.1";
|
|
3199
3201
|
id: string;
|
|
3200
3202
|
seq: number;
|
|
3201
3203
|
aggregateID: string;
|
|
3202
3204
|
data: {
|
|
3203
|
-
timestamp: number;
|
|
3204
3205
|
sessionID: string;
|
|
3205
3206
|
assistantMessageID: string;
|
|
3206
3207
|
reasoningID: string;
|
|
@@ -3208,16 +3209,15 @@ export type SyncEventSessionNextReasoningStarted = {
|
|
|
3208
3209
|
};
|
|
3209
3210
|
};
|
|
3210
3211
|
};
|
|
3211
|
-
export type
|
|
3212
|
+
export type SyncEventReasoningEnded = {
|
|
3212
3213
|
type: "sync";
|
|
3213
3214
|
id: string;
|
|
3214
3215
|
syncEvent: {
|
|
3215
|
-
type: "
|
|
3216
|
+
type: "reasoning.ended.1";
|
|
3216
3217
|
id: string;
|
|
3217
3218
|
seq: number;
|
|
3218
3219
|
aggregateID: string;
|
|
3219
3220
|
data: {
|
|
3220
|
-
timestamp: number;
|
|
3221
3221
|
sessionID: string;
|
|
3222
3222
|
assistantMessageID: string;
|
|
3223
3223
|
reasoningID: string;
|
|
@@ -3226,16 +3226,15 @@ export type SyncEventSessionNextReasoningEnded = {
|
|
|
3226
3226
|
};
|
|
3227
3227
|
};
|
|
3228
3228
|
};
|
|
3229
|
-
export type
|
|
3229
|
+
export type SyncEventToolInputStarted = {
|
|
3230
3230
|
type: "sync";
|
|
3231
3231
|
id: string;
|
|
3232
3232
|
syncEvent: {
|
|
3233
|
-
type: "
|
|
3233
|
+
type: "tool.input.started.1";
|
|
3234
3234
|
id: string;
|
|
3235
3235
|
seq: number;
|
|
3236
3236
|
aggregateID: string;
|
|
3237
3237
|
data: {
|
|
3238
|
-
timestamp: number;
|
|
3239
3238
|
sessionID: string;
|
|
3240
3239
|
assistantMessageID: string;
|
|
3241
3240
|
callID: string;
|
|
@@ -3243,16 +3242,15 @@ export type SyncEventSessionNextToolInputStarted = {
|
|
|
3243
3242
|
};
|
|
3244
3243
|
};
|
|
3245
3244
|
};
|
|
3246
|
-
export type
|
|
3245
|
+
export type SyncEventToolInputEnded = {
|
|
3247
3246
|
type: "sync";
|
|
3248
3247
|
id: string;
|
|
3249
3248
|
syncEvent: {
|
|
3250
|
-
type: "
|
|
3249
|
+
type: "tool.input.ended.1";
|
|
3251
3250
|
id: string;
|
|
3252
3251
|
seq: number;
|
|
3253
3252
|
aggregateID: string;
|
|
3254
3253
|
data: {
|
|
3255
|
-
timestamp: number;
|
|
3256
3254
|
sessionID: string;
|
|
3257
3255
|
assistantMessageID: string;
|
|
3258
3256
|
callID: string;
|
|
@@ -3260,16 +3258,15 @@ export type SyncEventSessionNextToolInputEnded = {
|
|
|
3260
3258
|
};
|
|
3261
3259
|
};
|
|
3262
3260
|
};
|
|
3263
|
-
export type
|
|
3261
|
+
export type SyncEventToolCalled = {
|
|
3264
3262
|
type: "sync";
|
|
3265
3263
|
id: string;
|
|
3266
3264
|
syncEvent: {
|
|
3267
|
-
type: "
|
|
3265
|
+
type: "tool.called.1";
|
|
3268
3266
|
id: string;
|
|
3269
3267
|
seq: number;
|
|
3270
3268
|
aggregateID: string;
|
|
3271
3269
|
data: {
|
|
3272
|
-
timestamp: number;
|
|
3273
3270
|
sessionID: string;
|
|
3274
3271
|
assistantMessageID: string;
|
|
3275
3272
|
callID: string;
|
|
@@ -3284,16 +3281,15 @@ export type SyncEventSessionNextToolCalled = {
|
|
|
3284
3281
|
};
|
|
3285
3282
|
};
|
|
3286
3283
|
};
|
|
3287
|
-
export type
|
|
3284
|
+
export type SyncEventToolProgress = {
|
|
3288
3285
|
type: "sync";
|
|
3289
3286
|
id: string;
|
|
3290
3287
|
syncEvent: {
|
|
3291
|
-
type: "
|
|
3288
|
+
type: "tool.progress.1";
|
|
3292
3289
|
id: string;
|
|
3293
3290
|
seq: number;
|
|
3294
3291
|
aggregateID: string;
|
|
3295
3292
|
data: {
|
|
3296
|
-
timestamp: number;
|
|
3297
3293
|
sessionID: string;
|
|
3298
3294
|
assistantMessageID: string;
|
|
3299
3295
|
callID: string;
|
|
@@ -3304,16 +3300,15 @@ export type SyncEventSessionNextToolProgress = {
|
|
|
3304
3300
|
};
|
|
3305
3301
|
};
|
|
3306
3302
|
};
|
|
3307
|
-
export type
|
|
3303
|
+
export type SyncEventToolSuccess = {
|
|
3308
3304
|
type: "sync";
|
|
3309
3305
|
id: string;
|
|
3310
3306
|
syncEvent: {
|
|
3311
|
-
type: "
|
|
3307
|
+
type: "tool.success.1";
|
|
3312
3308
|
id: string;
|
|
3313
3309
|
seq: number;
|
|
3314
3310
|
aggregateID: string;
|
|
3315
3311
|
data: {
|
|
3316
|
-
timestamp: number;
|
|
3317
3312
|
sessionID: string;
|
|
3318
3313
|
assistantMessageID: string;
|
|
3319
3314
|
callID: string;
|
|
@@ -3330,16 +3325,15 @@ export type SyncEventSessionNextToolSuccess = {
|
|
|
3330
3325
|
};
|
|
3331
3326
|
};
|
|
3332
3327
|
};
|
|
3333
|
-
export type
|
|
3328
|
+
export type SyncEventToolFailed = {
|
|
3334
3329
|
type: "sync";
|
|
3335
3330
|
id: string;
|
|
3336
3331
|
syncEvent: {
|
|
3337
|
-
type: "
|
|
3332
|
+
type: "tool.failed.1";
|
|
3338
3333
|
id: string;
|
|
3339
3334
|
seq: number;
|
|
3340
3335
|
aggregateID: string;
|
|
3341
3336
|
data: {
|
|
3342
|
-
timestamp: number;
|
|
3343
3337
|
sessionID: string;
|
|
3344
3338
|
assistantMessageID: string;
|
|
3345
3339
|
callID: string;
|
|
@@ -3352,95 +3346,87 @@ export type SyncEventSessionNextToolFailed = {
|
|
|
3352
3346
|
};
|
|
3353
3347
|
};
|
|
3354
3348
|
};
|
|
3355
|
-
export type
|
|
3349
|
+
export type SyncEventRetried = {
|
|
3356
3350
|
type: "sync";
|
|
3357
3351
|
id: string;
|
|
3358
3352
|
syncEvent: {
|
|
3359
|
-
type: "
|
|
3353
|
+
type: "retried.1";
|
|
3360
3354
|
id: string;
|
|
3361
3355
|
seq: number;
|
|
3362
3356
|
aggregateID: string;
|
|
3363
3357
|
data: {
|
|
3364
|
-
timestamp: number;
|
|
3365
3358
|
sessionID: string;
|
|
3366
3359
|
attempt: number;
|
|
3367
|
-
error:
|
|
3360
|
+
error: SessionRetryError;
|
|
3368
3361
|
};
|
|
3369
3362
|
};
|
|
3370
3363
|
};
|
|
3371
|
-
export type
|
|
3364
|
+
export type SyncEventCompactionStarted = {
|
|
3372
3365
|
type: "sync";
|
|
3373
3366
|
id: string;
|
|
3374
3367
|
syncEvent: {
|
|
3375
|
-
type: "
|
|
3368
|
+
type: "compaction.started.1";
|
|
3376
3369
|
id: string;
|
|
3377
3370
|
seq: number;
|
|
3378
3371
|
aggregateID: string;
|
|
3379
3372
|
data: {
|
|
3380
|
-
timestamp: number;
|
|
3381
3373
|
sessionID: string;
|
|
3382
|
-
messageID: string;
|
|
3383
3374
|
reason: "auto" | "manual";
|
|
3384
3375
|
};
|
|
3385
3376
|
};
|
|
3386
3377
|
};
|
|
3387
|
-
export type
|
|
3378
|
+
export type SyncEventCompactionEnded = {
|
|
3388
3379
|
type: "sync";
|
|
3389
3380
|
id: string;
|
|
3390
3381
|
syncEvent: {
|
|
3391
|
-
type: "
|
|
3382
|
+
type: "compaction.ended.1";
|
|
3392
3383
|
id: string;
|
|
3393
3384
|
seq: number;
|
|
3394
3385
|
aggregateID: string;
|
|
3395
3386
|
data: {
|
|
3396
|
-
timestamp: number;
|
|
3397
3387
|
sessionID: string;
|
|
3398
|
-
messageID: string;
|
|
3399
3388
|
reason: "auto" | "manual";
|
|
3400
3389
|
text: string;
|
|
3401
3390
|
recent: string;
|
|
3402
3391
|
};
|
|
3403
3392
|
};
|
|
3404
3393
|
};
|
|
3405
|
-
export type
|
|
3394
|
+
export type SyncEventRevertStaged = {
|
|
3406
3395
|
type: "sync";
|
|
3407
3396
|
id: string;
|
|
3408
3397
|
syncEvent: {
|
|
3409
|
-
type: "
|
|
3398
|
+
type: "revert.staged.1";
|
|
3410
3399
|
id: string;
|
|
3411
3400
|
seq: number;
|
|
3412
3401
|
aggregateID: string;
|
|
3413
3402
|
data: {
|
|
3414
|
-
timestamp: number;
|
|
3415
3403
|
sessionID: string;
|
|
3416
3404
|
revert: RevertState;
|
|
3417
3405
|
};
|
|
3418
3406
|
};
|
|
3419
3407
|
};
|
|
3420
|
-
export type
|
|
3408
|
+
export type SyncEventRevertCleared = {
|
|
3421
3409
|
type: "sync";
|
|
3422
3410
|
id: string;
|
|
3423
3411
|
syncEvent: {
|
|
3424
|
-
type: "
|
|
3412
|
+
type: "revert.cleared.1";
|
|
3425
3413
|
id: string;
|
|
3426
3414
|
seq: number;
|
|
3427
3415
|
aggregateID: string;
|
|
3428
3416
|
data: {
|
|
3429
|
-
timestamp: number;
|
|
3430
3417
|
sessionID: string;
|
|
3431
3418
|
};
|
|
3432
3419
|
};
|
|
3433
3420
|
};
|
|
3434
|
-
export type
|
|
3421
|
+
export type SyncEventRevertCommitted = {
|
|
3435
3422
|
type: "sync";
|
|
3436
3423
|
id: string;
|
|
3437
3424
|
syncEvent: {
|
|
3438
|
-
type: "
|
|
3425
|
+
type: "revert.committed.1";
|
|
3439
3426
|
id: string;
|
|
3440
3427
|
seq: number;
|
|
3441
3428
|
aggregateID: string;
|
|
3442
3429
|
data: {
|
|
3443
|
-
timestamp: number;
|
|
3444
3430
|
sessionID: string;
|
|
3445
3431
|
messageID: string;
|
|
3446
3432
|
};
|
|
@@ -3560,7 +3546,7 @@ export type SessionInputAdmitted = {
|
|
|
3560
3546
|
timeCreated: number;
|
|
3561
3547
|
promotedSeq?: number;
|
|
3562
3548
|
};
|
|
3563
|
-
export type
|
|
3549
|
+
export type SessionMessageAgentSelected = {
|
|
3564
3550
|
id: string;
|
|
3565
3551
|
metadata?: {
|
|
3566
3552
|
[key: string]: unknown;
|
|
@@ -3571,7 +3557,7 @@ export type SessionMessageAgentSwitched = {
|
|
|
3571
3557
|
type: "agent-switched";
|
|
3572
3558
|
agent: string;
|
|
3573
3559
|
};
|
|
3574
|
-
export type
|
|
3560
|
+
export type SessionMessageModelSelected = {
|
|
3575
3561
|
id: string;
|
|
3576
3562
|
metadata?: {
|
|
3577
3563
|
[key: string]: unknown;
|
|
@@ -3760,18 +3746,19 @@ export type SessionMessageCompaction = {
|
|
|
3760
3746
|
created: number;
|
|
3761
3747
|
};
|
|
3762
3748
|
};
|
|
3763
|
-
export type SessionMessage =
|
|
3749
|
+
export type SessionMessage = SessionMessageAgentSelected | SessionMessageModelSelected | SessionMessageUser | SessionMessageSynthetic | SessionMessageSystem | SessionMessageSkill | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction;
|
|
3764
3750
|
export type SessionContextEntryKey = string;
|
|
3765
3751
|
export type SessionContextEntryInfo = {
|
|
3766
3752
|
key: SessionContextEntryKey;
|
|
3767
3753
|
value: unknown;
|
|
3768
3754
|
};
|
|
3769
|
-
export type
|
|
3755
|
+
export type AgentSelected = {
|
|
3770
3756
|
id: string;
|
|
3757
|
+
created: number;
|
|
3771
3758
|
metadata?: {
|
|
3772
3759
|
[key: string]: unknown;
|
|
3773
3760
|
};
|
|
3774
|
-
type: "
|
|
3761
|
+
type: "agent.selected";
|
|
3775
3762
|
durable: {
|
|
3776
3763
|
aggregateID: string;
|
|
3777
3764
|
seq: number;
|
|
@@ -3779,18 +3766,17 @@ export type SessionNextAgentSwitched = {
|
|
|
3779
3766
|
};
|
|
3780
3767
|
location?: LocationRef;
|
|
3781
3768
|
data: {
|
|
3782
|
-
timestamp: number;
|
|
3783
3769
|
sessionID: string;
|
|
3784
|
-
messageID: string;
|
|
3785
3770
|
agent: string;
|
|
3786
3771
|
};
|
|
3787
3772
|
};
|
|
3788
|
-
export type
|
|
3773
|
+
export type ModelSelected = {
|
|
3789
3774
|
id: string;
|
|
3775
|
+
created: number;
|
|
3790
3776
|
metadata?: {
|
|
3791
3777
|
[key: string]: unknown;
|
|
3792
3778
|
};
|
|
3793
|
-
type: "
|
|
3779
|
+
type: "model.selected";
|
|
3794
3780
|
durable: {
|
|
3795
3781
|
aggregateID: string;
|
|
3796
3782
|
seq: number;
|
|
@@ -3798,18 +3784,17 @@ export type SessionNextModelSwitched = {
|
|
|
3798
3784
|
};
|
|
3799
3785
|
location?: LocationRef;
|
|
3800
3786
|
data: {
|
|
3801
|
-
timestamp: number;
|
|
3802
3787
|
sessionID: string;
|
|
3803
|
-
messageID: string;
|
|
3804
3788
|
model: ModelRef;
|
|
3805
3789
|
};
|
|
3806
3790
|
};
|
|
3807
|
-
export type
|
|
3791
|
+
export type SessionMoved = {
|
|
3808
3792
|
id: string;
|
|
3793
|
+
created: number;
|
|
3809
3794
|
metadata?: {
|
|
3810
3795
|
[key: string]: unknown;
|
|
3811
3796
|
};
|
|
3812
|
-
type: "session.
|
|
3797
|
+
type: "session.moved";
|
|
3813
3798
|
durable: {
|
|
3814
3799
|
aggregateID: string;
|
|
3815
3800
|
seq: number;
|
|
@@ -3817,55 +3802,18 @@ export type SessionNextMoved = {
|
|
|
3817
3802
|
};
|
|
3818
3803
|
location?: LocationRef;
|
|
3819
3804
|
data: {
|
|
3820
|
-
timestamp: number;
|
|
3821
3805
|
sessionID: string;
|
|
3822
3806
|
location: LocationRef;
|
|
3823
|
-
|
|
3824
|
-
};
|
|
3825
|
-
};
|
|
3826
|
-
export type SessionNextRenamed = {
|
|
3827
|
-
id: string;
|
|
3828
|
-
metadata?: {
|
|
3829
|
-
[key: string]: unknown;
|
|
3830
|
-
};
|
|
3831
|
-
type: "session.next.renamed";
|
|
3832
|
-
durable: {
|
|
3833
|
-
aggregateID: string;
|
|
3834
|
-
seq: number;
|
|
3835
|
-
version: number;
|
|
3836
|
-
};
|
|
3837
|
-
location?: LocationRef;
|
|
3838
|
-
data: {
|
|
3839
|
-
timestamp: number;
|
|
3840
|
-
sessionID: string;
|
|
3841
|
-
title: string;
|
|
3807
|
+
subpath?: string;
|
|
3842
3808
|
};
|
|
3843
3809
|
};
|
|
3844
|
-
export type
|
|
3845
|
-
id: string;
|
|
3846
|
-
metadata?: {
|
|
3847
|
-
[key: string]: unknown;
|
|
3848
|
-
};
|
|
3849
|
-
type: "session.next.forked";
|
|
3850
|
-
durable: {
|
|
3851
|
-
aggregateID: string;
|
|
3852
|
-
seq: number;
|
|
3853
|
-
version: number;
|
|
3854
|
-
};
|
|
3855
|
-
location?: LocationRef;
|
|
3856
|
-
data: {
|
|
3857
|
-
timestamp: number;
|
|
3858
|
-
sessionID: string;
|
|
3859
|
-
parentID: string;
|
|
3860
|
-
messageID?: string;
|
|
3861
|
-
};
|
|
3862
|
-
};
|
|
3863
|
-
export type SessionNextPrompted = {
|
|
3810
|
+
export type PromptPromoted = {
|
|
3864
3811
|
id: string;
|
|
3812
|
+
created: number;
|
|
3865
3813
|
metadata?: {
|
|
3866
3814
|
[key: string]: unknown;
|
|
3867
3815
|
};
|
|
3868
|
-
type: "
|
|
3816
|
+
type: "prompt.promoted";
|
|
3869
3817
|
durable: {
|
|
3870
3818
|
aggregateID: string;
|
|
3871
3819
|
seq: number;
|
|
@@ -3873,19 +3821,17 @@ export type SessionNextPrompted = {
|
|
|
3873
3821
|
};
|
|
3874
3822
|
location?: LocationRef;
|
|
3875
3823
|
data: {
|
|
3876
|
-
timestamp: number;
|
|
3877
3824
|
sessionID: string;
|
|
3878
|
-
|
|
3879
|
-
prompt: Prompt;
|
|
3880
|
-
delivery: "steer" | "queue";
|
|
3825
|
+
inputID: string;
|
|
3881
3826
|
};
|
|
3882
3827
|
};
|
|
3883
|
-
export type
|
|
3828
|
+
export type PromptAdmitted = {
|
|
3884
3829
|
id: string;
|
|
3830
|
+
created: number;
|
|
3885
3831
|
metadata?: {
|
|
3886
3832
|
[key: string]: unknown;
|
|
3887
3833
|
};
|
|
3888
|
-
type: "
|
|
3834
|
+
type: "prompt.admitted";
|
|
3889
3835
|
durable: {
|
|
3890
3836
|
aggregateID: string;
|
|
3891
3837
|
seq: number;
|
|
@@ -3893,38 +3839,19 @@ export type SessionNextPromptAdmitted = {
|
|
|
3893
3839
|
};
|
|
3894
3840
|
location?: LocationRef;
|
|
3895
3841
|
data: {
|
|
3896
|
-
timestamp: number;
|
|
3897
3842
|
sessionID: string;
|
|
3898
|
-
|
|
3843
|
+
inputID: string;
|
|
3899
3844
|
prompt: Prompt;
|
|
3900
3845
|
delivery: "steer" | "queue";
|
|
3901
3846
|
};
|
|
3902
3847
|
};
|
|
3903
|
-
export type
|
|
3904
|
-
id: string;
|
|
3905
|
-
metadata?: {
|
|
3906
|
-
[key: string]: unknown;
|
|
3907
|
-
};
|
|
3908
|
-
type: "session.next.context.updated";
|
|
3909
|
-
durable: {
|
|
3910
|
-
aggregateID: string;
|
|
3911
|
-
seq: number;
|
|
3912
|
-
version: number;
|
|
3913
|
-
};
|
|
3914
|
-
location?: LocationRef;
|
|
3915
|
-
data: {
|
|
3916
|
-
timestamp: number;
|
|
3917
|
-
sessionID: string;
|
|
3918
|
-
messageID: string;
|
|
3919
|
-
text: string;
|
|
3920
|
-
};
|
|
3921
|
-
};
|
|
3922
|
-
export type SessionNextSynthetic = {
|
|
3848
|
+
export type SessionContextUpdated = {
|
|
3923
3849
|
id: string;
|
|
3850
|
+
created: number;
|
|
3924
3851
|
metadata?: {
|
|
3925
3852
|
[key: string]: unknown;
|
|
3926
3853
|
};
|
|
3927
|
-
type: "session.
|
|
3854
|
+
type: "session.context.updated";
|
|
3928
3855
|
durable: {
|
|
3929
3856
|
aggregateID: string;
|
|
3930
3857
|
seq: number;
|
|
@@ -3932,22 +3859,17 @@ export type SessionNextSynthetic = {
|
|
|
3932
3859
|
};
|
|
3933
3860
|
location?: LocationRef;
|
|
3934
3861
|
data: {
|
|
3935
|
-
timestamp: number;
|
|
3936
3862
|
sessionID: string;
|
|
3937
|
-
messageID: string;
|
|
3938
3863
|
text: string;
|
|
3939
|
-
description?: string;
|
|
3940
|
-
metadata?: {
|
|
3941
|
-
[key: string]: unknown;
|
|
3942
|
-
};
|
|
3943
3864
|
};
|
|
3944
3865
|
};
|
|
3945
|
-
export type
|
|
3866
|
+
export type SkillActivated = {
|
|
3946
3867
|
id: string;
|
|
3868
|
+
created: number;
|
|
3947
3869
|
metadata?: {
|
|
3948
3870
|
[key: string]: unknown;
|
|
3949
3871
|
};
|
|
3950
|
-
type: "
|
|
3872
|
+
type: "skill.activated";
|
|
3951
3873
|
durable: {
|
|
3952
3874
|
aggregateID: string;
|
|
3953
3875
|
seq: number;
|
|
@@ -3955,19 +3877,18 @@ export type SessionNextSkillActivated = {
|
|
|
3955
3877
|
};
|
|
3956
3878
|
location?: LocationRef;
|
|
3957
3879
|
data: {
|
|
3958
|
-
timestamp: number;
|
|
3959
3880
|
sessionID: string;
|
|
3960
|
-
messageID: string;
|
|
3961
3881
|
name: string;
|
|
3962
3882
|
text: string;
|
|
3963
3883
|
};
|
|
3964
3884
|
};
|
|
3965
|
-
export type
|
|
3885
|
+
export type ShellStarted = {
|
|
3966
3886
|
id: string;
|
|
3887
|
+
created: number;
|
|
3967
3888
|
metadata?: {
|
|
3968
3889
|
[key: string]: unknown;
|
|
3969
3890
|
};
|
|
3970
|
-
type: "
|
|
3891
|
+
type: "shell.started";
|
|
3971
3892
|
durable: {
|
|
3972
3893
|
aggregateID: string;
|
|
3973
3894
|
seq: number;
|
|
@@ -3975,19 +3896,18 @@ export type SessionNextShellStarted = {
|
|
|
3975
3896
|
};
|
|
3976
3897
|
location?: LocationRef;
|
|
3977
3898
|
data: {
|
|
3978
|
-
timestamp: number;
|
|
3979
3899
|
sessionID: string;
|
|
3980
|
-
messageID: string;
|
|
3981
3900
|
callID: string;
|
|
3982
3901
|
command: string;
|
|
3983
3902
|
};
|
|
3984
3903
|
};
|
|
3985
|
-
export type
|
|
3904
|
+
export type ShellEnded = {
|
|
3986
3905
|
id: string;
|
|
3906
|
+
created: number;
|
|
3987
3907
|
metadata?: {
|
|
3988
3908
|
[key: string]: unknown;
|
|
3989
3909
|
};
|
|
3990
|
-
type: "
|
|
3910
|
+
type: "shell.ended";
|
|
3991
3911
|
durable: {
|
|
3992
3912
|
aggregateID: string;
|
|
3993
3913
|
seq: number;
|
|
@@ -3995,18 +3915,18 @@ export type SessionNextShellEnded = {
|
|
|
3995
3915
|
};
|
|
3996
3916
|
location?: LocationRef;
|
|
3997
3917
|
data: {
|
|
3998
|
-
timestamp: number;
|
|
3999
3918
|
sessionID: string;
|
|
4000
3919
|
callID: string;
|
|
4001
3920
|
output: string;
|
|
4002
3921
|
};
|
|
4003
3922
|
};
|
|
4004
|
-
export type
|
|
3923
|
+
export type StepStarted = {
|
|
4005
3924
|
id: string;
|
|
3925
|
+
created: number;
|
|
4006
3926
|
metadata?: {
|
|
4007
3927
|
[key: string]: unknown;
|
|
4008
3928
|
};
|
|
4009
|
-
type: "
|
|
3929
|
+
type: "step.started";
|
|
4010
3930
|
durable: {
|
|
4011
3931
|
aggregateID: string;
|
|
4012
3932
|
seq: number;
|
|
@@ -4014,7 +3934,6 @@ export type SessionNextStepStarted = {
|
|
|
4014
3934
|
};
|
|
4015
3935
|
location?: LocationRef;
|
|
4016
3936
|
data: {
|
|
4017
|
-
timestamp: number;
|
|
4018
3937
|
sessionID: string;
|
|
4019
3938
|
assistantMessageID: string;
|
|
4020
3939
|
agent: string;
|
|
@@ -4022,12 +3941,13 @@ export type SessionNextStepStarted = {
|
|
|
4022
3941
|
snapshot?: string;
|
|
4023
3942
|
};
|
|
4024
3943
|
};
|
|
4025
|
-
export type
|
|
3944
|
+
export type StepEnded = {
|
|
4026
3945
|
id: string;
|
|
3946
|
+
created: number;
|
|
4027
3947
|
metadata?: {
|
|
4028
3948
|
[key: string]: unknown;
|
|
4029
3949
|
};
|
|
4030
|
-
type: "
|
|
3950
|
+
type: "step.ended";
|
|
4031
3951
|
durable: {
|
|
4032
3952
|
aggregateID: string;
|
|
4033
3953
|
seq: number;
|
|
@@ -4035,7 +3955,6 @@ export type SessionNextStepEnded = {
|
|
|
4035
3955
|
};
|
|
4036
3956
|
location?: LocationRef;
|
|
4037
3957
|
data: {
|
|
4038
|
-
timestamp: number;
|
|
4039
3958
|
sessionID: string;
|
|
4040
3959
|
assistantMessageID: string;
|
|
4041
3960
|
finish: string;
|
|
@@ -4053,12 +3972,13 @@ export type SessionNextStepEnded = {
|
|
|
4053
3972
|
files?: Array<string>;
|
|
4054
3973
|
};
|
|
4055
3974
|
};
|
|
4056
|
-
export type
|
|
3975
|
+
export type StepFailed = {
|
|
4057
3976
|
id: string;
|
|
3977
|
+
created: number;
|
|
4058
3978
|
metadata?: {
|
|
4059
3979
|
[key: string]: unknown;
|
|
4060
3980
|
};
|
|
4061
|
-
type: "
|
|
3981
|
+
type: "step.failed";
|
|
4062
3982
|
durable: {
|
|
4063
3983
|
aggregateID: string;
|
|
4064
3984
|
seq: number;
|
|
@@ -4066,18 +3986,18 @@ export type SessionNextStepFailed = {
|
|
|
4066
3986
|
};
|
|
4067
3987
|
location?: LocationRef;
|
|
4068
3988
|
data: {
|
|
4069
|
-
timestamp: number;
|
|
4070
3989
|
sessionID: string;
|
|
4071
3990
|
assistantMessageID: string;
|
|
4072
3991
|
error: SessionErrorUnknown;
|
|
4073
3992
|
};
|
|
4074
3993
|
};
|
|
4075
|
-
export type
|
|
3994
|
+
export type TextStarted = {
|
|
4076
3995
|
id: string;
|
|
3996
|
+
created: number;
|
|
4077
3997
|
metadata?: {
|
|
4078
3998
|
[key: string]: unknown;
|
|
4079
3999
|
};
|
|
4080
|
-
type: "
|
|
4000
|
+
type: "text.started";
|
|
4081
4001
|
durable: {
|
|
4082
4002
|
aggregateID: string;
|
|
4083
4003
|
seq: number;
|
|
@@ -4085,18 +4005,18 @@ export type SessionNextTextStarted = {
|
|
|
4085
4005
|
};
|
|
4086
4006
|
location?: LocationRef;
|
|
4087
4007
|
data: {
|
|
4088
|
-
timestamp: number;
|
|
4089
4008
|
sessionID: string;
|
|
4090
4009
|
assistantMessageID: string;
|
|
4091
4010
|
textID: string;
|
|
4092
4011
|
};
|
|
4093
4012
|
};
|
|
4094
|
-
export type
|
|
4013
|
+
export type TextEnded = {
|
|
4095
4014
|
id: string;
|
|
4015
|
+
created: number;
|
|
4096
4016
|
metadata?: {
|
|
4097
4017
|
[key: string]: unknown;
|
|
4098
4018
|
};
|
|
4099
|
-
type: "
|
|
4019
|
+
type: "text.ended";
|
|
4100
4020
|
durable: {
|
|
4101
4021
|
aggregateID: string;
|
|
4102
4022
|
seq: number;
|
|
@@ -4104,19 +4024,19 @@ export type SessionNextTextEnded = {
|
|
|
4104
4024
|
};
|
|
4105
4025
|
location?: LocationRef;
|
|
4106
4026
|
data: {
|
|
4107
|
-
timestamp: number;
|
|
4108
4027
|
sessionID: string;
|
|
4109
4028
|
assistantMessageID: string;
|
|
4110
4029
|
textID: string;
|
|
4111
4030
|
text: string;
|
|
4112
4031
|
};
|
|
4113
4032
|
};
|
|
4114
|
-
export type
|
|
4033
|
+
export type ReasoningStarted = {
|
|
4115
4034
|
id: string;
|
|
4035
|
+
created: number;
|
|
4116
4036
|
metadata?: {
|
|
4117
4037
|
[key: string]: unknown;
|
|
4118
4038
|
};
|
|
4119
|
-
type: "
|
|
4039
|
+
type: "reasoning.started";
|
|
4120
4040
|
durable: {
|
|
4121
4041
|
aggregateID: string;
|
|
4122
4042
|
seq: number;
|
|
@@ -4124,19 +4044,19 @@ export type SessionNextReasoningStarted = {
|
|
|
4124
4044
|
};
|
|
4125
4045
|
location?: LocationRef;
|
|
4126
4046
|
data: {
|
|
4127
|
-
timestamp: number;
|
|
4128
4047
|
sessionID: string;
|
|
4129
4048
|
assistantMessageID: string;
|
|
4130
4049
|
reasoningID: string;
|
|
4131
4050
|
providerMetadata?: LlmProviderMetadata;
|
|
4132
4051
|
};
|
|
4133
4052
|
};
|
|
4134
|
-
export type
|
|
4053
|
+
export type ReasoningEnded = {
|
|
4135
4054
|
id: string;
|
|
4055
|
+
created: number;
|
|
4136
4056
|
metadata?: {
|
|
4137
4057
|
[key: string]: unknown;
|
|
4138
4058
|
};
|
|
4139
|
-
type: "
|
|
4059
|
+
type: "reasoning.ended";
|
|
4140
4060
|
durable: {
|
|
4141
4061
|
aggregateID: string;
|
|
4142
4062
|
seq: number;
|
|
@@ -4144,7 +4064,6 @@ export type SessionNextReasoningEnded = {
|
|
|
4144
4064
|
};
|
|
4145
4065
|
location?: LocationRef;
|
|
4146
4066
|
data: {
|
|
4147
|
-
timestamp: number;
|
|
4148
4067
|
sessionID: string;
|
|
4149
4068
|
assistantMessageID: string;
|
|
4150
4069
|
reasoningID: string;
|
|
@@ -4152,12 +4071,13 @@ export type SessionNextReasoningEnded = {
|
|
|
4152
4071
|
providerMetadata?: LlmProviderMetadata;
|
|
4153
4072
|
};
|
|
4154
4073
|
};
|
|
4155
|
-
export type
|
|
4074
|
+
export type ToolInputStarted = {
|
|
4156
4075
|
id: string;
|
|
4076
|
+
created: number;
|
|
4157
4077
|
metadata?: {
|
|
4158
4078
|
[key: string]: unknown;
|
|
4159
4079
|
};
|
|
4160
|
-
type: "
|
|
4080
|
+
type: "tool.input.started";
|
|
4161
4081
|
durable: {
|
|
4162
4082
|
aggregateID: string;
|
|
4163
4083
|
seq: number;
|
|
@@ -4165,19 +4085,19 @@ export type SessionNextToolInputStarted = {
|
|
|
4165
4085
|
};
|
|
4166
4086
|
location?: LocationRef;
|
|
4167
4087
|
data: {
|
|
4168
|
-
timestamp: number;
|
|
4169
4088
|
sessionID: string;
|
|
4170
4089
|
assistantMessageID: string;
|
|
4171
4090
|
callID: string;
|
|
4172
4091
|
name: string;
|
|
4173
4092
|
};
|
|
4174
4093
|
};
|
|
4175
|
-
export type
|
|
4094
|
+
export type ToolInputEnded = {
|
|
4176
4095
|
id: string;
|
|
4096
|
+
created: number;
|
|
4177
4097
|
metadata?: {
|
|
4178
4098
|
[key: string]: unknown;
|
|
4179
4099
|
};
|
|
4180
|
-
type: "
|
|
4100
|
+
type: "tool.input.ended";
|
|
4181
4101
|
durable: {
|
|
4182
4102
|
aggregateID: string;
|
|
4183
4103
|
seq: number;
|
|
@@ -4185,19 +4105,19 @@ export type SessionNextToolInputEnded = {
|
|
|
4185
4105
|
};
|
|
4186
4106
|
location?: LocationRef;
|
|
4187
4107
|
data: {
|
|
4188
|
-
timestamp: number;
|
|
4189
4108
|
sessionID: string;
|
|
4190
4109
|
assistantMessageID: string;
|
|
4191
4110
|
callID: string;
|
|
4192
4111
|
text: string;
|
|
4193
4112
|
};
|
|
4194
4113
|
};
|
|
4195
|
-
export type
|
|
4114
|
+
export type ToolCalled = {
|
|
4196
4115
|
id: string;
|
|
4116
|
+
created: number;
|
|
4197
4117
|
metadata?: {
|
|
4198
4118
|
[key: string]: unknown;
|
|
4199
4119
|
};
|
|
4200
|
-
type: "
|
|
4120
|
+
type: "tool.called";
|
|
4201
4121
|
durable: {
|
|
4202
4122
|
aggregateID: string;
|
|
4203
4123
|
seq: number;
|
|
@@ -4205,7 +4125,6 @@ export type SessionNextToolCalled = {
|
|
|
4205
4125
|
};
|
|
4206
4126
|
location?: LocationRef;
|
|
4207
4127
|
data: {
|
|
4208
|
-
timestamp: number;
|
|
4209
4128
|
sessionID: string;
|
|
4210
4129
|
assistantMessageID: string;
|
|
4211
4130
|
callID: string;
|
|
@@ -4219,12 +4138,13 @@ export type SessionNextToolCalled = {
|
|
|
4219
4138
|
};
|
|
4220
4139
|
};
|
|
4221
4140
|
};
|
|
4222
|
-
export type
|
|
4141
|
+
export type ToolProgress = {
|
|
4223
4142
|
id: string;
|
|
4143
|
+
created: number;
|
|
4224
4144
|
metadata?: {
|
|
4225
4145
|
[key: string]: unknown;
|
|
4226
4146
|
};
|
|
4227
|
-
type: "
|
|
4147
|
+
type: "tool.progress";
|
|
4228
4148
|
durable: {
|
|
4229
4149
|
aggregateID: string;
|
|
4230
4150
|
seq: number;
|
|
@@ -4232,7 +4152,6 @@ export type SessionNextToolProgress = {
|
|
|
4232
4152
|
};
|
|
4233
4153
|
location?: LocationRef;
|
|
4234
4154
|
data: {
|
|
4235
|
-
timestamp: number;
|
|
4236
4155
|
sessionID: string;
|
|
4237
4156
|
assistantMessageID: string;
|
|
4238
4157
|
callID: string;
|
|
@@ -4242,12 +4161,13 @@ export type SessionNextToolProgress = {
|
|
|
4242
4161
|
content: Array<LlmToolContent>;
|
|
4243
4162
|
};
|
|
4244
4163
|
};
|
|
4245
|
-
export type
|
|
4164
|
+
export type ToolSuccess = {
|
|
4246
4165
|
id: string;
|
|
4166
|
+
created: number;
|
|
4247
4167
|
metadata?: {
|
|
4248
4168
|
[key: string]: unknown;
|
|
4249
4169
|
};
|
|
4250
|
-
type: "
|
|
4170
|
+
type: "tool.success";
|
|
4251
4171
|
durable: {
|
|
4252
4172
|
aggregateID: string;
|
|
4253
4173
|
seq: number;
|
|
@@ -4255,7 +4175,6 @@ export type SessionNextToolSuccess = {
|
|
|
4255
4175
|
};
|
|
4256
4176
|
location?: LocationRef;
|
|
4257
4177
|
data: {
|
|
4258
|
-
timestamp: number;
|
|
4259
4178
|
sessionID: string;
|
|
4260
4179
|
assistantMessageID: string;
|
|
4261
4180
|
callID: string;
|
|
@@ -4271,12 +4190,13 @@ export type SessionNextToolSuccess = {
|
|
|
4271
4190
|
};
|
|
4272
4191
|
};
|
|
4273
4192
|
};
|
|
4274
|
-
export type
|
|
4193
|
+
export type ToolFailed = {
|
|
4275
4194
|
id: string;
|
|
4195
|
+
created: number;
|
|
4276
4196
|
metadata?: {
|
|
4277
4197
|
[key: string]: unknown;
|
|
4278
4198
|
};
|
|
4279
|
-
type: "
|
|
4199
|
+
type: "tool.failed";
|
|
4280
4200
|
durable: {
|
|
4281
4201
|
aggregateID: string;
|
|
4282
4202
|
seq: number;
|
|
@@ -4284,7 +4204,6 @@ export type SessionNextToolFailed = {
|
|
|
4284
4204
|
};
|
|
4285
4205
|
location?: LocationRef;
|
|
4286
4206
|
data: {
|
|
4287
|
-
timestamp: number;
|
|
4288
4207
|
sessionID: string;
|
|
4289
4208
|
assistantMessageID: string;
|
|
4290
4209
|
callID: string;
|
|
@@ -4296,31 +4215,13 @@ export type SessionNextToolFailed = {
|
|
|
4296
4215
|
};
|
|
4297
4216
|
};
|
|
4298
4217
|
};
|
|
4299
|
-
export type
|
|
4300
|
-
id: string;
|
|
4301
|
-
metadata?: {
|
|
4302
|
-
[key: string]: unknown;
|
|
4303
|
-
};
|
|
4304
|
-
type: "session.next.retried";
|
|
4305
|
-
durable: {
|
|
4306
|
-
aggregateID: string;
|
|
4307
|
-
seq: number;
|
|
4308
|
-
version: number;
|
|
4309
|
-
};
|
|
4310
|
-
location?: LocationRef;
|
|
4311
|
-
data: {
|
|
4312
|
-
timestamp: number;
|
|
4313
|
-
sessionID: string;
|
|
4314
|
-
attempt: number;
|
|
4315
|
-
error: SessionNextRetryError;
|
|
4316
|
-
};
|
|
4317
|
-
};
|
|
4318
|
-
export type SessionNextCompactionStarted = {
|
|
4218
|
+
export type CompactionStarted = {
|
|
4319
4219
|
id: string;
|
|
4220
|
+
created: number;
|
|
4320
4221
|
metadata?: {
|
|
4321
4222
|
[key: string]: unknown;
|
|
4322
4223
|
};
|
|
4323
|
-
type: "
|
|
4224
|
+
type: "compaction.started";
|
|
4324
4225
|
durable: {
|
|
4325
4226
|
aggregateID: string;
|
|
4326
4227
|
seq: number;
|
|
@@ -4328,18 +4229,17 @@ export type SessionNextCompactionStarted = {
|
|
|
4328
4229
|
};
|
|
4329
4230
|
location?: LocationRef;
|
|
4330
4231
|
data: {
|
|
4331
|
-
timestamp: number;
|
|
4332
4232
|
sessionID: string;
|
|
4333
|
-
messageID: string;
|
|
4334
4233
|
reason: "auto" | "manual";
|
|
4335
4234
|
};
|
|
4336
4235
|
};
|
|
4337
|
-
export type
|
|
4236
|
+
export type CompactionEnded = {
|
|
4338
4237
|
id: string;
|
|
4238
|
+
created: number;
|
|
4339
4239
|
metadata?: {
|
|
4340
4240
|
[key: string]: unknown;
|
|
4341
4241
|
};
|
|
4342
|
-
type: "
|
|
4242
|
+
type: "compaction.ended";
|
|
4343
4243
|
durable: {
|
|
4344
4244
|
aggregateID: string;
|
|
4345
4245
|
seq: number;
|
|
@@ -4347,20 +4247,19 @@ export type SessionNextCompactionEnded = {
|
|
|
4347
4247
|
};
|
|
4348
4248
|
location?: LocationRef;
|
|
4349
4249
|
data: {
|
|
4350
|
-
timestamp: number;
|
|
4351
4250
|
sessionID: string;
|
|
4352
|
-
messageID: string;
|
|
4353
4251
|
reason: "auto" | "manual";
|
|
4354
4252
|
text: string;
|
|
4355
4253
|
recent: string;
|
|
4356
4254
|
};
|
|
4357
4255
|
};
|
|
4358
|
-
export type
|
|
4256
|
+
export type RevertStaged = {
|
|
4359
4257
|
id: string;
|
|
4258
|
+
created: number;
|
|
4360
4259
|
metadata?: {
|
|
4361
4260
|
[key: string]: unknown;
|
|
4362
4261
|
};
|
|
4363
|
-
type: "
|
|
4262
|
+
type: "revert.staged";
|
|
4364
4263
|
durable: {
|
|
4365
4264
|
aggregateID: string;
|
|
4366
4265
|
seq: number;
|
|
@@ -4368,17 +4267,17 @@ export type SessionNextRevertStaged = {
|
|
|
4368
4267
|
};
|
|
4369
4268
|
location?: LocationRef;
|
|
4370
4269
|
data: {
|
|
4371
|
-
timestamp: number;
|
|
4372
4270
|
sessionID: string;
|
|
4373
4271
|
revert: RevertState;
|
|
4374
4272
|
};
|
|
4375
4273
|
};
|
|
4376
|
-
export type
|
|
4274
|
+
export type RevertCleared = {
|
|
4377
4275
|
id: string;
|
|
4276
|
+
created: number;
|
|
4378
4277
|
metadata?: {
|
|
4379
4278
|
[key: string]: unknown;
|
|
4380
4279
|
};
|
|
4381
|
-
type: "
|
|
4280
|
+
type: "revert.cleared";
|
|
4382
4281
|
durable: {
|
|
4383
4282
|
aggregateID: string;
|
|
4384
4283
|
seq: number;
|
|
@@ -4386,16 +4285,16 @@ export type SessionNextRevertCleared = {
|
|
|
4386
4285
|
};
|
|
4387
4286
|
location?: LocationRef;
|
|
4388
4287
|
data: {
|
|
4389
|
-
timestamp: number;
|
|
4390
4288
|
sessionID: string;
|
|
4391
4289
|
};
|
|
4392
4290
|
};
|
|
4393
|
-
export type
|
|
4291
|
+
export type RevertCommitted = {
|
|
4394
4292
|
id: string;
|
|
4293
|
+
created: number;
|
|
4395
4294
|
metadata?: {
|
|
4396
4295
|
[key: string]: unknown;
|
|
4397
4296
|
};
|
|
4398
|
-
type: "
|
|
4297
|
+
type: "revert.committed";
|
|
4399
4298
|
durable: {
|
|
4400
4299
|
aggregateID: string;
|
|
4401
4300
|
seq: number;
|
|
@@ -4403,7 +4302,6 @@ export type SessionNextRevertCommitted = {
|
|
|
4403
4302
|
};
|
|
4404
4303
|
location?: LocationRef;
|
|
4405
4304
|
data: {
|
|
4406
|
-
timestamp: number;
|
|
4407
4305
|
sessionID: string;
|
|
4408
4306
|
messageID: string;
|
|
4409
4307
|
};
|
|
@@ -4685,6 +4583,7 @@ export type SkillV2Info = {
|
|
|
4685
4583
|
};
|
|
4686
4584
|
export type ModelsDevRefreshed = {
|
|
4687
4585
|
id: string;
|
|
4586
|
+
created: number;
|
|
4688
4587
|
metadata?: {
|
|
4689
4588
|
[key: string]: unknown;
|
|
4690
4589
|
};
|
|
@@ -4696,6 +4595,7 @@ export type ModelsDevRefreshed = {
|
|
|
4696
4595
|
};
|
|
4697
4596
|
export type IntegrationUpdated = {
|
|
4698
4597
|
id: string;
|
|
4598
|
+
created: number;
|
|
4699
4599
|
metadata?: {
|
|
4700
4600
|
[key: string]: unknown;
|
|
4701
4601
|
};
|
|
@@ -4707,6 +4607,7 @@ export type IntegrationUpdated = {
|
|
|
4707
4607
|
};
|
|
4708
4608
|
export type IntegrationConnectionUpdated = {
|
|
4709
4609
|
id: string;
|
|
4610
|
+
created: number;
|
|
4710
4611
|
metadata?: {
|
|
4711
4612
|
[key: string]: unknown;
|
|
4712
4613
|
};
|
|
@@ -4718,6 +4619,7 @@ export type IntegrationConnectionUpdated = {
|
|
|
4718
4619
|
};
|
|
4719
4620
|
export type CatalogUpdated = {
|
|
4720
4621
|
id: string;
|
|
4622
|
+
created: number;
|
|
4721
4623
|
metadata?: {
|
|
4722
4624
|
[key: string]: unknown;
|
|
4723
4625
|
};
|
|
@@ -4729,6 +4631,7 @@ export type CatalogUpdated = {
|
|
|
4729
4631
|
};
|
|
4730
4632
|
export type AgentUpdated = {
|
|
4731
4633
|
id: string;
|
|
4634
|
+
created: number;
|
|
4732
4635
|
metadata?: {
|
|
4733
4636
|
[key: string]: unknown;
|
|
4734
4637
|
};
|
|
@@ -4740,6 +4643,7 @@ export type AgentUpdated = {
|
|
|
4740
4643
|
};
|
|
4741
4644
|
export type SessionCreated = {
|
|
4742
4645
|
id: string;
|
|
4646
|
+
created: number;
|
|
4743
4647
|
metadata?: {
|
|
4744
4648
|
[key: string]: unknown;
|
|
4745
4649
|
};
|
|
@@ -4757,6 +4661,7 @@ export type SessionCreated = {
|
|
|
4757
4661
|
};
|
|
4758
4662
|
export type SessionUpdated = {
|
|
4759
4663
|
id: string;
|
|
4664
|
+
created: number;
|
|
4760
4665
|
metadata?: {
|
|
4761
4666
|
[key: string]: unknown;
|
|
4762
4667
|
};
|
|
@@ -4774,6 +4679,7 @@ export type SessionUpdated = {
|
|
|
4774
4679
|
};
|
|
4775
4680
|
export type SessionDeleted = {
|
|
4776
4681
|
id: string;
|
|
4682
|
+
created: number;
|
|
4777
4683
|
metadata?: {
|
|
4778
4684
|
[key: string]: unknown;
|
|
4779
4685
|
};
|
|
@@ -4791,6 +4697,7 @@ export type SessionDeleted = {
|
|
|
4791
4697
|
};
|
|
4792
4698
|
export type MessageUpdated = {
|
|
4793
4699
|
id: string;
|
|
4700
|
+
created: number;
|
|
4794
4701
|
metadata?: {
|
|
4795
4702
|
[key: string]: unknown;
|
|
4796
4703
|
};
|
|
@@ -4808,6 +4715,7 @@ export type MessageUpdated = {
|
|
|
4808
4715
|
};
|
|
4809
4716
|
export type MessageRemoved = {
|
|
4810
4717
|
id: string;
|
|
4718
|
+
created: number;
|
|
4811
4719
|
metadata?: {
|
|
4812
4720
|
[key: string]: unknown;
|
|
4813
4721
|
};
|
|
@@ -4825,6 +4733,7 @@ export type MessageRemoved = {
|
|
|
4825
4733
|
};
|
|
4826
4734
|
export type MessagePartUpdated = {
|
|
4827
4735
|
id: string;
|
|
4736
|
+
created: number;
|
|
4828
4737
|
metadata?: {
|
|
4829
4738
|
[key: string]: unknown;
|
|
4830
4739
|
};
|
|
@@ -4843,6 +4752,7 @@ export type MessagePartUpdated = {
|
|
|
4843
4752
|
};
|
|
4844
4753
|
export type MessagePartRemoved = {
|
|
4845
4754
|
id: string;
|
|
4755
|
+
created: number;
|
|
4846
4756
|
metadata?: {
|
|
4847
4757
|
[key: string]: unknown;
|
|
4848
4758
|
};
|
|
@@ -4859,81 +4769,81 @@ export type MessagePartRemoved = {
|
|
|
4859
4769
|
partID: string;
|
|
4860
4770
|
};
|
|
4861
4771
|
};
|
|
4862
|
-
export type
|
|
4772
|
+
export type ExecutionSettled = {
|
|
4863
4773
|
id: string;
|
|
4774
|
+
created: number;
|
|
4864
4775
|
metadata?: {
|
|
4865
4776
|
[key: string]: unknown;
|
|
4866
4777
|
};
|
|
4867
|
-
type: "
|
|
4778
|
+
type: "execution.settled";
|
|
4868
4779
|
location?: LocationRef;
|
|
4869
4780
|
data: {
|
|
4870
|
-
timestamp: number;
|
|
4871
4781
|
sessionID: string;
|
|
4872
4782
|
outcome: "success" | "failure" | "interrupted";
|
|
4873
4783
|
error?: SessionErrorUnknown;
|
|
4874
4784
|
};
|
|
4875
4785
|
};
|
|
4876
|
-
export type
|
|
4786
|
+
export type TextDelta = {
|
|
4877
4787
|
id: string;
|
|
4788
|
+
created: number;
|
|
4878
4789
|
metadata?: {
|
|
4879
4790
|
[key: string]: unknown;
|
|
4880
4791
|
};
|
|
4881
|
-
type: "
|
|
4792
|
+
type: "text.delta";
|
|
4882
4793
|
location?: LocationRef;
|
|
4883
4794
|
data: {
|
|
4884
|
-
timestamp: number;
|
|
4885
4795
|
sessionID: string;
|
|
4886
4796
|
assistantMessageID: string;
|
|
4887
4797
|
textID: string;
|
|
4888
4798
|
delta: string;
|
|
4889
4799
|
};
|
|
4890
4800
|
};
|
|
4891
|
-
export type
|
|
4801
|
+
export type ReasoningDelta = {
|
|
4892
4802
|
id: string;
|
|
4803
|
+
created: number;
|
|
4893
4804
|
metadata?: {
|
|
4894
4805
|
[key: string]: unknown;
|
|
4895
4806
|
};
|
|
4896
|
-
type: "
|
|
4807
|
+
type: "reasoning.delta";
|
|
4897
4808
|
location?: LocationRef;
|
|
4898
4809
|
data: {
|
|
4899
|
-
timestamp: number;
|
|
4900
4810
|
sessionID: string;
|
|
4901
4811
|
assistantMessageID: string;
|
|
4902
4812
|
reasoningID: string;
|
|
4903
4813
|
delta: string;
|
|
4904
4814
|
};
|
|
4905
4815
|
};
|
|
4906
|
-
export type
|
|
4816
|
+
export type ToolInputDelta = {
|
|
4907
4817
|
id: string;
|
|
4818
|
+
created: number;
|
|
4908
4819
|
metadata?: {
|
|
4909
4820
|
[key: string]: unknown;
|
|
4910
4821
|
};
|
|
4911
|
-
type: "
|
|
4822
|
+
type: "tool.input.delta";
|
|
4912
4823
|
location?: LocationRef;
|
|
4913
4824
|
data: {
|
|
4914
|
-
timestamp: number;
|
|
4915
4825
|
sessionID: string;
|
|
4916
4826
|
assistantMessageID: string;
|
|
4917
4827
|
callID: string;
|
|
4918
4828
|
delta: string;
|
|
4919
4829
|
};
|
|
4920
4830
|
};
|
|
4921
|
-
export type
|
|
4831
|
+
export type CompactionDelta = {
|
|
4922
4832
|
id: string;
|
|
4833
|
+
created: number;
|
|
4923
4834
|
metadata?: {
|
|
4924
4835
|
[key: string]: unknown;
|
|
4925
4836
|
};
|
|
4926
|
-
type: "
|
|
4837
|
+
type: "compaction.delta";
|
|
4927
4838
|
location?: LocationRef;
|
|
4928
4839
|
data: {
|
|
4929
|
-
timestamp: number;
|
|
4930
4840
|
sessionID: string;
|
|
4931
|
-
messageID: string;
|
|
4932
4841
|
text: string;
|
|
4933
4842
|
};
|
|
4934
4843
|
};
|
|
4935
4844
|
export type MessagePartDelta = {
|
|
4936
4845
|
id: string;
|
|
4846
|
+
created: number;
|
|
4937
4847
|
metadata?: {
|
|
4938
4848
|
[key: string]: unknown;
|
|
4939
4849
|
};
|
|
@@ -4949,6 +4859,7 @@ export type MessagePartDelta = {
|
|
|
4949
4859
|
};
|
|
4950
4860
|
export type SessionDiff = {
|
|
4951
4861
|
id: string;
|
|
4862
|
+
created: number;
|
|
4952
4863
|
metadata?: {
|
|
4953
4864
|
[key: string]: unknown;
|
|
4954
4865
|
};
|
|
@@ -4961,6 +4872,7 @@ export type SessionDiff = {
|
|
|
4961
4872
|
};
|
|
4962
4873
|
export type SessionError = {
|
|
4963
4874
|
id: string;
|
|
4875
|
+
created: number;
|
|
4964
4876
|
metadata?: {
|
|
4965
4877
|
[key: string]: unknown;
|
|
4966
4878
|
};
|
|
@@ -4973,6 +4885,7 @@ export type SessionError = {
|
|
|
4973
4885
|
};
|
|
4974
4886
|
export type InstallationUpdated = {
|
|
4975
4887
|
id: string;
|
|
4888
|
+
created: number;
|
|
4976
4889
|
metadata?: {
|
|
4977
4890
|
[key: string]: unknown;
|
|
4978
4891
|
};
|
|
@@ -4984,6 +4897,7 @@ export type InstallationUpdated = {
|
|
|
4984
4897
|
};
|
|
4985
4898
|
export type InstallationUpdateAvailable = {
|
|
4986
4899
|
id: string;
|
|
4900
|
+
created: number;
|
|
4987
4901
|
metadata?: {
|
|
4988
4902
|
[key: string]: unknown;
|
|
4989
4903
|
};
|
|
@@ -4995,6 +4909,7 @@ export type InstallationUpdateAvailable = {
|
|
|
4995
4909
|
};
|
|
4996
4910
|
export type FileEdited = {
|
|
4997
4911
|
id: string;
|
|
4912
|
+
created: number;
|
|
4998
4913
|
metadata?: {
|
|
4999
4914
|
[key: string]: unknown;
|
|
5000
4915
|
};
|
|
@@ -5006,6 +4921,7 @@ export type FileEdited = {
|
|
|
5006
4921
|
};
|
|
5007
4922
|
export type ReferenceUpdated = {
|
|
5008
4923
|
id: string;
|
|
4924
|
+
created: number;
|
|
5009
4925
|
metadata?: {
|
|
5010
4926
|
[key: string]: unknown;
|
|
5011
4927
|
};
|
|
@@ -5017,6 +4933,7 @@ export type ReferenceUpdated = {
|
|
|
5017
4933
|
};
|
|
5018
4934
|
export type PermissionV2Asked = {
|
|
5019
4935
|
id: string;
|
|
4936
|
+
created: number;
|
|
5020
4937
|
metadata?: {
|
|
5021
4938
|
[key: string]: unknown;
|
|
5022
4939
|
};
|
|
@@ -5036,6 +4953,7 @@ export type PermissionV2Asked = {
|
|
|
5036
4953
|
};
|
|
5037
4954
|
export type PermissionV2Replied = {
|
|
5038
4955
|
id: string;
|
|
4956
|
+
created: number;
|
|
5039
4957
|
metadata?: {
|
|
5040
4958
|
[key: string]: unknown;
|
|
5041
4959
|
};
|
|
@@ -5049,6 +4967,7 @@ export type PermissionV2Replied = {
|
|
|
5049
4967
|
};
|
|
5050
4968
|
export type PluginAdded = {
|
|
5051
4969
|
id: string;
|
|
4970
|
+
created: number;
|
|
5052
4971
|
metadata?: {
|
|
5053
4972
|
[key: string]: unknown;
|
|
5054
4973
|
};
|
|
@@ -5060,6 +4979,7 @@ export type PluginAdded = {
|
|
|
5060
4979
|
};
|
|
5061
4980
|
export type ProjectDirectoriesUpdated = {
|
|
5062
4981
|
id: string;
|
|
4982
|
+
created: number;
|
|
5063
4983
|
metadata?: {
|
|
5064
4984
|
[key: string]: unknown;
|
|
5065
4985
|
};
|
|
@@ -5071,6 +4991,7 @@ export type ProjectDirectoriesUpdated = {
|
|
|
5071
4991
|
};
|
|
5072
4992
|
export type CommandUpdated = {
|
|
5073
4993
|
id: string;
|
|
4994
|
+
created: number;
|
|
5074
4995
|
metadata?: {
|
|
5075
4996
|
[key: string]: unknown;
|
|
5076
4997
|
};
|
|
@@ -5082,6 +5003,7 @@ export type CommandUpdated = {
|
|
|
5082
5003
|
};
|
|
5083
5004
|
export type SkillUpdated = {
|
|
5084
5005
|
id: string;
|
|
5006
|
+
created: number;
|
|
5085
5007
|
metadata?: {
|
|
5086
5008
|
[key: string]: unknown;
|
|
5087
5009
|
};
|
|
@@ -5093,6 +5015,7 @@ export type SkillUpdated = {
|
|
|
5093
5015
|
};
|
|
5094
5016
|
export type FileWatcherUpdated = {
|
|
5095
5017
|
id: string;
|
|
5018
|
+
created: number;
|
|
5096
5019
|
metadata?: {
|
|
5097
5020
|
[key: string]: unknown;
|
|
5098
5021
|
};
|
|
@@ -5105,6 +5028,7 @@ export type FileWatcherUpdated = {
|
|
|
5105
5028
|
};
|
|
5106
5029
|
export type PtyCreated = {
|
|
5107
5030
|
id: string;
|
|
5031
|
+
created: number;
|
|
5108
5032
|
metadata?: {
|
|
5109
5033
|
[key: string]: unknown;
|
|
5110
5034
|
};
|
|
@@ -5116,6 +5040,7 @@ export type PtyCreated = {
|
|
|
5116
5040
|
};
|
|
5117
5041
|
export type PtyUpdated = {
|
|
5118
5042
|
id: string;
|
|
5043
|
+
created: number;
|
|
5119
5044
|
metadata?: {
|
|
5120
5045
|
[key: string]: unknown;
|
|
5121
5046
|
};
|
|
@@ -5127,6 +5052,7 @@ export type PtyUpdated = {
|
|
|
5127
5052
|
};
|
|
5128
5053
|
export type PtyExited = {
|
|
5129
5054
|
id: string;
|
|
5055
|
+
created: number;
|
|
5130
5056
|
metadata?: {
|
|
5131
5057
|
[key: string]: unknown;
|
|
5132
5058
|
};
|
|
@@ -5139,6 +5065,7 @@ export type PtyExited = {
|
|
|
5139
5065
|
};
|
|
5140
5066
|
export type PtyDeleted = {
|
|
5141
5067
|
id: string;
|
|
5068
|
+
created: number;
|
|
5142
5069
|
metadata?: {
|
|
5143
5070
|
[key: string]: unknown;
|
|
5144
5071
|
};
|
|
@@ -5150,6 +5077,7 @@ export type PtyDeleted = {
|
|
|
5150
5077
|
};
|
|
5151
5078
|
export type ShellCreated = {
|
|
5152
5079
|
id: string;
|
|
5080
|
+
created: number;
|
|
5153
5081
|
metadata?: {
|
|
5154
5082
|
[key: string]: unknown;
|
|
5155
5083
|
};
|
|
@@ -5161,6 +5089,7 @@ export type ShellCreated = {
|
|
|
5161
5089
|
};
|
|
5162
5090
|
export type ShellExited = {
|
|
5163
5091
|
id: string;
|
|
5092
|
+
created: number;
|
|
5164
5093
|
metadata?: {
|
|
5165
5094
|
[key: string]: unknown;
|
|
5166
5095
|
};
|
|
@@ -5174,6 +5103,7 @@ export type ShellExited = {
|
|
|
5174
5103
|
};
|
|
5175
5104
|
export type ShellDeleted = {
|
|
5176
5105
|
id: string;
|
|
5106
|
+
created: number;
|
|
5177
5107
|
metadata?: {
|
|
5178
5108
|
[key: string]: unknown;
|
|
5179
5109
|
};
|
|
@@ -5185,6 +5115,7 @@ export type ShellDeleted = {
|
|
|
5185
5115
|
};
|
|
5186
5116
|
export type QuestionV2Asked = {
|
|
5187
5117
|
id: string;
|
|
5118
|
+
created: number;
|
|
5188
5119
|
metadata?: {
|
|
5189
5120
|
[key: string]: unknown;
|
|
5190
5121
|
};
|
|
@@ -5202,6 +5133,7 @@ export type QuestionV2Asked = {
|
|
|
5202
5133
|
};
|
|
5203
5134
|
export type QuestionV2Replied = {
|
|
5204
5135
|
id: string;
|
|
5136
|
+
created: number;
|
|
5205
5137
|
metadata?: {
|
|
5206
5138
|
[key: string]: unknown;
|
|
5207
5139
|
};
|
|
@@ -5215,6 +5147,7 @@ export type QuestionV2Replied = {
|
|
|
5215
5147
|
};
|
|
5216
5148
|
export type QuestionV2Rejected = {
|
|
5217
5149
|
id: string;
|
|
5150
|
+
created: number;
|
|
5218
5151
|
metadata?: {
|
|
5219
5152
|
[key: string]: unknown;
|
|
5220
5153
|
};
|
|
@@ -5254,6 +5187,7 @@ export type FormIntegerField1 = {
|
|
|
5254
5187
|
};
|
|
5255
5188
|
export type FormCreated = {
|
|
5256
5189
|
id: string;
|
|
5190
|
+
created: number;
|
|
5257
5191
|
metadata?: {
|
|
5258
5192
|
[key: string]: unknown;
|
|
5259
5193
|
};
|
|
@@ -5266,6 +5200,7 @@ export type FormCreated = {
|
|
|
5266
5200
|
export type FormValue1 = string | number | "NaN" | "Infinity" | "-Infinity" | boolean | Array<string>;
|
|
5267
5201
|
export type FormReplied = {
|
|
5268
5202
|
id: string;
|
|
5203
|
+
created: number;
|
|
5269
5204
|
metadata?: {
|
|
5270
5205
|
[key: string]: unknown;
|
|
5271
5206
|
};
|
|
@@ -5279,6 +5214,7 @@ export type FormReplied = {
|
|
|
5279
5214
|
};
|
|
5280
5215
|
export type FormCancelled = {
|
|
5281
5216
|
id: string;
|
|
5217
|
+
created: number;
|
|
5282
5218
|
metadata?: {
|
|
5283
5219
|
[key: string]: unknown;
|
|
5284
5220
|
};
|
|
@@ -5291,6 +5227,7 @@ export type FormCancelled = {
|
|
|
5291
5227
|
};
|
|
5292
5228
|
export type TodoUpdated = {
|
|
5293
5229
|
id: string;
|
|
5230
|
+
created: number;
|
|
5294
5231
|
metadata?: {
|
|
5295
5232
|
[key: string]: unknown;
|
|
5296
5233
|
};
|
|
@@ -5303,6 +5240,7 @@ export type TodoUpdated = {
|
|
|
5303
5240
|
};
|
|
5304
5241
|
export type LspUpdated = {
|
|
5305
5242
|
id: string;
|
|
5243
|
+
created: number;
|
|
5306
5244
|
metadata?: {
|
|
5307
5245
|
[key: string]: unknown;
|
|
5308
5246
|
};
|
|
@@ -5314,6 +5252,7 @@ export type LspUpdated = {
|
|
|
5314
5252
|
};
|
|
5315
5253
|
export type PermissionAsked = {
|
|
5316
5254
|
id: string;
|
|
5255
|
+
created: number;
|
|
5317
5256
|
metadata?: {
|
|
5318
5257
|
[key: string]: unknown;
|
|
5319
5258
|
};
|
|
@@ -5336,6 +5275,7 @@ export type PermissionAsked = {
|
|
|
5336
5275
|
};
|
|
5337
5276
|
export type PermissionReplied = {
|
|
5338
5277
|
id: string;
|
|
5278
|
+
created: number;
|
|
5339
5279
|
metadata?: {
|
|
5340
5280
|
[key: string]: unknown;
|
|
5341
5281
|
};
|
|
@@ -5349,6 +5289,7 @@ export type PermissionReplied = {
|
|
|
5349
5289
|
};
|
|
5350
5290
|
export type TuiPromptAppend = {
|
|
5351
5291
|
id: string;
|
|
5292
|
+
created: number;
|
|
5352
5293
|
metadata?: {
|
|
5353
5294
|
[key: string]: unknown;
|
|
5354
5295
|
};
|
|
@@ -5360,6 +5301,7 @@ export type TuiPromptAppend = {
|
|
|
5360
5301
|
};
|
|
5361
5302
|
export type TuiCommandExecute = {
|
|
5362
5303
|
id: string;
|
|
5304
|
+
created: number;
|
|
5363
5305
|
metadata?: {
|
|
5364
5306
|
[key: string]: unknown;
|
|
5365
5307
|
};
|
|
@@ -5371,6 +5313,7 @@ export type TuiCommandExecute = {
|
|
|
5371
5313
|
};
|
|
5372
5314
|
export type TuiToastShow = {
|
|
5373
5315
|
id: string;
|
|
5316
|
+
created: number;
|
|
5374
5317
|
metadata?: {
|
|
5375
5318
|
[key: string]: unknown;
|
|
5376
5319
|
};
|
|
@@ -5385,6 +5328,7 @@ export type TuiToastShow = {
|
|
|
5385
5328
|
};
|
|
5386
5329
|
export type TuiSessionSelect = {
|
|
5387
5330
|
id: string;
|
|
5331
|
+
created: number;
|
|
5388
5332
|
metadata?: {
|
|
5389
5333
|
[key: string]: unknown;
|
|
5390
5334
|
};
|
|
@@ -5399,6 +5343,7 @@ export type TuiSessionSelect = {
|
|
|
5399
5343
|
};
|
|
5400
5344
|
export type McpToolsChanged = {
|
|
5401
5345
|
id: string;
|
|
5346
|
+
created: number;
|
|
5402
5347
|
metadata?: {
|
|
5403
5348
|
[key: string]: unknown;
|
|
5404
5349
|
};
|
|
@@ -5408,20 +5353,9 @@ export type McpToolsChanged = {
|
|
|
5408
5353
|
server: string;
|
|
5409
5354
|
};
|
|
5410
5355
|
};
|
|
5411
|
-
export type McpBrowserOpenFailed = {
|
|
5412
|
-
id: string;
|
|
5413
|
-
metadata?: {
|
|
5414
|
-
[key: string]: unknown;
|
|
5415
|
-
};
|
|
5416
|
-
type: "mcp.browser.open.failed";
|
|
5417
|
-
location?: LocationRef;
|
|
5418
|
-
data: {
|
|
5419
|
-
mcpName: string;
|
|
5420
|
-
url: string;
|
|
5421
|
-
};
|
|
5422
|
-
};
|
|
5423
5356
|
export type McpStatusChanged = {
|
|
5424
5357
|
id: string;
|
|
5358
|
+
created: number;
|
|
5425
5359
|
metadata?: {
|
|
5426
5360
|
[key: string]: unknown;
|
|
5427
5361
|
};
|
|
@@ -5433,6 +5367,7 @@ export type McpStatusChanged = {
|
|
|
5433
5367
|
};
|
|
5434
5368
|
export type CommandExecuted = {
|
|
5435
5369
|
id: string;
|
|
5370
|
+
created: number;
|
|
5436
5371
|
metadata?: {
|
|
5437
5372
|
[key: string]: unknown;
|
|
5438
5373
|
};
|
|
@@ -5447,6 +5382,7 @@ export type CommandExecuted = {
|
|
|
5447
5382
|
};
|
|
5448
5383
|
export type ProjectUpdated = {
|
|
5449
5384
|
id: string;
|
|
5385
|
+
created: number;
|
|
5450
5386
|
metadata?: {
|
|
5451
5387
|
[key: string]: unknown;
|
|
5452
5388
|
};
|
|
@@ -5465,6 +5401,7 @@ export type ProjectUpdated = {
|
|
|
5465
5401
|
};
|
|
5466
5402
|
export type SessionIdle = {
|
|
5467
5403
|
id: string;
|
|
5404
|
+
created: number;
|
|
5468
5405
|
metadata?: {
|
|
5469
5406
|
[key: string]: unknown;
|
|
5470
5407
|
};
|
|
@@ -5476,6 +5413,7 @@ export type SessionIdle = {
|
|
|
5476
5413
|
};
|
|
5477
5414
|
export type QuestionAsked = {
|
|
5478
5415
|
id: string;
|
|
5416
|
+
created: number;
|
|
5479
5417
|
metadata?: {
|
|
5480
5418
|
[key: string]: unknown;
|
|
5481
5419
|
};
|
|
@@ -5493,6 +5431,7 @@ export type QuestionAsked = {
|
|
|
5493
5431
|
};
|
|
5494
5432
|
export type SessionCompacted = {
|
|
5495
5433
|
id: string;
|
|
5434
|
+
created: number;
|
|
5496
5435
|
metadata?: {
|
|
5497
5436
|
[key: string]: unknown;
|
|
5498
5437
|
};
|
|
@@ -5504,6 +5443,7 @@ export type SessionCompacted = {
|
|
|
5504
5443
|
};
|
|
5505
5444
|
export type VcsBranchUpdated = {
|
|
5506
5445
|
id: string;
|
|
5446
|
+
created: number;
|
|
5507
5447
|
metadata?: {
|
|
5508
5448
|
[key: string]: unknown;
|
|
5509
5449
|
};
|
|
@@ -5515,6 +5455,7 @@ export type VcsBranchUpdated = {
|
|
|
5515
5455
|
};
|
|
5516
5456
|
export type WorkspaceReady = {
|
|
5517
5457
|
id: string;
|
|
5458
|
+
created: number;
|
|
5518
5459
|
metadata?: {
|
|
5519
5460
|
[key: string]: unknown;
|
|
5520
5461
|
};
|
|
@@ -5526,6 +5467,7 @@ export type WorkspaceReady = {
|
|
|
5526
5467
|
};
|
|
5527
5468
|
export type WorkspaceFailed = {
|
|
5528
5469
|
id: string;
|
|
5470
|
+
created: number;
|
|
5529
5471
|
metadata?: {
|
|
5530
5472
|
[key: string]: unknown;
|
|
5531
5473
|
};
|
|
@@ -5537,6 +5479,7 @@ export type WorkspaceFailed = {
|
|
|
5537
5479
|
};
|
|
5538
5480
|
export type WorkspaceStatus = {
|
|
5539
5481
|
id: string;
|
|
5482
|
+
created: number;
|
|
5540
5483
|
metadata?: {
|
|
5541
5484
|
[key: string]: unknown;
|
|
5542
5485
|
};
|
|
@@ -5549,6 +5492,7 @@ export type WorkspaceStatus = {
|
|
|
5549
5492
|
};
|
|
5550
5493
|
export type WorktreeReady = {
|
|
5551
5494
|
id: string;
|
|
5495
|
+
created: number;
|
|
5552
5496
|
metadata?: {
|
|
5553
5497
|
[key: string]: unknown;
|
|
5554
5498
|
};
|
|
@@ -5561,6 +5505,7 @@ export type WorktreeReady = {
|
|
|
5561
5505
|
};
|
|
5562
5506
|
export type WorktreeFailed = {
|
|
5563
5507
|
id: string;
|
|
5508
|
+
created: number;
|
|
5564
5509
|
metadata?: {
|
|
5565
5510
|
[key: string]: unknown;
|
|
5566
5511
|
};
|
|
@@ -5572,6 +5517,7 @@ export type WorktreeFailed = {
|
|
|
5572
5517
|
};
|
|
5573
5518
|
export type ServerConnected = {
|
|
5574
5519
|
id: string;
|
|
5520
|
+
created: number;
|
|
5575
5521
|
metadata?: {
|
|
5576
5522
|
[key: string]: unknown;
|
|
5577
5523
|
};
|
|
@@ -5583,6 +5529,7 @@ export type ServerConnected = {
|
|
|
5583
5529
|
};
|
|
5584
5530
|
export type GlobalDisposed = {
|
|
5585
5531
|
id: string;
|
|
5532
|
+
created: number;
|
|
5586
5533
|
metadata?: {
|
|
5587
5534
|
[key: string]: unknown;
|
|
5588
5535
|
};
|
|
@@ -5735,104 +5682,88 @@ export type EventMessagePartRemoved = {
|
|
|
5735
5682
|
partID: string;
|
|
5736
5683
|
};
|
|
5737
5684
|
};
|
|
5738
|
-
export type
|
|
5685
|
+
export type EventAgentSelected = {
|
|
5739
5686
|
id: string;
|
|
5740
|
-
type: "
|
|
5687
|
+
type: "agent.selected";
|
|
5741
5688
|
properties: {
|
|
5742
|
-
timestamp: number;
|
|
5743
5689
|
sessionID: string;
|
|
5744
|
-
messageID: string;
|
|
5745
5690
|
agent: string;
|
|
5746
5691
|
};
|
|
5747
5692
|
};
|
|
5748
|
-
export type
|
|
5693
|
+
export type EventModelSelected = {
|
|
5749
5694
|
id: string;
|
|
5750
|
-
type: "
|
|
5695
|
+
type: "model.selected";
|
|
5751
5696
|
properties: {
|
|
5752
|
-
timestamp: number;
|
|
5753
5697
|
sessionID: string;
|
|
5754
|
-
messageID: string;
|
|
5755
5698
|
model: ModelRef;
|
|
5756
5699
|
};
|
|
5757
5700
|
};
|
|
5758
|
-
export type
|
|
5701
|
+
export type EventSessionMoved = {
|
|
5759
5702
|
id: string;
|
|
5760
|
-
type: "session.
|
|
5703
|
+
type: "session.moved";
|
|
5761
5704
|
properties: {
|
|
5762
|
-
timestamp: number;
|
|
5763
5705
|
sessionID: string;
|
|
5764
5706
|
location: LocationRef;
|
|
5765
|
-
|
|
5707
|
+
subpath?: string;
|
|
5766
5708
|
};
|
|
5767
5709
|
};
|
|
5768
|
-
export type
|
|
5710
|
+
export type EventRenamed = {
|
|
5769
5711
|
id: string;
|
|
5770
|
-
type: "
|
|
5712
|
+
type: "renamed";
|
|
5771
5713
|
properties: {
|
|
5772
|
-
timestamp: number;
|
|
5773
5714
|
sessionID: string;
|
|
5774
5715
|
title: string;
|
|
5775
5716
|
};
|
|
5776
5717
|
};
|
|
5777
|
-
export type
|
|
5718
|
+
export type EventForked = {
|
|
5778
5719
|
id: string;
|
|
5779
|
-
type: "
|
|
5720
|
+
type: "forked";
|
|
5780
5721
|
properties: {
|
|
5781
|
-
timestamp: number;
|
|
5782
5722
|
sessionID: string;
|
|
5783
5723
|
parentID: string;
|
|
5784
|
-
|
|
5724
|
+
from?: string;
|
|
5785
5725
|
};
|
|
5786
5726
|
};
|
|
5787
|
-
export type
|
|
5727
|
+
export type EventPromptPromoted = {
|
|
5788
5728
|
id: string;
|
|
5789
|
-
type: "
|
|
5729
|
+
type: "prompt.promoted";
|
|
5790
5730
|
properties: {
|
|
5791
|
-
timestamp: number;
|
|
5792
5731
|
sessionID: string;
|
|
5793
|
-
|
|
5794
|
-
prompt: Prompt;
|
|
5795
|
-
delivery: "steer" | "queue";
|
|
5732
|
+
inputID: string;
|
|
5796
5733
|
};
|
|
5797
5734
|
};
|
|
5798
|
-
export type
|
|
5735
|
+
export type EventPromptAdmitted = {
|
|
5799
5736
|
id: string;
|
|
5800
|
-
type: "
|
|
5737
|
+
type: "prompt.admitted";
|
|
5801
5738
|
properties: {
|
|
5802
|
-
timestamp: number;
|
|
5803
5739
|
sessionID: string;
|
|
5804
|
-
|
|
5740
|
+
inputID: string;
|
|
5805
5741
|
prompt: Prompt;
|
|
5806
5742
|
delivery: "steer" | "queue";
|
|
5807
5743
|
};
|
|
5808
5744
|
};
|
|
5809
|
-
export type
|
|
5745
|
+
export type EventExecutionSettled = {
|
|
5810
5746
|
id: string;
|
|
5811
|
-
type: "
|
|
5747
|
+
type: "execution.settled";
|
|
5812
5748
|
properties: {
|
|
5813
|
-
timestamp: number;
|
|
5814
5749
|
sessionID: string;
|
|
5815
5750
|
outcome: "success" | "failure" | "interrupted";
|
|
5816
5751
|
error?: SessionErrorUnknown;
|
|
5817
5752
|
};
|
|
5818
5753
|
};
|
|
5819
|
-
export type
|
|
5754
|
+
export type EventSessionContextUpdated = {
|
|
5820
5755
|
id: string;
|
|
5821
|
-
type: "session.
|
|
5756
|
+
type: "session.context.updated";
|
|
5822
5757
|
properties: {
|
|
5823
|
-
timestamp: number;
|
|
5824
5758
|
sessionID: string;
|
|
5825
|
-
messageID: string;
|
|
5826
5759
|
text: string;
|
|
5827
5760
|
};
|
|
5828
5761
|
};
|
|
5829
|
-
export type
|
|
5762
|
+
export type EventSynthetic = {
|
|
5830
5763
|
id: string;
|
|
5831
|
-
type: "
|
|
5764
|
+
type: "synthetic";
|
|
5832
5765
|
properties: {
|
|
5833
|
-
timestamp: number;
|
|
5834
5766
|
sessionID: string;
|
|
5835
|
-
messageID: string;
|
|
5836
5767
|
text: string;
|
|
5837
5768
|
description?: string;
|
|
5838
5769
|
metadata?: {
|
|
@@ -5840,43 +5771,37 @@ export type EventSessionNextSynthetic = {
|
|
|
5840
5771
|
};
|
|
5841
5772
|
};
|
|
5842
5773
|
};
|
|
5843
|
-
export type
|
|
5774
|
+
export type EventSkillActivated = {
|
|
5844
5775
|
id: string;
|
|
5845
|
-
type: "
|
|
5776
|
+
type: "skill.activated";
|
|
5846
5777
|
properties: {
|
|
5847
|
-
timestamp: number;
|
|
5848
5778
|
sessionID: string;
|
|
5849
|
-
messageID: string;
|
|
5850
5779
|
name: string;
|
|
5851
5780
|
text: string;
|
|
5852
5781
|
};
|
|
5853
5782
|
};
|
|
5854
|
-
export type
|
|
5783
|
+
export type EventShellStarted = {
|
|
5855
5784
|
id: string;
|
|
5856
|
-
type: "
|
|
5785
|
+
type: "shell.started";
|
|
5857
5786
|
properties: {
|
|
5858
|
-
timestamp: number;
|
|
5859
5787
|
sessionID: string;
|
|
5860
|
-
messageID: string;
|
|
5861
5788
|
callID: string;
|
|
5862
5789
|
command: string;
|
|
5863
5790
|
};
|
|
5864
5791
|
};
|
|
5865
|
-
export type
|
|
5792
|
+
export type EventShellEnded = {
|
|
5866
5793
|
id: string;
|
|
5867
|
-
type: "
|
|
5794
|
+
type: "shell.ended";
|
|
5868
5795
|
properties: {
|
|
5869
|
-
timestamp: number;
|
|
5870
5796
|
sessionID: string;
|
|
5871
5797
|
callID: string;
|
|
5872
5798
|
output: string;
|
|
5873
5799
|
};
|
|
5874
5800
|
};
|
|
5875
|
-
export type
|
|
5801
|
+
export type EventStepStarted = {
|
|
5876
5802
|
id: string;
|
|
5877
|
-
type: "
|
|
5803
|
+
type: "step.started";
|
|
5878
5804
|
properties: {
|
|
5879
|
-
timestamp: number;
|
|
5880
5805
|
sessionID: string;
|
|
5881
5806
|
assistantMessageID: string;
|
|
5882
5807
|
agent: string;
|
|
@@ -5884,11 +5809,10 @@ export type EventSessionNextStepStarted = {
|
|
|
5884
5809
|
snapshot?: string;
|
|
5885
5810
|
};
|
|
5886
5811
|
};
|
|
5887
|
-
export type
|
|
5812
|
+
export type EventStepEnded = {
|
|
5888
5813
|
id: string;
|
|
5889
|
-
type: "
|
|
5814
|
+
type: "step.ended";
|
|
5890
5815
|
properties: {
|
|
5891
|
-
timestamp: number;
|
|
5892
5816
|
sessionID: string;
|
|
5893
5817
|
assistantMessageID: string;
|
|
5894
5818
|
finish: string;
|
|
@@ -5906,75 +5830,68 @@ export type EventSessionNextStepEnded = {
|
|
|
5906
5830
|
files?: Array<string>;
|
|
5907
5831
|
};
|
|
5908
5832
|
};
|
|
5909
|
-
export type
|
|
5833
|
+
export type EventStepFailed = {
|
|
5910
5834
|
id: string;
|
|
5911
|
-
type: "
|
|
5835
|
+
type: "step.failed";
|
|
5912
5836
|
properties: {
|
|
5913
|
-
timestamp: number;
|
|
5914
5837
|
sessionID: string;
|
|
5915
5838
|
assistantMessageID: string;
|
|
5916
5839
|
error: SessionErrorUnknown;
|
|
5917
5840
|
};
|
|
5918
5841
|
};
|
|
5919
|
-
export type
|
|
5842
|
+
export type EventTextStarted = {
|
|
5920
5843
|
id: string;
|
|
5921
|
-
type: "
|
|
5844
|
+
type: "text.started";
|
|
5922
5845
|
properties: {
|
|
5923
|
-
timestamp: number;
|
|
5924
5846
|
sessionID: string;
|
|
5925
5847
|
assistantMessageID: string;
|
|
5926
5848
|
textID: string;
|
|
5927
5849
|
};
|
|
5928
5850
|
};
|
|
5929
|
-
export type
|
|
5851
|
+
export type EventTextDelta = {
|
|
5930
5852
|
id: string;
|
|
5931
|
-
type: "
|
|
5853
|
+
type: "text.delta";
|
|
5932
5854
|
properties: {
|
|
5933
|
-
timestamp: number;
|
|
5934
5855
|
sessionID: string;
|
|
5935
5856
|
assistantMessageID: string;
|
|
5936
5857
|
textID: string;
|
|
5937
5858
|
delta: string;
|
|
5938
5859
|
};
|
|
5939
5860
|
};
|
|
5940
|
-
export type
|
|
5861
|
+
export type EventTextEnded = {
|
|
5941
5862
|
id: string;
|
|
5942
|
-
type: "
|
|
5863
|
+
type: "text.ended";
|
|
5943
5864
|
properties: {
|
|
5944
|
-
timestamp: number;
|
|
5945
5865
|
sessionID: string;
|
|
5946
5866
|
assistantMessageID: string;
|
|
5947
5867
|
textID: string;
|
|
5948
5868
|
text: string;
|
|
5949
5869
|
};
|
|
5950
5870
|
};
|
|
5951
|
-
export type
|
|
5871
|
+
export type EventReasoningStarted = {
|
|
5952
5872
|
id: string;
|
|
5953
|
-
type: "
|
|
5873
|
+
type: "reasoning.started";
|
|
5954
5874
|
properties: {
|
|
5955
|
-
timestamp: number;
|
|
5956
5875
|
sessionID: string;
|
|
5957
5876
|
assistantMessageID: string;
|
|
5958
5877
|
reasoningID: string;
|
|
5959
5878
|
providerMetadata?: LlmProviderMetadata;
|
|
5960
5879
|
};
|
|
5961
5880
|
};
|
|
5962
|
-
export type
|
|
5881
|
+
export type EventReasoningDelta = {
|
|
5963
5882
|
id: string;
|
|
5964
|
-
type: "
|
|
5883
|
+
type: "reasoning.delta";
|
|
5965
5884
|
properties: {
|
|
5966
|
-
timestamp: number;
|
|
5967
5885
|
sessionID: string;
|
|
5968
5886
|
assistantMessageID: string;
|
|
5969
5887
|
reasoningID: string;
|
|
5970
5888
|
delta: string;
|
|
5971
5889
|
};
|
|
5972
5890
|
};
|
|
5973
|
-
export type
|
|
5891
|
+
export type EventReasoningEnded = {
|
|
5974
5892
|
id: string;
|
|
5975
|
-
type: "
|
|
5893
|
+
type: "reasoning.ended";
|
|
5976
5894
|
properties: {
|
|
5977
|
-
timestamp: number;
|
|
5978
5895
|
sessionID: string;
|
|
5979
5896
|
assistantMessageID: string;
|
|
5980
5897
|
reasoningID: string;
|
|
@@ -5982,44 +5899,40 @@ export type EventSessionNextReasoningEnded = {
|
|
|
5982
5899
|
providerMetadata?: LlmProviderMetadata;
|
|
5983
5900
|
};
|
|
5984
5901
|
};
|
|
5985
|
-
export type
|
|
5902
|
+
export type EventToolInputStarted = {
|
|
5986
5903
|
id: string;
|
|
5987
|
-
type: "
|
|
5904
|
+
type: "tool.input.started";
|
|
5988
5905
|
properties: {
|
|
5989
|
-
timestamp: number;
|
|
5990
5906
|
sessionID: string;
|
|
5991
5907
|
assistantMessageID: string;
|
|
5992
5908
|
callID: string;
|
|
5993
5909
|
name: string;
|
|
5994
5910
|
};
|
|
5995
5911
|
};
|
|
5996
|
-
export type
|
|
5912
|
+
export type EventToolInputDelta = {
|
|
5997
5913
|
id: string;
|
|
5998
|
-
type: "
|
|
5914
|
+
type: "tool.input.delta";
|
|
5999
5915
|
properties: {
|
|
6000
|
-
timestamp: number;
|
|
6001
5916
|
sessionID: string;
|
|
6002
5917
|
assistantMessageID: string;
|
|
6003
5918
|
callID: string;
|
|
6004
5919
|
delta: string;
|
|
6005
5920
|
};
|
|
6006
5921
|
};
|
|
6007
|
-
export type
|
|
5922
|
+
export type EventToolInputEnded = {
|
|
6008
5923
|
id: string;
|
|
6009
|
-
type: "
|
|
5924
|
+
type: "tool.input.ended";
|
|
6010
5925
|
properties: {
|
|
6011
|
-
timestamp: number;
|
|
6012
5926
|
sessionID: string;
|
|
6013
5927
|
assistantMessageID: string;
|
|
6014
5928
|
callID: string;
|
|
6015
5929
|
text: string;
|
|
6016
5930
|
};
|
|
6017
5931
|
};
|
|
6018
|
-
export type
|
|
5932
|
+
export type EventToolCalled = {
|
|
6019
5933
|
id: string;
|
|
6020
|
-
type: "
|
|
5934
|
+
type: "tool.called";
|
|
6021
5935
|
properties: {
|
|
6022
|
-
timestamp: number;
|
|
6023
5936
|
sessionID: string;
|
|
6024
5937
|
assistantMessageID: string;
|
|
6025
5938
|
callID: string;
|
|
@@ -6033,11 +5946,10 @@ export type EventSessionNextToolCalled = {
|
|
|
6033
5946
|
};
|
|
6034
5947
|
};
|
|
6035
5948
|
};
|
|
6036
|
-
export type
|
|
5949
|
+
export type EventToolProgress = {
|
|
6037
5950
|
id: string;
|
|
6038
|
-
type: "
|
|
5951
|
+
type: "tool.progress";
|
|
6039
5952
|
properties: {
|
|
6040
|
-
timestamp: number;
|
|
6041
5953
|
sessionID: string;
|
|
6042
5954
|
assistantMessageID: string;
|
|
6043
5955
|
callID: string;
|
|
@@ -6047,11 +5959,10 @@ export type EventSessionNextToolProgress = {
|
|
|
6047
5959
|
content: Array<LlmToolContent>;
|
|
6048
5960
|
};
|
|
6049
5961
|
};
|
|
6050
|
-
export type
|
|
5962
|
+
export type EventToolSuccess = {
|
|
6051
5963
|
id: string;
|
|
6052
|
-
type: "
|
|
5964
|
+
type: "tool.success";
|
|
6053
5965
|
properties: {
|
|
6054
|
-
timestamp: number;
|
|
6055
5966
|
sessionID: string;
|
|
6056
5967
|
assistantMessageID: string;
|
|
6057
5968
|
callID: string;
|
|
@@ -6067,11 +5978,10 @@ export type EventSessionNextToolSuccess = {
|
|
|
6067
5978
|
};
|
|
6068
5979
|
};
|
|
6069
5980
|
};
|
|
6070
|
-
export type
|
|
5981
|
+
export type EventToolFailed = {
|
|
6071
5982
|
id: string;
|
|
6072
|
-
type: "
|
|
5983
|
+
type: "tool.failed";
|
|
6073
5984
|
properties: {
|
|
6074
|
-
timestamp: number;
|
|
6075
5985
|
sessionID: string;
|
|
6076
5986
|
assistantMessageID: string;
|
|
6077
5987
|
callID: string;
|
|
@@ -6083,70 +5993,60 @@ export type EventSessionNextToolFailed = {
|
|
|
6083
5993
|
};
|
|
6084
5994
|
};
|
|
6085
5995
|
};
|
|
6086
|
-
export type
|
|
5996
|
+
export type EventRetried = {
|
|
6087
5997
|
id: string;
|
|
6088
|
-
type: "
|
|
5998
|
+
type: "retried";
|
|
6089
5999
|
properties: {
|
|
6090
|
-
timestamp: number;
|
|
6091
6000
|
sessionID: string;
|
|
6092
6001
|
attempt: number;
|
|
6093
|
-
error:
|
|
6002
|
+
error: SessionRetryError;
|
|
6094
6003
|
};
|
|
6095
6004
|
};
|
|
6096
|
-
export type
|
|
6005
|
+
export type EventCompactionStarted = {
|
|
6097
6006
|
id: string;
|
|
6098
|
-
type: "
|
|
6007
|
+
type: "compaction.started";
|
|
6099
6008
|
properties: {
|
|
6100
|
-
timestamp: number;
|
|
6101
6009
|
sessionID: string;
|
|
6102
|
-
messageID: string;
|
|
6103
6010
|
reason: "auto" | "manual";
|
|
6104
6011
|
};
|
|
6105
6012
|
};
|
|
6106
|
-
export type
|
|
6013
|
+
export type EventCompactionDelta = {
|
|
6107
6014
|
id: string;
|
|
6108
|
-
type: "
|
|
6015
|
+
type: "compaction.delta";
|
|
6109
6016
|
properties: {
|
|
6110
|
-
timestamp: number;
|
|
6111
6017
|
sessionID: string;
|
|
6112
|
-
messageID: string;
|
|
6113
6018
|
text: string;
|
|
6114
6019
|
};
|
|
6115
6020
|
};
|
|
6116
|
-
export type
|
|
6021
|
+
export type EventCompactionEnded = {
|
|
6117
6022
|
id: string;
|
|
6118
|
-
type: "
|
|
6023
|
+
type: "compaction.ended";
|
|
6119
6024
|
properties: {
|
|
6120
|
-
timestamp: number;
|
|
6121
6025
|
sessionID: string;
|
|
6122
|
-
messageID: string;
|
|
6123
6026
|
reason: "auto" | "manual";
|
|
6124
6027
|
text: string;
|
|
6125
6028
|
recent: string;
|
|
6126
6029
|
};
|
|
6127
6030
|
};
|
|
6128
|
-
export type
|
|
6031
|
+
export type EventRevertStaged = {
|
|
6129
6032
|
id: string;
|
|
6130
|
-
type: "
|
|
6033
|
+
type: "revert.staged";
|
|
6131
6034
|
properties: {
|
|
6132
|
-
timestamp: number;
|
|
6133
6035
|
sessionID: string;
|
|
6134
6036
|
revert: RevertState;
|
|
6135
6037
|
};
|
|
6136
6038
|
};
|
|
6137
|
-
export type
|
|
6039
|
+
export type EventRevertCleared = {
|
|
6138
6040
|
id: string;
|
|
6139
|
-
type: "
|
|
6041
|
+
type: "revert.cleared";
|
|
6140
6042
|
properties: {
|
|
6141
|
-
timestamp: number;
|
|
6142
6043
|
sessionID: string;
|
|
6143
6044
|
};
|
|
6144
6045
|
};
|
|
6145
|
-
export type
|
|
6046
|
+
export type EventRevertCommitted = {
|
|
6146
6047
|
id: string;
|
|
6147
|
-
type: "
|
|
6048
|
+
type: "revert.committed";
|
|
6148
6049
|
properties: {
|
|
6149
|
-
timestamp: number;
|
|
6150
6050
|
sessionID: string;
|
|
6151
6051
|
messageID: string;
|
|
6152
6052
|
};
|
|
@@ -6443,14 +6343,6 @@ export type EventMcpToolsChanged = {
|
|
|
6443
6343
|
server: string;
|
|
6444
6344
|
};
|
|
6445
6345
|
};
|
|
6446
|
-
export type EventMcpBrowserOpenFailed = {
|
|
6447
|
-
id: string;
|
|
6448
|
-
type: "mcp.browser.open.failed";
|
|
6449
|
-
properties: {
|
|
6450
|
-
mcpName: string;
|
|
6451
|
-
url: string;
|
|
6452
|
-
};
|
|
6453
|
-
};
|
|
6454
6346
|
export type EventMcpStatusChanged = {
|
|
6455
6347
|
id: string;
|
|
6456
6348
|
type: "mcp.status.changed";
|
|
@@ -6844,7 +6736,7 @@ export type UnknownErrorV2 = {
|
|
|
6844
6736
|
message: string;
|
|
6845
6737
|
ref?: string | null;
|
|
6846
6738
|
};
|
|
6847
|
-
export type
|
|
6739
|
+
export type SessionMessageAgentSelected2 = {
|
|
6848
6740
|
id: string;
|
|
6849
6741
|
metadata?: {
|
|
6850
6742
|
[key: string]: unknown;
|
|
@@ -6855,7 +6747,7 @@ export type SessionMessageAgentSwitched2 = {
|
|
|
6855
6747
|
type: "agent-switched";
|
|
6856
6748
|
agent: string;
|
|
6857
6749
|
};
|
|
6858
|
-
export type
|
|
6750
|
+
export type SessionMessageModelSelected2 = {
|
|
6859
6751
|
id: string;
|
|
6860
6752
|
metadata?: {
|
|
6861
6753
|
[key: string]: unknown;
|
|
@@ -7064,7 +6956,7 @@ export type SessionMessageCompaction2 = {
|
|
|
7064
6956
|
created: number;
|
|
7065
6957
|
};
|
|
7066
6958
|
};
|
|
7067
|
-
export type SessionMessage2 =
|
|
6959
|
+
export type SessionMessage2 = SessionMessageAgentSelected2 | SessionMessageModelSelected2 | SessionMessageUser2 | SessionMessageSynthetic2 | SessionMessageSystem2 | SessionMessageSkill2 | SessionMessageShell2 | SessionMessageAssistant2 | SessionMessageCompaction2;
|
|
7068
6960
|
/**
|
|
7069
6961
|
* Context entry key (lowercase alphanumerics plus . _ -)
|
|
7070
6962
|
*/
|
|
@@ -7073,12 +6965,13 @@ export type SessionContextEntryInfo2 = {
|
|
|
7073
6965
|
key: SessionContextEntryKey2;
|
|
7074
6966
|
value: unknown;
|
|
7075
6967
|
};
|
|
7076
|
-
export type
|
|
6968
|
+
export type AgentSelected2 = {
|
|
7077
6969
|
id: string;
|
|
6970
|
+
created: number;
|
|
7078
6971
|
metadata?: {
|
|
7079
6972
|
[key: string]: unknown;
|
|
7080
6973
|
};
|
|
7081
|
-
type: "
|
|
6974
|
+
type: "agent.selected";
|
|
7082
6975
|
durable: {
|
|
7083
6976
|
aggregateID: string;
|
|
7084
6977
|
seq: number;
|
|
@@ -7086,18 +6979,17 @@ export type SessionNextAgentSwitched2 = {
|
|
|
7086
6979
|
};
|
|
7087
6980
|
location?: LocationRef2;
|
|
7088
6981
|
data: {
|
|
7089
|
-
timestamp: number;
|
|
7090
6982
|
sessionID: string;
|
|
7091
|
-
messageID: string;
|
|
7092
6983
|
agent: string;
|
|
7093
6984
|
};
|
|
7094
6985
|
};
|
|
7095
|
-
export type
|
|
6986
|
+
export type ModelSelected2 = {
|
|
7096
6987
|
id: string;
|
|
6988
|
+
created: number;
|
|
7097
6989
|
metadata?: {
|
|
7098
6990
|
[key: string]: unknown;
|
|
7099
6991
|
};
|
|
7100
|
-
type: "
|
|
6992
|
+
type: "model.selected";
|
|
7101
6993
|
durable: {
|
|
7102
6994
|
aggregateID: string;
|
|
7103
6995
|
seq: number;
|
|
@@ -7105,18 +6997,17 @@ export type SessionNextModelSwitched2 = {
|
|
|
7105
6997
|
};
|
|
7106
6998
|
location?: LocationRef2;
|
|
7107
6999
|
data: {
|
|
7108
|
-
timestamp: number;
|
|
7109
7000
|
sessionID: string;
|
|
7110
|
-
messageID: string;
|
|
7111
7001
|
model: ModelRef2;
|
|
7112
7002
|
};
|
|
7113
7003
|
};
|
|
7114
|
-
export type
|
|
7004
|
+
export type SessionMoved2 = {
|
|
7115
7005
|
id: string;
|
|
7006
|
+
created: number;
|
|
7116
7007
|
metadata?: {
|
|
7117
7008
|
[key: string]: unknown;
|
|
7118
7009
|
};
|
|
7119
|
-
type: "session.
|
|
7010
|
+
type: "session.moved";
|
|
7120
7011
|
durable: {
|
|
7121
7012
|
aggregateID: string;
|
|
7122
7013
|
seq: number;
|
|
@@ -7124,18 +7015,18 @@ export type SessionNextMoved2 = {
|
|
|
7124
7015
|
};
|
|
7125
7016
|
location?: LocationRef2;
|
|
7126
7017
|
data: {
|
|
7127
|
-
timestamp: number;
|
|
7128
7018
|
sessionID: string;
|
|
7129
7019
|
location: LocationRef2;
|
|
7130
|
-
|
|
7020
|
+
subpath?: string;
|
|
7131
7021
|
};
|
|
7132
7022
|
};
|
|
7133
|
-
export type
|
|
7023
|
+
export type RenamedV2 = {
|
|
7134
7024
|
id: string;
|
|
7025
|
+
created: number;
|
|
7135
7026
|
metadata?: {
|
|
7136
7027
|
[key: string]: unknown;
|
|
7137
7028
|
};
|
|
7138
|
-
type: "
|
|
7029
|
+
type: "renamed";
|
|
7139
7030
|
durable: {
|
|
7140
7031
|
aggregateID: string;
|
|
7141
7032
|
seq: number;
|
|
@@ -7143,17 +7034,17 @@ export type SessionNextRenamed2 = {
|
|
|
7143
7034
|
};
|
|
7144
7035
|
location?: LocationRef2;
|
|
7145
7036
|
data: {
|
|
7146
|
-
timestamp: number;
|
|
7147
7037
|
sessionID: string;
|
|
7148
7038
|
title: string;
|
|
7149
7039
|
};
|
|
7150
7040
|
};
|
|
7151
|
-
export type
|
|
7041
|
+
export type ForkedV2 = {
|
|
7152
7042
|
id: string;
|
|
7043
|
+
created: number;
|
|
7153
7044
|
metadata?: {
|
|
7154
7045
|
[key: string]: unknown;
|
|
7155
7046
|
};
|
|
7156
|
-
type: "
|
|
7047
|
+
type: "forked";
|
|
7157
7048
|
durable: {
|
|
7158
7049
|
aggregateID: string;
|
|
7159
7050
|
seq: number;
|
|
@@ -7161,18 +7052,18 @@ export type SessionNextForked2 = {
|
|
|
7161
7052
|
};
|
|
7162
7053
|
location?: LocationRef2;
|
|
7163
7054
|
data: {
|
|
7164
|
-
timestamp: number;
|
|
7165
7055
|
sessionID: string;
|
|
7166
7056
|
parentID: string;
|
|
7167
|
-
|
|
7057
|
+
from?: string;
|
|
7168
7058
|
};
|
|
7169
7059
|
};
|
|
7170
|
-
export type
|
|
7060
|
+
export type PromptPromoted2 = {
|
|
7171
7061
|
id: string;
|
|
7062
|
+
created: number;
|
|
7172
7063
|
metadata?: {
|
|
7173
7064
|
[key: string]: unknown;
|
|
7174
7065
|
};
|
|
7175
|
-
type: "
|
|
7066
|
+
type: "prompt.promoted";
|
|
7176
7067
|
durable: {
|
|
7177
7068
|
aggregateID: string;
|
|
7178
7069
|
seq: number;
|
|
@@ -7180,19 +7071,17 @@ export type SessionNextPrompted2 = {
|
|
|
7180
7071
|
};
|
|
7181
7072
|
location?: LocationRef2;
|
|
7182
7073
|
data: {
|
|
7183
|
-
timestamp: number;
|
|
7184
7074
|
sessionID: string;
|
|
7185
|
-
|
|
7186
|
-
prompt: PromptV2;
|
|
7187
|
-
delivery: "steer" | "queue";
|
|
7075
|
+
inputID: string;
|
|
7188
7076
|
};
|
|
7189
7077
|
};
|
|
7190
|
-
export type
|
|
7078
|
+
export type PromptAdmitted2 = {
|
|
7191
7079
|
id: string;
|
|
7080
|
+
created: number;
|
|
7192
7081
|
metadata?: {
|
|
7193
7082
|
[key: string]: unknown;
|
|
7194
7083
|
};
|
|
7195
|
-
type: "
|
|
7084
|
+
type: "prompt.admitted";
|
|
7196
7085
|
durable: {
|
|
7197
7086
|
aggregateID: string;
|
|
7198
7087
|
seq: number;
|
|
@@ -7200,19 +7089,19 @@ export type SessionNextPromptAdmitted2 = {
|
|
|
7200
7089
|
};
|
|
7201
7090
|
location?: LocationRef2;
|
|
7202
7091
|
data: {
|
|
7203
|
-
timestamp: number;
|
|
7204
7092
|
sessionID: string;
|
|
7205
|
-
|
|
7093
|
+
inputID: string;
|
|
7206
7094
|
prompt: PromptV2;
|
|
7207
7095
|
delivery: "steer" | "queue";
|
|
7208
7096
|
};
|
|
7209
7097
|
};
|
|
7210
|
-
export type
|
|
7098
|
+
export type SessionContextUpdated2 = {
|
|
7211
7099
|
id: string;
|
|
7100
|
+
created: number;
|
|
7212
7101
|
metadata?: {
|
|
7213
7102
|
[key: string]: unknown;
|
|
7214
7103
|
};
|
|
7215
|
-
type: "session.
|
|
7104
|
+
type: "session.context.updated";
|
|
7216
7105
|
durable: {
|
|
7217
7106
|
aggregateID: string;
|
|
7218
7107
|
seq: number;
|
|
@@ -7220,18 +7109,17 @@ export type SessionNextContextUpdated2 = {
|
|
|
7220
7109
|
};
|
|
7221
7110
|
location?: LocationRef2;
|
|
7222
7111
|
data: {
|
|
7223
|
-
timestamp: number;
|
|
7224
7112
|
sessionID: string;
|
|
7225
|
-
messageID: string;
|
|
7226
7113
|
text: string;
|
|
7227
7114
|
};
|
|
7228
7115
|
};
|
|
7229
|
-
export type
|
|
7116
|
+
export type SyntheticV2 = {
|
|
7230
7117
|
id: string;
|
|
7118
|
+
created: number;
|
|
7231
7119
|
metadata?: {
|
|
7232
7120
|
[key: string]: unknown;
|
|
7233
7121
|
};
|
|
7234
|
-
type: "
|
|
7122
|
+
type: "synthetic";
|
|
7235
7123
|
durable: {
|
|
7236
7124
|
aggregateID: string;
|
|
7237
7125
|
seq: number;
|
|
@@ -7239,9 +7127,7 @@ export type SessionNextSynthetic2 = {
|
|
|
7239
7127
|
};
|
|
7240
7128
|
location?: LocationRef2;
|
|
7241
7129
|
data: {
|
|
7242
|
-
timestamp: number;
|
|
7243
7130
|
sessionID: string;
|
|
7244
|
-
messageID: string;
|
|
7245
7131
|
text: string;
|
|
7246
7132
|
description?: string;
|
|
7247
7133
|
metadata?: {
|
|
@@ -7249,12 +7135,13 @@ export type SessionNextSynthetic2 = {
|
|
|
7249
7135
|
};
|
|
7250
7136
|
};
|
|
7251
7137
|
};
|
|
7252
|
-
export type
|
|
7138
|
+
export type SkillActivated2 = {
|
|
7253
7139
|
id: string;
|
|
7140
|
+
created: number;
|
|
7254
7141
|
metadata?: {
|
|
7255
7142
|
[key: string]: unknown;
|
|
7256
7143
|
};
|
|
7257
|
-
type: "
|
|
7144
|
+
type: "skill.activated";
|
|
7258
7145
|
durable: {
|
|
7259
7146
|
aggregateID: string;
|
|
7260
7147
|
seq: number;
|
|
@@ -7262,19 +7149,18 @@ export type SessionNextSkillActivated2 = {
|
|
|
7262
7149
|
};
|
|
7263
7150
|
location?: LocationRef2;
|
|
7264
7151
|
data: {
|
|
7265
|
-
timestamp: number;
|
|
7266
7152
|
sessionID: string;
|
|
7267
|
-
messageID: string;
|
|
7268
7153
|
name: string;
|
|
7269
7154
|
text: string;
|
|
7270
7155
|
};
|
|
7271
7156
|
};
|
|
7272
|
-
export type
|
|
7157
|
+
export type ShellStarted2 = {
|
|
7273
7158
|
id: string;
|
|
7159
|
+
created: number;
|
|
7274
7160
|
metadata?: {
|
|
7275
7161
|
[key: string]: unknown;
|
|
7276
7162
|
};
|
|
7277
|
-
type: "
|
|
7163
|
+
type: "shell.started";
|
|
7278
7164
|
durable: {
|
|
7279
7165
|
aggregateID: string;
|
|
7280
7166
|
seq: number;
|
|
@@ -7282,19 +7168,18 @@ export type SessionNextShellStarted2 = {
|
|
|
7282
7168
|
};
|
|
7283
7169
|
location?: LocationRef2;
|
|
7284
7170
|
data: {
|
|
7285
|
-
timestamp: number;
|
|
7286
7171
|
sessionID: string;
|
|
7287
|
-
messageID: string;
|
|
7288
7172
|
callID: string;
|
|
7289
7173
|
command: string;
|
|
7290
7174
|
};
|
|
7291
7175
|
};
|
|
7292
|
-
export type
|
|
7176
|
+
export type ShellEnded2 = {
|
|
7293
7177
|
id: string;
|
|
7178
|
+
created: number;
|
|
7294
7179
|
metadata?: {
|
|
7295
7180
|
[key: string]: unknown;
|
|
7296
7181
|
};
|
|
7297
|
-
type: "
|
|
7182
|
+
type: "shell.ended";
|
|
7298
7183
|
durable: {
|
|
7299
7184
|
aggregateID: string;
|
|
7300
7185
|
seq: number;
|
|
@@ -7302,18 +7187,18 @@ export type SessionNextShellEnded2 = {
|
|
|
7302
7187
|
};
|
|
7303
7188
|
location?: LocationRef2;
|
|
7304
7189
|
data: {
|
|
7305
|
-
timestamp: number;
|
|
7306
7190
|
sessionID: string;
|
|
7307
7191
|
callID: string;
|
|
7308
7192
|
output: string;
|
|
7309
7193
|
};
|
|
7310
7194
|
};
|
|
7311
|
-
export type
|
|
7195
|
+
export type StepStarted2 = {
|
|
7312
7196
|
id: string;
|
|
7197
|
+
created: number;
|
|
7313
7198
|
metadata?: {
|
|
7314
7199
|
[key: string]: unknown;
|
|
7315
7200
|
};
|
|
7316
|
-
type: "
|
|
7201
|
+
type: "step.started";
|
|
7317
7202
|
durable: {
|
|
7318
7203
|
aggregateID: string;
|
|
7319
7204
|
seq: number;
|
|
@@ -7321,7 +7206,6 @@ export type SessionNextStepStarted2 = {
|
|
|
7321
7206
|
};
|
|
7322
7207
|
location?: LocationRef2;
|
|
7323
7208
|
data: {
|
|
7324
|
-
timestamp: number;
|
|
7325
7209
|
sessionID: string;
|
|
7326
7210
|
assistantMessageID: string;
|
|
7327
7211
|
agent: string;
|
|
@@ -7329,12 +7213,13 @@ export type SessionNextStepStarted2 = {
|
|
|
7329
7213
|
snapshot?: string;
|
|
7330
7214
|
};
|
|
7331
7215
|
};
|
|
7332
|
-
export type
|
|
7216
|
+
export type StepEnded2 = {
|
|
7333
7217
|
id: string;
|
|
7218
|
+
created: number;
|
|
7334
7219
|
metadata?: {
|
|
7335
7220
|
[key: string]: unknown;
|
|
7336
7221
|
};
|
|
7337
|
-
type: "
|
|
7222
|
+
type: "step.ended";
|
|
7338
7223
|
durable: {
|
|
7339
7224
|
aggregateID: string;
|
|
7340
7225
|
seq: number;
|
|
@@ -7342,7 +7227,6 @@ export type SessionNextStepEnded2 = {
|
|
|
7342
7227
|
};
|
|
7343
7228
|
location?: LocationRef2;
|
|
7344
7229
|
data: {
|
|
7345
|
-
timestamp: number;
|
|
7346
7230
|
sessionID: string;
|
|
7347
7231
|
assistantMessageID: string;
|
|
7348
7232
|
finish: string;
|
|
@@ -7360,12 +7244,13 @@ export type SessionNextStepEnded2 = {
|
|
|
7360
7244
|
files?: Array<string>;
|
|
7361
7245
|
};
|
|
7362
7246
|
};
|
|
7363
|
-
export type
|
|
7247
|
+
export type StepFailed2 = {
|
|
7364
7248
|
id: string;
|
|
7249
|
+
created: number;
|
|
7365
7250
|
metadata?: {
|
|
7366
7251
|
[key: string]: unknown;
|
|
7367
7252
|
};
|
|
7368
|
-
type: "
|
|
7253
|
+
type: "step.failed";
|
|
7369
7254
|
durable: {
|
|
7370
7255
|
aggregateID: string;
|
|
7371
7256
|
seq: number;
|
|
@@ -7373,18 +7258,18 @@ export type SessionNextStepFailed2 = {
|
|
|
7373
7258
|
};
|
|
7374
7259
|
location?: LocationRef2;
|
|
7375
7260
|
data: {
|
|
7376
|
-
timestamp: number;
|
|
7377
7261
|
sessionID: string;
|
|
7378
7262
|
assistantMessageID: string;
|
|
7379
7263
|
error: SessionErrorUnknown2;
|
|
7380
7264
|
};
|
|
7381
7265
|
};
|
|
7382
|
-
export type
|
|
7266
|
+
export type TextStarted2 = {
|
|
7383
7267
|
id: string;
|
|
7268
|
+
created: number;
|
|
7384
7269
|
metadata?: {
|
|
7385
7270
|
[key: string]: unknown;
|
|
7386
7271
|
};
|
|
7387
|
-
type: "
|
|
7272
|
+
type: "text.started";
|
|
7388
7273
|
durable: {
|
|
7389
7274
|
aggregateID: string;
|
|
7390
7275
|
seq: number;
|
|
@@ -7392,18 +7277,18 @@ export type SessionNextTextStarted2 = {
|
|
|
7392
7277
|
};
|
|
7393
7278
|
location?: LocationRef2;
|
|
7394
7279
|
data: {
|
|
7395
|
-
timestamp: number;
|
|
7396
7280
|
sessionID: string;
|
|
7397
7281
|
assistantMessageID: string;
|
|
7398
7282
|
textID: string;
|
|
7399
7283
|
};
|
|
7400
7284
|
};
|
|
7401
|
-
export type
|
|
7285
|
+
export type TextEnded2 = {
|
|
7402
7286
|
id: string;
|
|
7287
|
+
created: number;
|
|
7403
7288
|
metadata?: {
|
|
7404
7289
|
[key: string]: unknown;
|
|
7405
7290
|
};
|
|
7406
|
-
type: "
|
|
7291
|
+
type: "text.ended";
|
|
7407
7292
|
durable: {
|
|
7408
7293
|
aggregateID: string;
|
|
7409
7294
|
seq: number;
|
|
@@ -7411,7 +7296,6 @@ export type SessionNextTextEnded2 = {
|
|
|
7411
7296
|
};
|
|
7412
7297
|
location?: LocationRef2;
|
|
7413
7298
|
data: {
|
|
7414
|
-
timestamp: number;
|
|
7415
7299
|
sessionID: string;
|
|
7416
7300
|
assistantMessageID: string;
|
|
7417
7301
|
textID: string;
|
|
@@ -7423,12 +7307,13 @@ export type LlmProviderMetadata3 = {
|
|
|
7423
7307
|
[key: string]: unknown;
|
|
7424
7308
|
};
|
|
7425
7309
|
};
|
|
7426
|
-
export type
|
|
7310
|
+
export type ReasoningStarted2 = {
|
|
7427
7311
|
id: string;
|
|
7312
|
+
created: number;
|
|
7428
7313
|
metadata?: {
|
|
7429
7314
|
[key: string]: unknown;
|
|
7430
7315
|
};
|
|
7431
|
-
type: "
|
|
7316
|
+
type: "reasoning.started";
|
|
7432
7317
|
durable: {
|
|
7433
7318
|
aggregateID: string;
|
|
7434
7319
|
seq: number;
|
|
@@ -7436,7 +7321,6 @@ export type SessionNextReasoningStarted2 = {
|
|
|
7436
7321
|
};
|
|
7437
7322
|
location?: LocationRef2;
|
|
7438
7323
|
data: {
|
|
7439
|
-
timestamp: number;
|
|
7440
7324
|
sessionID: string;
|
|
7441
7325
|
assistantMessageID: string;
|
|
7442
7326
|
reasoningID: string;
|
|
@@ -7448,12 +7332,13 @@ export type LlmProviderMetadata4 = {
|
|
|
7448
7332
|
[key: string]: unknown;
|
|
7449
7333
|
};
|
|
7450
7334
|
};
|
|
7451
|
-
export type
|
|
7335
|
+
export type ReasoningEnded2 = {
|
|
7452
7336
|
id: string;
|
|
7337
|
+
created: number;
|
|
7453
7338
|
metadata?: {
|
|
7454
7339
|
[key: string]: unknown;
|
|
7455
7340
|
};
|
|
7456
|
-
type: "
|
|
7341
|
+
type: "reasoning.ended";
|
|
7457
7342
|
durable: {
|
|
7458
7343
|
aggregateID: string;
|
|
7459
7344
|
seq: number;
|
|
@@ -7461,7 +7346,6 @@ export type SessionNextReasoningEnded2 = {
|
|
|
7461
7346
|
};
|
|
7462
7347
|
location?: LocationRef2;
|
|
7463
7348
|
data: {
|
|
7464
|
-
timestamp: number;
|
|
7465
7349
|
sessionID: string;
|
|
7466
7350
|
assistantMessageID: string;
|
|
7467
7351
|
reasoningID: string;
|
|
@@ -7469,12 +7353,13 @@ export type SessionNextReasoningEnded2 = {
|
|
|
7469
7353
|
providerMetadata?: LlmProviderMetadata4;
|
|
7470
7354
|
};
|
|
7471
7355
|
};
|
|
7472
|
-
export type
|
|
7356
|
+
export type ToolInputStarted2 = {
|
|
7473
7357
|
id: string;
|
|
7358
|
+
created: number;
|
|
7474
7359
|
metadata?: {
|
|
7475
7360
|
[key: string]: unknown;
|
|
7476
7361
|
};
|
|
7477
|
-
type: "
|
|
7362
|
+
type: "tool.input.started";
|
|
7478
7363
|
durable: {
|
|
7479
7364
|
aggregateID: string;
|
|
7480
7365
|
seq: number;
|
|
@@ -7482,19 +7367,19 @@ export type SessionNextToolInputStarted2 = {
|
|
|
7482
7367
|
};
|
|
7483
7368
|
location?: LocationRef2;
|
|
7484
7369
|
data: {
|
|
7485
|
-
timestamp: number;
|
|
7486
7370
|
sessionID: string;
|
|
7487
7371
|
assistantMessageID: string;
|
|
7488
7372
|
callID: string;
|
|
7489
7373
|
name: string;
|
|
7490
7374
|
};
|
|
7491
7375
|
};
|
|
7492
|
-
export type
|
|
7376
|
+
export type ToolInputEnded2 = {
|
|
7493
7377
|
id: string;
|
|
7378
|
+
created: number;
|
|
7494
7379
|
metadata?: {
|
|
7495
7380
|
[key: string]: unknown;
|
|
7496
7381
|
};
|
|
7497
|
-
type: "
|
|
7382
|
+
type: "tool.input.ended";
|
|
7498
7383
|
durable: {
|
|
7499
7384
|
aggregateID: string;
|
|
7500
7385
|
seq: number;
|
|
@@ -7502,7 +7387,6 @@ export type SessionNextToolInputEnded2 = {
|
|
|
7502
7387
|
};
|
|
7503
7388
|
location?: LocationRef2;
|
|
7504
7389
|
data: {
|
|
7505
|
-
timestamp: number;
|
|
7506
7390
|
sessionID: string;
|
|
7507
7391
|
assistantMessageID: string;
|
|
7508
7392
|
callID: string;
|
|
@@ -7514,12 +7398,13 @@ export type LlmProviderMetadata5 = {
|
|
|
7514
7398
|
[key: string]: unknown;
|
|
7515
7399
|
};
|
|
7516
7400
|
};
|
|
7517
|
-
export type
|
|
7401
|
+
export type ToolCalled2 = {
|
|
7518
7402
|
id: string;
|
|
7403
|
+
created: number;
|
|
7519
7404
|
metadata?: {
|
|
7520
7405
|
[key: string]: unknown;
|
|
7521
7406
|
};
|
|
7522
|
-
type: "
|
|
7407
|
+
type: "tool.called";
|
|
7523
7408
|
durable: {
|
|
7524
7409
|
aggregateID: string;
|
|
7525
7410
|
seq: number;
|
|
@@ -7527,7 +7412,6 @@ export type SessionNextToolCalled2 = {
|
|
|
7527
7412
|
};
|
|
7528
7413
|
location?: LocationRef2;
|
|
7529
7414
|
data: {
|
|
7530
|
-
timestamp: number;
|
|
7531
7415
|
sessionID: string;
|
|
7532
7416
|
assistantMessageID: string;
|
|
7533
7417
|
callID: string;
|
|
@@ -7541,12 +7425,13 @@ export type SessionNextToolCalled2 = {
|
|
|
7541
7425
|
};
|
|
7542
7426
|
};
|
|
7543
7427
|
};
|
|
7544
|
-
export type
|
|
7428
|
+
export type ToolProgress2 = {
|
|
7545
7429
|
id: string;
|
|
7430
|
+
created: number;
|
|
7546
7431
|
metadata?: {
|
|
7547
7432
|
[key: string]: unknown;
|
|
7548
7433
|
};
|
|
7549
|
-
type: "
|
|
7434
|
+
type: "tool.progress";
|
|
7550
7435
|
durable: {
|
|
7551
7436
|
aggregateID: string;
|
|
7552
7437
|
seq: number;
|
|
@@ -7554,7 +7439,6 @@ export type SessionNextToolProgress2 = {
|
|
|
7554
7439
|
};
|
|
7555
7440
|
location?: LocationRef2;
|
|
7556
7441
|
data: {
|
|
7557
|
-
timestamp: number;
|
|
7558
7442
|
sessionID: string;
|
|
7559
7443
|
assistantMessageID: string;
|
|
7560
7444
|
callID: string;
|
|
@@ -7569,12 +7453,13 @@ export type LlmProviderMetadata6 = {
|
|
|
7569
7453
|
[key: string]: unknown;
|
|
7570
7454
|
};
|
|
7571
7455
|
};
|
|
7572
|
-
export type
|
|
7456
|
+
export type ToolSuccess2 = {
|
|
7573
7457
|
id: string;
|
|
7458
|
+
created: number;
|
|
7574
7459
|
metadata?: {
|
|
7575
7460
|
[key: string]: unknown;
|
|
7576
7461
|
};
|
|
7577
|
-
type: "
|
|
7462
|
+
type: "tool.success";
|
|
7578
7463
|
durable: {
|
|
7579
7464
|
aggregateID: string;
|
|
7580
7465
|
seq: number;
|
|
@@ -7582,7 +7467,6 @@ export type SessionNextToolSuccess2 = {
|
|
|
7582
7467
|
};
|
|
7583
7468
|
location?: LocationRef2;
|
|
7584
7469
|
data: {
|
|
7585
|
-
timestamp: number;
|
|
7586
7470
|
sessionID: string;
|
|
7587
7471
|
assistantMessageID: string;
|
|
7588
7472
|
callID: string;
|
|
@@ -7603,12 +7487,13 @@ export type LlmProviderMetadata7 = {
|
|
|
7603
7487
|
[key: string]: unknown;
|
|
7604
7488
|
};
|
|
7605
7489
|
};
|
|
7606
|
-
export type
|
|
7490
|
+
export type ToolFailed2 = {
|
|
7607
7491
|
id: string;
|
|
7492
|
+
created: number;
|
|
7608
7493
|
metadata?: {
|
|
7609
7494
|
[key: string]: unknown;
|
|
7610
7495
|
};
|
|
7611
|
-
type: "
|
|
7496
|
+
type: "tool.failed";
|
|
7612
7497
|
durable: {
|
|
7613
7498
|
aggregateID: string;
|
|
7614
7499
|
seq: number;
|
|
@@ -7616,7 +7501,6 @@ export type SessionNextToolFailed2 = {
|
|
|
7616
7501
|
};
|
|
7617
7502
|
location?: LocationRef2;
|
|
7618
7503
|
data: {
|
|
7619
|
-
timestamp: number;
|
|
7620
7504
|
sessionID: string;
|
|
7621
7505
|
assistantMessageID: string;
|
|
7622
7506
|
callID: string;
|
|
@@ -7628,7 +7512,7 @@ export type SessionNextToolFailed2 = {
|
|
|
7628
7512
|
};
|
|
7629
7513
|
};
|
|
7630
7514
|
};
|
|
7631
|
-
export type
|
|
7515
|
+
export type SessionRetryError2 = {
|
|
7632
7516
|
message: string;
|
|
7633
7517
|
statusCode?: number;
|
|
7634
7518
|
isRetryable: boolean;
|
|
@@ -7640,12 +7524,13 @@ export type SessionNextRetryError2 = {
|
|
|
7640
7524
|
[key: string]: string;
|
|
7641
7525
|
};
|
|
7642
7526
|
};
|
|
7643
|
-
export type
|
|
7527
|
+
export type RetriedV2 = {
|
|
7644
7528
|
id: string;
|
|
7529
|
+
created: number;
|
|
7645
7530
|
metadata?: {
|
|
7646
7531
|
[key: string]: unknown;
|
|
7647
7532
|
};
|
|
7648
|
-
type: "
|
|
7533
|
+
type: "retried";
|
|
7649
7534
|
durable: {
|
|
7650
7535
|
aggregateID: string;
|
|
7651
7536
|
seq: number;
|
|
@@ -7653,18 +7538,18 @@ export type SessionNextRetried2 = {
|
|
|
7653
7538
|
};
|
|
7654
7539
|
location?: LocationRef2;
|
|
7655
7540
|
data: {
|
|
7656
|
-
timestamp: number;
|
|
7657
7541
|
sessionID: string;
|
|
7658
7542
|
attempt: number;
|
|
7659
|
-
error:
|
|
7543
|
+
error: SessionRetryError2;
|
|
7660
7544
|
};
|
|
7661
7545
|
};
|
|
7662
|
-
export type
|
|
7546
|
+
export type CompactionStarted2 = {
|
|
7663
7547
|
id: string;
|
|
7548
|
+
created: number;
|
|
7664
7549
|
metadata?: {
|
|
7665
7550
|
[key: string]: unknown;
|
|
7666
7551
|
};
|
|
7667
|
-
type: "
|
|
7552
|
+
type: "compaction.started";
|
|
7668
7553
|
durable: {
|
|
7669
7554
|
aggregateID: string;
|
|
7670
7555
|
seq: number;
|
|
@@ -7672,18 +7557,17 @@ export type SessionNextCompactionStarted2 = {
|
|
|
7672
7557
|
};
|
|
7673
7558
|
location?: LocationRef2;
|
|
7674
7559
|
data: {
|
|
7675
|
-
timestamp: number;
|
|
7676
7560
|
sessionID: string;
|
|
7677
|
-
messageID: string;
|
|
7678
7561
|
reason: "auto" | "manual";
|
|
7679
7562
|
};
|
|
7680
7563
|
};
|
|
7681
|
-
export type
|
|
7564
|
+
export type CompactionEnded2 = {
|
|
7682
7565
|
id: string;
|
|
7566
|
+
created: number;
|
|
7683
7567
|
metadata?: {
|
|
7684
7568
|
[key: string]: unknown;
|
|
7685
7569
|
};
|
|
7686
|
-
type: "
|
|
7570
|
+
type: "compaction.ended";
|
|
7687
7571
|
durable: {
|
|
7688
7572
|
aggregateID: string;
|
|
7689
7573
|
seq: number;
|
|
@@ -7691,20 +7575,19 @@ export type SessionNextCompactionEnded2 = {
|
|
|
7691
7575
|
};
|
|
7692
7576
|
location?: LocationRef2;
|
|
7693
7577
|
data: {
|
|
7694
|
-
timestamp: number;
|
|
7695
7578
|
sessionID: string;
|
|
7696
|
-
messageID: string;
|
|
7697
7579
|
reason: "auto" | "manual";
|
|
7698
7580
|
text: string;
|
|
7699
7581
|
recent: string;
|
|
7700
7582
|
};
|
|
7701
7583
|
};
|
|
7702
|
-
export type
|
|
7584
|
+
export type RevertStaged2 = {
|
|
7703
7585
|
id: string;
|
|
7586
|
+
created: number;
|
|
7704
7587
|
metadata?: {
|
|
7705
7588
|
[key: string]: unknown;
|
|
7706
7589
|
};
|
|
7707
|
-
type: "
|
|
7590
|
+
type: "revert.staged";
|
|
7708
7591
|
durable: {
|
|
7709
7592
|
aggregateID: string;
|
|
7710
7593
|
seq: number;
|
|
@@ -7712,17 +7595,17 @@ export type SessionNextRevertStaged2 = {
|
|
|
7712
7595
|
};
|
|
7713
7596
|
location?: LocationRef2;
|
|
7714
7597
|
data: {
|
|
7715
|
-
timestamp: number;
|
|
7716
7598
|
sessionID: string;
|
|
7717
7599
|
revert: RevertState2;
|
|
7718
7600
|
};
|
|
7719
7601
|
};
|
|
7720
|
-
export type
|
|
7602
|
+
export type RevertCleared2 = {
|
|
7721
7603
|
id: string;
|
|
7604
|
+
created: number;
|
|
7722
7605
|
metadata?: {
|
|
7723
7606
|
[key: string]: unknown;
|
|
7724
7607
|
};
|
|
7725
|
-
type: "
|
|
7608
|
+
type: "revert.cleared";
|
|
7726
7609
|
durable: {
|
|
7727
7610
|
aggregateID: string;
|
|
7728
7611
|
seq: number;
|
|
@@ -7730,16 +7613,16 @@ export type SessionNextRevertCleared2 = {
|
|
|
7730
7613
|
};
|
|
7731
7614
|
location?: LocationRef2;
|
|
7732
7615
|
data: {
|
|
7733
|
-
timestamp: number;
|
|
7734
7616
|
sessionID: string;
|
|
7735
7617
|
};
|
|
7736
7618
|
};
|
|
7737
|
-
export type
|
|
7619
|
+
export type RevertCommitted2 = {
|
|
7738
7620
|
id: string;
|
|
7621
|
+
created: number;
|
|
7739
7622
|
metadata?: {
|
|
7740
7623
|
[key: string]: unknown;
|
|
7741
7624
|
};
|
|
7742
|
-
type: "
|
|
7625
|
+
type: "revert.committed";
|
|
7743
7626
|
durable: {
|
|
7744
7627
|
aggregateID: string;
|
|
7745
7628
|
seq: number;
|
|
@@ -7747,12 +7630,11 @@ export type SessionNextRevertCommitted2 = {
|
|
|
7747
7630
|
};
|
|
7748
7631
|
location?: LocationRef2;
|
|
7749
7632
|
data: {
|
|
7750
|
-
timestamp: number;
|
|
7751
7633
|
sessionID: string;
|
|
7752
7634
|
messageID: string;
|
|
7753
7635
|
};
|
|
7754
7636
|
};
|
|
7755
|
-
export type SessionDurableEventV2 =
|
|
7637
|
+
export type SessionDurableEventV2 = AgentSelected2 | ModelSelected2 | SessionMoved2 | RenamedV2 | ForkedV2 | PromptPromoted2 | PromptAdmitted2 | SessionContextUpdated2 | SyntheticV2 | SkillActivated2 | ShellStarted2 | ShellEnded2 | StepStarted2 | StepEnded2 | StepFailed2 | TextStarted2 | TextEnded2 | ReasoningStarted2 | ReasoningEnded2 | ToolInputStarted2 | ToolInputEnded2 | ToolCalled2 | ToolProgress2 | ToolSuccess2 | ToolFailed2 | RetriedV2 | CompactionStarted2 | CompactionEnded2 | RevertStaged2 | RevertCleared2 | RevertCommitted2;
|
|
7756
7638
|
/**
|
|
7757
7639
|
* Marker emitted once when a log read reaches its captured watermark. The reader holds every event committed at or below seq.
|
|
7758
7640
|
*/
|
|
@@ -8178,6 +8060,7 @@ export type SkillV2Info2 = {
|
|
|
8178
8060
|
};
|
|
8179
8061
|
export type ModelsDevRefreshed2 = {
|
|
8180
8062
|
id: string;
|
|
8063
|
+
created: number;
|
|
8181
8064
|
metadata?: {
|
|
8182
8065
|
[key: string]: unknown;
|
|
8183
8066
|
};
|
|
@@ -8189,6 +8072,7 @@ export type ModelsDevRefreshed2 = {
|
|
|
8189
8072
|
};
|
|
8190
8073
|
export type IntegrationUpdated2 = {
|
|
8191
8074
|
id: string;
|
|
8075
|
+
created: number;
|
|
8192
8076
|
metadata?: {
|
|
8193
8077
|
[key: string]: unknown;
|
|
8194
8078
|
};
|
|
@@ -8200,6 +8084,7 @@ export type IntegrationUpdated2 = {
|
|
|
8200
8084
|
};
|
|
8201
8085
|
export type IntegrationConnectionUpdated2 = {
|
|
8202
8086
|
id: string;
|
|
8087
|
+
created: number;
|
|
8203
8088
|
metadata?: {
|
|
8204
8089
|
[key: string]: unknown;
|
|
8205
8090
|
};
|
|
@@ -8211,6 +8096,7 @@ export type IntegrationConnectionUpdated2 = {
|
|
|
8211
8096
|
};
|
|
8212
8097
|
export type CatalogUpdated2 = {
|
|
8213
8098
|
id: string;
|
|
8099
|
+
created: number;
|
|
8214
8100
|
metadata?: {
|
|
8215
8101
|
[key: string]: unknown;
|
|
8216
8102
|
};
|
|
@@ -8222,6 +8108,7 @@ export type CatalogUpdated2 = {
|
|
|
8222
8108
|
};
|
|
8223
8109
|
export type AgentUpdated2 = {
|
|
8224
8110
|
id: string;
|
|
8111
|
+
created: number;
|
|
8225
8112
|
metadata?: {
|
|
8226
8113
|
[key: string]: unknown;
|
|
8227
8114
|
};
|
|
@@ -8299,6 +8186,7 @@ export type SessionV2 = {
|
|
|
8299
8186
|
};
|
|
8300
8187
|
export type SessionCreated2 = {
|
|
8301
8188
|
id: string;
|
|
8189
|
+
created: number;
|
|
8302
8190
|
metadata?: {
|
|
8303
8191
|
[key: string]: unknown;
|
|
8304
8192
|
};
|
|
@@ -8316,6 +8204,7 @@ export type SessionCreated2 = {
|
|
|
8316
8204
|
};
|
|
8317
8205
|
export type SessionUpdated2 = {
|
|
8318
8206
|
id: string;
|
|
8207
|
+
created: number;
|
|
8319
8208
|
metadata?: {
|
|
8320
8209
|
[key: string]: unknown;
|
|
8321
8210
|
};
|
|
@@ -8333,6 +8222,7 @@ export type SessionUpdated2 = {
|
|
|
8333
8222
|
};
|
|
8334
8223
|
export type SessionDeleted2 = {
|
|
8335
8224
|
id: string;
|
|
8225
|
+
created: number;
|
|
8336
8226
|
metadata?: {
|
|
8337
8227
|
[key: string]: unknown;
|
|
8338
8228
|
};
|
|
@@ -8480,6 +8370,7 @@ export type AssistantMessageV2 = {
|
|
|
8480
8370
|
export type MessageV2 = UserMessageV2 | AssistantMessageV2;
|
|
8481
8371
|
export type MessageUpdated2 = {
|
|
8482
8372
|
id: string;
|
|
8373
|
+
created: number;
|
|
8483
8374
|
metadata?: {
|
|
8484
8375
|
[key: string]: unknown;
|
|
8485
8376
|
};
|
|
@@ -8497,6 +8388,7 @@ export type MessageUpdated2 = {
|
|
|
8497
8388
|
};
|
|
8498
8389
|
export type MessageRemoved2 = {
|
|
8499
8390
|
id: string;
|
|
8391
|
+
created: number;
|
|
8500
8392
|
metadata?: {
|
|
8501
8393
|
[key: string]: unknown;
|
|
8502
8394
|
};
|
|
@@ -8741,6 +8633,7 @@ export type CompactionPartV2 = {
|
|
|
8741
8633
|
export type PartV2 = TextPartV2 | SubtaskPartV2 | ReasoningPartV2 | FilePartV2 | ToolPartV2 | StepStartPartV2 | StepFinishPartV2 | SnapshotPartV2 | PatchPartV2 | AgentPartV2 | RetryPartV2 | CompactionPartV2;
|
|
8742
8634
|
export type MessagePartUpdated2 = {
|
|
8743
8635
|
id: string;
|
|
8636
|
+
created: number;
|
|
8744
8637
|
metadata?: {
|
|
8745
8638
|
[key: string]: unknown;
|
|
8746
8639
|
};
|
|
@@ -8759,6 +8652,7 @@ export type MessagePartUpdated2 = {
|
|
|
8759
8652
|
};
|
|
8760
8653
|
export type MessagePartRemoved2 = {
|
|
8761
8654
|
id: string;
|
|
8655
|
+
created: number;
|
|
8762
8656
|
metadata?: {
|
|
8763
8657
|
[key: string]: unknown;
|
|
8764
8658
|
};
|
|
@@ -8775,81 +8669,81 @@ export type MessagePartRemoved2 = {
|
|
|
8775
8669
|
partID: string;
|
|
8776
8670
|
};
|
|
8777
8671
|
};
|
|
8778
|
-
export type
|
|
8672
|
+
export type ExecutionSettled2 = {
|
|
8779
8673
|
id: string;
|
|
8674
|
+
created: number;
|
|
8780
8675
|
metadata?: {
|
|
8781
8676
|
[key: string]: unknown;
|
|
8782
8677
|
};
|
|
8783
|
-
type: "
|
|
8678
|
+
type: "execution.settled";
|
|
8784
8679
|
location?: LocationRef2;
|
|
8785
8680
|
data: {
|
|
8786
|
-
timestamp: number;
|
|
8787
8681
|
sessionID: string;
|
|
8788
8682
|
outcome: "success" | "failure" | "interrupted";
|
|
8789
8683
|
error?: SessionErrorUnknown2;
|
|
8790
8684
|
};
|
|
8791
8685
|
};
|
|
8792
|
-
export type
|
|
8686
|
+
export type TextDelta2 = {
|
|
8793
8687
|
id: string;
|
|
8688
|
+
created: number;
|
|
8794
8689
|
metadata?: {
|
|
8795
8690
|
[key: string]: unknown;
|
|
8796
8691
|
};
|
|
8797
|
-
type: "
|
|
8692
|
+
type: "text.delta";
|
|
8798
8693
|
location?: LocationRef2;
|
|
8799
8694
|
data: {
|
|
8800
|
-
timestamp: number;
|
|
8801
8695
|
sessionID: string;
|
|
8802
8696
|
assistantMessageID: string;
|
|
8803
8697
|
textID: string;
|
|
8804
8698
|
delta: string;
|
|
8805
8699
|
};
|
|
8806
8700
|
};
|
|
8807
|
-
export type
|
|
8701
|
+
export type ReasoningDelta2 = {
|
|
8808
8702
|
id: string;
|
|
8703
|
+
created: number;
|
|
8809
8704
|
metadata?: {
|
|
8810
8705
|
[key: string]: unknown;
|
|
8811
8706
|
};
|
|
8812
|
-
type: "
|
|
8707
|
+
type: "reasoning.delta";
|
|
8813
8708
|
location?: LocationRef2;
|
|
8814
8709
|
data: {
|
|
8815
|
-
timestamp: number;
|
|
8816
8710
|
sessionID: string;
|
|
8817
8711
|
assistantMessageID: string;
|
|
8818
8712
|
reasoningID: string;
|
|
8819
8713
|
delta: string;
|
|
8820
8714
|
};
|
|
8821
8715
|
};
|
|
8822
|
-
export type
|
|
8716
|
+
export type ToolInputDelta2 = {
|
|
8823
8717
|
id: string;
|
|
8718
|
+
created: number;
|
|
8824
8719
|
metadata?: {
|
|
8825
8720
|
[key: string]: unknown;
|
|
8826
8721
|
};
|
|
8827
|
-
type: "
|
|
8722
|
+
type: "tool.input.delta";
|
|
8828
8723
|
location?: LocationRef2;
|
|
8829
8724
|
data: {
|
|
8830
|
-
timestamp: number;
|
|
8831
8725
|
sessionID: string;
|
|
8832
8726
|
assistantMessageID: string;
|
|
8833
8727
|
callID: string;
|
|
8834
8728
|
delta: string;
|
|
8835
8729
|
};
|
|
8836
8730
|
};
|
|
8837
|
-
export type
|
|
8731
|
+
export type CompactionDelta2 = {
|
|
8838
8732
|
id: string;
|
|
8733
|
+
created: number;
|
|
8839
8734
|
metadata?: {
|
|
8840
8735
|
[key: string]: unknown;
|
|
8841
8736
|
};
|
|
8842
|
-
type: "
|
|
8737
|
+
type: "compaction.delta";
|
|
8843
8738
|
location?: LocationRef2;
|
|
8844
8739
|
data: {
|
|
8845
|
-
timestamp: number;
|
|
8846
8740
|
sessionID: string;
|
|
8847
|
-
messageID: string;
|
|
8848
8741
|
text: string;
|
|
8849
8742
|
};
|
|
8850
8743
|
};
|
|
8851
8744
|
export type FileEdited2 = {
|
|
8852
8745
|
id: string;
|
|
8746
|
+
created: number;
|
|
8853
8747
|
metadata?: {
|
|
8854
8748
|
[key: string]: unknown;
|
|
8855
8749
|
};
|
|
@@ -8861,6 +8755,7 @@ export type FileEdited2 = {
|
|
|
8861
8755
|
};
|
|
8862
8756
|
export type ReferenceUpdated2 = {
|
|
8863
8757
|
id: string;
|
|
8758
|
+
created: number;
|
|
8864
8759
|
metadata?: {
|
|
8865
8760
|
[key: string]: unknown;
|
|
8866
8761
|
};
|
|
@@ -8872,6 +8767,7 @@ export type ReferenceUpdated2 = {
|
|
|
8872
8767
|
};
|
|
8873
8768
|
export type PermissionV2Asked2 = {
|
|
8874
8769
|
id: string;
|
|
8770
|
+
created: number;
|
|
8875
8771
|
metadata?: {
|
|
8876
8772
|
[key: string]: unknown;
|
|
8877
8773
|
};
|
|
@@ -8891,6 +8787,7 @@ export type PermissionV2Asked2 = {
|
|
|
8891
8787
|
};
|
|
8892
8788
|
export type PermissionV2Replied2 = {
|
|
8893
8789
|
id: string;
|
|
8790
|
+
created: number;
|
|
8894
8791
|
metadata?: {
|
|
8895
8792
|
[key: string]: unknown;
|
|
8896
8793
|
};
|
|
@@ -8904,6 +8801,7 @@ export type PermissionV2Replied2 = {
|
|
|
8904
8801
|
};
|
|
8905
8802
|
export type PluginAdded2 = {
|
|
8906
8803
|
id: string;
|
|
8804
|
+
created: number;
|
|
8907
8805
|
metadata?: {
|
|
8908
8806
|
[key: string]: unknown;
|
|
8909
8807
|
};
|
|
@@ -8915,6 +8813,7 @@ export type PluginAdded2 = {
|
|
|
8915
8813
|
};
|
|
8916
8814
|
export type ProjectDirectoriesUpdated2 = {
|
|
8917
8815
|
id: string;
|
|
8816
|
+
created: number;
|
|
8918
8817
|
metadata?: {
|
|
8919
8818
|
[key: string]: unknown;
|
|
8920
8819
|
};
|
|
@@ -8926,6 +8825,7 @@ export type ProjectDirectoriesUpdated2 = {
|
|
|
8926
8825
|
};
|
|
8927
8826
|
export type CommandUpdated2 = {
|
|
8928
8827
|
id: string;
|
|
8828
|
+
created: number;
|
|
8929
8829
|
metadata?: {
|
|
8930
8830
|
[key: string]: unknown;
|
|
8931
8831
|
};
|
|
@@ -8937,6 +8837,7 @@ export type CommandUpdated2 = {
|
|
|
8937
8837
|
};
|
|
8938
8838
|
export type SkillUpdated2 = {
|
|
8939
8839
|
id: string;
|
|
8840
|
+
created: number;
|
|
8940
8841
|
metadata?: {
|
|
8941
8842
|
[key: string]: unknown;
|
|
8942
8843
|
};
|
|
@@ -8948,6 +8849,7 @@ export type SkillUpdated2 = {
|
|
|
8948
8849
|
};
|
|
8949
8850
|
export type FileWatcherUpdated2 = {
|
|
8950
8851
|
id: string;
|
|
8852
|
+
created: number;
|
|
8951
8853
|
metadata?: {
|
|
8952
8854
|
[key: string]: unknown;
|
|
8953
8855
|
};
|
|
@@ -8970,6 +8872,7 @@ export type PtyV2 = {
|
|
|
8970
8872
|
};
|
|
8971
8873
|
export type PtyCreated2 = {
|
|
8972
8874
|
id: string;
|
|
8875
|
+
created: number;
|
|
8973
8876
|
metadata?: {
|
|
8974
8877
|
[key: string]: unknown;
|
|
8975
8878
|
};
|
|
@@ -8981,6 +8884,7 @@ export type PtyCreated2 = {
|
|
|
8981
8884
|
};
|
|
8982
8885
|
export type PtyUpdated2 = {
|
|
8983
8886
|
id: string;
|
|
8887
|
+
created: number;
|
|
8984
8888
|
metadata?: {
|
|
8985
8889
|
[key: string]: unknown;
|
|
8986
8890
|
};
|
|
@@ -8992,6 +8896,7 @@ export type PtyUpdated2 = {
|
|
|
8992
8896
|
};
|
|
8993
8897
|
export type PtyExited2 = {
|
|
8994
8898
|
id: string;
|
|
8899
|
+
created: number;
|
|
8995
8900
|
metadata?: {
|
|
8996
8901
|
[key: string]: unknown;
|
|
8997
8902
|
};
|
|
@@ -9004,6 +8909,7 @@ export type PtyExited2 = {
|
|
|
9004
8909
|
};
|
|
9005
8910
|
export type PtyDeleted2 = {
|
|
9006
8911
|
id: string;
|
|
8912
|
+
created: number;
|
|
9007
8913
|
metadata?: {
|
|
9008
8914
|
[key: string]: unknown;
|
|
9009
8915
|
};
|
|
@@ -9032,6 +8938,7 @@ export type ShellV2 = {
|
|
|
9032
8938
|
};
|
|
9033
8939
|
export type ShellCreated2 = {
|
|
9034
8940
|
id: string;
|
|
8941
|
+
created: number;
|
|
9035
8942
|
metadata?: {
|
|
9036
8943
|
[key: string]: unknown;
|
|
9037
8944
|
};
|
|
@@ -9043,6 +8950,7 @@ export type ShellCreated2 = {
|
|
|
9043
8950
|
};
|
|
9044
8951
|
export type ShellExited2 = {
|
|
9045
8952
|
id: string;
|
|
8953
|
+
created: number;
|
|
9046
8954
|
metadata?: {
|
|
9047
8955
|
[key: string]: unknown;
|
|
9048
8956
|
};
|
|
@@ -9056,6 +8964,7 @@ export type ShellExited2 = {
|
|
|
9056
8964
|
};
|
|
9057
8965
|
export type ShellDeleted2 = {
|
|
9058
8966
|
id: string;
|
|
8967
|
+
created: number;
|
|
9059
8968
|
metadata?: {
|
|
9060
8969
|
[key: string]: unknown;
|
|
9061
8970
|
};
|
|
@@ -9097,6 +9006,7 @@ export type QuestionV2Tool2 = {
|
|
|
9097
9006
|
};
|
|
9098
9007
|
export type QuestionV2Asked2 = {
|
|
9099
9008
|
id: string;
|
|
9009
|
+
created: number;
|
|
9100
9010
|
metadata?: {
|
|
9101
9011
|
[key: string]: unknown;
|
|
9102
9012
|
};
|
|
@@ -9115,6 +9025,7 @@ export type QuestionV2Asked2 = {
|
|
|
9115
9025
|
export type QuestionV2Answer2 = Array<string>;
|
|
9116
9026
|
export type QuestionV2Replied2 = {
|
|
9117
9027
|
id: string;
|
|
9028
|
+
created: number;
|
|
9118
9029
|
metadata?: {
|
|
9119
9030
|
[key: string]: unknown;
|
|
9120
9031
|
};
|
|
@@ -9128,6 +9039,7 @@ export type QuestionV2Replied2 = {
|
|
|
9128
9039
|
};
|
|
9129
9040
|
export type QuestionV2Rejected2 = {
|
|
9130
9041
|
id: string;
|
|
9042
|
+
created: number;
|
|
9131
9043
|
metadata?: {
|
|
9132
9044
|
[key: string]: unknown;
|
|
9133
9045
|
};
|
|
@@ -9224,6 +9136,7 @@ export type FormUrlInfo1 = {
|
|
|
9224
9136
|
};
|
|
9225
9137
|
export type FormCreated2 = {
|
|
9226
9138
|
id: string;
|
|
9139
|
+
created: number;
|
|
9227
9140
|
metadata?: {
|
|
9228
9141
|
[key: string]: unknown;
|
|
9229
9142
|
};
|
|
@@ -9239,6 +9152,7 @@ export type FormAnswer1 = {
|
|
|
9239
9152
|
};
|
|
9240
9153
|
export type FormReplied2 = {
|
|
9241
9154
|
id: string;
|
|
9155
|
+
created: number;
|
|
9242
9156
|
metadata?: {
|
|
9243
9157
|
[key: string]: unknown;
|
|
9244
9158
|
};
|
|
@@ -9252,6 +9166,7 @@ export type FormReplied2 = {
|
|
|
9252
9166
|
};
|
|
9253
9167
|
export type FormCancelled2 = {
|
|
9254
9168
|
id: string;
|
|
9169
|
+
created: number;
|
|
9255
9170
|
metadata?: {
|
|
9256
9171
|
[key: string]: unknown;
|
|
9257
9172
|
};
|
|
@@ -9278,6 +9193,7 @@ export type TodoV2 = {
|
|
|
9278
9193
|
};
|
|
9279
9194
|
export type TodoUpdated2 = {
|
|
9280
9195
|
id: string;
|
|
9196
|
+
created: number;
|
|
9281
9197
|
metadata?: {
|
|
9282
9198
|
[key: string]: unknown;
|
|
9283
9199
|
};
|
|
@@ -9308,6 +9224,7 @@ export type SessionStatusV2 = {
|
|
|
9308
9224
|
};
|
|
9309
9225
|
export type SessionStatusV22 = {
|
|
9310
9226
|
id: string;
|
|
9227
|
+
created: number;
|
|
9311
9228
|
metadata?: {
|
|
9312
9229
|
[key: string]: unknown;
|
|
9313
9230
|
};
|
|
@@ -9320,6 +9237,7 @@ export type SessionStatusV22 = {
|
|
|
9320
9237
|
};
|
|
9321
9238
|
export type SessionIdle2 = {
|
|
9322
9239
|
id: string;
|
|
9240
|
+
created: number;
|
|
9323
9241
|
metadata?: {
|
|
9324
9242
|
[key: string]: unknown;
|
|
9325
9243
|
};
|
|
@@ -9331,6 +9249,7 @@ export type SessionIdle2 = {
|
|
|
9331
9249
|
};
|
|
9332
9250
|
export type TuiPromptAppend2 = {
|
|
9333
9251
|
id: string;
|
|
9252
|
+
created: number;
|
|
9334
9253
|
metadata?: {
|
|
9335
9254
|
[key: string]: unknown;
|
|
9336
9255
|
};
|
|
@@ -9342,6 +9261,7 @@ export type TuiPromptAppend2 = {
|
|
|
9342
9261
|
};
|
|
9343
9262
|
export type TuiCommandExecute2 = {
|
|
9344
9263
|
id: string;
|
|
9264
|
+
created: number;
|
|
9345
9265
|
metadata?: {
|
|
9346
9266
|
[key: string]: unknown;
|
|
9347
9267
|
};
|
|
@@ -9353,6 +9273,7 @@ export type TuiCommandExecute2 = {
|
|
|
9353
9273
|
};
|
|
9354
9274
|
export type TuiToastShow2 = {
|
|
9355
9275
|
id: string;
|
|
9276
|
+
created: number;
|
|
9356
9277
|
metadata?: {
|
|
9357
9278
|
[key: string]: unknown;
|
|
9358
9279
|
};
|
|
@@ -9367,6 +9288,7 @@ export type TuiToastShow2 = {
|
|
|
9367
9288
|
};
|
|
9368
9289
|
export type TuiSessionSelect2 = {
|
|
9369
9290
|
id: string;
|
|
9291
|
+
created: number;
|
|
9370
9292
|
metadata?: {
|
|
9371
9293
|
[key: string]: unknown;
|
|
9372
9294
|
};
|
|
@@ -9381,6 +9303,7 @@ export type TuiSessionSelect2 = {
|
|
|
9381
9303
|
};
|
|
9382
9304
|
export type InstallationUpdated2 = {
|
|
9383
9305
|
id: string;
|
|
9306
|
+
created: number;
|
|
9384
9307
|
metadata?: {
|
|
9385
9308
|
[key: string]: unknown;
|
|
9386
9309
|
};
|
|
@@ -9392,6 +9315,7 @@ export type InstallationUpdated2 = {
|
|
|
9392
9315
|
};
|
|
9393
9316
|
export type InstallationUpdateAvailable2 = {
|
|
9394
9317
|
id: string;
|
|
9318
|
+
created: number;
|
|
9395
9319
|
metadata?: {
|
|
9396
9320
|
[key: string]: unknown;
|
|
9397
9321
|
};
|
|
@@ -9403,6 +9327,7 @@ export type InstallationUpdateAvailable2 = {
|
|
|
9403
9327
|
};
|
|
9404
9328
|
export type VcsBranchUpdated2 = {
|
|
9405
9329
|
id: string;
|
|
9330
|
+
created: number;
|
|
9406
9331
|
metadata?: {
|
|
9407
9332
|
[key: string]: unknown;
|
|
9408
9333
|
};
|
|
@@ -9414,6 +9339,7 @@ export type VcsBranchUpdated2 = {
|
|
|
9414
9339
|
};
|
|
9415
9340
|
export type McpStatusChanged2 = {
|
|
9416
9341
|
id: string;
|
|
9342
|
+
created: number;
|
|
9417
9343
|
metadata?: {
|
|
9418
9344
|
[key: string]: unknown;
|
|
9419
9345
|
};
|
|
@@ -9425,6 +9351,7 @@ export type McpStatusChanged2 = {
|
|
|
9425
9351
|
};
|
|
9426
9352
|
export type PermissionAsked2 = {
|
|
9427
9353
|
id: string;
|
|
9354
|
+
created: number;
|
|
9428
9355
|
metadata?: {
|
|
9429
9356
|
[key: string]: unknown;
|
|
9430
9357
|
};
|
|
@@ -9447,6 +9374,7 @@ export type PermissionAsked2 = {
|
|
|
9447
9374
|
};
|
|
9448
9375
|
export type PermissionReplied2 = {
|
|
9449
9376
|
id: string;
|
|
9377
|
+
created: number;
|
|
9450
9378
|
metadata?: {
|
|
9451
9379
|
[key: string]: unknown;
|
|
9452
9380
|
};
|
|
@@ -9496,6 +9424,7 @@ export type QuestionToolV2 = {
|
|
|
9496
9424
|
};
|
|
9497
9425
|
export type QuestionAsked2 = {
|
|
9498
9426
|
id: string;
|
|
9427
|
+
created: number;
|
|
9499
9428
|
metadata?: {
|
|
9500
9429
|
[key: string]: unknown;
|
|
9501
9430
|
};
|
|
@@ -9514,6 +9443,7 @@ export type QuestionAsked2 = {
|
|
|
9514
9443
|
export type QuestionAnswerV2 = Array<string>;
|
|
9515
9444
|
export type QuestionRepliedV2 = {
|
|
9516
9445
|
id: string;
|
|
9446
|
+
created: number;
|
|
9517
9447
|
metadata?: {
|
|
9518
9448
|
[key: string]: unknown;
|
|
9519
9449
|
};
|
|
@@ -9527,6 +9457,7 @@ export type QuestionRepliedV2 = {
|
|
|
9527
9457
|
};
|
|
9528
9458
|
export type QuestionRejectedV2 = {
|
|
9529
9459
|
id: string;
|
|
9460
|
+
created: number;
|
|
9530
9461
|
metadata?: {
|
|
9531
9462
|
[key: string]: unknown;
|
|
9532
9463
|
};
|
|
@@ -9539,6 +9470,7 @@ export type QuestionRejectedV2 = {
|
|
|
9539
9470
|
};
|
|
9540
9471
|
export type SessionError2 = {
|
|
9541
9472
|
id: string;
|
|
9473
|
+
created: number;
|
|
9542
9474
|
metadata?: {
|
|
9543
9475
|
[key: string]: unknown;
|
|
9544
9476
|
};
|
|
@@ -9560,7 +9492,7 @@ export type V2EventServerConnected = {
|
|
|
9560
9492
|
[key: string]: unknown;
|
|
9561
9493
|
} | Array<unknown>;
|
|
9562
9494
|
};
|
|
9563
|
-
export type V2EventV2 = ModelsDevRefreshed2 | IntegrationUpdated2 | IntegrationConnectionUpdated2 | CatalogUpdated2 | AgentUpdated2 | SessionCreated2 | SessionUpdated2 | SessionDeleted2 | MessageUpdated2 | MessageRemoved2 | MessagePartUpdated2 | MessagePartRemoved2 |
|
|
9495
|
+
export type V2EventV2 = ModelsDevRefreshed2 | IntegrationUpdated2 | IntegrationConnectionUpdated2 | CatalogUpdated2 | AgentUpdated2 | SessionCreated2 | SessionUpdated2 | SessionDeleted2 | MessageUpdated2 | MessageRemoved2 | MessagePartUpdated2 | MessagePartRemoved2 | AgentSelected2 | ModelSelected2 | SessionMoved2 | RenamedV2 | ForkedV2 | PromptPromoted2 | PromptAdmitted2 | ExecutionSettled2 | SessionContextUpdated2 | SyntheticV2 | SkillActivated2 | ShellStarted2 | ShellEnded2 | StepStarted2 | StepEnded2 | StepFailed2 | TextStarted2 | TextDelta2 | TextEnded2 | ReasoningStarted2 | ReasoningDelta2 | ReasoningEnded2 | ToolInputStarted2 | ToolInputDelta2 | ToolInputEnded2 | ToolCalled2 | ToolProgress2 | ToolSuccess2 | ToolFailed2 | RetriedV2 | CompactionStarted2 | CompactionDelta2 | CompactionEnded2 | RevertStaged2 | RevertCleared2 | RevertCommitted2 | FileEdited2 | ReferenceUpdated2 | PermissionV2Asked2 | PermissionV2Replied2 | PluginAdded2 | ProjectDirectoriesUpdated2 | CommandUpdated2 | SkillUpdated2 | FileWatcherUpdated2 | PtyCreated2 | PtyUpdated2 | PtyExited2 | PtyDeleted2 | ShellCreated2 | ShellExited2 | ShellDeleted2 | QuestionV2Asked2 | QuestionV2Replied2 | QuestionV2Rejected2 | FormCreated2 | FormReplied2 | FormCancelled2 | TodoUpdated2 | SessionStatusV22 | SessionIdle2 | TuiPromptAppend2 | TuiCommandExecute2 | TuiToastShow2 | TuiSessionSelect2 | InstallationUpdated2 | InstallationUpdateAvailable2 | VcsBranchUpdated2 | McpStatusChanged2 | PermissionAsked2 | PermissionReplied2 | QuestionAsked2 | QuestionRepliedV2 | QuestionRejectedV2 | SessionError2 | V2EventServerConnected;
|
|
9564
9496
|
export type V2EventStreamV2 = string;
|
|
9565
9497
|
/**
|
|
9566
9498
|
* Payload-free change hint: the aggregate's durable log advanced to at least seq. Hints coalesce under backpressure (latest per aggregate) and are never a delivery guarantee.
|