@opencode-ai/sdk 1.2.15 → 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.
@@ -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,20 +811,7 @@ export type EventPtyDeleted = {
784
811
  id: string;
785
812
  };
786
813
  };
787
- export type EventWorktreeReady = {
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;
@@ -1377,6 +1391,15 @@ export type WorktreeCreateInput = {
1377
1391
  */
1378
1392
  startCommand?: string;
1379
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
+ };
1380
1403
  export type WorktreeRemoveInput = {
1381
1404
  directory: string;
1382
1405
  };
@@ -1392,6 +1415,7 @@ export type GlobalSession = {
1392
1415
  id: string;
1393
1416
  slug: string;
1394
1417
  projectID: string;
1418
+ workspaceID?: string;
1395
1419
  directory: string;
1396
1420
  parentID?: string;
1397
1421
  summary?: {
@@ -1716,6 +1740,7 @@ export type ProjectListData = {
1716
1740
  path?: never;
1717
1741
  query?: {
1718
1742
  directory?: string;
1743
+ workspace?: string;
1719
1744
  };
1720
1745
  url: "/project";
1721
1746
  };
@@ -1731,6 +1756,7 @@ export type ProjectCurrentData = {
1731
1756
  path?: never;
1732
1757
  query?: {
1733
1758
  directory?: string;
1759
+ workspace?: string;
1734
1760
  };
1735
1761
  url: "/project/current";
1736
1762
  };
@@ -1761,6 +1787,7 @@ export type ProjectUpdateData = {
1761
1787
  };
1762
1788
  query?: {
1763
1789
  directory?: string;
1790
+ workspace?: string;
1764
1791
  };
1765
1792
  url: "/project/{projectID}";
1766
1793
  };
@@ -1787,6 +1814,7 @@ export type PtyListData = {
1787
1814
  path?: never;
1788
1815
  query?: {
1789
1816
  directory?: string;
1817
+ workspace?: string;
1790
1818
  };
1791
1819
  url: "/pty";
1792
1820
  };
@@ -1810,6 +1838,7 @@ export type PtyCreateData = {
1810
1838
  path?: never;
1811
1839
  query?: {
1812
1840
  directory?: string;
1841
+ workspace?: string;
1813
1842
  };
1814
1843
  url: "/pty";
1815
1844
  };
@@ -1834,6 +1863,7 @@ export type PtyRemoveData = {
1834
1863
  };
1835
1864
  query?: {
1836
1865
  directory?: string;
1866
+ workspace?: string;
1837
1867
  };
1838
1868
  url: "/pty/{ptyID}";
1839
1869
  };
@@ -1858,6 +1888,7 @@ export type PtyGetData = {
1858
1888
  };
1859
1889
  query?: {
1860
1890
  directory?: string;
1891
+ workspace?: string;
1861
1892
  };
1862
1893
  url: "/pty/{ptyID}";
1863
1894
  };
@@ -1888,6 +1919,7 @@ export type PtyUpdateData = {
1888
1919
  };
1889
1920
  query?: {
1890
1921
  directory?: string;
1922
+ workspace?: string;
1891
1923
  };
1892
1924
  url: "/pty/{ptyID}";
1893
1925
  };
@@ -1912,6 +1944,7 @@ export type PtyConnectData = {
1912
1944
  };
1913
1945
  query?: {
1914
1946
  directory?: string;
1947
+ workspace?: string;
1915
1948
  };
1916
1949
  url: "/pty/{ptyID}/connect";
1917
1950
  };
@@ -1934,6 +1967,7 @@ export type ConfigGetData = {
1934
1967
  path?: never;
1935
1968
  query?: {
1936
1969
  directory?: string;
1970
+ workspace?: string;
1937
1971
  };
1938
1972
  url: "/config";
1939
1973
  };
@@ -1949,6 +1983,7 @@ export type ConfigUpdateData = {
1949
1983
  path?: never;
1950
1984
  query?: {
1951
1985
  directory?: string;
1986
+ workspace?: string;
1952
1987
  };
1953
1988
  url: "/config";
1954
1989
  };
