@100xprompt/sdk 0.0.0-dev-202607191034

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