@ironcode-ai/sdk 1.5.4

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.
Files changed (71) hide show
  1. package/dist/client.d.ts +7 -0
  2. package/dist/client.js +25 -0
  3. package/dist/gen/client/client.gen.d.ts +2 -0
  4. package/dist/gen/client/client.gen.js +165 -0
  5. package/dist/gen/client/index.d.ts +7 -0
  6. package/dist/gen/client/index.js +5 -0
  7. package/dist/gen/client/types.gen.d.ts +127 -0
  8. package/dist/gen/client/types.gen.js +2 -0
  9. package/dist/gen/client/utils.gen.d.ts +38 -0
  10. package/dist/gen/client/utils.gen.js +226 -0
  11. package/dist/gen/client.gen.d.ts +12 -0
  12. package/dist/gen/client.gen.js +5 -0
  13. package/dist/gen/core/auth.gen.d.ts +18 -0
  14. package/dist/gen/core/auth.gen.js +14 -0
  15. package/dist/gen/core/bodySerializer.gen.d.ts +17 -0
  16. package/dist/gen/core/bodySerializer.gen.js +57 -0
  17. package/dist/gen/core/params.gen.d.ts +33 -0
  18. package/dist/gen/core/params.gen.js +89 -0
  19. package/dist/gen/core/pathSerializer.gen.d.ts +33 -0
  20. package/dist/gen/core/pathSerializer.gen.js +106 -0
  21. package/dist/gen/core/serverSentEvents.gen.d.ts +59 -0
  22. package/dist/gen/core/serverSentEvents.gen.js +117 -0
  23. package/dist/gen/core/types.gen.d.ts +78 -0
  24. package/dist/gen/core/types.gen.js +2 -0
  25. package/dist/gen/core/utils.gen.d.ts +14 -0
  26. package/dist/gen/core/utils.gen.js +69 -0
  27. package/dist/gen/sdk.gen.d.ts +403 -0
  28. package/dist/gen/sdk.gen.js +881 -0
  29. package/dist/gen/types.gen.d.ts +3380 -0
  30. package/dist/gen/types.gen.js +2 -0
  31. package/dist/index.d.ts +10 -0
  32. package/dist/index.js +16 -0
  33. package/dist/server.d.ts +23 -0
  34. package/dist/server.js +94 -0
  35. package/dist/v2/client.d.ts +7 -0
  36. package/dist/v2/client.js +27 -0
  37. package/dist/v2/gen/client/client.gen.d.ts +2 -0
  38. package/dist/v2/gen/client/client.gen.js +232 -0
  39. package/dist/v2/gen/client/index.d.ts +8 -0
  40. package/dist/v2/gen/client/index.js +6 -0
  41. package/dist/v2/gen/client/types.gen.d.ts +117 -0
  42. package/dist/v2/gen/client/types.gen.js +2 -0
  43. package/dist/v2/gen/client/utils.gen.d.ts +33 -0
  44. package/dist/v2/gen/client/utils.gen.js +226 -0
  45. package/dist/v2/gen/client.gen.d.ts +12 -0
  46. package/dist/v2/gen/client.gen.js +3 -0
  47. package/dist/v2/gen/core/auth.gen.d.ts +18 -0
  48. package/dist/v2/gen/core/auth.gen.js +14 -0
  49. package/dist/v2/gen/core/bodySerializer.gen.d.ts +25 -0
  50. package/dist/v2/gen/core/bodySerializer.gen.js +57 -0
  51. package/dist/v2/gen/core/params.gen.d.ts +43 -0
  52. package/dist/v2/gen/core/params.gen.js +102 -0
  53. package/dist/v2/gen/core/pathSerializer.gen.d.ts +33 -0
  54. package/dist/v2/gen/core/pathSerializer.gen.js +106 -0
  55. package/dist/v2/gen/core/queryKeySerializer.gen.d.ts +18 -0
  56. package/dist/v2/gen/core/queryKeySerializer.gen.js +93 -0
  57. package/dist/v2/gen/core/serverSentEvents.gen.d.ts +71 -0
  58. package/dist/v2/gen/core/serverSentEvents.gen.js +133 -0
  59. package/dist/v2/gen/core/types.gen.d.ts +78 -0
  60. package/dist/v2/gen/core/types.gen.js +2 -0
  61. package/dist/v2/gen/core/utils.gen.d.ts +19 -0
  62. package/dist/v2/gen/core/utils.gen.js +87 -0
  63. package/dist/v2/gen/sdk.gen.d.ts +1103 -0
  64. package/dist/v2/gen/sdk.gen.js +2146 -0
  65. package/dist/v2/gen/types.gen.d.ts +4342 -0
  66. package/dist/v2/gen/types.gen.js +2 -0
  67. package/dist/v2/index.d.ts +10 -0
  68. package/dist/v2/index.js +16 -0
  69. package/dist/v2/server.d.ts +23 -0
  70. package/dist/v2/server.js +94 -0
  71. package/package.json +51 -0