@@ -1971,6 +2006,7 @@ export type ConfigProvidersData = {
1971
2006
  path?: never;
1972
2007
  query?: {
1973
2008
  directory?: string;
2009
+ workspace?: string;
1974
2010
  };
1975
2011
  url: "/config/providers";
1976
2012
  };
@@ -1991,6 +2027,7 @@ export type ToolIdsData = {
1991
2027
  path?: never;
1992
2028
  query?: {
1993
2029
  directory?: string;
2030
+ workspace?: string;
1994
2031
  };
1995
2032
  url: "/experimental/tool/ids";
1996
2033
  };
@@ -2013,6 +2050,7 @@ export type ToolListData = {
2013
2050
  path?: never;
2014
2051
  query: {
2015
2052
  directory?: string;
2053
+ workspace?: string;
2016
2054
  provider: string;
2017
2055
  model: string;
2018
2056
  };
@@ -2037,6 +2075,7 @@ export type WorktreeRemoveData = {
2037
2075
  path?: never;
2038
2076
  query?: {
2039
2077
  directory?: string;
2078
+ workspace?: string;
2040
2079
  };
2041
2080
  url: "/experimental/worktree";
2042
2081
  };
@@ -2059,6 +2098,7 @@ export type WorktreeListData = {
2059
2098
  path?: never;
2060
2099
  query?: {
2061
2100
  directory?: string;
2101
+ workspace?: string;
2062
2102
  };
2063
2103
  url: "/experimental/worktree";
2064
2104
  };
@@ -2074,6 +2114,7 @@ export type WorktreeCreateData = {
2074
2114
  path?: never;
2075
2115
  query?: {
2076
2116
  directory?: string;
2117
+ workspace?: string;
2077
2118
  };
2078
2119
  url: "/experimental/worktree";
2079
2120
  };
@@ -2091,11 +2132,84 @@ export type WorktreeCreateResponses = {
2091
2132
  200: Worktree;
2092
2133
  };
2093
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];
2094
2207
  export type WorktreeResetData = {
2095
2208
  body?: WorktreeResetInput;
2096
2209
  path?: never;
2097
2210
  query?: {
2098
2211
  directory?: string;
2212
+ workspace?: string;
2099
2213
  };
2100
2214
  url: "/experimental/worktree/reset";
2101
2215
  };
@@ -2121,6 +2235,7 @@ export type ExperimentalSessionListData = {
2121
2235
  * Filter sessions by project directory
2122
2236
  */
2123
2237
  directory?: string;
2238
+ workspace?: string;
2124
2239
  /**
2125
2240
  * Only return root sessions (no parentID)
2126
2241
  */
@@ -2160,6 +2275,7 @@ export type ExperimentalResourceListData = {
2160
2275
  path?: never;
2161
2276
  query?: {
2162
2277
  directory?: string;
2278
+ workspace?: string;
2163
2279
  };
2164
2280
  url: "/experimental/resource";
2165
2281
  };
@@ -2180,6 +2296,7 @@ export type SessionListData = {
2180
2296
  * Filter sessions by project directory
2181
2297
  */
2182
2298
  directory?: string;
2299
+ workspace?: string;
2183
2300
  /**
2184
2301
  * Only return root sessions (no parentID)
2185
2302
  */
@@ -2215,6 +2332,7 @@ export type SessionCreateData = {
2215
2332
  path?: never;
2216
2333
  query?: {
2217
2334
  directory?: string;
2335
+ workspace?: string;
2218
2336
  };
2219
2337
  url: "/session";
2220
2338
  };
@@ -2237,6 +2355,7 @@ export type SessionStatusData = {
2237
2355
  path?: never;
2238
2356
  query?: {
2239
2357
  directory?: string;
2358
+ workspace?: string;
2240
2359
  };
2241
2360
  url: "/session/status";
2242
2361
  };
@@ -2263,6 +2382,7 @@ export type SessionDeleteData = {
2263
2382
  };
2264
2383
  query?: {
2265
2384
  directory?: string;
2385
+ workspace?: string;
2266
2386
  };
2267
2387
  url: "/session/{sessionID}";
2268
2388
  };
@@ -2291,6 +2411,7 @@ export type SessionGetData = {
2291
2411
  };
2292
2412
  query?: {
2293
2413
  directory?: string;
2414
+ workspace?: string;
2294
2415
  };
2295
2416
  url: "/session/{sessionID}";
2296
2417
  };
