@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,1014 @@
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, PermissionMode, 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
+ permissionMode?: PermissionMode;
304
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUpdateResponses, SessionUpdateErrors, ThrowOnError, "fields">;
305
+ /**
306
+ * Get session children
307
+ *
308
+ * Retrieve all child sessions that were forked from the specified parent session.
309
+ */
310
+ children<ThrowOnError extends boolean = false>(parameters: {
311
+ sessionID: string;
312
+ directory?: string;
313
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionChildrenResponses, SessionChildrenErrors, ThrowOnError, "fields">;
314
+ /**
315
+ * Get session todos
316
+ *
317
+ * Retrieve the todo list associated with a specific session, showing tasks and action items.
318
+ */
319
+ todo<ThrowOnError extends boolean = false>(parameters: {
320
+ sessionID: string;
321
+ directory?: string;
322
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionTodoResponses, SessionTodoErrors, ThrowOnError, "fields">;
323
+ /**
324
+ * Initialize session
325
+ *
326
+ * Analyze the current application and create an AGENTS.md file with project-specific agent configurations.
327
+ */
328
+ init<ThrowOnError extends boolean = false>(parameters: {
329
+ sessionID: string;
330
+ directory?: string;
331
+ modelID?: string;
332
+ providerID?: string;
333
+ messageID?: string;
334
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionInitResponses, SessionInitErrors, ThrowOnError, "fields">;
335
+ /**
336
+ * Fork session
337
+ *
338
+ * Create a new session by forking an existing session at a specific message point.
339
+ */
340
+ fork<ThrowOnError extends boolean = false>(parameters: {
341
+ sessionID: string;
342
+ directory?: string;
343
+ messageID?: string;
344
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionForkResponses, unknown, ThrowOnError, "fields">;
345
+ /**
346
+ * Abort session
347
+ *
348
+ * Abort an active session and stop any ongoing AI processing or command execution.
349
+ */
350
+ abort<ThrowOnError extends boolean = false>(parameters: {
351
+ sessionID: string;
352
+ directory?: string;
353
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionAbortResponses, SessionAbortErrors, ThrowOnError, "fields">;
354
+ /**
355
+ * Unshare session
356
+ *
357
+ * Remove the shareable link for a session, making it private again.
358
+ */
359
+ unshare<ThrowOnError extends boolean = false>(parameters: {
360
+ sessionID: string;
361
+ directory?: string;
362
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUnshareResponses, SessionUnshareErrors, ThrowOnError, "fields">;
363
+ /**
364
+ * Share session
365
+ *
366
+ * Create a shareable link for a session, allowing others to view the conversation.
367
+ */
368
+ share<ThrowOnError extends boolean = false>(parameters: {
369
+ sessionID: string;
370
+ directory?: string;
371
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionShareResponses, SessionShareErrors, ThrowOnError, "fields">;
372
+ /**
373
+ * Get session diff
374
+ *
375
+ * Get all file changes (diffs) made during this session.
376
+ */
377
+ diff<ThrowOnError extends boolean = false>(parameters: {
378
+ sessionID: string;
379
+ directory?: string;
380
+ messageID?: string;
381
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDiffResponses, SessionDiffErrors, ThrowOnError, "fields">;
382
+ /**
383
+ * Summarize session
384
+ *
385
+ * Generate a concise summary of the session using AI compaction to preserve key information.
386
+ */
387
+ summarize<ThrowOnError extends boolean = false>(parameters: {
388
+ sessionID: string;
389
+ directory?: string;
390
+ providerID?: string;
391
+ modelID?: string;
392
+ auto?: boolean;
393
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionSummarizeResponses, SessionSummarizeErrors, ThrowOnError, "fields">;
394
+ /**
395
+ * Get session messages
396
+ *
397
+ * Retrieve all messages in a session, including user prompts and AI responses.
398
+ */
399
+ messages<ThrowOnError extends boolean = false>(parameters: {
400
+ sessionID: string;
401
+ directory?: string;
402
+ limit?: number;
403
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMessagesResponses, SessionMessagesErrors, ThrowOnError, "fields">;
404
+ /**
405
+ * Send message
406
+ *
407
+ * Create and send a new message to a session, streaming the AI response.
408
+ */
409
+ prompt<ThrowOnError extends boolean = false>(parameters: {
410
+ sessionID: string;
411
+ directory?: string;
412
+ messageID?: string;
413
+ model?: {
414
+ providerID: string;
415
+ modelID: string;
416
+ };
417
+ agent?: string;
418
+ noReply?: boolean;
419
+ tools?: {
420
+ [key: string]: boolean;
421
+ };
422
+ system?: string;
423
+ variant?: string;
424
+ parts?: Array<TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput>;
425
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionPromptResponses, SessionPromptErrors, ThrowOnError, "fields">;
426
+ /**
427
+ * Get message
428
+ *
429
+ * Retrieve a specific message from a session by its message ID.
430
+ */
431
+ message<ThrowOnError extends boolean = false>(parameters: {
432
+ sessionID: string;
433
+ messageID: string;
434
+ directory?: string;
435
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMessageResponses, SessionMessageErrors, ThrowOnError, "fields">;
436
+ /**
437
+ * Send async message
438
+ *
439
+ * Create and send a new message to a session asynchronously, starting the session if needed and returning immediately.
440
+ */
441
+ promptAsync<ThrowOnError extends boolean = false>(parameters: {
442
+ sessionID: string;
443
+ directory?: string;
444
+ messageID?: string;
445
+ model?: {
446
+ providerID: string;
447
+ modelID: string;
448
+ };
449
+ agent?: string;
450
+ noReply?: boolean;
451
+ tools?: {
452
+ [key: string]: boolean;
453
+ };
454
+ system?: string;
455
+ variant?: string;
456
+ parts?: Array<TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput>;
457
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionPromptAsyncResponses, SessionPromptAsyncErrors, ThrowOnError, "fields">;
458
+ /**
459
+ * Send command
460
+ *
461
+ * Send a new command to a session for execution by the AI assistant.
462
+ */
463
+ command<ThrowOnError extends boolean = false>(parameters: {
464
+ sessionID: string;
465
+ directory?: string;
466
+ messageID?: string;
467
+ agent?: string;
468
+ model?: string;
469
+ arguments?: string;
470
+ command?: string;
471
+ variant?: string;
472
+ parts?: Array<{
473
+ id?: string;
474
+ type: "file";
475
+ mime: string;
476
+ filename?: string;
477
+ url: string;
478
+ source?: FilePartSource;
479
+ }>;
480
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionCommandResponses, SessionCommandErrors, ThrowOnError, "fields">;
481
+ /**
482
+ * Run shell command
483
+ *
484
+ * Execute a shell command within the session context and return the AI's response.
485
+ */
486
+ shell<ThrowOnError extends boolean = false>(parameters: {
487
+ sessionID: string;
488
+ directory?: string;
489
+ agent?: string;
490
+ model?: {
491
+ providerID: string;
492
+ modelID: string;
493
+ };
494
+ command?: string;
495
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionShellResponses, SessionShellErrors, ThrowOnError, "fields">;
496
+ /**
497
+ * Revert message
498
+ *
499
+ * Revert a specific message in a session, undoing its effects and restoring the previous state.
500
+ */
501
+ revert<ThrowOnError extends boolean = false>(parameters: {
502
+ sessionID: string;
503
+ directory?: string;
504
+ messageID?: string;
505
+ partID?: string;
506
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionRevertResponses, SessionRevertErrors, ThrowOnError, "fields">;
507
+ /**
508
+ * Restore reverted messages
509
+ *
510
+ * Restore all previously reverted messages in a session.
511
+ */
512
+ unrevert<ThrowOnError extends boolean = false>(parameters: {
513
+ sessionID: string;
514
+ directory?: string;
515
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUnrevertResponses, SessionUnrevertErrors, ThrowOnError, "fields">;
516
+ }
517
+ export declare class Part extends HeyApiClient {
518
+ /**
519
+ * Delete a part from a message
520
+ */
521
+ delete<ThrowOnError extends boolean = false>(parameters: {
522
+ sessionID: string;
523
+ messageID: string;
524
+ partID: string;
525
+ directory?: string;
526
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PartDeleteResponses, PartDeleteErrors, ThrowOnError, "fields">;
527
+ /**
528
+ * Update a part in a message
529
+ */
530
+ update<ThrowOnError extends boolean = false>(parameters: {
531
+ sessionID: string;
532
+ messageID: string;
533
+ partID: string;
534
+ directory?: string;
535
+ part?: Part2;
536
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PartUpdateResponses, PartUpdateErrors, ThrowOnError, "fields">;
537
+ }
538
+ export declare class Permission extends HeyApiClient {
539
+ /**
540
+ * Respond to permission
541
+ *
542
+ * Approve or deny a permission request from the AI assistant.
543
+ *
544
+ * @deprecated
545
+ */
546
+ respond<ThrowOnError extends boolean = false>(parameters: {
547
+ sessionID: string;
548
+ permissionID: string;
549
+ directory?: string;
550
+ response?: "once" | "always" | "reject";
551
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionRespondResponses, PermissionRespondErrors, ThrowOnError, "fields">;
552
+ /**
553
+ * Respond to permission request
554
+ *
555
+ * Approve or deny a permission request from the AI assistant.
556
+ */
557
+ reply<ThrowOnError extends boolean = false>(parameters: {
558
+ requestID: string;
559
+ directory?: string;
560
+ reply?: "once" | "always" | "reject";
561
+ message?: string;
562
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionReplyResponses, PermissionReplyErrors, ThrowOnError, "fields">;
563
+ /**
564
+ * List pending permissions
565
+ *
566
+ * Get all pending permission requests across all sessions.
567
+ */
568
+ list<ThrowOnError extends boolean = false>(parameters?: {
569
+ directory?: string;
570
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionListResponses, unknown, ThrowOnError, "fields">;
571
+ }
572
+ export declare class Question extends HeyApiClient {
573
+ /**
574
+ * List pending questions
575
+ *
576
+ * Get all pending question requests across all sessions.
577
+ */
578
+ list<ThrowOnError extends boolean = false>(parameters?: {
579
+ directory?: string;
580
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionListResponses, unknown, ThrowOnError, "fields">;
581
+ /**
582
+ * Reply to question request
583
+ *
584
+ * Provide answers to a question request from the AI assistant.
585
+ */
586
+ reply<ThrowOnError extends boolean = false>(parameters: {
587
+ requestID: string;
588
+ directory?: string;
589
+ answers?: Array<QuestionAnswer>;
590
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionReplyResponses, QuestionReplyErrors, ThrowOnError, "fields">;
591
+ /**
592
+ * Reject question request
593
+ *
594
+ * Reject a question request from the AI assistant.
595
+ */
596
+ reject<ThrowOnError extends boolean = false>(parameters: {
597
+ requestID: string;
598
+ directory?: string;
599
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionRejectResponses, QuestionRejectErrors, ThrowOnError, "fields">;
600
+ }
601
+ export declare class Command extends HeyApiClient {
602
+ /**
603
+ * List commands
604
+ *
605
+ * Get a list of all available commands in the 100XPrompt system.
606
+ */
607
+ list<ThrowOnError extends boolean = false>(parameters?: {
608
+ directory?: string;
609
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CommandListResponses, unknown, ThrowOnError, "fields">;
610
+ }
611
+ export declare class Oauth extends HeyApiClient {
612
+ /**
613
+ * OAuth authorize
614
+ *
615
+ * Initiate OAuth authorization for a specific AI provider to get an authorization URL.
616
+ */
617
+ authorize<ThrowOnError extends boolean = false>(parameters: {
618
+ providerID: string;
619
+ directory?: string;
620
+ method?: number;
621
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderOauthAuthorizeResponses, ProviderOauthAuthorizeErrors, ThrowOnError, "fields">;
622
+ /**
623
+ * OAuth callback
624
+ *
625
+ * Handle the OAuth callback from a provider after user authorization.
626
+ */
627
+ callback<ThrowOnError extends boolean = false>(parameters: {
628
+ providerID: string;
629
+ directory?: string;
630
+ method?: number;
631
+ code?: string;
632
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderOauthCallbackResponses, ProviderOauthCallbackErrors, ThrowOnError, "fields">;
633
+ }
634
+ export declare class Provider extends HeyApiClient {
635
+ /**
636
+ * List providers
637
+ *
638
+ * Get a list of all available AI providers, including both available and connected ones.
639
+ */
640
+ list<ThrowOnError extends boolean = false>(parameters?: {
641
+ directory?: string;
642
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderListResponses, unknown, ThrowOnError, "fields">;
643
+ /**
644
+ * Get provider auth methods
645
+ *
646
+ * Retrieve available authentication methods for all AI providers.
647
+ */
648
+ auth<ThrowOnError extends boolean = false>(parameters?: {
649
+ directory?: string;
650
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderAuthResponses, unknown, ThrowOnError, "fields">;
651
+ oauth: Oauth;
652
+ }
653
+ export declare class Find extends HeyApiClient {
654
+ /**
655
+ * Find text
656
+ *
657
+ * Search for text patterns across files in the project using ripgrep.
658
+ */
659
+ text<ThrowOnError extends boolean = false>(parameters: {
660
+ directory?: string;
661
+ pattern: string;
662
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindTextResponses, unknown, ThrowOnError, "fields">;
663
+ /**
664
+ * Find files
665
+ *
666
+ * Search for files or directories by name or pattern in the project directory.
667
+ */
668
+ files<ThrowOnError extends boolean = false>(parameters: {
669
+ directory?: string;
670
+ query: string;
671
+ dirs?: "true" | "false";
672
+ type?: "file" | "directory";
673
+ limit?: number;
674
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindFilesResponses, unknown, ThrowOnError, "fields">;
675
+ /**
676
+ * Find symbols
677
+ *
678
+ * Search for workspace symbols like functions, classes, and variables using LSP.
679
+ */
680
+ symbols<ThrowOnError extends boolean = false>(parameters: {
681
+ directory?: string;
682
+ query: string;
683
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindSymbolsResponses, unknown, ThrowOnError, "fields">;
684
+ }
685
+ export declare class File extends HeyApiClient {
686
+ /**
687
+ * List files
688
+ *
689
+ * List files and directories in a specified path.
690
+ */
691
+ list<ThrowOnError extends boolean = false>(parameters: {
692
+ directory?: string;
693
+ path: string;
694
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileListResponses, unknown, ThrowOnError, "fields">;
695
+ /**
696
+ * Read file
697
+ *
698
+ * Read the content of a specified file.
699
+ */
700
+ read<ThrowOnError extends boolean = false>(parameters: {
701
+ directory?: string;
702
+ path: string;
703
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileReadResponses, unknown, ThrowOnError, "fields">;
704
+ /**
705
+ * Get file status
706
+ *
707
+ * Get the git status of all files in the project.
708
+ */
709
+ status<ThrowOnError extends boolean = false>(parameters?: {
710
+ directory?: string;
711
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileStatusResponses, unknown, ThrowOnError, "fields">;
712
+ }
713
+ export declare class App extends HeyApiClient {
714
+ /**
715
+ * Write log
716
+ *
717
+ * Write a log entry to the server logs with specified level and metadata.
718
+ */
719
+ log<ThrowOnError extends boolean = false>(parameters?: {
720
+ directory?: string;
721
+ service?: string;
722
+ level?: "debug" | "info" | "error" | "warn";
723
+ message?: string;
724
+ extra?: {
725
+ [key: string]: unknown;
726
+ };
727
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppLogResponses, AppLogErrors, ThrowOnError, "fields">;
728
+ /**
729
+ * List agents
730
+ *
731
+ * Get a list of all available AI agents in the 100XPrompt system.
732
+ */
733
+ agents<ThrowOnError extends boolean = false>(parameters?: {
734
+ directory?: string;
735
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppAgentsResponses, unknown, ThrowOnError, "fields">;
736
+ }
737
+ export declare class Auth extends HeyApiClient {
738
+ /**
739
+ * Remove MCP OAuth
740
+ *
741
+ * Remove OAuth credentials for an MCP server
742
+ */
743
+ remove<ThrowOnError extends boolean = false>(parameters: {
744
+ name: string;
745
+ directory?: string;
746
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthRemoveResponses, McpAuthRemoveErrors, ThrowOnError, "fields">;
747
+ /**
748
+ * Start MCP OAuth
749
+ *
750
+ * Start OAuth authentication flow for a Model Context Protocol (MCP) server.
751
+ */
752
+ start<ThrowOnError extends boolean = false>(parameters: {
753
+ name: string;
754
+ directory?: string;
755
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthStartResponses, McpAuthStartErrors, ThrowOnError, "fields">;
756
+ /**
757
+ * Complete MCP OAuth
758
+ *
759
+ * Complete OAuth authentication for a Model Context Protocol (MCP) server using the authorization code.
760
+ */
761
+ callback<ThrowOnError extends boolean = false>(parameters: {
762
+ name: string;
763
+ directory?: string;
764
+ code?: string;
765
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthCallbackResponses, McpAuthCallbackErrors, ThrowOnError, "fields">;
766
+ /**
767
+ * Authenticate MCP OAuth
768
+ *
769
+ * Start OAuth flow and wait for callback (opens browser)
770
+ */
771
+ authenticate<ThrowOnError extends boolean = false>(parameters: {
772
+ name: string;
773
+ directory?: string;
774
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthAuthenticateResponses, McpAuthAuthenticateErrors, ThrowOnError, "fields">;
775
+ /**
776
+ * Set auth credentials
777
+ *
778
+ * Set authentication credentials
779
+ */
780
+ set<ThrowOnError extends boolean = false>(parameters: {
781
+ providerID: string;
782
+ directory?: string;
783
+ auth?: Auth2;
784
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AuthSetResponses, AuthSetErrors, ThrowOnError, "fields">;
785
+ }
786
+ export declare class Mcp extends HeyApiClient {
787
+ /**
788
+ * Get MCP status
789
+ *
790
+ * Get the status of all Model Context Protocol (MCP) servers.
791
+ */
792
+ status<ThrowOnError extends boolean = false>(parameters?: {
793
+ directory?: string;
794
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpStatusResponses, unknown, ThrowOnError, "fields">;
795
+ /**
796
+ * Add MCP server
797
+ *
798
+ * Dynamically add a new Model Context Protocol (MCP) server to the system.
799
+ */
800
+ add<ThrowOnError extends boolean = false>(parameters?: {
801
+ directory?: string;
802
+ name?: string;
803
+ config?: McpLocalConfig | McpRemoteConfig;
804
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAddResponses, McpAddErrors, ThrowOnError, "fields">;
805
+ /**
806
+ * Connect an MCP server
807
+ */
808
+ connect<ThrowOnError extends boolean = false>(parameters: {
809
+ name: string;
810
+ directory?: string;
811
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpConnectResponses, unknown, ThrowOnError, "fields">;
812
+ /**
813
+ * Disconnect an MCP server
814
+ */
815
+ disconnect<ThrowOnError extends boolean = false>(parameters: {
816
+ name: string;
817
+ directory?: string;
818
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpDisconnectResponses, unknown, ThrowOnError, "fields">;
819
+ auth: Auth;
820
+ }
821
+ export declare class Resource extends HeyApiClient {
822
+ /**
823
+ * Get MCP resources
824
+ *
825
+ * Get all available MCP resources from connected servers. Optionally filter by name.
826
+ */
827
+ list<ThrowOnError extends boolean = false>(parameters?: {
828
+ directory?: string;
829
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalResourceListResponses, unknown, ThrowOnError, "fields">;
830
+ }
831
+ export declare class Experimental extends HeyApiClient {
832
+ resource: Resource;
833
+ }
834
+ export declare class Lsp extends HeyApiClient {
835
+ /**
836
+ * Get LSP status
837
+ *
838
+ * Get LSP server status
839
+ */
840
+ status<ThrowOnError extends boolean = false>(parameters?: {
841
+ directory?: string;
842
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LspStatusResponses, unknown, ThrowOnError, "fields">;
843
+ }
844
+ export declare class Formatter extends HeyApiClient {
845
+ /**
846
+ * Get formatter status
847
+ *
848
+ * Get formatter status
849
+ */
850
+ status<ThrowOnError extends boolean = false>(parameters?: {
851
+ directory?: string;
852
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FormatterStatusResponses, unknown, ThrowOnError, "fields">;
853
+ }
854
+ export declare class Control extends HeyApiClient {
855
+ /**
856
+ * Get next TUI request
857
+ *
858
+ * Retrieve the next TUI (Terminal User Interface) request from the queue for processing.
859
+ */
860
+ next<ThrowOnError extends boolean = false>(parameters?: {
861
+ directory?: string;
862
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiControlNextResponses, unknown, ThrowOnError, "fields">;
863
+ /**
864
+ * Submit TUI response
865
+ *
866
+ * Submit a response to the TUI request queue to complete a pending request.
867
+ */
868
+ response<ThrowOnError extends boolean = false>(parameters?: {
869
+ directory?: string;
870
+ body?: unknown;
871
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiControlResponseResponses, unknown, ThrowOnError, "fields">;
872
+ }
873
+ export declare class Tui extends HeyApiClient {
874
+ /**
875
+ * Append TUI prompt
876
+ *
877
+ * Append prompt to the TUI
878
+ */
879
+ appendPrompt<ThrowOnError extends boolean = false>(parameters?: {
880
+ directory?: string;
881
+ text?: string;
882
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiAppendPromptResponses, TuiAppendPromptErrors, ThrowOnError, "fields">;
883
+ /**
884
+ * Open help dialog
885
+ *
886
+ * Open the help dialog in the TUI to display user assistance information.
887
+ */
888
+ openHelp<ThrowOnError extends boolean = false>(parameters?: {
889
+ directory?: string;
890
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenHelpResponses, unknown, ThrowOnError, "fields">;
891
+ /**
892
+ * Open sessions dialog
893
+ *
894
+ * Open the session dialog
895
+ */
896
+ openSessions<ThrowOnError extends boolean = false>(parameters?: {
897
+ directory?: string;
898
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenSessionsResponses, unknown, ThrowOnError, "fields">;
899
+ /**
900
+ * Open themes dialog
901
+ *
902
+ * Open the theme dialog
903
+ */
904
+ openThemes<ThrowOnError extends boolean = false>(parameters?: {
905
+ directory?: string;
906
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenThemesResponses, unknown, ThrowOnError, "fields">;
907
+ /**
908
+ * Open models dialog
909
+ *
910
+ * Open the model dialog
911
+ */
912
+ openModels<ThrowOnError extends boolean = false>(parameters?: {
913
+ directory?: string;
914
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenModelsResponses, unknown, ThrowOnError, "fields">;
915
+ /**
916
+ * Submit TUI prompt
917
+ *
918
+ * Submit the prompt
919
+ */
920
+ submitPrompt<ThrowOnError extends boolean = false>(parameters?: {
921
+ directory?: string;
922
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiSubmitPromptResponses, unknown, ThrowOnError, "fields">;
923
+ /**
924
+ * Clear TUI prompt
925
+ *
926
+ * Clear the prompt
927
+ */
928
+ clearPrompt<ThrowOnError extends boolean = false>(parameters?: {
929
+ directory?: string;
930
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiClearPromptResponses, unknown, ThrowOnError, "fields">;
931
+ /**
932
+ * Execute TUI command
933
+ *
934
+ * Execute a TUI command (e.g. agent_cycle)
935
+ */
936
+ executeCommand<ThrowOnError extends boolean = false>(parameters?: {
937
+ directory?: string;
938
+ command?: string;
939
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiExecuteCommandResponses, TuiExecuteCommandErrors, ThrowOnError, "fields">;
940
+ /**
941
+ * Show TUI toast
942
+ *
943
+ * Show a toast notification in the TUI
944
+ */
945
+ showToast<ThrowOnError extends boolean = false>(parameters?: {
946
+ directory?: string;
947
+ title?: string;
948
+ message?: string;
949
+ variant?: "info" | "success" | "warning" | "error";
950
+ duration?: number;
951
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiShowToastResponses, unknown, ThrowOnError, "fields">;
952
+ /**
953
+ * Publish TUI event
954
+ *
955
+ * Publish a TUI event
956
+ */
957
+ publish<ThrowOnError extends boolean = false>(parameters?: {
958
+ directory?: string;
959
+ body?: EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect;
960
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiPublishResponses, TuiPublishErrors, ThrowOnError, "fields">;
961
+ /**
962
+ * Select session
963
+ *
964
+ * Navigate the TUI to display the specified session.
965
+ */
966
+ selectSession<ThrowOnError extends boolean = false>(parameters?: {
967
+ directory?: string;
968
+ sessionID?: string;
969
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiSelectSessionResponses, TuiSelectSessionErrors, ThrowOnError, "fields">;
970
+ control: Control;
971
+ }
972
+ export declare class Event extends HeyApiClient {
973
+ /**
974
+ * Subscribe to events
975
+ *
976
+ * Get events
977
+ */
978
+ subscribe<ThrowOnError extends boolean = false>(parameters?: {
979
+ directory?: string;
980
+ }, options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<EventSubscribeResponses, unknown>>;
981
+ }
982
+ export declare class X100PromptClient extends HeyApiClient {
983
+ static readonly __registry: HeyApiRegistry<X100PromptClient>;
984
+ constructor(args?: {
985
+ client?: Client;
986
+ key?: string;
987
+ });
988
+ global: Global;
989
+ project: Project;
990
+ pty: Pty;
991
+ config: Config;
992
+ tool: Tool;
993
+ instance: Instance;
994
+ path: Path;
995
+ worktree: Worktree;
996
+ vcs: Vcs;
997
+ session: Session;
998
+ part: Part;
999
+ permission: Permission;
1000
+ question: Question;
1001
+ command: Command;
1002
+ provider: Provider;
1003
+ find: Find;
1004
+ file: File;
1005
+ app: App;
1006
+ mcp: Mcp;
1007
+ experimental: Experimental;
1008
+ lsp: Lsp;
1009
+ formatter: Formatter;
1010
+ tui: Tui;
1011
+ auth: Auth;
1012
+ event: Event;
1013
+ }
1014
+ export {};