@opencode-ai/sdk 1.1.24 → 1.1.26

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.
@@ -20,6 +20,7 @@ export type Project = {
20
20
  name?: string;
21
21
  icon?: {
22
22
  url?: string;
23
+ override?: string;
23
24
  color?: string;
24
25
  };
25
26
  time: {
@@ -52,6 +53,12 @@ export type EventLspUpdated = {
52
53
  [key: string]: unknown;
53
54
  };
54
55
  };
56
+ export type EventFileEdited = {
57
+ type: "file.edited";
58
+ properties: {
59
+ file: string;
60
+ };
61
+ };
55
62
  export type FileDiff = {
56
63
  file: string;
57
64
  before: string;
@@ -470,7 +477,7 @@ export type QuestionInfo = {
470
477
  */
471
478
  question: string;
472
479
  /**
473
- * Very short label (max 12 chars)
480
+ * Very short label (max 30 chars)
474
481
  */
475
482
  header: string;
476
483
  /**
@@ -524,12 +531,6 @@ export type EventSessionCompacted = {
524
531
  sessionID: string;
525
532
  };
526
533
  };
527
- export type EventFileEdited = {
528
- type: "file.edited";
529
- properties: {
530
- file: string;
531
- };
532
- };
533
534
  export type Todo = {
534
535
  /**
535
536
  * Brief description of the task
@@ -555,6 +556,13 @@ export type EventTodoUpdated = {
555
556
  todos: Array<Todo>;
556
557
  };
557
558
  };
559
+ export type EventFileWatcherUpdated = {
560
+ type: "file.watcher.updated";
561
+ properties: {
562
+ file: string;
563
+ event: "add" | "change" | "unlink";
564
+ };
565
+ };
558
566
  export type EventTuiPromptAppend = {
559
567
  type: "tui.prompt.append";
560
568
  properties: {
@@ -564,7 +572,7 @@ export type EventTuiPromptAppend = {
564
572
  export type EventTuiCommandExecute = {
565
573
  type: "tui.command.execute";
566
574
  properties: {
567
- command: "session.list" | "session.new" | "session.share" | "session.interrupt" | "session.compact" | "session.page.up" | "session.page.down" | "session.half.page.up" | "session.half.page.down" | "session.first" | "session.last" | "prompt.clear" | "prompt.submit" | "agent.cycle" | string;
575
+ command: "session.list" | "session.new" | "session.share" | "session.interrupt" | "session.compact" | "session.page.up" | "session.page.down" | "session.line.up" | "session.line.down" | "session.half.page.up" | "session.half.page.down" | "session.first" | "session.last" | "prompt.clear" | "prompt.submit" | "agent.cycle" | string;
568
576
  };
569
577
  };
570
578
  export type EventTuiToastShow = {
@@ -680,13 +688,6 @@ export type EventSessionError = {
680
688
  error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageAbortedError | ApiError;
681
689
  };
682
690
  };
683
- export type EventFileWatcherUpdated = {
684
- type: "file.watcher.updated";
685
- properties: {
686
- file: string;
687
- event: "add" | "change" | "unlink";
688
- };
689
- };
690
691
  export type EventVcsBranchUpdated = {
691
692
  type: "vcs.branch.updated";
692
693
  properties: {
@@ -727,19 +728,19 @@ export type EventPtyDeleted = {
727
728
  id: string;
728
729
  };
729
730
  };
730
- export type EventServerConnected = {
731
- type: "server.connected";
731
+ export type EventGlobalDisposed = {
732
+ type: "global.disposed";
732
733
  properties: {
733
734
  [key: string]: unknown;
734
735
  };
735
736
  };
736
- export type EventGlobalDisposed = {
737
- type: "global.disposed";
737
+ export type EventServerConnected = {
738
+ type: "server.connected";
738
739
  properties: {
739
740
  [key: string]: unknown;
740
741
  };
741
742
  };
742
- export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventFileEdited | EventTodoUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventFileWatcherUpdated | EventVcsBranchUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventServerConnected | EventGlobalDisposed;
743
+ export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventLspClientDiagnostics | EventLspUpdated | EventFileEdited | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventTodoUpdated | EventFileWatcherUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventVcsBranchUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventGlobalDisposed | EventServerConnected;
743
744
  export type GlobalEvent = {
744
745
  directory: string;
745
746
  payload: Event;
@@ -857,6 +858,14 @@ export type KeybindsConfig = {
857
858
  * Scroll messages down by one page
858
859
  */
859
860
  messages_page_down?: string;
861
+ /**
862
+ * Scroll messages up by one line
863
+ */
864
+ messages_line_up?: string;
865
+ /**
866
+ * Scroll messages down by one line
867
+ */
868
+ messages_line_down?: string;
860
869
  /**
861
870
  * Scroll messages up by half page
862
871
  */
@@ -1341,10 +1350,6 @@ export type McpOAuthConfig = {
1341
1350
  * OAuth scopes to request during authorization
1342
1351
  */
1343
1352
  scope?: string;
1344
- /**
1345
- * OAuth redirect URI (default: http://127.0.0.1:19876/mcp/oauth/callback).
1346
- */
1347
- redirectUri?: string;
1348
1353
  };
1349
1354
  export type McpRemoteConfig = {
1350
1355
  /**
@@ -1594,86 +1599,6 @@ export type Config = {
1594
1599
  mcp_timeout?: number;
1595
1600
  };
1596
1601
  };
1597
- export type ToolIds = Array<string>;
1598
- export type ToolListItem = {
1599
- id: string;
1600
- description: string;
1601
- parameters: unknown;
1602
- };
1603
- export type ToolList = Array<ToolListItem>;
1604
- export type Path = {
1605
- home: string;
1606
- state: string;
1607
- config: string;
1608
- worktree: string;
1609
- directory: string;
1610
- };
1611
- export type Worktree = {
1612
- name: string;
1613
- branch: string;
1614
- directory: string;
1615
- };
1616
- export type WorktreeCreateInput = {
1617
- name?: string;
1618
- startCommand?: string;
1619
- };
1620
- export type VcsInfo = {
1621
- branch: string;
1622
- };
1623
- export type TextPartInput = {
1624
- id?: string;
1625
- type: "text";
1626
- text: string;
1627
- synthetic?: boolean;
1628
- ignored?: boolean;
1629
- time?: {
1630
- start: number;
1631
- end?: number;
1632
- };
1633
- metadata?: {
1634
- [key: string]: unknown;
1635
- };
1636
- };
1637
- export type FilePartInput = {
1638
- id?: string;
1639
- type: "file";
1640
- mime: string;
1641
- filename?: string;
1642
- url: string;
1643
- source?: FilePartSource;
1644
- };
1645
- export type AgentPartInput = {
1646
- id?: string;
1647
- type: "agent";
1648
- name: string;
1649
- source?: {
1650
- value: string;
1651
- start: number;
1652
- end: number;
1653
- };
1654
- };
1655
- export type SubtaskPartInput = {
1656
- id?: string;
1657
- type: "subtask";
1658
- prompt: string;
1659
- description: string;
1660
- agent: string;
1661
- model?: {
1662
- providerID: string;
1663
- modelID: string;
1664
- };
1665
- command?: string;
1666
- };
1667
- export type Command = {
1668
- name: string;
1669
- description?: string;
1670
- agent?: string;
1671
- model?: string;
1672
- mcp?: boolean;
1673
- template: string;
1674
- subtask?: boolean;
1675
- hints: Array<string>;
1676
- };
1677
1602
  export type Model = {
1678
1603
  id: string;
1679
1604
  providerID: string;
@@ -1755,6 +1680,79 @@ export type Provider = {
1755
1680
  [key: string]: Model;
1756
1681
  };
1757
1682
  };
1683
+ export type ToolIds = Array<string>;
1684
+ export type ToolListItem = {
1685
+ id: string;
1686
+ description: string;
1687
+ parameters: unknown;
1688
+ };
1689
+ export type ToolList = Array<ToolListItem>;
1690
+ export type Worktree = {
1691
+ name: string;
1692
+ branch: string;
1693
+ directory: string;
1694
+ };
1695
+ export type WorktreeCreateInput = {
1696
+ name?: string;
1697
+ startCommand?: string;
1698
+ };
1699
+ export type WorktreeRemoveInput = {
1700
+ directory: string;
1701
+ };
1702
+ export type WorktreeResetInput = {
1703
+ directory: string;
1704
+ };
1705
+ export type McpResource = {
1706
+ name: string;
1707
+ uri: string;
1708
+ description?: string;
1709
+ mimeType?: string;
1710
+ client: string;
1711
+ };
1712
+ export type TextPartInput = {
1713
+ id?: string;
1714
+ type: "text";
1715
+ text: string;
1716
+ synthetic?: boolean;
1717
+ ignored?: boolean;
1718
+ time?: {
1719
+ start: number;
1720
+ end?: number;
1721
+ };
1722
+ metadata?: {
1723
+ [key: string]: unknown;
1724
+ };
1725
+ };
1726
+ export type FilePartInput = {
1727
+ id?: string;
1728
+ type: "file";
1729
+ mime: string;
1730
+ filename?: string;
1731
+ url: string;
1732
+ source?: FilePartSource;
1733
+ };
1734
+ export type AgentPartInput = {
1735
+ id?: string;
1736
+ type: "agent";
1737
+ name: string;
1738
+ source?: {
1739
+ value: string;
1740
+ start: number;
1741
+ end: number;
1742
+ };
1743
+ };
1744
+ export type SubtaskPartInput = {
1745
+ id?: string;
1746
+ type: "subtask";
1747
+ prompt: string;
1748
+ description: string;
1749
+ agent: string;
1750
+ model?: {
1751
+ providerID: string;
1752
+ modelID: string;
1753
+ };
1754
+ command?: string;
1755
+ };
1758
1756
  export type ProviderAuthMethod = {
1759
1757
  type: "oauth" | "api";
1760
1758
  label: string;
@@ -1806,26 +1804,6 @@ export type File = {
1806
1804
  removed: number;
1807
1805
  status: "added" | "deleted" | "modified";
1808
1806
  };
1809
- export type Agent = {
1810
- name: string;
1811
- description?: string;
1812
- mode: "subagent" | "primary" | "all";
1813
- native?: boolean;
1814
- hidden?: boolean;
1815
- topP?: number;
1816
- temperature?: number;
1817
- color?: string;
1818
- permission: PermissionRuleset;
1819
- model?: {
1820
- modelID: string;
1821
- providerID: string;
1822
- };
1823
- prompt?: string;
1824
- options: {
1825
- [key: string]: unknown;
1826
- };
1827
- steps?: number;
1828
- };
1829
1807
  export type McpStatusConnected = {
1830
1808
  status: "connected";
1831
1809
  };
@@ -1844,12 +1822,45 @@ export type McpStatusNeedsClientRegistration = {
1844
1822
  error: string;
1845
1823
  };
1846
1824
  export type McpStatus = McpStatusConnected | McpStatusDisabled | McpStatusFailed | McpStatusNeedsAuth | McpStatusNeedsClientRegistration;
1847
- export type McpResource = {
1825
+ export type Path = {
1826
+ home: string;
1827
+ state: string;
1828
+ config: string;
1829
+ worktree: string;
1830
+ directory: string;
1831
+ };
1832
+ export type VcsInfo = {
1833
+ branch: string;
1834
+ };
1835
+ export type Command = {
1848
1836
  name: string;
1849
- uri: string;
1850
1837
  description?: string;
1851
- mimeType?: string;
1852
- client: string;
1838
+ agent?: string;
1839
+ model?: string;
1840
+ mcp?: boolean;
1841
+ template: string;
1842
+ subtask?: boolean;
1843
+ hints: Array<string>;
1844
+ };
1845
+ export type Agent = {
1846
+ name: string;
1847
+ description?: string;
1848
+ mode: "subagent" | "primary" | "all";
1849
+ native?: boolean;
1850
+ hidden?: boolean;
1851
+ topP?: number;
1852
+ temperature?: number;
1853
+ color?: string;
1854
+ permission: PermissionRuleset;
1855
+ model?: {
1856
+ modelID: string;
1857
+ providerID: string;
1858
+ };
1859
+ prompt?: string;
1860
+ options: {
1861
+ [key: string]: unknown;
1862
+ };
1863
+ steps?: number;
1853
1864
  };
1854
1865
  export type LspStatus = {
1855
1866
  id: string;
@@ -1957,6 +1968,7 @@ export type ProjectUpdateData = {
1957
1968
  name?: string;
1958
1969
  icon?: {
1959
1970
  url?: string;
1971
+ override?: string;
1960
1972
  color?: string;
1961
1973
  };
1962
1974
  };
@@ -2170,13 +2182,33 @@ export type ConfigUpdateResponses = {
2170
2182
  200: Config;
2171
2183
  };
2172
2184
  export type ConfigUpdateResponse = ConfigUpdateResponses[keyof ConfigUpdateResponses];
2173
- export type ToolIdsData = {
2185
+ export type ConfigProvidersData = {
2174
2186
  body?: never;
2175
2187
  path?: never;
2176
2188
  query?: {
2177
2189
  directory?: string;
2178
2190
  };
2179
- url: "/experimental/tool/ids";
2191
+ url: "/config/providers";
2192
+ };
2193
+ export type ConfigProvidersResponses = {
2194
+ /**
2195
+ * List of providers
2196
+ */
2197
+ 200: {
2198
+ providers: Array<Provider>;
2199
+ default: {
2200
+ [key: string]: string;
2201
+ };
2202
+ };
2203
+ };
2204
+ export type ConfigProvidersResponse = ConfigProvidersResponses[keyof ConfigProvidersResponses];
2205
+ export type ToolIdsData = {
2206
+ body?: never;
2207
+ path?: never;
2208
+ query?: {
2209
+ directory?: string;
2210
+ };
2211
+ url: "/experimental/tool/ids";
2180
2212
  };
2181
2213
  export type ToolIdsErrors = {
2182
2214
  /**
@@ -2216,36 +2248,28 @@ export type ToolListResponses = {
2216
2248
  200: ToolList;
2217
2249
  };
2218
2250
  export type ToolListResponse = ToolListResponses[keyof ToolListResponses];
2219
- export type InstanceDisposeData = {
2220
- body?: never;
2251
+ export type WorktreeRemoveData = {
2252
+ body?: WorktreeRemoveInput;
2221
2253
  path?: never;
2222
2254
  query?: {
2223
2255
  directory?: string;
2224
2256
  };
2225
- url: "/instance/dispose";
2257
+ url: "/experimental/worktree";
2226
2258
  };
2227
- export type InstanceDisposeResponses = {
2259
+ export type WorktreeRemoveErrors = {
2228
2260
  /**
2229
- * Instance disposed
2261
+ * Bad request
2230
2262
  */
2231
- 200: boolean;
2232
- };
2233
- export type InstanceDisposeResponse = InstanceDisposeResponses[keyof InstanceDisposeResponses];
2234
- export type PathGetData = {
2235
- body?: never;
2236
- path?: never;
2237
- query?: {
2238
- directory?: string;
2239
- };
2240
- url: "/path";
2263
+ 400: BadRequestError;
2241
2264
  };
2242
- export type PathGetResponses = {
2265
+ export type WorktreeRemoveError = WorktreeRemoveErrors[keyof WorktreeRemoveErrors];
2266
+ export type WorktreeRemoveResponses = {
2243
2267
  /**
2244
- * Path
2268
+ * Worktree removed
2245
2269
  */
2246
- 200: Path;
2270
+ 200: boolean;
2247
2271
  };
2248
- export type PathGetResponse = PathGetResponses[keyof PathGetResponses];
2272
+ export type WorktreeRemoveResponse = WorktreeRemoveResponses[keyof WorktreeRemoveResponses];
2249
2273
  export type WorktreeListData = {
2250
2274
  body?: never;
2251
2275
  path?: never;
@@ -2283,21 +2307,45 @@ export type WorktreeCreateResponses = {
2283
2307
  200: Worktree;
2284
2308
  };
2285
2309
  export type WorktreeCreateResponse = WorktreeCreateResponses[keyof WorktreeCreateResponses];
2286
- export type VcsGetData = {
2310
+ export type WorktreeResetData = {
2311
+ body?: WorktreeResetInput;
2312
+ path?: never;
2313
+ query?: {
2314
+ directory?: string;
2315
+ };
2316
+ url: "/experimental/worktree/reset";
2317
+ };
2318
+ export type WorktreeResetErrors = {
2319
+ /**
2320
+ * Bad request
2321
+ */
2322
+ 400: BadRequestError;
2323
+ };
2324
+ export type WorktreeResetError = WorktreeResetErrors[keyof WorktreeResetErrors];
2325
+ export type WorktreeResetResponses = {
2326
+ /**
2327
+ * Worktree reset
2328
+ */
2329
+ 200: boolean;
2330
+ };
2331
+ export type WorktreeResetResponse = WorktreeResetResponses[keyof WorktreeResetResponses];
2332
+ export type ExperimentalResourceListData = {
2287
2333
  body?: never;
2288
2334
  path?: never;
2289
2335
  query?: {
2290
2336
  directory?: string;
2291
2337
  };
2292
- url: "/vcs";
2338
+ url: "/experimental/resource";
2293
2339
  };
2294
- export type VcsGetResponses = {
2340
+ export type ExperimentalResourceListResponses = {
2295
2341
  /**
2296
- * VCS info
2342
+ * MCP resources
2297
2343
  */
2298
- 200: VcsInfo;
2344
+ 200: {
2345
+ [key: string]: McpResource;
2346
+ };
2299
2347
  };
2300
- export type VcsGetResponse = VcsGetResponses[keyof VcsGetResponses];
2348
+ export type ExperimentalResourceListResponse = ExperimentalResourceListResponses[keyof ExperimentalResourceListResponses];
2301
2349
  export type SessionListData = {
2302
2350
  body?: never;
2303
2351
  path?: never;
@@ -2671,9 +2719,6 @@ export type SessionShareResponse = SessionShareResponses[keyof SessionShareRespo
2671
2719
  export type SessionDiffData = {
2672
2720
  body?: never;
2673
2721
  path: {
2674
- /**
2675
- * Session ID
2676
- */
2677
2722
  sessionID: string;
2678
2723
  };
2679
2724
  query?: {
@@ -2682,20 +2727,9 @@ export type SessionDiffData = {
2682
2727
  };
2683
2728
  url: "/session/{sessionID}/diff";
2684
2729
  };
2685
- export type SessionDiffErrors = {
2686
- /**
2687
- * Bad request
2688
- */
2689
- 400: BadRequestError;
2690
- /**
2691
- * Not found
2692
- */
2693
- 404: NotFoundError;
2694
- };
2695
- export type SessionDiffError = SessionDiffErrors[keyof SessionDiffErrors];
2696
2730
  export type SessionDiffResponses = {
2697
2731
  /**
2698
- * List of diffs
2732
+ * Successfully retrieved diff
2699
2733
  */
2700
2734
  200: Array<FileDiff>;
2701
2735
  };
@@ -3284,41 +3318,6 @@ export type QuestionRejectResponses = {
3284
3318
  200: boolean;
3285
3319
  };
3286
3320
  export type QuestionRejectResponse = QuestionRejectResponses[keyof QuestionRejectResponses];
3287
- export type CommandListData = {
3288
- body?: never;
3289
- path?: never;
3290
- query?: {
3291
- directory?: string;
3292
- };
3293
- url: "/command";
3294
- };
3295
- export type CommandListResponses = {
3296
- /**
3297
- * List of commands
3298
- */
3299
- 200: Array<Command>;
3300
- };
3301
- export type CommandListResponse = CommandListResponses[keyof CommandListResponses];
3302
- export type ConfigProvidersData = {
3303
- body?: never;
3304
- path?: never;
3305
- query?: {
3306
- directory?: string;
3307
- };
3308
- url: "/config/providers";
3309
- };
3310
- export type ConfigProvidersResponses = {
3311
- /**
3312
- * List of providers
3313
- */
3314
- 200: {
3315
- providers: Array<Provider>;
3316
- default: {
3317
- [key: string]: string;
3318
- };
3319
- };
3320
- };
3321
- export type ConfigProvidersResponse = ConfigProvidersResponses[keyof ConfigProvidersResponses];
3322
3321
  export type ProviderListData = {
3323
3322
  body?: never;
3324
3323
  path?: never;
@@ -3597,62 +3596,6 @@ export type FileStatusResponses = {
3597
3596
  200: Array<File>;
3598
3597
  };
3599
3598
  export type FileStatusResponse = FileStatusResponses[keyof FileStatusResponses];
3600
- export type AppLogData = {
3601
- body?: {
3602
- /**
3603
- * Service name for the log entry
3604
- */
3605
- service: string;
3606
- /**
3607
- * Log level
3608
- */
3609
- level: "debug" | "info" | "error" | "warn";
3610
- /**
3611
- * Log message
3612
- */
3613
- message: string;
3614
- /**
3615
- * Additional metadata for the log entry
3616
- */
3617
- extra?: {
3618
- [key: string]: unknown;
3619
- };
3620
- };
3621
- path?: never;
3622
- query?: {
3623
- directory?: string;
3624
- };
3625
- url: "/log";
3626
- };
3627
- export type AppLogErrors = {
3628
- /**
3629
- * Bad request
3630
- */
3631
- 400: BadRequestError;
3632
- };
3633
- export type AppLogError = AppLogErrors[keyof AppLogErrors];
3634
- export type AppLogResponses = {
3635
- /**
3636
- * Log entry written successfully
3637
- */
3638
- 200: boolean;
3639
- };
3640
- export type AppLogResponse = AppLogResponses[keyof AppLogResponses];
3641
- export type AppAgentsData = {
3642
- body?: never;
3643
- path?: never;
3644
- query?: {
3645
- directory?: string;
3646
- };
3647
- url: "/agent";
3648
- };
3649
- export type AppAgentsResponses = {
3650
- /**
3651
- * List of agents
3652
- */
3653
- 200: Array<Agent>;
3654
- };
3655
- export type AppAgentsResponse = AppAgentsResponses[keyof AppAgentsResponses];
3656
3599
  export type McpStatusData = {
3657
3600
  body?: never;
3658
3601
  path?: never;
@@ -3851,53 +3794,6 @@ export type McpDisconnectResponses = {
3851
3794
  200: boolean;
3852
3795
  };
3853
3796
  export type McpDisconnectResponse = McpDisconnectResponses[keyof McpDisconnectResponses];
3854
- export type ExperimentalResourceListData = {
3855
- body?: never;
3856
- path?: never;
3857
- query?: {
3858
- directory?: string;
3859
- };
3860
- url: "/experimental/resource";
3861
- };
3862
- export type ExperimentalResourceListResponses = {
3863
- /**
3864
- * MCP resources
3865
- */
3866
- 200: {
3867
- [key: string]: McpResource;
3868
- };
3869
- };
3870
- export type ExperimentalResourceListResponse = ExperimentalResourceListResponses[keyof ExperimentalResourceListResponses];
3871
- export type LspStatusData = {
3872
- body?: never;
3873
- path?: never;
3874
- query?: {
3875
- directory?: string;
3876
- };
3877
- url: "/lsp";
3878
- };
3879
- export type LspStatusResponses = {
3880
- /**
3881
- * LSP server status
3882
- */
3883
- 200: Array<LspStatus>;
3884
- };
3885
- export type LspStatusResponse = LspStatusResponses[keyof LspStatusResponses];
3886
- export type FormatterStatusData = {
3887
- body?: never;
3888
- path?: never;
3889
- query?: {
3890
- directory?: string;
3891
- };
3892
- url: "/formatter";
3893
- };
3894
- export type FormatterStatusResponses = {
3895
- /**
3896
- * Formatter status
3897
- */
3898
- 200: Array<FormatterStatus>;
3899
- };
3900
- export type FormatterStatusResponse = FormatterStatusResponses[keyof FormatterStatusResponses];
3901
3797
  export type TuiAppendPromptData = {
3902
3798
  body?: {
3903
3799
  text: string;
@@ -4145,6 +4041,171 @@ export type TuiControlResponseResponses = {
4145
4041
  200: boolean;
4146
4042
  };
4147
4043
  export type TuiControlResponseResponse = TuiControlResponseResponses[keyof TuiControlResponseResponses];
4044
+ export type InstanceDisposeData = {
4045
+ body?: never;
4046
+ path?: never;
4047
+ query?: {
4048
+ directory?: string;
4049
+ };
4050
+ url: "/instance/dispose";
4051
+ };
4052
+ export type InstanceDisposeResponses = {
4053
+ /**
4054
+ * Instance disposed
4055
+ */
4056
+ 200: boolean;
4057
+ };
4058
+ export type InstanceDisposeResponse = InstanceDisposeResponses[keyof InstanceDisposeResponses];
4059
+ export type PathGetData = {
4060
+ body?: never;
4061
+ path?: never;
4062
+ query?: {
4063
+ directory?: string;
4064
+ };
4065
+ url: "/path";
4066
+ };
4067
+ export type PathGetResponses = {
4068
+ /**
4069
+ * Path
4070
+ */
4071
+ 200: Path;
4072
+ };
4073
+ export type PathGetResponse = PathGetResponses[keyof PathGetResponses];
4074
+ export type VcsGetData = {
4075
+ body?: never;
4076
+ path?: never;
4077
+ query?: {
4078
+ directory?: string;
4079
+ };
4080
+ url: "/vcs";
4081
+ };
4082
+ export type VcsGetResponses = {
4083
+ /**
4084
+ * VCS info
4085
+ */
4086
+ 200: VcsInfo;
4087
+ };
4088
+ export type VcsGetResponse = VcsGetResponses[keyof VcsGetResponses];
4089
+ export type CommandListData = {
4090
+ body?: never;
4091
+ path?: never;
4092
+ query?: {
4093
+ directory?: string;
4094
+ };
4095
+ url: "/command";
4096
+ };
4097
+ export type CommandListResponses = {
4098
+ /**
4099
+ * List of commands
4100
+ */
4101
+ 200: Array<Command>;
4102
+ };
4103
+ export type CommandListResponse = CommandListResponses[keyof CommandListResponses];
4104
+ export type AppLogData = {
4105
+ body?: {
4106
+ /**
4107
+ * Service name for the log entry
4108
+ */
4109
+ service: string;
4110
+ /**
4111
+ * Log level
4112
+ */
4113
+ level: "debug" | "info" | "error" | "warn";
4114
+ /**
4115
+ * Log message
4116
+ */
4117
+ message: string;
4118
+ /**
4119
+ * Additional metadata for the log entry
4120
+ */
4121
+ extra?: {
4122
+ [key: string]: unknown;
4123
+ };
4124
+ };
4125
+ path?: never;
4126
+ query?: {
4127
+ directory?: string;
4128
+ };
4129
+ url: "/log";
4130
+ };
4131
+ export type AppLogErrors = {
4132
+ /**
4133
+ * Bad request
4134
+ */
4135
+ 400: BadRequestError;
4136
+ };
4137
+ export type AppLogError = AppLogErrors[keyof AppLogErrors];
4138
+ export type AppLogResponses = {
4139
+ /**
4140
+ * Log entry written successfully
4141
+ */
4142
+ 200: boolean;
4143
+ };
4144
+ export type AppLogResponse = AppLogResponses[keyof AppLogResponses];
4145
+ export type AppAgentsData = {
4146
+ body?: never;
4147
+ path?: never;
4148
+ query?: {
4149
+ directory?: string;
4150
+ };
4151
+ url: "/agent";
4152
+ };
4153
+ export type AppAgentsResponses = {
4154
+ /**
4155
+ * List of agents
4156
+ */
4157
+ 200: Array<Agent>;
4158
+ };
4159
+ export type AppAgentsResponse = AppAgentsResponses[keyof AppAgentsResponses];
4160
+ export type AppSkillsData = {
4161
+ body?: never;
4162
+ path?: never;
4163
+ query?: {
4164
+ directory?: string;
4165
+ };
4166
+ url: "/skill";
4167
+ };
4168
+ export type AppSkillsResponses = {
4169
+ /**
4170
+ * List of skills
4171
+ */
4172
+ 200: Array<{
4173
+ name: string;
4174
+ description: string;
4175
+ location: string;
4176
+ }>;
4177
+ };
4178
+ export type AppSkillsResponse = AppSkillsResponses[keyof AppSkillsResponses];
4179
+ export type LspStatusData = {
4180
+ body?: never;
4181
+ path?: never;
4182
+ query?: {
4183
+ directory?: string;
4184
+ };
4185
+ url: "/lsp";
4186
+ };
4187
+ export type LspStatusResponses = {
4188
+ /**
4189
+ * LSP server status
4190
+ */
4191
+ 200: Array<LspStatus>;
4192
+ };
4193
+ export type LspStatusResponse = LspStatusResponses[keyof LspStatusResponses];
4194
+ export type FormatterStatusData = {
4195
+ body?: never;
4196
+ path?: never;
4197
+ query?: {
4198
+ directory?: string;
4199
+ };
4200
+ url: "/formatter";
4201
+ };
4202
+ export type FormatterStatusResponses = {
4203
+ /**
4204
+ * Formatter status
4205
+ */
4206
+ 200: Array<FormatterStatus>;
4207
+ };
4208
+ export type FormatterStatusResponse = FormatterStatusResponses[keyof FormatterStatusResponses];
4148
4209
  export type AuthSetData = {
4149
4210
  body?: Auth;
4150
4211
  path: {