@@ -2324,6 +2445,7 @@ export type SessionUpdateData = {
2324
2445
  };
2325
2446
  query?: {
2326
2447
  directory?: string;
2448
+ workspace?: string;
2327
2449
  };
2328
2450
  url: "/session/{sessionID}";
2329
2451
  };
@@ -2352,6 +2474,7 @@ export type SessionChildrenData = {
2352
2474
  };
2353
2475
  query?: {
2354
2476
  directory?: string;
2477
+ workspace?: string;
2355
2478
  };
2356
2479
  url: "/session/{sessionID}/children";
2357
2480
  };
@@ -2383,6 +2506,7 @@ export type SessionTodoData = {
2383
2506
  };
2384
2507
  query?: {
2385
2508
  directory?: string;
2509
+ workspace?: string;
2386
2510
  };
2387
2511
  url: "/session/{sessionID}/todo";
2388
2512
  };
@@ -2418,6 +2542,7 @@ export type SessionInitData = {
2418
2542
  };
2419
2543
  query?: {
2420
2544
  directory?: string;
2545
+ workspace?: string;
2421
2546
  };
2422
2547
  url: "/session/{sessionID}/init";
2423
2548
  };
@@ -2448,6 +2573,7 @@ export type SessionForkData = {
2448
2573
  };
2449
2574
  query?: {
2450
2575
  directory?: string;
2576
+ workspace?: string;
2451
2577
  };
2452
2578
  url: "/session/{sessionID}/fork";
2453
2579
  };
@@ -2465,6 +2591,7 @@ export type SessionAbortData = {
2465
2591
  };
2466
2592
  query?: {
2467
2593
  directory?: string;
2594
+ workspace?: string;
2468
2595
  };
2469
2596
  url: "/session/{sessionID}/abort";
2470
2597
  };
@@ -2493,6 +2620,7 @@ export type SessionUnshareData = {
2493
2620
  };
2494
2621
  query?: {
2495
2622
  directory?: string;
2623
+ workspace?: string;
2496
2624
  };
2497
2625
  url: "/session/{sessionID}/share";
2498
2626
  };
@@ -2521,6 +2649,7 @@ export type SessionShareData = {
2521
2649
  };
2522
2650
  query?: {
2523
2651
  directory?: string;
2652
+ workspace?: string;
2524
2653
  };
2525
2654
  url: "/session/{sessionID}/share";
2526
2655
  };
@@ -2549,6 +2678,7 @@ export type SessionDiffData = {
2549
2678
  };
2550
2679
  query?: {
2551
2680
  directory?: string;
2681
+ workspace?: string;
2552
2682
  messageID?: string;
2553
2683
  };
2554
2684
  url: "/session/{sessionID}/diff";
@@ -2574,6 +2704,7 @@ export type SessionSummarizeData = {
2574
2704
  };
2575
2705
  query?: {
2576
2706
  directory?: string;
2707
+ workspace?: string;
2577
2708
  };
2578
2709
  url: "/session/{sessionID}/summarize";
2579
2710
  };
@@ -2605,6 +2736,7 @@ export type SessionMessagesData = {
2605
2736
  };
2606
2737
  query?: {
2607
2738
  directory?: string;
2739
+ workspace?: string;
2608
2740
  limit?: number;
2609
2741
  };
2610
2742
  url: "/session/{sessionID}/message";
@@ -2658,6 +2790,7 @@ export type SessionPromptData = {
2658
2790
  };
2659
2791
  query?: {
2660
2792
  directory?: string;
2793
+ workspace?: string;
2661
2794
  };
2662
2795
  url: "/session/{sessionID}/message";
2663
2796
  };
@@ -2696,6 +2829,7 @@ export type SessionDeleteMessageData = {
2696
2829
  };
2697
2830
  query?: {
2698
2831
  directory?: string;
2832
+ workspace?: string;
2699
2833
  };
2700
2834
  url: "/session/{sessionID}/message/{messageID}";
2701
2835
  };