@@ -0,0 +1,1103 @@
1
+ import { type Client, type Options as Options2, type TDataShape } from "./client/index.js";
2
+ import type { AgentPartInput, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillsResponses, Auth as Auth3, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, CommandListResponses, Config as Config3, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalResourceListResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalConfigGetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, InstanceDisposeResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, ProjectCurrentResponses, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShareErrors, SessionShareResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUnshareErrors, SessionUnshareResponses, SessionUpdateErrors, SessionUpdateResponses, SubtaskPartInput, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptResponses, TuiControlNextResponses, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpResponses, TuiOpenModelsResponses, TuiOpenSessionsResponses, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastResponses, TuiSubmitPromptResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
3
+ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
4
+ /**
5
+ * You can provide a client instance returned by `createClient()` instead of
6
+ * individual options. This might be also useful if you want to implement a
7
+ * custom client.
8
+ */
9
+ client?: Client;
10
+ /**
11
+ * You can pass arbitrary values through the `meta` object. This can be
12
+ * used to access values that aren't defined as part of the SDK function.
13
+ */
14
+ meta?: Record<string, unknown>;
15
+ };
16
+ declare class HeyApiClient {
17
+ protected client: Client;
18
+ constructor(args?: {
19
+ client?: Client;
20
+ });
21
+ }
22
+ declare class HeyApiRegistry<T> {
23
+ private readonly defaultKey;
24
+ private readonly instances;
25
+ get(key?: string): T;
26
+ set(value: T, key?: string): void;
27
+ }
28
+ export declare class Config extends HeyApiClient {
29
+ /**
30
+ * Get global configuration
31
+ *
32
+ * Retrieve the current global IronCode configuration settings and preferences.
33
+ */
34
+ get<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalConfigGetResponses, unknown, ThrowOnError, "fields">;
35
+ /**
36
+ * Update global configuration
37
+ *
38
+ * Update global IronCode configuration settings and preferences.
39
+ */
40
+ update<ThrowOnError extends boolean = false>(parameters?: {
41
+ config?: Config3;
42
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalConfigUpdateResponses, GlobalConfigUpdateErrors, ThrowOnError, "fields">;
43
+ }
44
+ export declare class Global extends HeyApiClient {
45
+ /**
46
+ * Get health
47
+ *
48
+ * Get health information about the IronCode server.
49
+ */
50
+ health<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalHealthResponses, unknown, ThrowOnError, "fields">;
51
+ /**
52
+ * Get global events
53
+ *
54
+ * Subscribe to global events from the IronCode system using server-sent events.
55
+ */
56
+ event<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<GlobalEventResponses, unknown>>;
57
+ /**
58
+ * Dispose instance
59
+ *
60
+ * Clean up and dispose all IronCode instances, releasing all resources.
61
+ */
62
+ dispose<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalDisposeResponses, unknown, ThrowOnError, "fields">;
63
+ private _config?;
64
+ get config(): Config;
65
+ }
66
+ export declare class Auth extends HeyApiClient {
67
+ /**
68
+ * Remove auth credentials
69
+ *
70
+ * Remove authentication credentials
71
+ */
72
+ remove<ThrowOnError extends boolean = false>(parameters: {
73
+ providerID: string;
74
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AuthRemoveResponses, AuthRemoveErrors, ThrowOnError, "fields">;
75
+ /**
76
+ * Set auth credentials
77
+ *
78
+ * Set authentication credentials
79
+ */
80
+ set<ThrowOnError extends boolean = false>(parameters: {
81
+ providerID: string;
82
+ auth?: Auth3;
83
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AuthSetResponses, AuthSetErrors, ThrowOnError, "fields">;
84
+ }
85
+ export declare class Project extends HeyApiClient {
86
+ /**
87
+ * List all projects
88
+ *
89
+ * Get a list of projects that have been opened with IronCode.
90
+ */
91
+ list<ThrowOnError extends boolean = false>(parameters?: {
92
+ directory?: string;
93
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProjectListResponses, unknown, ThrowOnError, "fields">;
94
+ /**
95
+ * Get current project
96
+ *
97
+ * Retrieve the currently active project that IronCode is working with.
98
+ */
99
+ current<ThrowOnError extends boolean = false>(parameters?: {
100
+ directory?: string;
101
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProjectCurrentResponses, unknown, ThrowOnError, "fields">;
102
+ /**
103
+ * Update project
104
+ *
105
+ * Update project properties such as name, icon, and commands.
106
+ */
107
+ update<ThrowOnError extends boolean = false>(parameters: {
108
+ projectID: string;
109
+ directory?: string;
110
+ name?: string;
111
+ icon?: {
112
+ url?: string;
113
+ override?: string;
114
+ color?: string;
115
+ };
116
+ commands?: {
117
+ /**
118
+ * Startup script to run when creating a new workspace (worktree)
119
+ */
120
+ start?: string;
121
+ };
122
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProjectUpdateResponses, ProjectUpdateErrors, ThrowOnError, "fields">;
123
+ }
124
+ export declare class Pty extends HeyApiClient {
125
+ /**
126
+ * List PTY sessions
127
+ *
128
+ * Get a list of all active pseudo-terminal (PTY) sessions managed by IronCode.
129
+ */
130
+ list<ThrowOnError extends boolean = false>(parameters?: {
131
+ directory?: string;
132
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyListResponses, unknown, ThrowOnError, "fields">;
133
+ /**
134
+ * Create PTY session
135
+ *
136
+ * Create a new pseudo-terminal (PTY) session for running shell commands and processes.
137
+ */
138
+ create<ThrowOnError extends boolean = false>(parameters?: {
139
+ directory?: string;
140
+ command?: string;
141
+ args?: Array<string>;
142
+ cwd?: string;
143
+ title?: string;
144
+ env?: {
145
+ [key: string]: string;
146
+ };
147
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyCreateResponses, PtyCreateErrors, ThrowOnError, "fields">;
148
+ /**
149
+ * Remove PTY session
150
+ *
151
+ * Remove and terminate a specific pseudo-terminal (PTY) session.
152
+ */
153
+ remove<ThrowOnError extends boolean = false>(parameters: {
154
+ ptyID: string;
155
+ directory?: string;
156
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyRemoveResponses, PtyRemoveErrors, ThrowOnError, "fields">;
157
+ /**
158
+ * Get PTY session
159
+ *
160
+ * Retrieve detailed information about a specific pseudo-terminal (PTY) session.
161
+ */
162
+ get<ThrowOnError extends boolean = false>(parameters: {
163
+ ptyID: string;
164
+ directory?: string;
165
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyGetResponses, PtyGetErrors, ThrowOnError, "fields">;
166
+ /**
167
+ * Update PTY session
168
+ *
169
+ * Update properties of an existing pseudo-terminal (PTY) session.
170
+ */
171
+ update<ThrowOnError extends boolean = false>(parameters: {
172
+ ptyID: string;
173
+ directory?: string;
174
+ title?: string;
175
+ size?: {
176
+ rows: number;
177
+ cols: number;
178
+ };
179
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyUpdateResponses, PtyUpdateErrors, ThrowOnError, "fields">;
180
+ /**
181
+ * Connect to PTY session
182
+ *
183
+ * Establish a WebSocket connection to interact with a pseudo-terminal (PTY) session in real-time.
184
+ */
185
+ connect<ThrowOnError extends boolean = false>(parameters: {
186
+ ptyID: string;
187
+ directory?: string;
188
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyConnectResponses, PtyConnectErrors, ThrowOnError, "fields">;
189
+ }
190
+ export declare class Config2 extends HeyApiClient {
191
+ /**
192
+ * Get configuration
193
+ *
194
+ * Retrieve the current IronCode configuration settings and preferences.
195
+ */
196
+ get<ThrowOnError extends boolean = false>(parameters?: {
197
+ directory?: string;
198
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigGetResponses, unknown, ThrowOnError, "fields">;
199
+ /**
200
+ * Update configuration
201
+ *
202
+ * Update IronCode configuration settings and preferences.
203
+ */
204
+ update<ThrowOnError extends boolean = false>(parameters?: {
205
+ directory?: string;
206
+ config?: Config3;
207
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigUpdateResponses, ConfigUpdateErrors, ThrowOnError, "fields">;
208
+ /**
209
+ * List config providers
210
+ *
211
+ * Get a list of all configured AI providers and their default models.
212
+ */
213
+ providers<ThrowOnError extends boolean = false>(parameters?: {
214
+ directory?: string;
215
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigProvidersResponses, unknown, ThrowOnError, "fields">;
216
+ }
217
+ export declare class Tool extends HeyApiClient {
218
+ /**
219
+ * List tool IDs
220
+ *
221
+ * Get a list of all available tool IDs, including both built-in tools and dynamically registered tools.
222
+ */
223
+ ids<ThrowOnError extends boolean = false>(parameters?: {
224
+ directory?: string;
225
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ToolIdsResponses, ToolIdsErrors, ThrowOnError, "fields">;
226
+ /**
227
+ * List tools
228
+ *
229
+ * Get a list of available tools with their JSON schema parameters for a specific provider and model combination.
230
+ */
231
+ list<ThrowOnError extends boolean = false>(parameters: {
232
+ directory?: string;
233
+ provider: string;
234
+ model: string;
235
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ToolListResponses, ToolListErrors, ThrowOnError, "fields">;
236
+ }
237
+ export declare class Worktree extends HeyApiClient {
238
+ /**
239
+ * Remove worktree
240
+ *
241
+ * Remove a git worktree and delete its branch.
242
+ */
243
+ remove<ThrowOnError extends boolean = false>(parameters?: {
244
+ directory?: string;
245
+ worktreeRemoveInput?: WorktreeRemoveInput;
246
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeRemoveResponses, WorktreeRemoveErrors, ThrowOnError, "fields">;
247
+ /**
248
+ * List worktrees
249
+ *
250
+ * List all sandbox worktrees for the current project.
251
+ */
252
+ list<ThrowOnError extends boolean = false>(parameters?: {
253
+ directory?: string;
254
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeListResponses, unknown, ThrowOnError, "fields">;
255
+ /**
256
+ * Create worktree
257
+ *
258
+ * Create a new git worktree for the current project and run any configured startup scripts.
259
+ */
260
+ create<ThrowOnError extends boolean = false>(parameters?: {
261
+ directory?: string;
262
+ worktreeCreateInput?: WorktreeCreateInput;
263
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeCreateResponses, WorktreeCreateErrors, ThrowOnError, "fields">;
264
+ /**
265
+ * Reset worktree
266
+ *
267
+ * Reset a worktree branch to the primary default branch.
268
+ */
269
+ reset<ThrowOnError extends boolean = false>(parameters?: {
270
+ directory?: string;
271
+ worktreeResetInput?: WorktreeResetInput;
272
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeResetResponses, WorktreeResetErrors, ThrowOnError, "fields">;
273
+ }
274
+ export declare class Resource extends HeyApiClient {
275
+ /**
276
+ * Get MCP resources
277
+ *
278
+ * Get all available MCP resources from connected servers. Optionally filter by name.
279
+ */
280
+ list<ThrowOnError extends boolean = false>(parameters?: {
281
+ directory?: string;
282
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalResourceListResponses, unknown, ThrowOnError, "fields">;
283
+ }
284
+ export declare class Experimental extends HeyApiClient {
285
+ private _resource?;
286
+ get resource(): Resource;
287
+ }
288
+ export declare class Session extends HeyApiClient {
289
+ /**
290
+ * List sessions
291
+ *
292
+ * Get a list of all IronCode sessions, sorted by most recently updated.
293
+ */
294
+ list<ThrowOnError extends boolean = false>(parameters?: {
295
+ directory?: string;
296
+ roots?: boolean;
297
+ start?: number;
298
+ search?: string;
299
+ limit?: number;
300
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionListResponses, unknown, ThrowOnError, "fields">;
301
+ /**
302
+ * Create session
303
+ *
304
+ * Create a new IronCode session for interacting with AI assistants and managing conversations.
305
+ */
306
+ create<ThrowOnError extends boolean = false>(parameters?: {
307
+ directory?: string;
308
+ parentID?: string;
309
+ title?: string;
310
+ permission?: PermissionRuleset;
311
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionCreateResponses, SessionCreateErrors, ThrowOnError, "fields">;
312
+ /**
313
+ * Get session status
314
+ *
315
+ * Retrieve the current status of all sessions, including active, idle, and completed states.
316
+ */
317
+ status<ThrowOnError extends boolean = false>(parameters?: {
318
+ directory?: string;
319
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionStatusResponses, SessionStatusErrors, ThrowOnError, "fields">;
320
+ /**
321
+ * Delete session
322
+ *
323
+ * Delete a session and permanently remove all associated data, including messages and history.
324
+ */
325
+ delete<ThrowOnError extends boolean = false>(parameters: {
326
+ sessionID: string;
327
+ directory?: string;
328
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDeleteResponses, SessionDeleteErrors, ThrowOnError, "fields">;
329
+ /**
330
+ * Get session
331
+ *
332
+ * Retrieve detailed information about a specific IronCode session.
333
+ */
334
+ get<ThrowOnError extends boolean = false>(parameters: {
335
+ sessionID: string;
336
+ directory?: string;
337
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionGetResponses, SessionGetErrors, ThrowOnError, "fields">;
338
+ /**
339
+ * Update session
340
+ *
341
+ * Update properties of an existing session, such as title or other metadata.
342
+ */
343
+ update<ThrowOnError extends boolean = false>(parameters: {
344
+ sessionID: string;
345
+ directory?: string;
346
+ title?: string;
347
+ time?: {
348
+ archived?: number;
349
+ };
350
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUpdateResponses, SessionUpdateErrors, ThrowOnError, "fields">;
351
+ /**
352
+ * Get session children
353
+ *
354
+ * Retrieve all child sessions that were forked from the specified parent session.
355
+ */
356
+ children<ThrowOnError extends boolean = false>(parameters: {
357
+ sessionID: string;
358
+ directory?: string;
359
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionChildrenResponses, SessionChildrenErrors, ThrowOnError, "fields">;
360
+ /**
361
+ * Get session todos
362
+ *
363
+ * Retrieve the todo list associated with a specific session, showing tasks and action items.
364
+ */
365
+ todo<ThrowOnError extends boolean = false>(parameters: {
366
+ sessionID: string;
367
+ directory?: string;
368
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionTodoResponses, SessionTodoErrors, ThrowOnError, "fields">;
369
+ /**
370
+ * Initialize session
371
+ *
372
+ * Analyze the current application and create an AGENTS.md file with project-specific agent configurations.
373
+ */
374
+ init<ThrowOnError extends boolean = false>(parameters: {
375
+ sessionID: string;
376
+ directory?: string;
377
+ modelID?: string;
378
+ providerID?: string;
379
+ messageID?: string;
380
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionInitResponses, SessionInitErrors, ThrowOnError, "fields">;
381
+ /**
382
+ * Fork session
383
+ *
384
+ * Create a new session by forking an existing session at a specific message point.
385
+ */
386
+ fork<ThrowOnError extends boolean = false>(parameters: {
387
+ sessionID: string;
388
+ directory?: string;
389
+ messageID?: string;
390
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionForkResponses, unknown, ThrowOnError, "fields">;
391
+ /**
392
+ * Abort session
393
+ *
394
+ * Abort an active session and stop any ongoing AI processing or command execution.
395
+ */
396
+ abort<ThrowOnError extends boolean = false>(parameters: {
397
+ sessionID: string;
398
+ directory?: string;
399
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionAbortResponses, SessionAbortErrors, ThrowOnError, "fields">;
400
+ /**
401
+ * Unshare session
402
+ *
403
+ * Remove the shareable link for a session, making it private again.
404
+ */
405
+ unshare<ThrowOnError extends boolean = false>(parameters: {
406
+ sessionID: string;
407
+ directory?: string;
408
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUnshareResponses, SessionUnshareErrors, ThrowOnError, "fields">;
409
+ /**
410
+ * Share session
411
+ *
412
+ * Create a shareable link for a session, allowing others to view the conversation.
413
+ */
414
+ share<ThrowOnError extends boolean = false>(parameters: {
415
+ sessionID: string;
416
+ directory?: string;
417
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionShareResponses, SessionShareErrors, ThrowOnError, "fields">;
418
+ /**
419
+ * Get message diff
420
+ *
421
+ * Get the file changes (diff) that resulted from a specific user message in the session.
422
+ */
423
+ diff<ThrowOnError extends boolean = false>(parameters: {
424
+ sessionID: string;
425
+ directory?: string;
426
+ messageID?: string;
427
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDiffResponses, unknown, ThrowOnError, "fields">;
428
+ /**
429
+ * Summarize session
430
+ *
431
+ * Generate a concise summary of the session using AI compaction to preserve key information.
432
+ */
433
+ summarize<ThrowOnError extends boolean = false>(parameters: {
434
+ sessionID: string;
435
+ directory?: string;
436
+ providerID?: string;
437
+ modelID?: string;
438
+ auto?: boolean;
439
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionSummarizeResponses, SessionSummarizeErrors, ThrowOnError, "fields">;
440
+ /**
441
+ * Get session messages
442
+ *
443
+ * Retrieve all messages in a session, including user prompts and AI responses.
444
+ */
445
+ messages<ThrowOnError extends boolean = false>(parameters: {
446
+ sessionID: string;
447
+ directory?: string;
448
+ limit?: number;
449
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMessagesResponses, SessionMessagesErrors, ThrowOnError, "fields">;
450
+ /**
451
+ * Send message
452
+ *
453
+ * Create and send a new message to a session, streaming the AI response.
454
+ */
455
+ prompt<ThrowOnError extends boolean = false>(parameters: {
456
+ sessionID: string;
457
+ directory?: string;
458
+ messageID?: string;
459
+ model?: {
460
+ providerID: string;
461
+ modelID: string;
462
+ };
463
+ agent?: string;
464
+ noReply?: boolean;
465
+ tools?: {
466
+ [key: string]: boolean;
467
+ };
468
+ system?: string;
469
+ variant?: string;
470
+ parts?: Array<TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput>;
471
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionPromptResponses, SessionPromptErrors, ThrowOnError, "fields">;
472
+ /**
473
+ * Get message
474
+ *
475
+ * Retrieve a specific message from a session by its message ID.
476
+ */
477
+ message<ThrowOnError extends boolean = false>(parameters: {
478
+ sessionID: string;
479
+ messageID: string;
480
+ directory?: string;
481
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMessageResponses, SessionMessageErrors, ThrowOnError, "fields">;
482
+ /**
483
+ * Send async message
484
+ *
485
+ * Create and send a new message to a session asynchronously, starting the session if needed and returning immediately.
486
+ */
487
+ promptAsync<ThrowOnError extends boolean = false>(parameters: {
488
+ sessionID: string;
489
+ directory?: string;
490
+ messageID?: string;
491
+ model?: {
492
+ providerID: string;
493
+ modelID: string;
494
+ };
495
+ agent?: string;
496
+ noReply?: boolean;
497
+ tools?: {
498
+ [key: string]: boolean;
499
+ };
500
+ system?: string;
501
+ variant?: string;
502
+ parts?: Array<TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput>;
503
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionPromptAsyncResponses, SessionPromptAsyncErrors, ThrowOnError, "fields">;
504
+ /**
505
+ * Send command
506
+ *
507
+ * Send a new command to a session for execution by the AI assistant.
508
+ */
509
+ command<ThrowOnError extends boolean = false>(parameters: {
510
+ sessionID: string;
511
+ directory?: string;
512
+ messageID?: string;
513
+ agent?: string;
514
+ model?: string;
515
+ arguments?: string;
516
+ command?: string;
517
+ variant?: string;
518
+ parts?: Array<{
519
+ id?: string;
520
+ type: "file";
521
+ mime: string;
522
+ filename?: string;
523
+ url: string;
524
+ source?: FilePartSource;
525
+ }>;
526
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionCommandResponses, SessionCommandErrors, ThrowOnError, "fields">;
527
+ /**
528
+ * Run shell command
529
+ *
530
+ * Execute a shell command within the session context and return the AI's response.
531
+ */
532
+ shell<ThrowOnError extends boolean = false>(parameters: {
533
+ sessionID: string;
534
+ directory?: string;
535
+ agent?: string;
536
+ model?: {
537
+ providerID: string;
538
+ modelID: string;
539
+ };
540
+ command?: string;
541
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionShellResponses, SessionShellErrors, ThrowOnError, "fields">;
542
+ /**
543
+ * Revert message
544
+ *
545
+ * Revert a specific message in a session, undoing its effects and restoring the previous state.
546
+ */
547
+ revert<ThrowOnError extends boolean = false>(parameters: {
548
+ sessionID: string;
549
+ directory?: string;
550
+ messageID?: string;
551
+ partID?: string;
552
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionRevertResponses, SessionRevertErrors, ThrowOnError, "fields">;
553
+ /**
554
+ * Restore reverted messages
555
+ *
556
+ * Restore all previously reverted messages in a session.
557
+ */
558
+ unrevert<ThrowOnError extends boolean = false>(parameters: {
559
+ sessionID: string;
560
+ directory?: string;
561
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUnrevertResponses, SessionUnrevertErrors, ThrowOnError, "fields">;
562
+ }
563
+ export declare class Part extends HeyApiClient {
564
+ /**
565
+ * Delete a part from a message
566
+ */
567
+ delete<ThrowOnError extends boolean = false>(parameters: {
568
+ sessionID: string;
569
+ messageID: string;
570
+ partID: string;
571
+ directory?: string;
572
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PartDeleteResponses, PartDeleteErrors, ThrowOnError, "fields">;
573
+ /**
574
+ * Update a part in a message
575
+ */
576
+ update<ThrowOnError extends boolean = false>(parameters: {
577
+ sessionID: string;
578
+ messageID: string;
579
+ partID: string;
580
+ directory?: string;
581
+ part?: Part2;
582
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PartUpdateResponses, PartUpdateErrors, ThrowOnError, "fields">;
583
+ }
584
+ export declare class Permission extends HeyApiClient {
585
+ /**
586
+ * Respond to permission
587
+ *
588
+ * Approve or deny a permission request from the AI assistant.
589
+ *
590
+ * @deprecated
591
+ */
592
+ respond<ThrowOnError extends boolean = false>(parameters: {
593
+ sessionID: string;
594
+ permissionID: string;
595
+ directory?: string;
596
+ response?: "once" | "always" | "reject";
597
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionRespondResponses, PermissionRespondErrors, ThrowOnError, "fields">;
598
+ /**
599
+ * Respond to permission request
600
+ *
601
+ * Approve or deny a permission request from the AI assistant.
602
+ */
603
+ reply<ThrowOnError extends boolean = false>(parameters: {
604
+ requestID: string;
605
+ directory?: string;
606
+ reply?: "once" | "always" | "reject";
607
+ message?: string;
608
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionReplyResponses, PermissionReplyErrors, ThrowOnError, "fields">;
609
+ /**
610
+ * List pending permissions
611
+ *
612
+ * Get all pending permission requests across all sessions.
613
+ */
614
+ list<ThrowOnError extends boolean = false>(parameters?: {
615
+ directory?: string;
616
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionListResponses, unknown, ThrowOnError, "fields">;
617
+ }
618
+ export declare class Question extends HeyApiClient {
619
+ /**
620
+ * List pending questions
621
+ *
622
+ * Get all pending question requests across all sessions.
623
+ */
624
+ list<ThrowOnError extends boolean = false>(parameters?: {
625
+ directory?: string;
626
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionListResponses, unknown, ThrowOnError, "fields">;
627
+ /**
628
+ * Reply to question request
629
+ *
630
+ * Provide answers to a question request from the AI assistant.
631
+ */
632
+ reply<ThrowOnError extends boolean = false>(parameters: {
633
+ requestID: string;
634
+ directory?: string;
635
+ answers?: Array<QuestionAnswer>;
636
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionReplyResponses, QuestionReplyErrors, ThrowOnError, "fields">;
637
+ /**
638
+ * Reject question request
639
+ *
640
+ * Reject a question request from the AI assistant.
641
+ */
642
+ reject<ThrowOnError extends boolean = false>(parameters: {
643
+ requestID: string;
644
+ directory?: string;
645
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionRejectResponses, QuestionRejectErrors, ThrowOnError, "fields">;
646
+ }
647
+ export declare class Oauth extends HeyApiClient {
648
+ /**
649
+ * OAuth authorize
650
+ *
651
+ * Initiate OAuth authorization for a specific AI provider to get an authorization URL.
652
+ */
653
+ authorize<ThrowOnError extends boolean = false>(parameters: {
654
+ providerID: string;
655
+ directory?: string;
656
+ method?: number;
657
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderOauthAuthorizeResponses, ProviderOauthAuthorizeErrors, ThrowOnError, "fields">;
658
+ /**
659
+ * OAuth callback
660
+ *
661
+ * Handle the OAuth callback from a provider after user authorization.
662
+ */
663
+ callback<ThrowOnError extends boolean = false>(parameters: {
664
+ providerID: string;
665
+ directory?: string;
666
+ method?: number;
667
+ code?: string;
668
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderOauthCallbackResponses, ProviderOauthCallbackErrors, ThrowOnError, "fields">;
669
+ }
670
+ export declare class Provider extends HeyApiClient {
671
+ /**
672
+ * List providers
673
+ *
674
+ * Get a list of all available AI providers, including both available and connected ones.
675
+ */
676
+ list<ThrowOnError extends boolean = false>(parameters?: {
677
+ directory?: string;
678
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderListResponses, unknown, ThrowOnError, "fields">;
679
+ /**
680
+ * Get provider auth methods
681
+ *
682
+ * Retrieve available authentication methods for all AI providers.
683
+ */
684
+ auth<ThrowOnError extends boolean = false>(parameters?: {
685
+ directory?: string;
686
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderAuthResponses, unknown, ThrowOnError, "fields">;
687
+ private _oauth?;
688
+ get oauth(): Oauth;
689
+ }
690
+ export declare class Find extends HeyApiClient {
691
+ /**
692
+ * Find text
693
+ *
694
+ * Search for text patterns across files in the project using ripgrep.
695
+ */
696
+ text<ThrowOnError extends boolean = false>(parameters: {
697
+ directory?: string;
698
+ pattern: string;
699
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindTextResponses, unknown, ThrowOnError, "fields">;
700
+ /**
701
+ * Find files
702
+ *
703
+ * Search for files or directories by name or pattern in the project directory.
704
+ */
705
+ files<ThrowOnError extends boolean = false>(parameters: {
706
+ directory?: string;
707
+ query: string;
708
+ dirs?: "true" | "false";
709
+ type?: "file" | "directory";
710
+ limit?: number;
711
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindFilesResponses, unknown, ThrowOnError, "fields">;
712
+ /**
713
+ * Find symbols
714
+ *
715
+ * Search for workspace symbols like functions, classes, and variables using LSP.
716
+ */
717
+ symbols<ThrowOnError extends boolean = false>(parameters: {
718
+ directory?: string;
719
+ query: string;
720
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindSymbolsResponses, unknown, ThrowOnError, "fields">;
721
+ }
722
+ export declare class File extends HeyApiClient {
723
+ /**
724
+ * List files
725
+ *
726
+ * List files and directories in a specified path.
727
+ */
728
+ list<ThrowOnError extends boolean = false>(parameters: {
729
+ directory?: string;
730
+ path: string;
731
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileListResponses, unknown, ThrowOnError, "fields">;
732
+ /**
733
+ * Read file
734
+ *
735
+ * Read the content of a specified file.
736
+ */
737
+ read<ThrowOnError extends boolean = false>(parameters: {
738
+ directory?: string;
739
+ path: string;
740
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileReadResponses, unknown, ThrowOnError, "fields">;
741
+ /**
742
+ * Get file status
743
+ *
744
+ * Get the git status of all files in the project.
745
+ */
746
+ status<ThrowOnError extends boolean = false>(parameters?: {
747
+ directory?: string;
748
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileStatusResponses, unknown, ThrowOnError, "fields">;
749
+ }
750
+ export declare class Auth2 extends HeyApiClient {
751
+ /**
752
+ * Remove MCP OAuth
753
+ *
754
+ * Remove OAuth credentials for an MCP server
755
+ */
756
+ remove<ThrowOnError extends boolean = false>(parameters: {
757
+ name: string;
758
+ directory?: string;
759
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthRemoveResponses, McpAuthRemoveErrors, ThrowOnError, "fields">;
760
+ /**
761
+ * Start MCP OAuth
762
+ *
763
+ * Start OAuth authentication flow for a Model Context Protocol (MCP) server.
764
+ */
765
+ start<ThrowOnError extends boolean = false>(parameters: {
766
+ name: string;
767
+ directory?: string;
768
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthStartResponses, McpAuthStartErrors, ThrowOnError, "fields">;
769
+ /**
770
+ * Complete MCP OAuth
771
+ *
772
+ * Complete OAuth authentication for a Model Context Protocol (MCP) server using the authorization code.
773
+ */
774
+ callback<ThrowOnError extends boolean = false>(parameters: {
775
+ name: string;
776
+ directory?: string;
777
+ code?: string;
778
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthCallbackResponses, McpAuthCallbackErrors, ThrowOnError, "fields">;
779
+ /**
780
+ * Authenticate MCP OAuth
781
+ *
782
+ * Start OAuth flow and wait for callback (opens browser)
783
+ */
784
+ authenticate<ThrowOnError extends boolean = false>(parameters: {
785
+ name: string;
786
+ directory?: string;
787
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthAuthenticateResponses, McpAuthAuthenticateErrors, ThrowOnError, "fields">;
788
+ }
789
+ export declare class Mcp extends HeyApiClient {
790
+ /**
791
+ * Get MCP status
792
+ *
793
+ * Get the status of all Model Context Protocol (MCP) servers.
794
+ */
795
+ status<ThrowOnError extends boolean = false>(parameters?: {
796
+ directory?: string;
797
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpStatusResponses, unknown, ThrowOnError, "fields">;
798
+ /**
799
+ * Add MCP server
800
+ *
801
+ * Dynamically add a new Model Context Protocol (MCP) server to the system.
802
+ */
803
+ add<ThrowOnError extends boolean = false>(parameters?: {
804
+ directory?: string;
805
+ name?: string;
806
+ config?: McpLocalConfig | McpRemoteConfig;
807
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAddResponses, McpAddErrors, ThrowOnError, "fields">;
808
+ /**
809
+ * Connect an MCP server
810
+ */
811
+ connect<ThrowOnError extends boolean = false>(parameters: {
812
+ name: string;
813
+ directory?: string;
814
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpConnectResponses, unknown, ThrowOnError, "fields">;
815
+ /**
816
+ * Disconnect an MCP server
817
+ */
818
+ disconnect<ThrowOnError extends boolean = false>(parameters: {
819
+ name: string;
820
+ directory?: string;
821
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpDisconnectResponses, unknown, ThrowOnError, "fields">;
822
+ private _auth?;
823
+ get auth(): Auth2;
824
+ }
825
+ export declare class Control extends HeyApiClient {
826
+ /**
827
+ * Get next TUI request
828
+ *
829
+ * Retrieve the next TUI (Terminal User Interface) request from the queue for processing.
830
+ */
831
+ next<ThrowOnError extends boolean = false>(parameters?: {
832
+ directory?: string;
833
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiControlNextResponses, unknown, ThrowOnError, "fields">;
834
+ /**
835
+ * Submit TUI response
836
+ *
837
+ * Submit a response to the TUI request queue to complete a pending request.
838
+ */
839
+ response<ThrowOnError extends boolean = false>(parameters?: {
840
+ directory?: string;
841
+ body?: unknown;
842
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiControlResponseResponses, unknown, ThrowOnError, "fields">;
843
+ }
844
+ export declare class Tui extends HeyApiClient {
845
+ /**
846
+ * Append TUI prompt
847
+ *
848
+ * Append prompt to the TUI
849
+ */
850
+ appendPrompt<ThrowOnError extends boolean = false>(parameters?: {
851
+ directory?: string;
852
+ text?: string;
853
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiAppendPromptResponses, TuiAppendPromptErrors, ThrowOnError, "fields">;
854
+ /**
855
+ * Open help dialog
856
+ *
857
+ * Open the help dialog in the TUI to display user assistance information.
858
+ */
859
+ openHelp<ThrowOnError extends boolean = false>(parameters?: {
860
+ directory?: string;
861
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenHelpResponses, unknown, ThrowOnError, "fields">;
862
+ /**
863
+ * Open sessions dialog
864
+ *
865
+ * Open the session dialog
866
+ */
867
+ openSessions<ThrowOnError extends boolean = false>(parameters?: {
868
+ directory?: string;
869
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenSessionsResponses, unknown, ThrowOnError, "fields">;
870
+ /**
871
+ * Open themes dialog
872
+ *
873
+ * Open the theme dialog
874
+ */
875
+ openThemes<ThrowOnError extends boolean = false>(parameters?: {
876
+ directory?: string;
877
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenThemesResponses, unknown, ThrowOnError, "fields">;
878
+ /**
879
+ * Open models dialog
880
+ *
881
+ * Open the model dialog
882
+ */
883
+ openModels<ThrowOnError extends boolean = false>(parameters?: {
884
+ directory?: string;
885
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenModelsResponses, unknown, ThrowOnError, "fields">;
886
+ /**
887
+ * Submit TUI prompt
888
+ *
889
+ * Submit the prompt
890
+ */
891
+ submitPrompt<ThrowOnError extends boolean = false>(parameters?: {
892
+ directory?: string;
893
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiSubmitPromptResponses, unknown, ThrowOnError, "fields">;
894
+ /**
895
+ * Clear TUI prompt
896
+ *
897
+ * Clear the prompt
898
+ */
899
+ clearPrompt<ThrowOnError extends boolean = false>(parameters?: {
900
+ directory?: string;
901
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiClearPromptResponses, unknown, ThrowOnError, "fields">;
902
+ /**
903
+ * Execute TUI command
904
+ *
905
+ * Execute a TUI command (e.g. agent_cycle)
906
+ */
907
+ executeCommand<ThrowOnError extends boolean = false>(parameters?: {
908
+ directory?: string;
909
+ command?: string;
910
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiExecuteCommandResponses, TuiExecuteCommandErrors, ThrowOnError, "fields">;
911
+ /**
912
+ * Show TUI toast
913
+ *
914
+ * Show a toast notification in the TUI
915
+ */
916
+ showToast<ThrowOnError extends boolean = false>(parameters?: {
917
+ directory?: string;
918
+ title?: string;
919
+ message?: string;
920
+ variant?: "info" | "success" | "warning" | "error";
921
+ duration?: number;
922
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiShowToastResponses, unknown, ThrowOnError, "fields">;
923
+ /**
924
+ * Publish TUI event
925
+ *
926
+ * Publish a TUI event
927
+ */
928
+ publish<ThrowOnError extends boolean = false>(parameters?: {
929
+ directory?: string;
930
+ body?: EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect;
931
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiPublishResponses, TuiPublishErrors, ThrowOnError, "fields">;
932
+ /**
933
+ * Select session
934
+ *
935
+ * Navigate the TUI to display the specified session.
936
+ */
937
+ selectSession<ThrowOnError extends boolean = false>(parameters?: {
938
+ directory?: string;
939
+ sessionID?: string;
940
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiSelectSessionResponses, TuiSelectSessionErrors, ThrowOnError, "fields">;
941
+ private _control?;
942
+ get control(): Control;
943
+ }
944
+ export declare class Instance extends HeyApiClient {
945
+ /**
946
+ * Dispose instance
947
+ *
948
+ * Clean up and dispose the current IronCode instance, releasing all resources.
949
+ */
950
+ dispose<ThrowOnError extends boolean = false>(parameters?: {
951
+ directory?: string;
952
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<InstanceDisposeResponses, unknown, ThrowOnError, "fields">;
953
+ }
954
+ export declare class Path extends HeyApiClient {
955
+ /**
956
+ * Get paths
957
+ *
958
+ * Retrieve the current working directory and related path information for the IronCode instance.
959
+ */
960
+ get<ThrowOnError extends boolean = false>(parameters?: {
961
+ directory?: string;
962
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PathGetResponses, unknown, ThrowOnError, "fields">;
963
+ }
964
+ export declare class Vcs extends HeyApiClient {
965
+ /**
966
+ * Get VCS info
967
+ *
968
+ * Retrieve version control system (VCS) information for the current project, such as git branch.
969
+ */
970
+ get<ThrowOnError extends boolean = false>(parameters?: {
971
+ directory?: string;
972
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsGetResponses, unknown, ThrowOnError, "fields">;
973
+ }
974
+ export declare class Command extends HeyApiClient {
975
+ /**
976
+ * List commands
977
+ *
978
+ * Get a list of all available commands in the IronCode system.
979
+ */
980
+ list<ThrowOnError extends boolean = false>(parameters?: {
981
+ directory?: string;
982
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CommandListResponses, unknown, ThrowOnError, "fields">;
983
+ }
984
+ export declare class App extends HeyApiClient {
985
+ /**
986
+ * Write log
987
+ *
988
+ * Write a log entry to the server logs with specified level and metadata.
989
+ */
990
+ log<ThrowOnError extends boolean = false>(parameters?: {
991
+ directory?: string;
992
+ service?: string;
993
+ level?: "debug" | "info" | "error" | "warn";
994
+ message?: string;
995
+ extra?: {
996
+ [key: string]: unknown;
997
+ };
998
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppLogResponses, AppLogErrors, ThrowOnError, "fields">;
999
+ /**
1000
+ * List agents
1001
+ *
1002
+ * Get a list of all available AI agents in the IronCode system.
1003
+ */
1004
+ agents<ThrowOnError extends boolean = false>(parameters?: {
1005
+ directory?: string;
1006
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppAgentsResponses, unknown, ThrowOnError, "fields">;
1007
+ /**
1008
+ * List skills
1009
+ *
1010
+ * Get a list of all available skills in the IronCode system.
1011
+ */
1012
+ skills<ThrowOnError extends boolean = false>(parameters?: {
1013
+ directory?: string;
1014
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppSkillsResponses, unknown, ThrowOnError, "fields">;
1015
+ }
1016
+ export declare class Lsp extends HeyApiClient {
1017
+ /**
1018
+ * Get LSP status
1019
+ *
1020
+ * Get LSP server status
1021
+ */
1022
+ status<ThrowOnError extends boolean = false>(parameters?: {
1023
+ directory?: string;
1024
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LspStatusResponses, unknown, ThrowOnError, "fields">;
1025
+ }
1026
+ export declare class Formatter extends HeyApiClient {
1027
+ /**
1028
+ * Get formatter status
1029
+ *
1030
+ * Get formatter status
1031
+ */
1032
+ status<ThrowOnError extends boolean = false>(parameters?: {
1033
+ directory?: string;
1034
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FormatterStatusResponses, unknown, ThrowOnError, "fields">;
1035
+ }
1036
+ export declare class Event extends HeyApiClient {
1037
+ /**
1038
+ * Subscribe to events
1039
+ *
1040
+ * Get events
1041
+ */
1042
+ subscribe<ThrowOnError extends boolean = false>(parameters?: {
1043
+ directory?: string;
1044
+ }, options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<EventSubscribeResponses, unknown>>;
1045
+ }
1046
+ export declare class IroncodeClient extends HeyApiClient {
1047
+ static readonly __registry: HeyApiRegistry<IroncodeClient>;
1048
+ constructor(args?: {
1049
+ client?: Client;
1050
+ key?: string;
1051
+ });
1052
+ private _global?;
1053
+ get global(): Global;
1054
+ private _auth?;
1055
+ get auth(): Auth;
1056
+ private _project?;
1057
+ get project(): Project;
1058
+ private _pty?;
1059
+ get pty(): Pty;
1060
+ private _config?;
1061
+ get config(): Config2;
1062
+ private _tool?;
1063
+ get tool(): Tool;
1064
+ private _worktree?;
1065
+ get worktree(): Worktree;
1066
+ private _experimental?;
1067
+ get experimental(): Experimental;
1068
+ private _session?;
1069
+ get session(): Session;
1070
+ private _part?;
1071
+ get part(): Part;
1072
+ private _permission?;
1073
+ get permission(): Permission;
1074
+ private _question?;
1075
+ get question(): Question;
1076
+ private _provider?;
1077
+ get provider(): Provider;
1078
+ private _find?;
1079
+ get find(): Find;
1080
+ private _file?;
1081
+ get file(): File;
1082
+ private _mcp?;
1083
+ get mcp(): Mcp;
1084
+ private _tui?;
1085
+ get tui(): Tui;
1086
+ private _instance?;
1087
+ get instance(): Instance;
1088
+ private _path?;
1089
+ get path(): Path;
1090
+ private _vcs?;
1091
+ get vcs(): Vcs;
1092
+ private _command?;
1093
+ get command(): Command;
1094
+ private _app?;
1095
+ get app(): App;
1096
+ private _lsp?;
1097
+ get lsp(): Lsp;
1098
+ private _formatter?;
1099
+ get formatter(): Formatter;
1100
+ private _event?;
1101
+ get event(): Event;
1102
+ }
1103
+ export {};