@opencode-ai/sdk 1.2.14 → 1.2.16
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/sdk.gen.d.ts +132 -1
- package/dist/v2/gen/sdk.gen.js +385 -31
- package/dist/v2/gen/types.gen.d.ts +203 -422
- package/package.json +1 -1
|
@@ -446,6 +446,7 @@ export type CompactionPart = {
|
|
|
446
446
|
messageID: string;
|
|
447
447
|
type: "compaction";
|
|
448
448
|
auto: boolean;
|
|
449
|
+
overflow?: boolean;
|
|
449
450
|
};
|
|
450
451
|
export type Part = TextPart | SubtaskPart | ReasoningPart | FilePart | ToolPart | StepStartPart | StepFinishPart | SnapshotPart | PatchPart | AgentPart | RetryPart | CompactionPart;
|
|
451
452
|
export type EventMessagePartUpdated = {
|
|
@@ -685,6 +686,7 @@ export type Session = {
|
|
|
685
686
|
id: string;
|
|
686
687
|
slug: string;
|
|
687
688
|
projectID: string;
|
|
689
|
+
workspaceID?: string;
|
|
688
690
|
directory: string;
|
|
689
691
|
parentID?: string;
|
|
690
692
|
summary?: {
|
|
@@ -750,6 +752,31 @@ export type EventVcsBranchUpdated = {
|
|
|
750
752
|
branch?: string;
|
|
751
753
|
};
|
|
752
754
|
};
|
|
755
|
+
export type EventWorktreeReady = {
|
|
756
|
+
type: "worktree.ready";
|
|
757
|
+
properties: {
|
|
758
|
+
name: string;
|
|
759
|
+
branch: string;
|
|
760
|
+
};
|
|
761
|
+
};
|
|
762
|
+
export type EventWorktreeFailed = {
|
|
763
|
+
type: "worktree.failed";
|
|
764
|
+
properties: {
|
|
765
|
+
message: string;
|
|
766
|
+
};
|
|
767
|
+
};
|
|
768
|
+
export type EventWorkspaceReady = {
|
|
769
|
+
type: "workspace.ready";
|
|
770
|
+
properties: {
|
|
771
|
+
name: string;
|
|
772
|
+
};
|
|
773
|
+
};
|
|
774
|
+
export type EventWorkspaceFailed = {
|
|
775
|
+
type: "workspace.failed";
|
|
776
|
+
properties: {
|
|
777
|
+
message: string;
|
|
778
|
+
};
|
|
779
|
+
};
|
|
753
780
|
export type Pty = {
|
|
754
781
|
id: string;
|
|
755
782
|
title: string;
|
|
@@ -784,405 +811,11 @@ export type EventPtyDeleted = {
|
|
|
784
811
|
id: string;
|
|
785
812
|
};
|
|
786
813
|
};
|
|
787
|
-
export type
|
|
788
|
-
type: "worktree.ready";
|
|
789
|
-
properties: {
|
|
790
|
-
name: string;
|
|
791
|
-
branch: string;
|
|
792
|
-
};
|
|
793
|
-
};
|
|
794
|
-
export type EventWorktreeFailed = {
|
|
795
|
-
type: "worktree.failed";
|
|
796
|
-
properties: {
|
|
797
|
-
message: string;
|
|
798
|
-
};
|
|
799
|
-
};
|
|
800
|
-
export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventServerConnected | EventGlobalDisposed | EventLspClientDiagnostics | EventLspUpdated | EventFileEdited | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartDelta | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventFileWatcherUpdated | EventTodoUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventVcsBranchUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventWorktreeReady | EventWorktreeFailed;
|
|
814
|
+
export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventServerConnected | EventGlobalDisposed | EventLspClientDiagnostics | EventLspUpdated | EventFileEdited | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartDelta | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventFileWatcherUpdated | EventTodoUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventVcsBranchUpdated | EventWorktreeReady | EventWorktreeFailed | EventWorkspaceReady | EventWorkspaceFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted;
|
|
801
815
|
export type GlobalEvent = {
|
|
802
816
|
directory: string;
|
|
803
817
|
payload: Event;
|
|
804
818
|
};
|
|
805
|
-
/**
|
|
806
|
-
* Custom keybind configurations
|
|
807
|
-
*/
|
|
808
|
-
export type KeybindsConfig = {
|
|
809
|
-
/**
|
|
810
|
-
* Leader key for keybind combinations
|
|
811
|
-
*/
|
|
812
|
-
leader?: string;
|
|
813
|
-
/**
|
|
814
|
-
* Exit the application
|
|
815
|
-
*/
|
|
816
|
-
app_exit?: string;
|
|
817
|
-
/**
|
|
818
|
-
* Open external editor
|
|
819
|
-
*/
|
|
820
|
-
editor_open?: string;
|
|
821
|
-
/**
|
|
822
|
-
* List available themes
|
|
823
|
-
*/
|
|
824
|
-
theme_list?: string;
|
|
825
|
-
/**
|
|
826
|
-
* Toggle sidebar
|
|
827
|
-
*/
|
|
828
|
-
sidebar_toggle?: string;
|
|
829
|
-
/**
|
|
830
|
-
* Toggle session scrollbar
|
|
831
|
-
*/
|
|
832
|
-
scrollbar_toggle?: string;
|
|
833
|
-
/**
|
|
834
|
-
* Toggle username visibility
|
|
835
|
-
*/
|
|
836
|
-
username_toggle?: string;
|
|
837
|
-
/**
|
|
838
|
-
* View status
|
|
839
|
-
*/
|
|
840
|
-
status_view?: string;
|
|
841
|
-
/**
|
|
842
|
-
* Export session to editor
|
|
843
|
-
*/
|
|
844
|
-
session_export?: string;
|
|
845
|
-
/**
|
|
846
|
-
* Create a new session
|
|
847
|
-
*/
|
|
848
|
-
session_new?: string;
|
|
849
|
-
/**
|
|
850
|
-
* List all sessions
|
|
851
|
-
*/
|
|
852
|
-
session_list?: string;
|
|
853
|
-
/**
|
|
854
|
-
* Show session timeline
|
|
855
|
-
*/
|
|
856
|
-
session_timeline?: string;
|
|
857
|
-
/**
|
|
858
|
-
* Fork session from message
|
|
859
|
-
*/
|
|
860
|
-
session_fork?: string;
|
|
861
|
-
/**
|
|
862
|
-
* Rename session
|
|
863
|
-
*/
|
|
864
|
-
session_rename?: string;
|
|
865
|
-
/**
|
|
866
|
-
* Delete session
|
|
867
|
-
*/
|
|
868
|
-
session_delete?: string;
|
|
869
|
-
/**
|
|
870
|
-
* Delete stash entry
|
|
871
|
-
*/
|
|
872
|
-
stash_delete?: string;
|
|
873
|
-
/**
|
|
874
|
-
* Open provider list from model dialog
|
|
875
|
-
*/
|
|
876
|
-
model_provider_list?: string;
|
|
877
|
-
/**
|
|
878
|
-
* Toggle model favorite status
|
|
879
|
-
*/
|
|
880
|
-
model_favorite_toggle?: string;
|
|
881
|
-
/**
|
|
882
|
-
* Share current session
|
|
883
|
-
*/
|
|
884
|
-
session_share?: string;
|
|
885
|
-
/**
|
|
886
|
-
* Unshare current session
|
|
887
|
-
*/
|
|
888
|
-
session_unshare?: string;
|
|
889
|
-
/**
|
|
890
|
-
* Interrupt current session
|
|
891
|
-
*/
|
|
892
|
-
session_interrupt?: string;
|
|
893
|
-
/**
|
|
894
|
-
* Compact the session
|
|
895
|
-
*/
|
|
896
|
-
session_compact?: string;
|
|
897
|
-
/**
|
|
898
|
-
* Scroll messages up by one page
|
|
899
|
-
*/
|
|
900
|
-
messages_page_up?: string;
|
|
901
|
-
/**
|
|
902
|
-
* Scroll messages down by one page
|
|
903
|
-
*/
|
|
904
|
-
messages_page_down?: string;
|
|
905
|
-
/**
|
|
906
|
-
* Scroll messages up by one line
|
|
907
|
-
*/
|
|
908
|
-
messages_line_up?: string;
|
|
909
|
-
/**
|
|
910
|
-
* Scroll messages down by one line
|
|
911
|
-
*/
|
|
912
|
-
messages_line_down?: string;
|
|
913
|
-
/**
|
|
914
|
-
* Scroll messages up by half page
|
|
915
|
-
*/
|
|
916
|
-
messages_half_page_up?: string;
|
|
917
|
-
/**
|
|
918
|
-
* Scroll messages down by half page
|
|
919
|
-
*/
|
|
920
|
-
messages_half_page_down?: string;
|
|
921
|
-
/**
|
|
922
|
-
* Navigate to first message
|
|
923
|
-
*/
|
|
924
|
-
messages_first?: string;
|
|
925
|
-
/**
|
|
926
|
-
* Navigate to last message
|
|
927
|
-
*/
|
|
928
|
-
messages_last?: string;
|
|
929
|
-
/**
|
|
930
|
-
* Navigate to next message
|
|
931
|
-
*/
|
|
932
|
-
messages_next?: string;
|
|
933
|
-
/**
|
|
934
|
-
* Navigate to previous message
|
|
935
|
-
*/
|
|
936
|
-
messages_previous?: string;
|
|
937
|
-
/**
|
|
938
|
-
* Navigate to last user message
|
|
939
|
-
*/
|
|
940
|
-
messages_last_user?: string;
|
|
941
|
-
/**
|
|
942
|
-
* Copy message
|
|
943
|
-
*/
|
|
944
|
-
messages_copy?: string;
|
|
945
|
-
/**
|
|
946
|
-
* Undo message
|
|
947
|
-
*/
|
|
948
|
-
messages_undo?: string;
|
|
949
|
-
/**
|
|
950
|
-
* Redo message
|
|
951
|
-
*/
|
|
952
|
-
messages_redo?: string;
|
|
953
|
-
/**
|
|
954
|
-
* Toggle code block concealment in messages
|
|
955
|
-
*/
|
|
956
|
-
messages_toggle_conceal?: string;
|
|
957
|
-
/**
|
|
958
|
-
* Toggle tool details visibility
|
|
959
|
-
*/
|
|
960
|
-
tool_details?: string;
|
|
961
|
-
/**
|
|
962
|
-
* List available models
|
|
963
|
-
*/
|
|
964
|
-
model_list?: string;
|
|
965
|
-
/**
|
|
966
|
-
* Next recently used model
|
|
967
|
-
*/
|
|
968
|
-
model_cycle_recent?: string;
|
|
969
|
-
/**
|
|
970
|
-
* Previous recently used model
|
|
971
|
-
*/
|
|
972
|
-
model_cycle_recent_reverse?: string;
|
|
973
|
-
/**
|
|
974
|
-
* Next favorite model
|
|
975
|
-
*/
|
|
976
|
-
model_cycle_favorite?: string;
|
|
977
|
-
/**
|
|
978
|
-
* Previous favorite model
|
|
979
|
-
*/
|
|
980
|
-
model_cycle_favorite_reverse?: string;
|
|
981
|
-
/**
|
|
982
|
-
* List available commands
|
|
983
|
-
*/
|
|
984
|
-
command_list?: string;
|
|
985
|
-
/**
|
|
986
|
-
* List agents
|
|
987
|
-
*/
|
|
988
|
-
agent_list?: string;
|
|
989
|
-
/**
|
|
990
|
-
* Next agent
|
|
991
|
-
*/
|
|
992
|
-
agent_cycle?: string;
|
|
993
|
-
/**
|
|
994
|
-
* Previous agent
|
|
995
|
-
*/
|
|
996
|
-
agent_cycle_reverse?: string;
|
|
997
|
-
/**
|
|
998
|
-
* Cycle model variants
|
|
999
|
-
*/
|
|
1000
|
-
variant_cycle?: string;
|
|
1001
|
-
/**
|
|
1002
|
-
* Clear input field
|
|
1003
|
-
*/
|
|
1004
|
-
input_clear?: string;
|
|
1005
|
-
/**
|
|
1006
|
-
* Paste from clipboard
|
|
1007
|
-
*/
|
|
1008
|
-
input_paste?: string;
|
|
1009
|
-
/**
|
|
1010
|
-
* Submit input
|
|
1011
|
-
*/
|
|
1012
|
-
input_submit?: string;
|
|
1013
|
-
/**
|
|
1014
|
-
* Insert newline in input
|
|
1015
|
-
*/
|
|
1016
|
-
input_newline?: string;
|
|
1017
|
-
/**
|
|
1018
|
-
* Move cursor left in input
|
|
1019
|
-
*/
|
|
1020
|
-
input_move_left?: string;
|
|
1021
|
-
/**
|
|
1022
|
-
* Move cursor right in input
|
|
1023
|
-
*/
|
|
1024
|
-
input_move_right?: string;
|
|
1025
|
-
/**
|
|
1026
|
-
* Move cursor up in input
|
|
1027
|
-
*/
|
|
1028
|
-
input_move_up?: string;
|
|
1029
|
-
/**
|
|
1030
|
-
* Move cursor down in input
|
|
1031
|
-
*/
|
|
1032
|
-
input_move_down?: string;
|
|
1033
|
-
/**
|
|
1034
|
-
* Select left in input
|
|
1035
|
-
*/
|
|
1036
|
-
input_select_left?: string;
|
|
1037
|
-
/**
|
|
1038
|
-
* Select right in input
|
|
1039
|
-
*/
|
|
1040
|
-
input_select_right?: string;
|
|
1041
|
-
/**
|
|
1042
|
-
* Select up in input
|
|
1043
|
-
*/
|
|
1044
|
-
input_select_up?: string;
|
|
1045
|
-
/**
|
|
1046
|
-
* Select down in input
|
|
1047
|
-
*/
|
|
1048
|
-
input_select_down?: string;
|
|
1049
|
-
/**
|
|
1050
|
-
* Move to start of line in input
|
|
1051
|
-
*/
|
|
1052
|
-
input_line_home?: string;
|
|
1053
|
-
/**
|
|
1054
|
-
* Move to end of line in input
|
|
1055
|
-
*/
|
|
1056
|
-
input_line_end?: string;
|
|
1057
|
-
/**
|
|
1058
|
-
* Select to start of line in input
|
|
1059
|
-
*/
|
|
1060
|
-
input_select_line_home?: string;
|
|
1061
|
-
/**
|
|
1062
|
-
* Select to end of line in input
|
|
1063
|
-
*/
|
|
1064
|
-
input_select_line_end?: string;
|
|
1065
|
-
/**
|
|
1066
|
-
* Move to start of visual line in input
|
|
1067
|
-
*/
|
|
1068
|
-
input_visual_line_home?: string;
|
|
1069
|
-
/**
|
|
1070
|
-
* Move to end of visual line in input
|
|
1071
|
-
*/
|
|
1072
|
-
input_visual_line_end?: string;
|
|
1073
|
-
/**
|
|
1074
|
-
* Select to start of visual line in input
|
|
1075
|
-
*/
|
|
1076
|
-
input_select_visual_line_home?: string;
|
|
1077
|
-
/**
|
|
1078
|
-
* Select to end of visual line in input
|
|
1079
|
-
*/
|
|
1080
|
-
input_select_visual_line_end?: string;
|
|
1081
|
-
/**
|
|
1082
|
-
* Move to start of buffer in input
|
|
1083
|
-
*/
|
|
1084
|
-
input_buffer_home?: string;
|
|
1085
|
-
/**
|
|
1086
|
-
* Move to end of buffer in input
|
|
1087
|
-
*/
|
|
1088
|
-
input_buffer_end?: string;
|
|
1089
|
-
/**
|
|
1090
|
-
* Select to start of buffer in input
|
|
1091
|
-
*/
|
|
1092
|
-
input_select_buffer_home?: string;
|
|
1093
|
-
/**
|
|
1094
|
-
* Select to end of buffer in input
|
|
1095
|
-
*/
|
|
1096
|
-
input_select_buffer_end?: string;
|
|
1097
|
-
/**
|
|
1098
|
-
* Delete line in input
|
|
1099
|
-
*/
|
|
1100
|
-
input_delete_line?: string;
|
|
1101
|
-
/**
|
|
1102
|
-
* Delete to end of line in input
|
|
1103
|
-
*/
|
|
1104
|
-
input_delete_to_line_end?: string;
|
|
1105
|
-
/**
|
|
1106
|
-
* Delete to start of line in input
|
|
1107
|
-
*/
|
|
1108
|
-
input_delete_to_line_start?: string;
|
|
1109
|
-
/**
|
|
1110
|
-
* Backspace in input
|
|
1111
|
-
*/
|
|
1112
|
-
input_backspace?: string;
|
|
1113
|
-
/**
|
|
1114
|
-
* Delete character in input
|
|
1115
|
-
*/
|
|
1116
|
-
input_delete?: string;
|
|
1117
|
-
/**
|
|
1118
|
-
* Undo in input
|
|
1119
|
-
*/
|
|
1120
|
-
input_undo?: string;
|
|
1121
|
-
/**
|
|
1122
|
-
* Redo in input
|
|
1123
|
-
*/
|
|
1124
|
-
input_redo?: string;
|
|
1125
|
-
/**
|
|
1126
|
-
* Move word forward in input
|
|
1127
|
-
*/
|
|
1128
|
-
input_word_forward?: string;
|
|
1129
|
-
/**
|
|
1130
|
-
* Move word backward in input
|
|
1131
|
-
*/
|
|
1132
|
-
input_word_backward?: string;
|
|
1133
|
-
/**
|
|
1134
|
-
* Select word forward in input
|
|
1135
|
-
*/
|
|
1136
|
-
input_select_word_forward?: string;
|
|
1137
|
-
/**
|
|
1138
|
-
* Select word backward in input
|
|
1139
|
-
*/
|
|
1140
|
-
input_select_word_backward?: string;
|
|
1141
|
-
/**
|
|
1142
|
-
* Delete word forward in input
|
|
1143
|
-
*/
|
|
1144
|
-
input_delete_word_forward?: string;
|
|
1145
|
-
/**
|
|
1146
|
-
* Delete word backward in input
|
|
1147
|
-
*/
|
|
1148
|
-
input_delete_word_backward?: string;
|
|
1149
|
-
/**
|
|
1150
|
-
* Previous history item
|
|
1151
|
-
*/
|
|
1152
|
-
history_previous?: string;
|
|
1153
|
-
/**
|
|
1154
|
-
* Next history item
|
|
1155
|
-
*/
|
|
1156
|
-
history_next?: string;
|
|
1157
|
-
/**
|
|
1158
|
-
* Next child session
|
|
1159
|
-
*/
|
|
1160
|
-
session_child_cycle?: string;
|
|
1161
|
-
/**
|
|
1162
|
-
* Previous child session
|
|
1163
|
-
*/
|
|
1164
|
-
session_child_cycle_reverse?: string;
|
|
1165
|
-
/**
|
|
1166
|
-
* Go to parent session
|
|
1167
|
-
*/
|
|
1168
|
-
session_parent?: string;
|
|
1169
|
-
/**
|
|
1170
|
-
* Suspend terminal
|
|
1171
|
-
*/
|
|
1172
|
-
terminal_suspend?: string;
|
|
1173
|
-
/**
|
|
1174
|
-
* Toggle terminal title
|
|
1175
|
-
*/
|
|
1176
|
-
terminal_title_toggle?: string;
|
|
1177
|
-
/**
|
|
1178
|
-
* Toggle tips on home screen
|
|
1179
|
-
*/
|
|
1180
|
-
tips_toggle?: string;
|
|
1181
|
-
/**
|
|
1182
|
-
* Toggle thinking blocks visibility
|
|
1183
|
-
*/
|
|
1184
|
-
display_thinking?: string;
|
|
1185
|
-
};
|
|
1186
819
|
/**
|
|
1187
820
|
* Log level
|
|
1188
821
|
*/
|
|
@@ -1446,34 +1079,7 @@ export type Config = {
|
|
|
1446
1079
|
* JSON schema reference for configuration validation
|
|
1447
1080
|
*/
|
|
1448
1081
|
$schema?: string;
|
|
1449
|
-
/**
|
|
1450
|
-
* Theme name to use for the interface
|
|
1451
|
-
*/
|
|
1452
|
-
theme?: string;
|
|
1453
|
-
keybinds?: KeybindsConfig;
|
|
1454
1082
|
logLevel?: LogLevel;
|
|
1455
|
-
/**
|
|
1456
|
-
* TUI specific settings
|
|
1457
|
-
*/
|
|
1458
|
-
tui?: {
|
|
1459
|
-
/**
|
|
1460
|
-
* TUI scroll speed
|
|
1461
|
-
*/
|
|
1462
|
-
scroll_speed?: number;
|
|
1463
|
-
/**
|
|
1464
|
-
* Scroll acceleration settings
|
|
1465
|
-
*/
|
|
1466
|
-
scroll_acceleration?: {
|
|
1467
|
-
/**
|
|
1468
|
-
* Enable scroll acceleration
|
|
1469
|
-
*/
|
|
1470
|
-
enabled: boolean;
|
|
1471
|
-
};
|
|
1472
|
-
/**
|
|
1473
|
-
* Control diff rendering style: 'auto' adapts to terminal width, 'stacked' always shows single column
|
|
1474
|
-
*/
|
|
1475
|
-
diff_style?: "auto" | "stacked";
|
|
1476
|
-
};
|
|
1477
1083
|
server?: ServerConfig;
|
|
1478
1084
|
/**
|
|
1479
1085
|
* Command configuration, see https://opencode.ai/docs/commands
|
|
@@ -1785,6 +1391,15 @@ export type WorktreeCreateInput = {
|
|
|
1785
1391
|
*/
|
|
1786
1392
|
startCommand?: string;
|
|
1787
1393
|
};
|
|
1394
|
+
export type Workspace = {
|
|
1395
|
+
id: string;
|
|
1396
|
+
branch: string | null;
|
|
1397
|
+
projectID: string;
|
|
1398
|
+
config: {
|
|
1399
|
+
directory: string;
|
|
1400
|
+
type: "worktree";
|
|
1401
|
+
};
|
|
1402
|
+
};
|
|
1788
1403
|
export type WorktreeRemoveInput = {
|
|
1789
1404
|
directory: string;
|
|
1790
1405
|
};
|
|
@@ -1800,6 +1415,7 @@ export type GlobalSession = {
|
|
|
1800
1415
|
id: string;
|
|
1801
1416
|
slug: string;
|
|
1802
1417
|
projectID: string;
|
|
1418
|
+
workspaceID?: string;
|
|
1803
1419
|
directory: string;
|
|
1804
1420
|
parentID?: string;
|
|
1805
1421
|
summary?: {
|
|
@@ -2124,6 +1740,7 @@ export type ProjectListData = {
|
|
|
2124
1740
|
path?: never;
|
|
2125
1741
|
query?: {
|
|
2126
1742
|
directory?: string;
|
|
1743
|
+
workspace?: string;
|
|
2127
1744
|
};
|
|
2128
1745
|
url: "/project";
|
|
2129
1746
|
};
|
|
@@ -2139,6 +1756,7 @@ export type ProjectCurrentData = {
|
|
|
2139
1756
|
path?: never;
|
|
2140
1757
|
query?: {
|
|
2141
1758
|
directory?: string;
|
|
1759
|
+
workspace?: string;
|
|
2142
1760
|
};
|
|
2143
1761
|
url: "/project/current";
|
|
2144
1762
|
};
|
|
@@ -2169,6 +1787,7 @@ export type ProjectUpdateData = {
|
|
|
2169
1787
|
};
|
|
2170
1788
|
query?: {
|
|
2171
1789
|
directory?: string;
|
|
1790
|
+
workspace?: string;
|
|
2172
1791
|
};
|
|
2173
1792
|
url: "/project/{projectID}";
|
|
2174
1793
|
};
|
|
@@ -2195,6 +1814,7 @@ export type PtyListData = {
|
|
|
2195
1814
|
path?: never;
|
|
2196
1815
|
query?: {
|
|
2197
1816
|
directory?: string;
|
|
1817
|
+
workspace?: string;
|
|
2198
1818
|
};
|
|
2199
1819
|
url: "/pty";
|
|
2200
1820
|
};
|
|
@@ -2218,6 +1838,7 @@ export type PtyCreateData = {
|
|
|
2218
1838
|
path?: never;
|
|
2219
1839
|
query?: {
|
|
2220
1840
|
directory?: string;
|
|
1841
|
+
workspace?: string;
|
|
2221
1842
|
};
|
|
2222
1843
|
url: "/pty";
|
|
2223
1844
|
};
|
|
@@ -2242,6 +1863,7 @@ export type PtyRemoveData = {
|
|
|
2242
1863
|
};
|
|
2243
1864
|
query?: {
|
|
2244
1865
|
directory?: string;
|
|
1866
|
+
workspace?: string;
|
|
2245
1867
|
};
|
|
2246
1868
|
url: "/pty/{ptyID}";
|
|
2247
1869
|
};
|
|
@@ -2266,6 +1888,7 @@ export type PtyGetData = {
|
|
|
2266
1888
|
};
|
|
2267
1889
|
query?: {
|
|
2268
1890
|
directory?: string;
|
|
1891
|
+
workspace?: string;
|
|
2269
1892
|
};
|
|
2270
1893
|
url: "/pty/{ptyID}";
|
|
2271
1894
|
};
|
|
@@ -2296,6 +1919,7 @@ export type PtyUpdateData = {
|
|
|
2296
1919
|
};
|
|
2297
1920
|
query?: {
|
|
2298
1921
|
directory?: string;
|
|
1922
|
+
workspace?: string;
|
|
2299
1923
|
};
|
|
2300
1924
|
url: "/pty/{ptyID}";
|
|
2301
1925
|
};
|
|
@@ -2320,6 +1944,7 @@ export type PtyConnectData = {
|
|
|
2320
1944
|
};
|
|
2321
1945
|
query?: {
|
|
2322
1946
|
directory?: string;
|
|
1947
|
+
workspace?: string;
|
|
2323
1948
|
};
|
|
2324
1949
|
url: "/pty/{ptyID}/connect";
|
|
2325
1950
|
};
|
|
@@ -2342,6 +1967,7 @@ export type ConfigGetData = {
|
|
|
2342
1967
|
path?: never;
|
|
2343
1968
|
query?: {
|
|
2344
1969
|
directory?: string;
|
|
1970
|
+
workspace?: string;
|
|
2345
1971
|
};
|
|
2346
1972
|
url: "/config";
|
|
2347
1973
|
};
|
|
@@ -2357,6 +1983,7 @@ export type ConfigUpdateData = {
|
|
|
2357
1983
|
path?: never;
|
|
2358
1984
|
query?: {
|
|
2359
1985
|
directory?: string;
|
|
1986
|
+
workspace?: string;
|
|
2360
1987
|
};
|
|
2361
1988
|
url: "/config";
|
|
2362
1989
|
};
|
|
@@ -2379,6 +2006,7 @@ export type ConfigProvidersData = {
|
|
|
2379
2006
|
path?: never;
|
|
2380
2007
|
query?: {
|
|
2381
2008
|
directory?: string;
|
|
2009
|
+
workspace?: string;
|
|
2382
2010
|
};
|
|
2383
2011
|
url: "/config/providers";
|
|
2384
2012
|
};
|
|
@@ -2399,6 +2027,7 @@ export type ToolIdsData = {
|
|
|
2399
2027
|
path?: never;
|
|
2400
2028
|
query?: {
|
|
2401
2029
|
directory?: string;
|
|
2030
|
+
workspace?: string;
|
|
2402
2031
|
};
|
|
2403
2032
|
url: "/experimental/tool/ids";
|
|
2404
2033
|
};
|
|
@@ -2421,6 +2050,7 @@ export type ToolListData = {
|
|
|
2421
2050
|
path?: never;
|
|
2422
2051
|
query: {
|
|
2423
2052
|
directory?: string;
|
|
2053
|
+
workspace?: string;
|
|
2424
2054
|
provider: string;
|
|
2425
2055
|
model: string;
|
|
2426
2056
|
};
|
|
@@ -2445,6 +2075,7 @@ export type WorktreeRemoveData = {
|
|
|
2445
2075
|
path?: never;
|
|
2446
2076
|
query?: {
|
|
2447
2077
|
directory?: string;
|
|
2078
|
+
workspace?: string;
|
|
2448
2079
|
};
|
|
2449
2080
|
url: "/experimental/worktree";
|
|
2450
2081
|
};
|
|
@@ -2467,6 +2098,7 @@ export type WorktreeListData = {
|
|
|
2467
2098
|
path?: never;
|
|
2468
2099
|
query?: {
|
|
2469
2100
|
directory?: string;
|
|
2101
|
+
workspace?: string;
|
|
2470
2102
|
};
|
|
2471
2103
|
url: "/experimental/worktree";
|
|
2472
2104
|
};
|
|
@@ -2482,6 +2114,7 @@ export type WorktreeCreateData = {
|
|
|
2482
2114
|
path?: never;
|
|
2483
2115
|
query?: {
|
|
2484
2116
|
directory?: string;
|
|
2117
|
+
workspace?: string;
|
|
2485
2118
|
};
|
|
2486
2119
|
url: "/experimental/worktree";
|
|
2487
2120
|
};
|
|
@@ -2499,11 +2132,84 @@ export type WorktreeCreateResponses = {
|
|
|
2499
2132
|
200: Worktree;
|
|
2500
2133
|
};
|
|
2501
2134
|
export type WorktreeCreateResponse = WorktreeCreateResponses[keyof WorktreeCreateResponses];
|
|
2135
|
+
export type ExperimentalWorkspaceRemoveData = {
|
|
2136
|
+
body?: never;
|
|
2137
|
+
path: {
|
|
2138
|
+
id: string;
|
|
2139
|
+
};
|
|
2140
|
+
query?: {
|
|
2141
|
+
directory?: string;
|
|
2142
|
+
workspace?: string;
|
|
2143
|
+
};
|
|
2144
|
+
url: "/experimental/workspace/{id}";
|
|
2145
|
+
};
|
|
2146
|
+
export type ExperimentalWorkspaceRemoveErrors = {
|
|
2147
|
+
/**
|
|
2148
|
+
* Bad request
|
|
2149
|
+
*/
|
|
2150
|
+
400: BadRequestError;
|
|
2151
|
+
};
|
|
2152
|
+
export type ExperimentalWorkspaceRemoveError = ExperimentalWorkspaceRemoveErrors[keyof ExperimentalWorkspaceRemoveErrors];
|
|
2153
|
+
export type ExperimentalWorkspaceRemoveResponses = {
|
|
2154
|
+
/**
|
|
2155
|
+
* Workspace removed
|
|
2156
|
+
*/
|
|
2157
|
+
200: Workspace;
|
|
2158
|
+
};
|
|
2159
|
+
export type ExperimentalWorkspaceRemoveResponse = ExperimentalWorkspaceRemoveResponses[keyof ExperimentalWorkspaceRemoveResponses];
|
|
2160
|
+
export type ExperimentalWorkspaceCreateData = {
|
|
2161
|
+
body?: {
|
|
2162
|
+
branch: string | null;
|
|
2163
|
+
config: {
|
|
2164
|
+
directory: string;
|
|
2165
|
+
type: "worktree";
|
|
2166
|
+
};
|
|
2167
|
+
};
|
|
2168
|
+
path: {
|
|
2169
|
+
id: string;
|
|
2170
|
+
};
|
|
2171
|
+
query?: {
|
|
2172
|
+
directory?: string;
|
|
2173
|
+
workspace?: string;
|
|
2174
|
+
};
|
|
2175
|
+
url: "/experimental/workspace/{id}";
|
|
2176
|
+
};
|
|
2177
|
+
export type ExperimentalWorkspaceCreateErrors = {
|
|
2178
|
+
/**
|
|
2179
|
+
* Bad request
|
|
2180
|
+
*/
|
|
2181
|
+
400: BadRequestError;
|
|
2182
|
+
};
|
|
2183
|
+
export type ExperimentalWorkspaceCreateError = ExperimentalWorkspaceCreateErrors[keyof ExperimentalWorkspaceCreateErrors];
|
|
2184
|
+
export type ExperimentalWorkspaceCreateResponses = {
|
|
2185
|
+
/**
|
|
2186
|
+
* Workspace created
|
|
2187
|
+
*/
|
|
2188
|
+
200: Workspace;
|
|
2189
|
+
};
|
|
2190
|
+
export type ExperimentalWorkspaceCreateResponse = ExperimentalWorkspaceCreateResponses[keyof ExperimentalWorkspaceCreateResponses];
|
|
2191
|
+
export type ExperimentalWorkspaceListData = {
|
|
2192
|
+
body?: never;
|
|
2193
|
+
path?: never;
|
|
2194
|
+
query?: {
|
|
2195
|
+
directory?: string;
|
|
2196
|
+
workspace?: string;
|
|
2197
|
+
};
|
|
2198
|
+
url: "/experimental/workspace";
|
|
2199
|
+
};
|
|
2200
|
+
export type ExperimentalWorkspaceListResponses = {
|
|
2201
|
+
/**
|
|
2202
|
+
* Workspaces
|
|
2203
|
+
*/
|
|
2204
|
+
200: Array<Workspace>;
|
|
2205
|
+
};
|
|
2206
|
+
export type ExperimentalWorkspaceListResponse = ExperimentalWorkspaceListResponses[keyof ExperimentalWorkspaceListResponses];
|
|
2502
2207
|
export type WorktreeResetData = {
|
|
2503
2208
|
body?: WorktreeResetInput;
|
|
2504
2209
|
path?: never;
|
|
2505
2210
|
query?: {
|
|
2506
2211
|
directory?: string;
|
|
2212
|
+
workspace?: string;
|
|
2507
2213
|
};
|
|
2508
2214
|
url: "/experimental/worktree/reset";
|
|
2509
2215
|
};
|
|
@@ -2529,6 +2235,7 @@ export type ExperimentalSessionListData = {
|
|
|
2529
2235
|
* Filter sessions by project directory
|
|
2530
2236
|
*/
|
|
2531
2237
|
directory?: string;
|
|
2238
|
+
workspace?: string;
|
|
2532
2239
|
/**
|
|
2533
2240
|
* Only return root sessions (no parentID)
|
|
2534
2241
|
*/
|
|
@@ -2568,6 +2275,7 @@ export type ExperimentalResourceListData = {
|
|
|
2568
2275
|
path?: never;
|
|
2569
2276
|
query?: {
|
|
2570
2277
|
directory?: string;
|
|
2278
|
+
workspace?: string;
|
|
2571
2279
|
};
|
|
2572
2280
|
url: "/experimental/resource";
|
|
2573
2281
|
};
|
|
@@ -2588,6 +2296,7 @@ export type SessionListData = {
|
|
|
2588
2296
|
* Filter sessions by project directory
|
|
2589
2297
|
*/
|
|
2590
2298
|
directory?: string;
|
|
2299
|
+
workspace?: string;
|
|
2591
2300
|
/**
|
|
2592
2301
|
* Only return root sessions (no parentID)
|
|
2593
2302
|
*/
|
|
@@ -2623,6 +2332,7 @@ export type SessionCreateData = {
|
|
|
2623
2332
|
path?: never;
|
|
2624
2333
|
query?: {
|
|
2625
2334
|
directory?: string;
|
|
2335
|
+
workspace?: string;
|
|
2626
2336
|
};
|
|
2627
2337
|
url: "/session";
|
|
2628
2338
|
};
|
|
@@ -2645,6 +2355,7 @@ export type SessionStatusData = {
|
|
|
2645
2355
|
path?: never;
|
|
2646
2356
|
query?: {
|
|
2647
2357
|
directory?: string;
|
|
2358
|
+
workspace?: string;
|
|
2648
2359
|
};
|
|
2649
2360
|
url: "/session/status";
|
|
2650
2361
|
};
|
|
@@ -2671,6 +2382,7 @@ export type SessionDeleteData = {
|
|
|
2671
2382
|
};
|
|
2672
2383
|
query?: {
|
|
2673
2384
|
directory?: string;
|
|
2385
|
+
workspace?: string;
|
|
2674
2386
|
};
|
|
2675
2387
|
url: "/session/{sessionID}";
|
|
2676
2388
|
};
|
|
@@ -2699,6 +2411,7 @@ export type SessionGetData = {
|
|
|
2699
2411
|
};
|
|
2700
2412
|
query?: {
|
|
2701
2413
|
directory?: string;
|
|
2414
|
+
workspace?: string;
|
|
2702
2415
|
};
|
|
2703
2416
|
url: "/session/{sessionID}";
|
|
2704
2417
|
};
|
|
@@ -2732,6 +2445,7 @@ export type SessionUpdateData = {
|
|
|
2732
2445
|
};
|
|
2733
2446
|
query?: {
|
|
2734
2447
|
directory?: string;
|
|
2448
|
+
workspace?: string;
|
|
2735
2449
|
};
|
|
2736
2450
|
url: "/session/{sessionID}";
|
|
2737
2451
|
};
|
|
@@ -2760,6 +2474,7 @@ export type SessionChildrenData = {
|
|
|
2760
2474
|
};
|
|
2761
2475
|
query?: {
|
|
2762
2476
|
directory?: string;
|
|
2477
|
+
workspace?: string;
|
|
2763
2478
|
};
|
|
2764
2479
|
url: "/session/{sessionID}/children";
|
|
2765
2480
|
};
|
|
@@ -2791,6 +2506,7 @@ export type SessionTodoData = {
|
|
|
2791
2506
|
};
|
|
2792
2507
|
query?: {
|
|
2793
2508
|
directory?: string;
|
|
2509
|
+
workspace?: string;
|
|
2794
2510
|
};
|
|
2795
2511
|
url: "/session/{sessionID}/todo";
|
|
2796
2512
|
};
|
|
@@ -2826,6 +2542,7 @@ export type SessionInitData = {
|
|
|
2826
2542
|
};
|
|
2827
2543
|
query?: {
|
|
2828
2544
|
directory?: string;
|
|
2545
|
+
workspace?: string;
|
|
2829
2546
|
};
|
|
2830
2547
|
url: "/session/{sessionID}/init";
|
|
2831
2548
|
};
|
|
@@ -2856,6 +2573,7 @@ export type SessionForkData = {
|
|
|
2856
2573
|
};
|
|
2857
2574
|
query?: {
|
|
2858
2575
|
directory?: string;
|
|
2576
|
+
workspace?: string;
|
|
2859
2577
|
};
|
|
2860
2578
|
url: "/session/{sessionID}/fork";
|
|
2861
2579
|
};
|
|
@@ -2873,6 +2591,7 @@ export type SessionAbortData = {
|
|
|
2873
2591
|
};
|
|
2874
2592
|
query?: {
|
|
2875
2593
|
directory?: string;
|
|
2594
|
+
workspace?: string;
|
|
2876
2595
|
};
|
|
2877
2596
|
url: "/session/{sessionID}/abort";
|
|
2878
2597
|
};
|
|
@@ -2901,6 +2620,7 @@ export type SessionUnshareData = {
|
|
|
2901
2620
|
};
|
|
2902
2621
|
query?: {
|
|
2903
2622
|
directory?: string;
|
|
2623
|
+
workspace?: string;
|
|
2904
2624
|
};
|
|
2905
2625
|
url: "/session/{sessionID}/share";
|
|
2906
2626
|
};
|
|
@@ -2929,6 +2649,7 @@ export type SessionShareData = {
|
|
|
2929
2649
|
};
|
|
2930
2650
|
query?: {
|
|
2931
2651
|
directory?: string;
|
|
2652
|
+
workspace?: string;
|
|
2932
2653
|
};
|
|
2933
2654
|
url: "/session/{sessionID}/share";
|
|
2934
2655
|
};
|
|
@@ -2957,6 +2678,7 @@ export type SessionDiffData = {
|
|
|
2957
2678
|
};
|
|
2958
2679
|
query?: {
|
|
2959
2680
|
directory?: string;
|
|
2681
|
+
workspace?: string;
|
|
2960
2682
|
messageID?: string;
|
|
2961
2683
|
};
|
|
2962
2684
|
url: "/session/{sessionID}/diff";
|
|
@@ -2982,6 +2704,7 @@ export type SessionSummarizeData = {
|
|
|
2982
2704
|
};
|
|
2983
2705
|
query?: {
|
|
2984
2706
|
directory?: string;
|
|
2707
|
+
workspace?: string;
|
|
2985
2708
|
};
|
|
2986
2709
|
url: "/session/{sessionID}/summarize";
|
|
2987
2710
|
};
|
|
@@ -3013,6 +2736,7 @@ export type SessionMessagesData = {
|
|
|
3013
2736
|
};
|
|
3014
2737
|
query?: {
|
|
3015
2738
|
directory?: string;
|
|
2739
|
+
workspace?: string;
|
|
3016
2740
|
limit?: number;
|
|
3017
2741
|
};
|
|
3018
2742
|
url: "/session/{sessionID}/message";
|
|
@@ -3066,6 +2790,7 @@ export type SessionPromptData = {
|
|
|
3066
2790
|
};
|
|
3067
2791
|
query?: {
|
|
3068
2792
|
directory?: string;
|
|
2793
|
+
workspace?: string;
|
|
3069
2794
|
};
|
|
3070
2795
|
url: "/session/{sessionID}/message";
|
|
3071
2796
|
};
|
|
@@ -3104,6 +2829,7 @@ export type SessionDeleteMessageData = {
|
|
|
3104
2829
|
};
|
|
3105
2830
|
query?: {
|
|
3106
2831
|
directory?: string;
|
|
2832
|
+
workspace?: string;
|
|
3107
2833
|
};
|
|
3108
2834
|
url: "/session/{sessionID}/message/{messageID}";
|
|
3109
2835
|
};
|
|
@@ -3139,6 +2865,7 @@ export type SessionMessageData = {
|
|
|
3139
2865
|
};
|
|
3140
2866
|
query?: {
|
|
3141
2867
|
directory?: string;
|
|
2868
|
+
workspace?: string;
|
|
3142
2869
|
};
|
|
3143
2870
|
url: "/session/{sessionID}/message/{messageID}";
|
|
3144
2871
|
};
|
|
@@ -3181,6 +2908,7 @@ export type PartDeleteData = {
|
|
|
3181
2908
|
};
|
|
3182
2909
|
query?: {
|
|
3183
2910
|
directory?: string;
|
|
2911
|
+
workspace?: string;
|
|
3184
2912
|
};
|
|
3185
2913
|
url: "/session/{sessionID}/message/{messageID}/part/{partID}";
|
|
3186
2914
|
};
|
|
@@ -3220,6 +2948,7 @@ export type PartUpdateData = {
|
|
|
3220
2948
|
};
|
|
3221
2949
|
query?: {
|
|
3222
2950
|
directory?: string;
|
|
2951
|
+
workspace?: string;
|
|
3223
2952
|
};
|
|
3224
2953
|
url: "/session/{sessionID}/message/{messageID}/part/{partID}";
|
|
3225
2954
|
};
|
|
@@ -3269,6 +2998,7 @@ export type SessionPromptAsyncData = {
|
|
|
3269
2998
|
};
|
|
3270
2999
|
query?: {
|
|
3271
3000
|
directory?: string;
|
|
3001
|
+
workspace?: string;
|
|
3272
3002
|
};
|
|
3273
3003
|
url: "/session/{sessionID}/prompt_async";
|
|
3274
3004
|
};
|
|
@@ -3315,6 +3045,7 @@ export type SessionCommandData = {
|
|
|
3315
3045
|
};
|
|
3316
3046
|
query?: {
|
|
3317
3047
|
directory?: string;
|
|
3048
|
+
workspace?: string;
|
|
3318
3049
|
};
|
|
3319
3050
|
url: "/session/{sessionID}/command";
|
|
3320
3051
|
};
|
|
@@ -3356,6 +3087,7 @@ export type SessionShellData = {
|
|
|
3356
3087
|
};
|
|
3357
3088
|
query?: {
|
|
3358
3089
|
directory?: string;
|
|
3090
|
+
workspace?: string;
|
|
3359
3091
|
};
|
|
3360
3092
|
url: "/session/{sessionID}/shell";
|
|
3361
3093
|
};
|
|
@@ -3387,6 +3119,7 @@ export type SessionRevertData = {
|
|
|
3387
3119
|
};
|
|
3388
3120
|
query?: {
|
|
3389
3121
|
directory?: string;
|
|
3122
|
+
workspace?: string;
|
|
3390
3123
|
};
|
|
3391
3124
|
url: "/session/{sessionID}/revert";
|
|
3392
3125
|
};
|
|
@@ -3415,6 +3148,7 @@ export type SessionUnrevertData = {
|
|
|
3415
3148
|
};
|
|
3416
3149
|
query?: {
|
|
3417
3150
|
directory?: string;
|
|
3151
|
+
workspace?: string;
|
|
3418
3152
|
};
|
|
3419
3153
|
url: "/session/{sessionID}/unrevert";
|
|
3420
3154
|
};
|
|
@@ -3446,6 +3180,7 @@ export type PermissionRespondData = {
|
|
|
3446
3180
|
};
|
|
3447
3181
|
query?: {
|
|
3448
3182
|
directory?: string;
|
|
3183
|
+
workspace?: string;
|
|
3449
3184
|
};
|
|
3450
3185
|
url: "/session/{sessionID}/permissions/{permissionID}";
|
|
3451
3186
|
};
|
|
@@ -3477,6 +3212,7 @@ export type PermissionReplyData = {
|
|
|
3477
3212
|
};
|
|
3478
3213
|
query?: {
|
|
3479
3214
|
directory?: string;
|
|
3215
|
+
workspace?: string;
|
|
3480
3216
|
};
|
|
3481
3217
|
url: "/permission/{requestID}/reply";
|
|
3482
3218
|
};
|
|
@@ -3503,6 +3239,7 @@ export type PermissionListData = {
|
|
|
3503
3239
|
path?: never;
|
|
3504
3240
|
query?: {
|
|
3505
3241
|
directory?: string;
|
|
3242
|
+
workspace?: string;
|
|
3506
3243
|
};
|
|
3507
3244
|
url: "/permission";
|
|
3508
3245
|
};
|
|
@@ -3518,6 +3255,7 @@ export type QuestionListData = {
|
|
|
3518
3255
|
path?: never;
|
|
3519
3256
|
query?: {
|
|
3520
3257
|
directory?: string;
|
|
3258
|
+
workspace?: string;
|
|
3521
3259
|
};
|
|
3522
3260
|
url: "/question";
|
|
3523
3261
|
};
|
|
@@ -3540,6 +3278,7 @@ export type QuestionReplyData = {
|
|
|
3540
3278
|
};
|
|
3541
3279
|
query?: {
|
|
3542
3280
|
directory?: string;
|
|
3281
|
+
workspace?: string;
|
|
3543
3282
|
};
|
|
3544
3283
|
url: "/question/{requestID}/reply";
|
|
3545
3284
|
};
|
|
@@ -3568,6 +3307,7 @@ export type QuestionRejectData = {
|
|
|
3568
3307
|
};
|
|
3569
3308
|
query?: {
|
|
3570
3309
|
directory?: string;
|
|
3310
|
+
workspace?: string;
|
|
3571
3311
|
};
|
|
3572
3312
|
url: "/question/{requestID}/reject";
|
|
3573
3313
|
};
|
|
@@ -3594,6 +3334,7 @@ export type ProviderListData = {
|
|
|
3594
3334
|
path?: never;
|
|
3595
3335
|
query?: {
|
|
3596
3336
|
directory?: string;
|
|
3337
|
+
workspace?: string;
|
|
3597
3338
|
};
|
|
3598
3339
|
url: "/provider";
|
|
3599
3340
|
};
|
|
@@ -3674,6 +3415,7 @@ export type ProviderAuthData = {
|
|
|
3674
3415
|
path?: never;
|
|
3675
3416
|
query?: {
|
|
3676
3417
|
directory?: string;
|
|
3418
|
+
workspace?: string;
|
|
3677
3419
|
};
|
|
3678
3420
|
url: "/provider/auth";
|
|
3679
3421
|
};
|
|
@@ -3701,6 +3443,7 @@ export type ProviderOauthAuthorizeData = {
|
|
|
3701
3443
|
};
|
|
3702
3444
|
query?: {
|
|
3703
3445
|
directory?: string;
|
|
3446
|
+
workspace?: string;
|
|
3704
3447
|
};
|
|
3705
3448
|
url: "/provider/{providerID}/oauth/authorize";
|
|
3706
3449
|
};
|
|
@@ -3737,6 +3480,7 @@ export type ProviderOauthCallbackData = {
|
|
|
3737
3480
|
};
|
|
3738
3481
|
query?: {
|
|
3739
3482
|
directory?: string;
|
|
3483
|
+
workspace?: string;
|
|
3740
3484
|
};
|
|
3741
3485
|
url: "/provider/{providerID}/oauth/callback";
|
|
3742
3486
|
};
|
|
@@ -3759,6 +3503,7 @@ export type FindTextData = {
|
|
|
3759
3503
|
path?: never;
|
|
3760
3504
|
query: {
|
|
3761
3505
|
directory?: string;
|
|
3506
|
+
workspace?: string;
|
|
3762
3507
|
pattern: string;
|
|
3763
3508
|
};
|
|
3764
3509
|
url: "/find";
|
|
@@ -3791,6 +3536,7 @@ export type FindFilesData = {
|
|
|
3791
3536
|
path?: never;
|
|
3792
3537
|
query: {
|
|
3793
3538
|
directory?: string;
|
|
3539
|
+
workspace?: string;
|
|
3794
3540
|
query: string;
|
|
3795
3541
|
dirs?: "true" | "false";
|
|
3796
3542
|
type?: "file" | "directory";
|
|
@@ -3810,6 +3556,7 @@ export type FindSymbolsData = {
|
|
|
3810
3556
|
path?: never;
|
|
3811
3557
|
query: {
|
|
3812
3558
|
directory?: string;
|
|
3559
|
+
workspace?: string;
|
|
3813
3560
|
query: string;
|
|
3814
3561
|
};
|
|
3815
3562
|
url: "/find/symbol";
|
|
@@ -3826,6 +3573,7 @@ export type FileListData = {
|
|
|
3826
3573
|
path?: never;
|
|
3827
3574
|
query: {
|
|
3828
3575
|
directory?: string;
|
|
3576
|
+
workspace?: string;
|
|
3829
3577
|
path: string;
|
|
3830
3578
|
};
|
|
3831
3579
|
url: "/file";
|
|
@@ -3842,6 +3590,7 @@ export type FileReadData = {
|
|
|
3842
3590
|
path?: never;
|
|
3843
3591
|
query: {
|
|
3844
3592
|
directory?: string;
|
|
3593
|
+
workspace?: string;
|
|
3845
3594
|
path: string;
|
|
3846
3595
|
};
|
|
3847
3596
|
url: "/file/content";
|
|
@@ -3858,6 +3607,7 @@ export type FileStatusData = {
|
|
|
3858
3607
|
path?: never;
|
|
3859
3608
|
query?: {
|
|
3860
3609
|
directory?: string;
|
|
3610
|
+
workspace?: string;
|
|
3861
3611
|
};
|
|
3862
3612
|
url: "/file/status";
|
|
3863
3613
|
};
|
|
@@ -3873,6 +3623,7 @@ export type McpStatusData = {
|
|
|
3873
3623
|
path?: never;
|
|
3874
3624
|
query?: {
|
|
3875
3625
|
directory?: string;
|
|
3626
|
+
workspace?: string;
|
|
3876
3627
|
};
|
|
3877
3628
|
url: "/mcp";
|
|
3878
3629
|
};
|
|
@@ -3893,6 +3644,7 @@ export type McpAddData = {
|
|
|
3893
3644
|
path?: never;
|
|
3894
3645
|
query?: {
|
|
3895
3646
|
directory?: string;
|
|
3647
|
+
workspace?: string;
|
|
3896
3648
|
};
|
|
3897
3649
|
url: "/mcp";
|
|
3898
3650
|
};
|
|
@@ -3919,6 +3671,7 @@ export type McpAuthRemoveData = {
|
|
|
3919
3671
|
};
|
|
3920
3672
|
query?: {
|
|
3921
3673
|
directory?: string;
|
|
3674
|
+
workspace?: string;
|
|
3922
3675
|
};
|
|
3923
3676
|
url: "/mcp/{name}/auth";
|
|
3924
3677
|
};
|
|
@@ -3945,6 +3698,7 @@ export type McpAuthStartData = {
|
|
|
3945
3698
|
};
|
|
3946
3699
|
query?: {
|
|
3947
3700
|
directory?: string;
|
|
3701
|
+
workspace?: string;
|
|
3948
3702
|
};
|
|
3949
3703
|
url: "/mcp/{name}/auth";
|
|
3950
3704
|
};
|
|
@@ -3983,6 +3737,7 @@ export type McpAuthCallbackData = {
|
|
|
3983
3737
|
};
|
|
3984
3738
|
query?: {
|
|
3985
3739
|
directory?: string;
|
|
3740
|
+
workspace?: string;
|
|
3986
3741
|
};
|
|
3987
3742
|
url: "/mcp/{name}/auth/callback";
|
|
3988
3743
|
};
|
|
@@ -4011,6 +3766,7 @@ export type McpAuthAuthenticateData = {
|
|
|
4011
3766
|
};
|
|
4012
3767
|
query?: {
|
|
4013
3768
|
directory?: string;
|
|
3769
|
+
workspace?: string;
|
|
4014
3770
|
};
|
|
4015
3771
|
url: "/mcp/{name}/auth/authenticate";
|
|
4016
3772
|
};
|
|
@@ -4039,6 +3795,7 @@ export type McpConnectData = {
|
|
|
4039
3795
|
};
|
|
4040
3796
|
query?: {
|
|
4041
3797
|
directory?: string;
|
|
3798
|
+
workspace?: string;
|
|
4042
3799
|
};
|
|
4043
3800
|
url: "/mcp/{name}/connect";
|
|
4044
3801
|
};
|
|
@@ -4056,6 +3813,7 @@ export type McpDisconnectData = {
|
|
|
4056
3813
|
};
|
|
4057
3814
|
query?: {
|
|
4058
3815
|
directory?: string;
|
|
3816
|
+
workspace?: string;
|
|
4059
3817
|
};
|
|
4060
3818
|
url: "/mcp/{name}/disconnect";
|
|
4061
3819
|
};
|
|
@@ -4073,6 +3831,7 @@ export type TuiAppendPromptData = {
|
|
|
4073
3831
|
path?: never;
|
|
4074
3832
|
query?: {
|
|
4075
3833
|
directory?: string;
|
|
3834
|
+
workspace?: string;
|
|
4076
3835
|
};
|
|
4077
3836
|
url: "/tui/append-prompt";
|
|
4078
3837
|
};
|
|
@@ -4095,6 +3854,7 @@ export type TuiOpenHelpData = {
|
|
|
4095
3854
|
path?: never;
|
|
4096
3855
|
query?: {
|
|
4097
3856
|
directory?: string;
|
|
3857
|
+
workspace?: string;
|
|
4098
3858
|
};
|
|
4099
3859
|
url: "/tui/open-help";
|
|
4100
3860
|
};
|
|
@@ -4110,6 +3870,7 @@ export type TuiOpenSessionsData = {
|
|
|
4110
3870
|
path?: never;
|
|
4111
3871
|
query?: {
|
|
4112
3872
|
directory?: string;
|
|
3873
|
+
workspace?: string;
|
|
4113
3874
|
};
|
|
4114
3875
|
url: "/tui/open-sessions";
|
|
4115
3876
|
};
|
|
@@ -4125,6 +3886,7 @@ export type TuiOpenThemesData = {
|
|
|
4125
3886
|
path?: never;
|
|
4126
3887
|
query?: {
|
|
4127
3888
|
directory?: string;
|
|
3889
|
+
workspace?: string;
|
|
4128
3890
|
};
|
|
4129
3891
|
url: "/tui/open-themes";
|
|
4130
3892
|
};
|
|
@@ -4140,6 +3902,7 @@ export type TuiOpenModelsData = {
|
|
|
4140
3902
|
path?: never;
|
|
4141
3903
|
query?: {
|
|
4142
3904
|
directory?: string;
|
|
3905
|
+
workspace?: string;
|
|
4143
3906
|
};
|
|
4144
3907
|
url: "/tui/open-models";
|
|
4145
3908
|
};
|
|
@@ -4155,6 +3918,7 @@ export type TuiSubmitPromptData = {
|
|
|
4155
3918
|
path?: never;
|
|
4156
3919
|
query?: {
|
|
4157
3920
|
directory?: string;
|
|
3921
|
+
workspace?: string;
|
|
4158
3922
|
};
|
|
4159
3923
|
url: "/tui/submit-prompt";
|
|
4160
3924
|
};
|
|
@@ -4170,6 +3934,7 @@ export type TuiClearPromptData = {
|
|
|
4170
3934
|
path?: never;
|
|
4171
3935
|
query?: {
|
|
4172
3936
|
directory?: string;
|
|
3937
|
+
workspace?: string;
|
|
4173
3938
|
};
|
|
4174
3939
|
url: "/tui/clear-prompt";
|
|
4175
3940
|
};
|
|
@@ -4187,6 +3952,7 @@ export type TuiExecuteCommandData = {
|
|
|
4187
3952
|
path?: never;
|
|
4188
3953
|
query?: {
|
|
4189
3954
|
directory?: string;
|
|
3955
|
+
workspace?: string;
|
|
4190
3956
|
};
|
|
4191
3957
|
url: "/tui/execute-command";
|
|
4192
3958
|
};
|
|
@@ -4217,6 +3983,7 @@ export type TuiShowToastData = {
|
|
|
4217
3983
|
path?: never;
|
|
4218
3984
|
query?: {
|
|
4219
3985
|
directory?: string;
|
|
3986
|
+
workspace?: string;
|
|
4220
3987
|
};
|
|
4221
3988
|
url: "/tui/show-toast";
|
|
4222
3989
|
};
|
|
@@ -4232,6 +3999,7 @@ export type TuiPublishData = {
|
|
|
4232
3999
|
path?: never;
|
|
4233
4000
|
query?: {
|
|
4234
4001
|
directory?: string;
|
|
4002
|
+
workspace?: string;
|
|
4235
4003
|
};
|
|
4236
4004
|
url: "/tui/publish";
|
|
4237
4005
|
};
|
|
@@ -4259,6 +4027,7 @@ export type TuiSelectSessionData = {
|
|
|
4259
4027
|
path?: never;
|
|
4260
4028
|
query?: {
|
|
4261
4029
|
directory?: string;
|
|
4030
|
+
workspace?: string;
|
|
4262
4031
|
};
|
|
4263
4032
|
url: "/tui/select-session";
|
|
4264
4033
|
};
|
|
@@ -4285,6 +4054,7 @@ export type TuiControlNextData = {
|
|
|
4285
4054
|
path?: never;
|
|
4286
4055
|
query?: {
|
|
4287
4056
|
directory?: string;
|
|
4057
|
+
workspace?: string;
|
|
4288
4058
|
};
|
|
4289
4059
|
url: "/tui/control/next";
|
|
4290
4060
|
};
|
|
@@ -4303,6 +4073,7 @@ export type TuiControlResponseData = {
|
|
|
4303
4073
|
path?: never;
|
|
4304
4074
|
query?: {
|
|
4305
4075
|
directory?: string;
|
|
4076
|
+
workspace?: string;
|
|
4306
4077
|
};
|
|
4307
4078
|
url: "/tui/control/response";
|
|
4308
4079
|
};
|
|
@@ -4318,6 +4089,7 @@ export type InstanceDisposeData = {
|
|
|
4318
4089
|
path?: never;
|
|
4319
4090
|
query?: {
|
|
4320
4091
|
directory?: string;
|
|
4092
|
+
workspace?: string;
|
|
4321
4093
|
};
|
|
4322
4094
|
url: "/instance/dispose";
|
|
4323
4095
|
};
|
|
@@ -4333,6 +4105,7 @@ export type PathGetData = {
|
|
|
4333
4105
|
path?: never;
|
|
4334
4106
|
query?: {
|
|
4335
4107
|
directory?: string;
|
|
4108
|
+
workspace?: string;
|
|
4336
4109
|
};
|
|
4337
4110
|
url: "/path";
|
|
4338
4111
|
};
|
|
@@ -4348,6 +4121,7 @@ export type VcsGetData = {
|
|
|
4348
4121
|
path?: never;
|
|
4349
4122
|
query?: {
|
|
4350
4123
|
directory?: string;
|
|
4124
|
+
workspace?: string;
|
|
4351
4125
|
};
|
|
4352
4126
|
url: "/vcs";
|
|
4353
4127
|
};
|
|
@@ -4363,6 +4137,7 @@ export type CommandListData = {
|
|
|
4363
4137
|
path?: never;
|
|
4364
4138
|
query?: {
|
|
4365
4139
|
directory?: string;
|
|
4140
|
+
workspace?: string;
|
|
4366
4141
|
};
|
|
4367
4142
|
url: "/command";
|
|
4368
4143
|
};
|
|
@@ -4397,6 +4172,7 @@ export type AppLogData = {
|
|
|
4397
4172
|
path?: never;
|
|
4398
4173
|
query?: {
|
|
4399
4174
|
directory?: string;
|
|
4175
|
+
workspace?: string;
|
|
4400
4176
|
};
|
|
4401
4177
|
url: "/log";
|
|
4402
4178
|
};
|
|
@@ -4419,6 +4195,7 @@ export type AppAgentsData = {
|
|
|
4419
4195
|
path?: never;
|
|
4420
4196
|
query?: {
|
|
4421
4197
|
directory?: string;
|
|
4198
|
+
workspace?: string;
|
|
4422
4199
|
};
|
|
4423
4200
|
url: "/agent";
|
|
4424
4201
|
};
|
|
@@ -4434,6 +4211,7 @@ export type AppSkillsData = {
|
|
|
4434
4211
|
path?: never;
|
|
4435
4212
|
query?: {
|
|
4436
4213
|
directory?: string;
|
|
4214
|
+
workspace?: string;
|
|
4437
4215
|
};
|
|
4438
4216
|
url: "/skill";
|
|
4439
4217
|
};
|
|
@@ -4454,6 +4232,7 @@ export type LspStatusData = {
|
|
|
4454
4232
|
path?: never;
|
|
4455
4233
|
query?: {
|
|
4456
4234
|
directory?: string;
|
|
4235
|
+
workspace?: string;
|
|
4457
4236
|
};
|
|
4458
4237
|
url: "/lsp";
|
|
4459
4238
|
};
|
|
@@ -4469,6 +4248,7 @@ export type FormatterStatusData = {
|
|
|
4469
4248
|
path?: never;
|
|
4470
4249
|
query?: {
|
|
4471
4250
|
directory?: string;
|
|
4251
|
+
workspace?: string;
|
|
4472
4252
|
};
|
|
4473
4253
|
url: "/formatter";
|
|
4474
4254
|
};
|
|
@@ -4484,6 +4264,7 @@ export type EventSubscribeData = {
|
|
|
4484
4264
|
path?: never;
|
|
4485
4265
|
query?: {
|
|
4486
4266
|
directory?: string;
|
|
4267
|
+
workspace?: string;
|
|
4487
4268
|
};
|
|
4488
4269
|
url: "/event";
|
|
4489
4270
|
};
|