@@ -2731,6 +2865,7 @@ export type SessionMessageData = {
2731
2865
  };
2732
2866
  query?: {
2733
2867
  directory?: string;
2868
+ workspace?: string;
2734
2869
  };
2735
2870
  url: "/session/{sessionID}/message/{messageID}";
2736
2871
  };
@@ -2773,6 +2908,7 @@ export type PartDeleteData = {
2773
2908
  };
2774
2909
  query?: {
2775
2910
  directory?: string;
2911
+ workspace?: string;
2776
2912
  };
2777
2913
  url: "/session/{sessionID}/message/{messageID}/part/{partID}";
2778
2914
  };
@@ -2812,6 +2948,7 @@ export type PartUpdateData = {
2812
2948
  };
2813
2949
  query?: {
2814
2950
  directory?: string;
2951
+ workspace?: string;
2815
2952
  };
2816
2953
  url: "/session/{sessionID}/message/{messageID}/part/{partID}";
2817
2954
  };
@@ -2861,6 +2998,7 @@ export type SessionPromptAsyncData = {
2861
2998
  };
2862
2999
  query?: {
2863
3000
  directory?: string;
3001
+ workspace?: string;
2864
3002
  };
2865
3003
  url: "/session/{sessionID}/prompt_async";
2866
3004
  };
@@ -2907,6 +3045,7 @@ export type SessionCommandData = {
2907
3045
  };
2908
3046
  query?: {
2909
3047
  directory?: string;
3048
+ workspace?: string;
2910
3049
  };
2911
3050
  url: "/session/{sessionID}/command";
2912
3051
  };
@@ -2948,6 +3087,7 @@ export type SessionShellData = {
2948
3087
  };
2949
3088
  query?: {
2950
3089
  directory?: string;
3090
+ workspace?: string;
2951
3091
  };
2952
3092
  url: "/session/{sessionID}/shell";
2953
3093
  };
@@ -2979,6 +3119,7 @@ export type SessionRevertData = {
2979
3119
  };
2980
3120
  query?: {
2981
3121
  directory?: string;
3122
+ workspace?: string;
2982
3123
  };
2983
3124
  url: "/session/{sessionID}/revert";
2984
3125
  };
@@ -3007,6 +3148,7 @@ export type SessionUnrevertData = {
3007
3148
  };
3008
3149
  query?: {
3009
3150
  directory?: string;
3151
+ workspace?: string;
3010
3152
  };
3011
3153
  url: "/session/{sessionID}/unrevert";
3012
3154
  };
@@ -3038,6 +3180,7 @@ export type PermissionRespondData = {
3038
3180
  };
3039
3181
  query?: {
3040
3182
  directory?: string;
3183
+ workspace?: string;
3041
3184
  };
3042
3185
  url: "/session/{sessionID}/permissions/{permissionID}";
3043
3186
  };
@@ -3069,6 +3212,7 @@ export type PermissionReplyData = {
3069
3212
  };
3070
3213
  query?: {
3071
3214
  directory?: string;
3215
+ workspace?: string;
3072
3216
  };
3073
3217
  url: "/permission/{requestID}/reply";
3074
3218
  };
@@ -3095,6 +3239,7 @@ export type PermissionListData = {
3095
3239
  path?: never;
3096
3240
  query?: {
3097
3241
  directory?: string;
3242
+ workspace?: string;
3098
3243
  };
3099
3244
  url: "/permission";
3100
3245
  };
@@ -3110,6 +3255,7 @@ export type QuestionListData = {
3110
3255
  path?: never;
3111
3256
  query?: {
3112
3257
  directory?: string;
3258
+ workspace?: string;
3113
3259
  };
3114
3260
  url: "/question";
3115
3261
  };
@@ -3132,6 +3278,7 @@ export type QuestionReplyData = {
3132
3278
  };
3133
3279
  query?: {
3134
3280
  directory?: string;
3281
+ workspace?: string;
3135
3282
  };
3136
3283
  url: "/question/{requestID}/reply";
3137
3284
  };
@@ -3160,6 +3307,7 @@ export type QuestionRejectData = {
3160
3307
  };
3161
3308
  query?: {
3162
3309
  directory?: string;
3310
+ workspace?: string;
3163
3311
  };
