@ericsanchezok/synergy-sdk 0.0.2 → 1.0.0

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