@opencode-ai/sdk 1.1.24 → 1.1.25
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 +119 -111
- package/dist/v2/gen/sdk.gen.js +185 -172
- package/dist/v2/gen/types.gen.d.ts +313 -308
- package/package.json +1 -1
|
@@ -52,6 +52,12 @@ export type EventLspUpdated = {
|
|
|
52
52
|
[key: string]: unknown;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
+
export type EventFileEdited = {
|
|
56
|
+
type: "file.edited";
|
|
57
|
+
properties: {
|
|
58
|
+
file: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
55
61
|
export type FileDiff = {
|
|
56
62
|
file: string;
|
|
57
63
|
before: string;
|
|
@@ -524,12 +530,6 @@ export type EventSessionCompacted = {
|
|
|
524
530
|
sessionID: string;
|
|
525
531
|
};
|
|
526
532
|
};
|
|
527
|
-
export type EventFileEdited = {
|
|
528
|
-
type: "file.edited";
|
|
529
|
-
properties: {
|
|
530
|
-
file: string;
|
|
531
|
-
};
|
|
532
|
-
};
|
|
533
533
|
export type Todo = {
|
|
534
534
|
/**
|
|
535
535
|
* Brief description of the task
|
|
@@ -727,19 +727,19 @@ export type EventPtyDeleted = {
|
|
|
727
727
|
id: string;
|
|
728
728
|
};
|
|
729
729
|
};
|
|
730
|
-
export type
|
|
731
|
-
type: "
|
|
730
|
+
export type EventGlobalDisposed = {
|
|
731
|
+
type: "global.disposed";
|
|
732
732
|
properties: {
|
|
733
733
|
[key: string]: unknown;
|
|
734
734
|
};
|
|
735
735
|
};
|
|
736
|
-
export type
|
|
737
|
-
type: "
|
|
736
|
+
export type EventServerConnected = {
|
|
737
|
+
type: "server.connected";
|
|
738
738
|
properties: {
|
|
739
739
|
[key: string]: unknown;
|
|
740
740
|
};
|
|
741
741
|
};
|
|
742
|
-
export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted |
|
|
742
|
+
export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventLspClientDiagnostics | EventLspUpdated | EventFileEdited | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventTodoUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventFileWatcherUpdated | EventVcsBranchUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventGlobalDisposed | EventServerConnected;
|
|
743
743
|
export type GlobalEvent = {
|
|
744
744
|
directory: string;
|
|
745
745
|
payload: Event;
|
|
@@ -1594,86 +1594,6 @@ export type Config = {
|
|
|
1594
1594
|
mcp_timeout?: number;
|
|
1595
1595
|
};
|
|
1596
1596
|
};
|
|
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
1597
|
export type Model = {
|
|
1678
1598
|
id: string;
|
|
1679
1599
|
providerID: string;
|
|
@@ -1755,6 +1675,73 @@ export type Provider = {
|
|
|
1755
1675
|
[key: string]: Model;
|
|
1756
1676
|
};
|
|
1757
1677
|
};
|
|
1678
|
+
export type ToolIds = Array<string>;
|
|
1679
|
+
export type ToolListItem = {
|
|
1680
|
+
id: string;
|
|
1681
|
+
description: string;
|
|
1682
|
+
parameters: unknown;
|
|
1683
|
+
};
|
|
1684
|
+
export type ToolList = Array<ToolListItem>;
|
|
1685
|
+
export type Worktree = {
|
|
1686
|
+
name: string;
|
|
1687
|
+
branch: string;
|
|
1688
|
+
directory: string;
|
|
1689
|
+
};
|
|
1690
|
+
export type WorktreeCreateInput = {
|
|
1691
|
+
name?: string;
|
|
1692
|
+
startCommand?: string;
|
|
1693
|
+
};
|
|
1694
|
+
export type McpResource = {
|
|
1695
|
+
name: string;
|
|
1696
|
+
uri: string;
|
|
1697
|
+
description?: string;
|
|
1698
|
+
mimeType?: string;
|
|
1699
|
+
client: string;
|
|
1700
|
+
};
|
|
1701
|
+
export type TextPartInput = {
|
|
1702
|
+
id?: string;
|
|
1703
|
+
type: "text";
|
|
1704
|
+
text: string;
|
|
1705
|
+
synthetic?: boolean;
|
|
1706
|
+
ignored?: boolean;
|
|
1707
|
+
time?: {
|
|
1708
|
+
start: number;
|
|
1709
|
+
end?: number;
|
|
1710
|
+
};
|
|
1711
|
+
metadata?: {
|
|
1712
|
+
[key: string]: unknown;
|
|
1713
|
+
};
|
|
1714
|
+
};
|
|
1715
|
+
export type FilePartInput = {
|
|
1716
|
+
id?: string;
|
|
1717
|
+
type: "file";
|
|
1718
|
+
mime: string;
|
|
1719
|
+
filename?: string;
|
|
1720
|
+
url: string;
|
|
1721
|
+
source?: FilePartSource;
|
|
1722
|
+
};
|
|
1723
|
+
export type AgentPartInput = {
|
|
1724
|
+
id?: string;
|
|
1725
|
+
type: "agent";
|
|
1726
|
+
name: string;
|
|
1727
|
+
source?: {
|
|
1728
|
+
value: string;
|
|
1729
|
+
start: number;
|
|
1730
|
+
end: number;
|
|
1731
|
+
};
|
|
1732
|
+
};
|
|
1733
|
+
export type SubtaskPartInput = {
|
|
1734
|
+
id?: string;
|
|
1735
|
+
type: "subtask";
|
|
1736
|
+
prompt: string;
|
|
1737
|
+
description: string;
|
|
1738
|
+
agent: string;
|
|
1739
|
+
model?: {
|
|
1740
|
+
providerID: string;
|
|
1741
|
+
modelID: string;
|
|
1742
|
+
};
|
|
1743
|
+
command?: string;
|
|
1744
|
+
};
|
|
1758
1745
|
export type ProviderAuthMethod = {
|
|
1759
1746
|
type: "oauth" | "api";
|
|
1760
1747
|
label: string;
|
|
@@ -1806,26 +1793,6 @@ export type File = {
|
|
|
1806
1793
|
removed: number;
|
|
1807
1794
|
status: "added" | "deleted" | "modified";
|
|
1808
1795
|
};
|
|
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
1796
|
export type McpStatusConnected = {
|
|
1830
1797
|
status: "connected";
|
|
1831
1798
|
};
|
|
@@ -1844,12 +1811,45 @@ export type McpStatusNeedsClientRegistration = {
|
|
|
1844
1811
|
error: string;
|
|
1845
1812
|
};
|
|
1846
1813
|
export type McpStatus = McpStatusConnected | McpStatusDisabled | McpStatusFailed | McpStatusNeedsAuth | McpStatusNeedsClientRegistration;
|
|
1847
|
-
export type
|
|
1814
|
+
export type Path = {
|
|
1815
|
+
home: string;
|
|
1816
|
+
state: string;
|
|
1817
|
+
config: string;
|
|
1818
|
+
worktree: string;
|
|
1819
|
+
directory: string;
|
|
1820
|
+
};
|
|
1821
|
+
export type VcsInfo = {
|
|
1822
|
+
branch: string;
|
|
1823
|
+
};
|
|
1824
|
+
export type Command = {
|
|
1848
1825
|
name: string;
|
|
1849
|
-
uri: string;
|
|
1850
1826
|
description?: string;
|
|
1851
|
-
|
|
1852
|
-
|
|
1827
|
+
agent?: string;
|
|
1828
|
+
model?: string;
|
|
1829
|
+
mcp?: boolean;
|
|
1830
|
+
template: string;
|
|
1831
|
+
subtask?: boolean;
|
|
1832
|
+
hints: Array<string>;
|
|
1833
|
+
};
|
|
1834
|
+
export type Agent = {
|
|
1835
|
+
name: string;
|
|
1836
|
+
description?: string;
|
|
1837
|
+
mode: "subagent" | "primary" | "all";
|
|
1838
|
+
native?: boolean;
|
|
1839
|
+
hidden?: boolean;
|
|
1840
|
+
topP?: number;
|
|
1841
|
+
temperature?: number;
|
|
1842
|
+
color?: string;
|
|
1843
|
+
permission: PermissionRuleset;
|
|
1844
|
+
model?: {
|
|
1845
|
+
modelID: string;
|
|
1846
|
+
providerID: string;
|
|
1847
|
+
};
|
|
1848
|
+
prompt?: string;
|
|
1849
|
+
options: {
|
|
1850
|
+
[key: string]: unknown;
|
|
1851
|
+
};
|
|
1852
|
+
steps?: number;
|
|
1853
1853
|
};
|
|
1854
1854
|
export type LspStatus = {
|
|
1855
1855
|
id: string;
|
|
@@ -2170,6 +2170,26 @@ export type ConfigUpdateResponses = {
|
|
|
2170
2170
|
200: Config;
|
|
2171
2171
|
};
|
|
2172
2172
|
export type ConfigUpdateResponse = ConfigUpdateResponses[keyof ConfigUpdateResponses];
|
|
2173
|
+
export type ConfigProvidersData = {
|
|
2174
|
+
body?: never;
|
|
2175
|
+
path?: never;
|
|
2176
|
+
query?: {
|
|
2177
|
+
directory?: string;
|
|
2178
|
+
};
|
|
2179
|
+
url: "/config/providers";
|
|
2180
|
+
};
|
|
2181
|
+
export type ConfigProvidersResponses = {
|
|
2182
|
+
/**
|
|
2183
|
+
* List of providers
|
|
2184
|
+
*/
|
|
2185
|
+
200: {
|
|
2186
|
+
providers: Array<Provider>;
|
|
2187
|
+
default: {
|
|
2188
|
+
[key: string]: string;
|
|
2189
|
+
};
|
|
2190
|
+
};
|
|
2191
|
+
};
|
|
2192
|
+
export type ConfigProvidersResponse = ConfigProvidersResponses[keyof ConfigProvidersResponses];
|
|
2173
2193
|
export type ToolIdsData = {
|
|
2174
2194
|
body?: never;
|
|
2175
2195
|
path?: never;
|
|
@@ -2216,47 +2236,17 @@ export type ToolListResponses = {
|
|
|
2216
2236
|
200: ToolList;
|
|
2217
2237
|
};
|
|
2218
2238
|
export type ToolListResponse = ToolListResponses[keyof ToolListResponses];
|
|
2219
|
-
export type
|
|
2239
|
+
export type WorktreeListData = {
|
|
2220
2240
|
body?: never;
|
|
2221
2241
|
path?: never;
|
|
2222
2242
|
query?: {
|
|
2223
2243
|
directory?: string;
|
|
2224
2244
|
};
|
|
2225
|
-
url: "/
|
|
2245
|
+
url: "/experimental/worktree";
|
|
2226
2246
|
};
|
|
2227
|
-
export type
|
|
2247
|
+
export type WorktreeListResponses = {
|
|
2228
2248
|
/**
|
|
2229
|
-
*
|
|
2230
|
-
*/
|
|
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";
|
|
2241
|
-
};
|
|
2242
|
-
export type PathGetResponses = {
|
|
2243
|
-
/**
|
|
2244
|
-
* Path
|
|
2245
|
-
*/
|
|
2246
|
-
200: Path;
|
|
2247
|
-
};
|
|
2248
|
-
export type PathGetResponse = PathGetResponses[keyof PathGetResponses];
|
|
2249
|
-
export type WorktreeListData = {
|
|
2250
|
-
body?: never;
|
|
2251
|
-
path?: never;
|
|
2252
|
-
query?: {
|
|
2253
|
-
directory?: string;
|
|
2254
|
-
};
|
|
2255
|
-
url: "/experimental/worktree";
|
|
2256
|
-
};
|
|
2257
|
-
export type WorktreeListResponses = {
|
|
2258
|
-
/**
|
|
2259
|
-
* List of worktree directories
|
|
2249
|
+
* List of worktree directories
|
|
2260
2250
|
*/
|
|
2261
2251
|
200: Array<string>;
|
|
2262
2252
|
};
|
|
@@ -2283,21 +2273,23 @@ export type WorktreeCreateResponses = {
|
|
|
2283
2273
|
200: Worktree;
|
|
2284
2274
|
};
|
|
2285
2275
|
export type WorktreeCreateResponse = WorktreeCreateResponses[keyof WorktreeCreateResponses];
|
|
2286
|
-
export type
|
|
2276
|
+
export type ExperimentalResourceListData = {
|
|
2287
2277
|
body?: never;
|
|
2288
2278
|
path?: never;
|
|
2289
2279
|
query?: {
|
|
2290
2280
|
directory?: string;
|
|
2291
2281
|
};
|
|
2292
|
-
url: "/
|
|
2282
|
+
url: "/experimental/resource";
|
|
2293
2283
|
};
|
|
2294
|
-
export type
|
|
2284
|
+
export type ExperimentalResourceListResponses = {
|
|
2295
2285
|
/**
|
|
2296
|
-
*
|
|
2286
|
+
* MCP resources
|
|
2297
2287
|
*/
|
|
2298
|
-
200:
|
|
2288
|
+
200: {
|
|
2289
|
+
[key: string]: McpResource;
|
|
2290
|
+
};
|
|
2299
2291
|
};
|
|
2300
|
-
export type
|
|
2292
|
+
export type ExperimentalResourceListResponse = ExperimentalResourceListResponses[keyof ExperimentalResourceListResponses];
|
|
2301
2293
|
export type SessionListData = {
|
|
2302
2294
|
body?: never;
|
|
2303
2295
|
path?: never;
|
|
@@ -2671,9 +2663,6 @@ export type SessionShareResponse = SessionShareResponses[keyof SessionShareRespo
|
|
|
2671
2663
|
export type SessionDiffData = {
|
|
2672
2664
|
body?: never;
|
|
2673
2665
|
path: {
|
|
2674
|
-
/**
|
|
2675
|
-
* Session ID
|
|
2676
|
-
*/
|
|
2677
2666
|
sessionID: string;
|
|
2678
2667
|
};
|
|
2679
2668
|
query?: {
|
|
@@ -2682,20 +2671,9 @@ export type SessionDiffData = {
|
|
|
2682
2671
|
};
|
|
2683
2672
|
url: "/session/{sessionID}/diff";
|
|
2684
2673
|
};
|
|
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
2674
|
export type SessionDiffResponses = {
|
|
2697
2675
|
/**
|
|
2698
|
-
*
|
|
2676
|
+
* Successfully retrieved diff
|
|
2699
2677
|
*/
|
|
2700
2678
|
200: Array<FileDiff>;
|
|
2701
2679
|
};
|
|
@@ -3284,41 +3262,6 @@ export type QuestionRejectResponses = {
|
|
|
3284
3262
|
200: boolean;
|
|
3285
3263
|
};
|
|
3286
3264
|
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
3265
|
export type ProviderListData = {
|
|
3323
3266
|
body?: never;
|
|
3324
3267
|
path?: never;
|
|
@@ -3597,62 +3540,6 @@ export type FileStatusResponses = {
|
|
|
3597
3540
|
200: Array<File>;
|
|
3598
3541
|
};
|
|
3599
3542
|
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
3543
|
export type McpStatusData = {
|
|
3657
3544
|
body?: never;
|
|
3658
3545
|
path?: never;
|
|
@@ -3851,53 +3738,6 @@ export type McpDisconnectResponses = {
|
|
|
3851
3738
|
200: boolean;
|
|
3852
3739
|
};
|
|
3853
3740
|
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
3741
|
export type TuiAppendPromptData = {
|
|
3902
3742
|
body?: {
|
|
3903
3743
|
text: string;
|
|
@@ -4145,6 +3985,171 @@ export type TuiControlResponseResponses = {
|
|
|
4145
3985
|
200: boolean;
|
|
4146
3986
|
};
|
|
4147
3987
|
export type TuiControlResponseResponse = TuiControlResponseResponses[keyof TuiControlResponseResponses];
|
|
3988
|
+
export type InstanceDisposeData = {
|
|
3989
|
+
body?: never;
|
|
3990
|
+
path?: never;
|
|
3991
|
+
query?: {
|
|
3992
|
+
directory?: string;
|
|
3993
|
+
};
|
|
3994
|
+
url: "/instance/dispose";
|
|
3995
|
+
};
|
|
3996
|
+
export type InstanceDisposeResponses = {
|
|
3997
|
+
/**
|
|
3998
|
+
* Instance disposed
|
|
3999
|
+
*/
|
|
4000
|
+
200: boolean;
|
|
4001
|
+
};
|
|
4002
|
+
export type InstanceDisposeResponse = InstanceDisposeResponses[keyof InstanceDisposeResponses];
|
|
4003
|
+
export type PathGetData = {
|
|
4004
|
+
body?: never;
|
|
4005
|
+
path?: never;
|
|
4006
|
+
query?: {
|
|
4007
|
+
directory?: string;
|
|
4008
|
+
};
|
|
4009
|
+
url: "/path";
|
|
4010
|
+
};
|
|
4011
|
+
export type PathGetResponses = {
|
|
4012
|
+
/**
|
|
4013
|
+
* Path
|
|
4014
|
+
*/
|
|
4015
|
+
200: Path;
|
|
4016
|
+
};
|
|
4017
|
+
export type PathGetResponse = PathGetResponses[keyof PathGetResponses];
|
|
4018
|
+
export type VcsGetData = {
|
|
4019
|
+
body?: never;
|
|
4020
|
+
path?: never;
|
|
4021
|
+
query?: {
|
|
4022
|
+
directory?: string;
|
|
4023
|
+
};
|
|
4024
|
+
url: "/vcs";
|
|
4025
|
+
};
|
|
4026
|
+
export type VcsGetResponses = {
|
|
4027
|
+
/**
|
|
4028
|
+
* VCS info
|
|
4029
|
+
*/
|
|
4030
|
+
200: VcsInfo;
|
|
4031
|
+
};
|
|
4032
|
+
export type VcsGetResponse = VcsGetResponses[keyof VcsGetResponses];
|
|
4033
|
+
export type CommandListData = {
|
|
4034
|
+
body?: never;
|
|
4035
|
+
path?: never;
|
|
4036
|
+
query?: {
|
|
4037
|
+
directory?: string;
|
|
4038
|
+
};
|
|
4039
|
+
url: "/command";
|
|
4040
|
+
};
|
|
4041
|
+
export type CommandListResponses = {
|
|
4042
|
+
/**
|
|
4043
|
+
* List of commands
|
|
4044
|
+
*/
|
|
4045
|
+
200: Array<Command>;
|
|
4046
|
+
};
|
|
4047
|
+
export type CommandListResponse = CommandListResponses[keyof CommandListResponses];
|
|
4048
|
+
export type AppLogData = {
|
|
4049
|
+
body?: {
|
|
4050
|
+
/**
|
|
4051
|
+
* Service name for the log entry
|
|
4052
|
+
*/
|
|
4053
|
+
service: string;
|
|
4054
|
+
/**
|
|
4055
|
+
* Log level
|
|
4056
|
+
*/
|
|
4057
|
+
level: "debug" | "info" | "error" | "warn";
|
|
4058
|
+
/**
|
|
4059
|
+
* Log message
|
|
4060
|
+
*/
|
|
4061
|
+
message: string;
|
|
4062
|
+
/**
|
|
4063
|
+
* Additional metadata for the log entry
|
|
4064
|
+
*/
|
|
4065
|
+
extra?: {
|
|
4066
|
+
[key: string]: unknown;
|
|
4067
|
+
};
|
|
4068
|
+
};
|
|
4069
|
+
path?: never;
|
|
4070
|
+
query?: {
|
|
4071
|
+
directory?: string;
|
|
4072
|
+
};
|
|
4073
|
+
url: "/log";
|
|
4074
|
+
};
|
|
4075
|
+
export type AppLogErrors = {
|
|
4076
|
+
/**
|
|
4077
|
+
* Bad request
|
|
4078
|
+
*/
|
|
4079
|
+
400: BadRequestError;
|
|
4080
|
+
};
|
|
4081
|
+
export type AppLogError = AppLogErrors[keyof AppLogErrors];
|
|
4082
|
+
export type AppLogResponses = {
|
|
4083
|
+
/**
|
|
4084
|
+
* Log entry written successfully
|
|
4085
|
+
*/
|
|
4086
|
+
200: boolean;
|
|
4087
|
+
};
|
|
4088
|
+
export type AppLogResponse = AppLogResponses[keyof AppLogResponses];
|
|
4089
|
+
export type AppAgentsData = {
|
|
4090
|
+
body?: never;
|
|
4091
|
+
path?: never;
|
|
4092
|
+
query?: {
|
|
4093
|
+
directory?: string;
|
|
4094
|
+
};
|
|
4095
|
+
url: "/agent";
|
|
4096
|
+
};
|
|
4097
|
+
export type AppAgentsResponses = {
|
|
4098
|
+
/**
|
|
4099
|
+
* List of agents
|
|
4100
|
+
*/
|
|
4101
|
+
200: Array<Agent>;
|
|
4102
|
+
};
|
|
4103
|
+
export type AppAgentsResponse = AppAgentsResponses[keyof AppAgentsResponses];
|
|
4104
|
+
export type AppSkillsData = {
|
|
4105
|
+
body?: never;
|
|
4106
|
+
path?: never;
|
|
4107
|
+
query?: {
|
|
4108
|
+
directory?: string;
|
|
4109
|
+
};
|
|
4110
|
+
url: "/skill";
|
|
4111
|
+
};
|
|
4112
|
+
export type AppSkillsResponses = {
|
|
4113
|
+
/**
|
|
4114
|
+
* List of skills
|
|
4115
|
+
*/
|
|
4116
|
+
200: Array<{
|
|
4117
|
+
name: string;
|
|
4118
|
+
description: string;
|
|
4119
|
+
location: string;
|
|
4120
|
+
}>;
|
|
4121
|
+
};
|
|
4122
|
+
export type AppSkillsResponse = AppSkillsResponses[keyof AppSkillsResponses];
|
|
4123
|
+
export type LspStatusData = {
|
|
4124
|
+
body?: never;
|
|
4125
|
+
path?: never;
|
|
4126
|
+
query?: {
|
|
4127
|
+
directory?: string;
|
|
4128
|
+
};
|
|
4129
|
+
url: "/lsp";
|
|
4130
|
+
};
|
|
4131
|
+
export type LspStatusResponses = {
|
|
4132
|
+
/**
|
|
4133
|
+
* LSP server status
|
|
4134
|
+
*/
|
|
4135
|
+
200: Array<LspStatus>;
|
|
4136
|
+
};
|
|
4137
|
+
export type LspStatusResponse = LspStatusResponses[keyof LspStatusResponses];
|
|
4138
|
+
export type FormatterStatusData = {
|
|
4139
|
+
body?: never;
|
|
4140
|
+
path?: never;
|
|
4141
|
+
query?: {
|
|
4142
|
+
directory?: string;
|
|
4143
|
+
};
|
|
4144
|
+
url: "/formatter";
|
|
4145
|
+
};
|
|
4146
|
+
export type FormatterStatusResponses = {
|
|
4147
|
+
/**
|
|
4148
|
+
* Formatter status
|
|
4149
|
+
*/
|
|
4150
|
+
200: Array<FormatterStatus>;
|
|
4151
|
+
};
|
|
4152
|
+
export type FormatterStatusResponse = FormatterStatusResponses[keyof FormatterStatusResponses];
|
|
4148
4153
|
export type AuthSetData = {
|
|
4149
4154
|
body?: Auth;
|
|
4150
4155
|
path: {
|