3164
3312
  url: "/question/{requestID}/reject";
3165
3313
  };
@@ -3186,6 +3334,7 @@ export type ProviderListData = {
3186
3334
  path?: never;
3187
3335
  query?: {
3188
3336
  directory?: string;
3337
+ workspace?: string;
3189
3338
  };
3190
3339
  url: "/provider";
3191
3340
  };
@@ -3266,6 +3415,7 @@ export type ProviderAuthData = {
3266
3415
  path?: never;
3267
3416
  query?: {
3268
3417
  directory?: string;
3418
+ workspace?: string;
3269
3419
  };
3270
3420
  url: "/provider/auth";
3271
3421
  };
@@ -3293,6 +3443,7 @@ export type ProviderOauthAuthorizeData = {
3293
3443
  };
3294
3444
  query?: {
3295
3445
  directory?: string;
3446
+ workspace?: string;
3296
3447
  };
3297
3448
  url: "/provider/{providerID}/oauth/authorize";
3298
3449
  };
@@ -3329,6 +3480,7 @@ export type ProviderOauthCallbackData = {
3329
3480
  };
3330
3481
  query?: {
3331
3482
  directory?: string;
3483
+ workspace?: string;
3332
3484
  };
3333
3485
  url: "/provider/{providerID}/oauth/callback";
3334
3486
  };
@@ -3351,6 +3503,7 @@ export type FindTextData = {
3351
3503
  path?: never;
3352
3504
  query: {
3353
3505
  directory?: string;
3506
+ workspace?: string;
3354
3507
  pattern: string;
3355
3508
  };
3356
3509
  url: "/find";
@@ -3383,6 +3536,7 @@ export type FindFilesData = {
3383
3536
  path?: never;
3384
3537
  query: {
3385
3538
  directory?: string;
3539
+ workspace?: string;
3386
3540
  query: string;
3387
3541
  dirs?: "true" | "false";
3388
3542
  type?: "file" | "directory";
@@ -3402,6 +3556,7 @@ export type FindSymbolsData = {
3402
3556
  path?: never;
3403
3557
  query: {
3404
3558
  directory?: string;
3559
+ workspace?: string;
3405
3560
  query: string;
3406
3561
  };
3407
3562
  url: "/find/symbol";
@@ -3418,6 +3573,7 @@ export type FileListData = {
3418
3573
  path?: never;
3419
3574
  query: {
3420
3575
  directory?: string;
3576
+ workspace?: string;
3421
3577
  path: string;
3422
3578
  };
3423
3579
  url: "/file";
@@ -3434,6 +3590,7 @@ export type FileReadData = {
3434
3590
  path?: never;
3435
3591
  query: {
3436
3592
  directory?: string;
3593
+ workspace?: string;
3437
3594
  path: string;
3438
3595
  };
3439
3596
  url: "/file/content";
@@ -3450,6 +3607,7 @@ export type FileStatusData = {
3450
3607
  path?: never;
3451
3608
  query?: {
3452
3609
  directory?: string;
3610
+ workspace?: string;
3453
3611
  };
3454
3612
  url: "/file/status";
3455
3613
  };
@@ -3465,6 +3623,7 @@ export type McpStatusData = {
3465
3623
  path?: never;
3466
3624
  query?: {
3467
3625
  directory?: string;
3626
+ workspace?: string;
3468
3627
  };
3469
3628
  url: "/mcp";
3470
3629
  };
@@ -3485,6 +3644,7 @@ export type McpAddData = {
3485
3644
  path?: never;
3486
3645
  query?: {
3487
3646
  directory?: string;
3647
+ workspace?: string;
3488
3648
  };
3489
3649
  url: "/mcp";
3490
3650
  };
@@ -3511,6 +3671,7 @@ export type McpAuthRemoveData = {
3511
3671
  };
3512
3672
  query?: {
3513
3673
  directory?: string;
3674
+ workspace?: string;
3514
3675
  };
3515
3676
  url: "/mcp/{name}/auth";
3516
3677
  };
@@ -3537,6 +3698,7 @@ export type McpAuthStartData = {
3537
3698
  };
3538
3699
  query?: {
3539
3700
  directory?: string;
3701
+ workspace?: string;
3540
3702
  };
3541
3703
  url: "/mcp/{name}/auth";
3542
3704
  };
@@ -3575,6 +3737,7 @@ export type McpAuthCallbackData = {
3575
3737
  };
3576
3738
  query?: {
3577
3739
  directory?: string;
3740
+ workspace?: string;
3578
3741
  };
3579
3742
  url: "/mcp/{name}/auth/callback";
3580
3743
  };
@@ -3603,6 +3766,7 @@ export type McpAuthAuthenticateData = {
3603
3766
  };
3604
3767
  query?: {
3605
3768
  directory?: string;
3769
+ workspace?: string;
3606
3770
  };
3607
3771
  url: "/mcp/{name}/auth/authenticate";
3608
3772
  };
@@ -3631,6 +3795,7 @@ export type McpConnectData = {
3631
3795
  };
3632
3796
  query?: {
3633
3797
  directory?: string;
3798
+ workspace?: string;
3634
3799
  };
3635
3800
  url: "/mcp/{name}/connect";
3636
3801
  };
@@ -3648,6 +3813,7 @@ export type McpDisconnectData = {
3648
3813
  };
3649
3814
  query?: {
3650
3815
  directory?: string;
3816
+ workspace?: string;
3651
3817
  };
3652
3818
  url: "/mcp/{name}/disconnect";
3653
3819
  };
@@ -3665,6 +3831,7 @@ export type TuiAppendPromptData = {
3665
3831
  path?: never;
3666
3832
  query?: {
3667
3833
  directory?: string;
3834
+ workspace?: string;
3668
3835
  };
3669
3836
  url: "/tui/append-prompt";
3670
3837
  };
@@ -3687,6 +3854,7 @@ export type TuiOpenHelpData = {
3687
3854
  path?: never;
3688
3855
  query?: {
3689
3856
  directory?: string;
3857
+ workspace?: string;
3690
3858
  };
3691
3859
  url: "/tui/open-help";
3692
3860
  };
@@ -3702,6 +3870,7 @@ export type TuiOpenSessionsData = {
3702
3870
  path?: never;
3703
3871
  query?: {
3704
3872
  directory?: string;
3873
+ workspace?: string;
3705
3874
  };
3706
3875
  url: "/tui/open-sessions";
3707
3876
  };
@@ -3717,6 +3886,7 @@ export type TuiOpenThemesData = {
3717
3886
  path?: never;
3718
3887
  query?: {
3719
3888
  directory?: string;
3889
+ workspace?: string;
3720
3890
  };
3721
3891
  url: "/tui/open-themes";
3722
3892
  };
@@ -3732,6 +3902,7 @@ export type TuiOpenModelsData = {
3732
3902
  path?: never;
3733
3903
  query?: {
3734
3904
  directory?: string;
3905
+ workspace?: string;
3735
3906
  };
3736
3907
  url: "/tui/open-models";
3737
3908
  };
@@ -3747,6 +3918,7 @@ export type TuiSubmitPromptData = {
3747
3918
  path?: never;
3748
3919
  query?: {
3749
3920
  directory?: string;
3921
+ workspace?: string;
3750
3922
  };
3751
3923
  url: "/tui/submit-prompt";
3752
3924
  };
@@ -3762,6 +3934,7 @@ export type TuiClearPromptData = {
3762
3934
  path?: never;
3763
3935
  query?: {
3764
3936
  directory?: string;
3937
+ workspace?: string;
3765
3938
  };
3766
3939
  url: "/tui/clear-prompt";
3767
3940
  };
@@ -3779,6 +3952,7 @@ export type TuiExecuteCommandData = {
3779
3952
  path?: never;
3780
3953
  query?: {
3781
3954
  directory?: string;
3955
+ workspace?: string;
3782
3956
  };
3783
3957
  url: "/tui/execute-command";
3784
3958
  };
@@ -3809,6 +3983,7 @@ export type TuiShowToastData = {
3809
3983
  path?: never;
3810
3984
  query?: {
3811
3985
  directory?: string;
3986
+ workspace?: string;
3812
3987
  };
3813
3988
  url: "/tui/show-toast";
3814
3989
  };
@@ -3824,6 +3999,7 @@ export type TuiPublishData = {
3824
3999
  path?: never;
3825
4000
  query?: {
3826
4001
  directory?: string;
4002
+ workspace?: string;
3827
4003
  };
3828
4004
  url: "/tui/publish";
3829
4005
  };
@@ -3851,6 +4027,7 @@ export type TuiSelectSessionData = {
3851
4027
  path?: never;
3852
4028
  query?: {
3853
4029
  directory?: string;
4030
+ workspace?: string;
3854
4031
  };
3855
4032
  url: "/tui/select-session";
3856
4033
  };
@@ -3877,6 +4054,7 @@ export type TuiControlNextData = {
3877
4054
  path?: never;
3878
4055
  query?: {
3879
4056
  directory?: string;
4057
+ workspace?: string;
3880
4058
  };
3881
4059
  url: "/tui/control/next";
3882
4060
  };
@@ -3895,6 +4073,7 @@ export type TuiControlResponseData = {
3895
4073
  path?: never;
3896
4074
  query?: {
3897
4075
  directory?: string;
4076
+ workspace?: string;
3898
4077
  };
3899
4078
  url: "/tui/control/response";
3900
4079
  };
@@ -3910,6 +4089,7 @@ export type InstanceDisposeData = {
3910
4089
  path?: never;
3911
4090
  query?: {
3912
4091
  directory?: string;
4092
+ workspace?: string;
3913
4093
  };
3914
4094
  url: "/instance/dispose";
3915
4095
  };
@@ -3925,6 +4105,7 @@ export type PathGetData = {
3925
4105
  path?: never;
3926
4106
  query?: {
3927
4107
  directory?: string;
4108
+ workspace?: string;
3928
4109
  };
3929
4110
  url: "/path";
3930
4111
  };
@@ -3940,6 +4121,7 @@ export type VcsGetData = {
3940
4121
  path?: never;
3941
4122
  query?: {
3942
4123
  directory?: string;
4124
+ workspace?: string;
3943
4125
  };
3944
4126
  url: "/vcs";
3945
4127
  };
@@ -3955,6 +4137,7 @@ export type CommandListData = {
3955
4137
  path?: never;
3956
4138
  query?: {
3957
4139
  directory?: string;
4140
+ workspace?: string;
3958
4141
  };
3959
4142
  url: "/command";
3960
4143
  };
@@ -3989,6 +4172,7 @@ export type AppLogData = {
3989
4172
  path?: never;
3990
4173
  query?: {
3991
4174
  directory?: string;
4175
+ workspace?: string;
3992
4176
  };
3993
4177
  url: "/log";
3994
4178
  };
@@ -4011,6 +4195,7 @@ export type AppAgentsData = {
4011
4195
  path?: never;
4012
4196
  query?: {
4013
4197
  directory?: string;
4198
+ workspace?: string;
4014
4199
  };
4015
4200
  url: "/agent";
4016
4201
  };
@@ -4026,6 +4211,7 @@ export type AppSkillsData = {
4026
4211
  path?: never;
4027
4212
  query?: {
4028
4213
  directory?: string;
4214
+ workspace?: string;
4029
4215
  };
4030
4216
  url: "/skill";
4031
4217
  };
@@ -4046,6 +4232,7 @@ export type LspStatusData = {
4046
4232
  path?: never;
4047
4233
  query?: {
4048
4234
  directory?: string;
4235
+ workspace?: string;
4049
4236
  };
4050
4237
  url: "/lsp";
4051
4238
  };
@@ -4061,6 +4248,7 @@ export type FormatterStatusData = {
4061
4248
  path?: never;
4062
4249
  query?: {
4063
4250
  directory?: string;
4251
+ workspace?: string;
4064
4252
  };
4065
4253
  url: "/formatter";
4066
4254
  };
@@ -4076,6 +4264,7 @@ export type EventSubscribeData = {
4076
4264
  path?: never;
4077
4265
  query?: {
4078
4266
  directory?: string;
4267
+ workspace?: string;
4079
4268
  };
4080
4269
  url: "/event";
4081
4270
  };