@zyraxon-ai/sdk 19.0.2 → 19.0.3

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 (194) hide show
  1. package/dist/client.d.ts +8 -0
  2. package/dist/client.d.ts.map +1 -0
  3. package/dist/client.js +54 -0
  4. package/dist/client.js.map +1 -0
  5. package/dist/error-interceptor.d.ts +16 -0
  6. package/dist/error-interceptor.d.ts.map +1 -0
  7. package/dist/error-interceptor.js +44 -0
  8. package/dist/error-interceptor.js.map +1 -0
  9. package/dist/gen/client/client.gen.d.ts +3 -0
  10. package/dist/gen/client/client.gen.d.ts.map +1 -0
  11. package/dist/gen/client/client.gen.js +166 -0
  12. package/dist/gen/client/client.gen.js.map +1 -0
  13. package/dist/gen/client/index.d.ts +8 -0
  14. package/dist/gen/client/index.d.ts.map +1 -0
  15. package/dist/gen/client/index.js +6 -0
  16. package/dist/gen/client/index.js.map +1 -0
  17. package/dist/gen/client/types.gen.d.ts +128 -0
  18. package/dist/gen/client/types.gen.d.ts.map +1 -0
  19. package/dist/gen/client/types.gen.js +3 -0
  20. package/dist/gen/client/types.gen.js.map +1 -0
  21. package/dist/gen/client/utils.gen.d.ts +39 -0
  22. package/dist/gen/client/utils.gen.d.ts.map +1 -0
  23. package/dist/gen/client/utils.gen.js +227 -0
  24. package/dist/gen/client/utils.gen.js.map +1 -0
  25. package/{src/gen/client.gen.ts → dist/gen/client.gen.d.ts} +5 -14
  26. package/dist/gen/client.gen.d.ts.map +1 -0
  27. package/dist/gen/client.gen.js +6 -0
  28. package/dist/gen/client.gen.js.map +1 -0
  29. package/dist/gen/core/auth.gen.d.ts +19 -0
  30. package/dist/gen/core/auth.gen.d.ts.map +1 -0
  31. package/dist/gen/core/auth.gen.js +15 -0
  32. package/dist/gen/core/auth.gen.js.map +1 -0
  33. package/dist/gen/core/bodySerializer.gen.d.ts +18 -0
  34. package/dist/gen/core/bodySerializer.gen.d.ts.map +1 -0
  35. package/dist/gen/core/bodySerializer.gen.js +58 -0
  36. package/dist/gen/core/bodySerializer.gen.js.map +1 -0
  37. package/dist/gen/core/params.gen.d.ts +34 -0
  38. package/dist/gen/core/params.gen.d.ts.map +1 -0
  39. package/dist/gen/core/params.gen.js +90 -0
  40. package/dist/gen/core/params.gen.js.map +1 -0
  41. package/dist/gen/core/pathSerializer.gen.d.ts +34 -0
  42. package/dist/gen/core/pathSerializer.gen.d.ts.map +1 -0
  43. package/dist/gen/core/pathSerializer.gen.js +107 -0
  44. package/dist/gen/core/pathSerializer.gen.js.map +1 -0
  45. package/dist/gen/core/queryKeySerializer.gen.d.ts +19 -0
  46. package/dist/gen/core/queryKeySerializer.gen.d.ts.map +1 -0
  47. package/dist/gen/core/queryKeySerializer.gen.js +94 -0
  48. package/dist/gen/core/queryKeySerializer.gen.js.map +1 -0
  49. package/dist/gen/core/serverSentEvents.gen.d.ts +60 -0
  50. package/dist/gen/core/serverSentEvents.gen.d.ts.map +1 -0
  51. package/dist/gen/core/serverSentEvents.gen.js +118 -0
  52. package/dist/gen/core/serverSentEvents.gen.js.map +1 -0
  53. package/dist/gen/core/types.gen.d.ts +79 -0
  54. package/dist/gen/core/types.gen.d.ts.map +1 -0
  55. package/dist/gen/core/types.gen.js +3 -0
  56. package/dist/gen/core/types.gen.js.map +1 -0
  57. package/dist/gen/core/utils.gen.d.ts +15 -0
  58. package/dist/gen/core/utils.gen.d.ts.map +1 -0
  59. package/dist/gen/core/utils.gen.js +70 -0
  60. package/dist/gen/core/utils.gen.js.map +1 -0
  61. package/dist/gen/sdk.gen.d.ts +404 -0
  62. package/dist/gen/sdk.gen.d.ts.map +1 -0
  63. package/dist/gen/sdk.gen.js +882 -0
  64. package/dist/gen/sdk.gen.js.map +1 -0
  65. package/dist/gen/types.gen.d.ts +3384 -0
  66. package/dist/gen/types.gen.d.ts.map +1 -0
  67. package/dist/gen/types.gen.js +3 -0
  68. package/dist/gen/types.gen.js.map +1 -0
  69. package/dist/index.d.ts +11 -0
  70. package/dist/index.d.ts.map +1 -0
  71. package/dist/index.js +17 -0
  72. package/dist/index.js.map +1 -0
  73. package/dist/process.d.ts +4 -0
  74. package/dist/process.d.ts.map +1 -0
  75. package/dist/process.js +34 -0
  76. package/dist/process.js.map +1 -0
  77. package/dist/server.d.ts +24 -0
  78. package/dist/server.d.ts.map +1 -0
  79. package/dist/server.js +106 -0
  80. package/dist/server.js.map +1 -0
  81. package/dist/v2/client.d.ts +10 -0
  82. package/dist/v2/client.d.ts.map +1 -0
  83. package/dist/v2/client.js +81 -0
  84. package/dist/v2/client.js.map +1 -0
  85. package/dist/v2/data.d.ts +10 -0
  86. package/dist/v2/data.d.ts.map +1 -0
  87. package/dist/v2/data.js +23 -0
  88. package/dist/v2/data.js.map +1 -0
  89. package/dist/v2/gen/client/client.gen.d.ts +3 -0
  90. package/dist/v2/gen/client/client.gen.d.ts.map +1 -0
  91. package/dist/v2/gen/client/client.gen.js +233 -0
  92. package/dist/v2/gen/client/client.gen.js.map +1 -0
  93. package/dist/v2/gen/client/index.d.ts +9 -0
  94. package/dist/v2/gen/client/index.d.ts.map +1 -0
  95. package/dist/v2/gen/client/index.js +7 -0
  96. package/dist/v2/gen/client/index.js.map +1 -0
  97. package/dist/v2/gen/client/types.gen.d.ts +118 -0
  98. package/dist/v2/gen/client/types.gen.d.ts.map +1 -0
  99. package/dist/v2/gen/client/types.gen.js +3 -0
  100. package/dist/v2/gen/client/types.gen.js.map +1 -0
  101. package/dist/v2/gen/client/utils.gen.d.ts +34 -0
  102. package/dist/v2/gen/client/utils.gen.d.ts.map +1 -0
  103. package/dist/v2/gen/client/utils.gen.js +227 -0
  104. package/dist/v2/gen/client/utils.gen.js.map +1 -0
  105. package/{src/v2/gen/client.gen.ts → dist/v2/gen/client.gen.d.ts} +5 -10
  106. package/dist/v2/gen/client.gen.d.ts.map +1 -0
  107. package/dist/v2/gen/client.gen.js +4 -0
  108. package/dist/v2/gen/client.gen.js.map +1 -0
  109. package/dist/v2/gen/core/auth.gen.d.ts +19 -0
  110. package/dist/v2/gen/core/auth.gen.d.ts.map +1 -0
  111. package/dist/v2/gen/core/auth.gen.js +15 -0
  112. package/dist/v2/gen/core/auth.gen.js.map +1 -0
  113. package/dist/v2/gen/core/bodySerializer.gen.d.ts +26 -0
  114. package/dist/v2/gen/core/bodySerializer.gen.d.ts.map +1 -0
  115. package/dist/v2/gen/core/bodySerializer.gen.js +58 -0
  116. package/dist/v2/gen/core/bodySerializer.gen.js.map +1 -0
  117. package/dist/v2/gen/core/params.gen.d.ts +44 -0
  118. package/dist/v2/gen/core/params.gen.d.ts.map +1 -0
  119. package/dist/v2/gen/core/params.gen.js +103 -0
  120. package/dist/v2/gen/core/params.gen.js.map +1 -0
  121. package/dist/v2/gen/core/pathSerializer.gen.d.ts +34 -0
  122. package/dist/v2/gen/core/pathSerializer.gen.d.ts.map +1 -0
  123. package/dist/v2/gen/core/pathSerializer.gen.js +107 -0
  124. package/dist/v2/gen/core/pathSerializer.gen.js.map +1 -0
  125. package/dist/v2/gen/core/queryKeySerializer.gen.d.ts +19 -0
  126. package/dist/v2/gen/core/queryKeySerializer.gen.d.ts.map +1 -0
  127. package/dist/v2/gen/core/queryKeySerializer.gen.js +94 -0
  128. package/dist/v2/gen/core/queryKeySerializer.gen.js.map +1 -0
  129. package/dist/v2/gen/core/serverSentEvents.gen.d.ts +72 -0
  130. package/dist/v2/gen/core/serverSentEvents.gen.d.ts.map +1 -0
  131. package/dist/v2/gen/core/serverSentEvents.gen.js +134 -0
  132. package/dist/v2/gen/core/serverSentEvents.gen.js.map +1 -0
  133. package/dist/v2/gen/core/types.gen.d.ts +79 -0
  134. package/dist/v2/gen/core/types.gen.d.ts.map +1 -0
  135. package/dist/v2/gen/core/types.gen.js +3 -0
  136. package/dist/v2/gen/core/types.gen.js.map +1 -0
  137. package/dist/v2/gen/core/utils.gen.d.ts +20 -0
  138. package/dist/v2/gen/core/utils.gen.d.ts.map +1 -0
  139. package/dist/v2/gen/core/utils.gen.js +88 -0
  140. package/dist/v2/gen/core/utils.gen.js.map +1 -0
  141. package/dist/v2/gen/sdk.gen.d.ts +2303 -0
  142. package/dist/v2/gen/sdk.gen.d.ts.map +1 -0
  143. package/dist/v2/gen/sdk.gen.js +4457 -0
  144. package/dist/v2/gen/sdk.gen.js.map +1 -0
  145. package/dist/v2/gen/types.gen.d.ts +11654 -0
  146. package/dist/v2/gen/types.gen.d.ts.map +1 -0
  147. package/dist/v2/gen/types.gen.js +3 -0
  148. package/dist/v2/gen/types.gen.js.map +1 -0
  149. package/dist/v2/index.d.ts +12 -0
  150. package/dist/v2/index.d.ts.map +1 -0
  151. package/dist/v2/index.js +18 -0
  152. package/dist/v2/index.js.map +1 -0
  153. package/dist/v2/server.d.ts +24 -0
  154. package/dist/v2/server.d.ts.map +1 -0
  155. package/dist/v2/server.js +106 -0
  156. package/dist/v2/server.js.map +1 -0
  157. package/package.json +38 -13
  158. package/src/client.ts +0 -57
  159. package/src/error-interceptor.ts +0 -51
  160. package/src/gen/client/client.gen.ts +0 -212
  161. package/src/gen/client/index.ts +0 -25
  162. package/src/gen/client/types.gen.ts +0 -222
  163. package/src/gen/client/utils.gen.ts +0 -287
  164. package/src/gen/core/auth.gen.ts +0 -41
  165. package/src/gen/core/bodySerializer.gen.ts +0 -74
  166. package/src/gen/core/params.gen.ts +0 -144
  167. package/src/gen/core/pathSerializer.gen.ts +0 -167
  168. package/src/gen/core/queryKeySerializer.gen.ts +0 -111
  169. package/src/gen/core/serverSentEvents.gen.ts +0 -210
  170. package/src/gen/core/types.gen.ts +0 -91
  171. package/src/gen/core/utils.gen.ts +0 -109
  172. package/src/gen/sdk.gen.ts +0 -1197
  173. package/src/gen/types.gen.ts +0 -3907
  174. package/src/index.ts +0 -21
  175. package/src/process.ts +0 -31
  176. package/src/server.ts +0 -134
  177. package/src/v2/client.ts +0 -93
  178. package/src/v2/data.ts +0 -32
  179. package/src/v2/gen/client/client.gen.ts +0 -285
  180. package/src/v2/gen/client/index.ts +0 -25
  181. package/src/v2/gen/client/types.gen.ts +0 -202
  182. package/src/v2/gen/client/utils.gen.ts +0 -289
  183. package/src/v2/gen/core/auth.gen.ts +0 -41
  184. package/src/v2/gen/core/bodySerializer.gen.ts +0 -82
  185. package/src/v2/gen/core/params.gen.ts +0 -169
  186. package/src/v2/gen/core/pathSerializer.gen.ts +0 -167
  187. package/src/v2/gen/core/queryKeySerializer.gen.ts +0 -111
  188. package/src/v2/gen/core/serverSentEvents.gen.ts +0 -239
  189. package/src/v2/gen/core/types.gen.ts +0 -86
  190. package/src/v2/gen/core/utils.gen.ts +0 -137
  191. package/src/v2/gen/sdk.gen.ts +0 -7219
  192. package/src/v2/gen/types.gen.ts +0 -13618
  193. package/src/v2/index.ts +0 -23
  194. package/src/v2/server.ts +0 -134
@@ -0,0 +1,2303 @@
1
+ import { type Client, type Options as Options2, type TDataShape } from "./client/index.js";
2
+ import type { AgentPartInput, AppAgentsErrors, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillsErrors, AppSkillsResponses, Auth as Auth3, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, CommandListErrors, CommandListResponses, Config as Config3, ConfigGetErrors, ConfigGetResponses, ConfigProvidersErrors, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalCapabilitiesGetErrors, ExperimentalCapabilitiesGetResponses, ExperimentalConsoleGetErrors, ExperimentalConsoleGetResponses, ExperimentalConsoleListOrgsErrors, ExperimentalConsoleListOrgsResponses, ExperimentalConsoleSwitchOrgResponses, ExperimentalControlPlaneMoveSessionErrors, ExperimentalControlPlaneMoveSessionResponses, ExperimentalProjectCopyGenerateNameErrors, ExperimentalProjectCopyGenerateNameResponses, ExperimentalResourceListErrors, ExperimentalResourceListResponses, ExperimentalSessionBackgroundErrors, ExperimentalSessionBackgroundResponses, ExperimentalSessionListErrors, ExperimentalSessionListResponses, ExperimentalWorkspaceAdapterListErrors, ExperimentalWorkspaceAdapterListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListErrors, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, ExperimentalWorkspaceStatusErrors, ExperimentalWorkspaceStatusResponses, ExperimentalWorkspaceSyncListErrors, ExperimentalWorkspaceSyncListResponses, ExperimentalWorkspaceWarpErrors, ExperimentalWorkspaceWarpResponses, FileListErrors, FileListResponses, FilePartInput, FilePartSource, FileReadErrors, FileReadResponses, FileStatusErrors, FileStatusResponses, FindFilesErrors, FindFilesResponses, FindSymbolsErrors, FindSymbolsResponses, FindTextErrors, FindTextResponses, FormatterStatusErrors, FormatterStatusResponses, GlobalConfigGetErrors, GlobalConfigGetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeErrors, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthErrors, GlobalHealthResponses, GlobalUpgradeErrors, GlobalUpgradeResponses, InstanceDisposeErrors, InstanceDisposeResponses, LocationRef, LspStatusErrors, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectErrors, McpConnectResponses, McpDisconnectErrors, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusErrors, McpStatusResponses, ModelRef, MoveSessionDestination, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetErrors, PathGetResponses, PermissionListErrors, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PermissionV2Reply, PermissionV2Source, ProjectCommands, ProjectCurrentErrors, ProjectCurrentResponses, ProjectDirectoriesErrors, ProjectDirectoriesResponses, ProjectIcon, ProjectInitGitErrors, ProjectInitGitResponses, ProjectListErrors, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, PromptInput, ProviderAuthErrors, ProviderAuthResponses, ProviderListErrors, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyConnectTokenErrors, PtyConnectTokenResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListErrors, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyShellsErrors, PtyShellsResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListErrors, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, QuestionV2Reply, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteMessageErrors, SessionDeleteMessageResponses, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionForkErrors, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListErrors, 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, SyncHistoryListErrors, SyncHistoryListResponses, SyncReplayErrors, SyncReplayResponses, SyncStartErrors, SyncStartResponses, SyncStealErrors, SyncStealResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptErrors, TuiClearPromptResponses, TuiControlNextErrors, TuiControlNextResponses, TuiControlResponseErrors, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpErrors, TuiOpenHelpResponses, TuiOpenModelsErrors, TuiOpenModelsResponses, TuiOpenSessionsErrors, TuiOpenSessionsResponses, TuiOpenThemesErrors, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastErrors, TuiShowToastResponses, TuiSubmitPromptErrors, TuiSubmitPromptResponses, V2AgentListErrors, V2AgentListResponses, V2CommandListErrors, V2CommandListResponses, V2CredentialRemoveErrors, V2CredentialRemoveResponses, V2CredentialUpdateErrors, V2CredentialUpdateResponses, V2EventSubscribeResponses, V2FsFindErrors, V2FsFindResponses, V2FsListErrors, V2FsListResponses, V2FsReadErrors, V2FsReadResponses, V2HealthGetErrors, V2HealthGetResponses, V2IntegrationAttemptCancelErrors, V2IntegrationAttemptCancelResponses, V2IntegrationAttemptCompleteErrors, V2IntegrationAttemptCompleteResponses, V2IntegrationAttemptStatusErrors, V2IntegrationAttemptStatusResponses, V2IntegrationConnectKeyErrors, V2IntegrationConnectKeyResponses, V2IntegrationConnectOauthErrors, V2IntegrationConnectOauthResponses, V2IntegrationGetErrors, V2IntegrationGetResponses, V2IntegrationListErrors, V2IntegrationListResponses, V2LocationGetErrors, V2LocationGetResponses, V2ModelListErrors, V2ModelListResponses, V2PermissionRequestListErrors, V2PermissionRequestListResponses, V2PermissionSavedListErrors, V2PermissionSavedListResponses, V2PermissionSavedRemoveErrors, V2PermissionSavedRemoveResponses, V2ProjectCopyCreateErrors, V2ProjectCopyCreateResponses, V2ProjectCopyRefreshErrors, V2ProjectCopyRefreshResponses, V2ProjectCopyRemoveErrors, V2ProjectCopyRemoveResponses, V2ProviderGetErrors, V2ProviderGetResponses, V2ProviderListErrors, V2ProviderListResponses, V2PtyConnectErrors, V2PtyConnectResponses, V2PtyConnectTokenErrors, V2PtyConnectTokenResponses, V2PtyCreateErrors, V2PtyCreateResponses, V2PtyGetErrors, V2PtyGetResponses, V2PtyListErrors, V2PtyListResponses, V2PtyRemoveErrors, V2PtyRemoveResponses, V2PtyUpdateErrors, V2PtyUpdateResponses, V2QuestionRequestListErrors, V2QuestionRequestListResponses, V2ReferenceListErrors, V2ReferenceListResponses, V2SessionActiveErrors, V2SessionActiveResponses, V2SessionCompactErrors, V2SessionCompactResponses, V2SessionContextErrors, V2SessionContextResponses, V2SessionCreateErrors, V2SessionCreateResponses, V2SessionEventsResponses, V2SessionGetErrors, V2SessionGetResponses, V2SessionHistoryErrors, V2SessionHistoryResponses, V2SessionInterruptErrors, V2SessionInterruptResponses, V2SessionListErrors, V2SessionListResponses, V2SessionMessageErrors, V2SessionMessageResponses, V2SessionMessagesErrors, V2SessionMessagesResponses, V2SessionPermissionCreateErrors, V2SessionPermissionCreateResponses, V2SessionPermissionGetErrors, V2SessionPermissionGetResponses, V2SessionPermissionListErrors, V2SessionPermissionListResponses, V2SessionPermissionReplyErrors, V2SessionPermissionReplyResponses, V2SessionPromptErrors, V2SessionPromptResponses, V2SessionQuestionListErrors, V2SessionQuestionListResponses, V2SessionQuestionRejectErrors, V2SessionQuestionRejectResponses, V2SessionQuestionReplyErrors, V2SessionQuestionReplyResponses, V2SessionRevertClearErrors, V2SessionRevertClearResponses, V2SessionRevertCommitErrors, V2SessionRevertCommitResponses, V2SessionRevertStageErrors, V2SessionRevertStageResponses, V2SessionSwitchAgentErrors, V2SessionSwitchAgentResponses, V2SessionSwitchModelErrors, V2SessionSwitchModelResponses, V2SessionWaitErrors, V2SessionWaitResponses, V2SkillListErrors, V2SkillListResponses, VcsApplyErrors, VcsApplyResponses, VcsDiffErrors, VcsDiffRawErrors, VcsDiffRawResponses, VcsDiffResponses, VcsGetErrors, VcsGetResponses, VcsStatusErrors, VcsStatusResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListErrors, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
3
+ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
4
+ /**
5
+ * You can provide a client instance returned by `createClient()` instead of
6
+ * individual options. This might be also useful if you want to implement a
7
+ * custom client.
8
+ */
9
+ client?: Client;
10
+ /**
11
+ * You can pass arbitrary values through the `meta` object. This can be
12
+ * used to access values that aren't defined as part of the SDK function.
13
+ */
14
+ meta?: Record<string, unknown>;
15
+ };
16
+ declare class HeyApiClient {
17
+ protected client: Client;
18
+ constructor(args?: {
19
+ client?: Client;
20
+ });
21
+ }
22
+ declare class HeyApiRegistry<T> {
23
+ private readonly defaultKey;
24
+ private readonly instances;
25
+ get(key?: string): T;
26
+ set(value: T, key?: string): void;
27
+ }
28
+ export declare class Auth extends HeyApiClient {
29
+ /**
30
+ * Remove auth credentials
31
+ *
32
+ * Remove authentication credentials
33
+ */
34
+ remove<ThrowOnError extends boolean = false>(parameters: {
35
+ providerID: string;
36
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AuthRemoveResponses, AuthRemoveErrors, ThrowOnError, "fields">;
37
+ /**
38
+ * Set auth credentials
39
+ *
40
+ * Set authentication credentials
41
+ */
42
+ set<ThrowOnError extends boolean = false>(parameters: {
43
+ providerID: string;
44
+ auth?: Auth3;
45
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AuthSetResponses, AuthSetErrors, ThrowOnError, "fields">;
46
+ }
47
+ export declare class App extends HeyApiClient {
48
+ /**
49
+ * Write log
50
+ *
51
+ * Write a log entry to the server logs with specified level and metadata.
52
+ */
53
+ log<ThrowOnError extends boolean = false>(parameters?: {
54
+ directory?: string;
55
+ workspace?: string;
56
+ service?: string;
57
+ level?: "debug" | "info" | "error" | "warn";
58
+ message?: string;
59
+ extra?: {
60
+ [key: string]: unknown;
61
+ };
62
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppLogResponses, AppLogErrors, ThrowOnError, "fields">;
63
+ /**
64
+ * List agents
65
+ *
66
+ * Get a list of all available AI agents in the ZYRAXON system.
67
+ */
68
+ agents<ThrowOnError extends boolean = false>(parameters?: {
69
+ directory?: string;
70
+ workspace?: string;
71
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppAgentsResponses, AppAgentsErrors, ThrowOnError, "fields">;
72
+ /**
73
+ * List skills
74
+ *
75
+ * Get a list of all available skills in the ZYRAXON system.
76
+ */
77
+ skills<ThrowOnError extends boolean = false>(parameters?: {
78
+ directory?: string;
79
+ workspace?: string;
80
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppSkillsResponses, AppSkillsErrors, ThrowOnError, "fields">;
81
+ }
82
+ export declare class ControlPlane extends HeyApiClient {
83
+ /**
84
+ * Move session
85
+ *
86
+ * Move a session to another project directory, optionally transferring local changes.
87
+ */
88
+ moveSession<ThrowOnError extends boolean = false>(parameters?: {
89
+ sessionID?: string;
90
+ destination?: MoveSessionDestination;
91
+ moveChanges?: boolean;
92
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalControlPlaneMoveSessionResponses, ExperimentalControlPlaneMoveSessionErrors, ThrowOnError, "fields">;
93
+ }
94
+ export declare class Capabilities extends HeyApiClient {
95
+ /**
96
+ * Get experimental capabilities
97
+ *
98
+ * Get experimental features enabled on the ZYRAXON server.
99
+ */
100
+ get<ThrowOnError extends boolean = false>(parameters?: {
101
+ directory?: string;
102
+ workspace?: string;
103
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalCapabilitiesGetResponses, ExperimentalCapabilitiesGetErrors, ThrowOnError, "fields">;
104
+ }
105
+ export declare class Console extends HeyApiClient {
106
+ /**
107
+ * Get active Console provider metadata
108
+ *
109
+ * Get the active Console org name and the set of provider IDs managed by that Console org.
110
+ */
111
+ get<ThrowOnError extends boolean = false>(parameters?: {
112
+ directory?: string;
113
+ workspace?: string;
114
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalConsoleGetResponses, ExperimentalConsoleGetErrors, ThrowOnError, "fields">;
115
+ /**
116
+ * List switchable Console orgs
117
+ *
118
+ * Get the available Console orgs across logged-in accounts, including the current active org.
119
+ */
120
+ listOrgs<ThrowOnError extends boolean = false>(parameters?: {
121
+ directory?: string;
122
+ workspace?: string;
123
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalConsoleListOrgsResponses, ExperimentalConsoleListOrgsErrors, ThrowOnError, "fields">;
124
+ /**
125
+ * Switch active Console org
126
+ *
127
+ * Persist a new active Console account/org selection for the current local ZYRAXON state.
128
+ */
129
+ switchOrg<ThrowOnError extends boolean = false>(parameters?: {
130
+ directory?: string;
131
+ workspace?: string;
132
+ accountID?: string;
133
+ orgID?: string;
134
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalConsoleSwitchOrgResponses, unknown, ThrowOnError, "fields">;
135
+ }
136
+ export declare class Session extends HeyApiClient {
137
+ /**
138
+ * List sessions
139
+ *
140
+ * Get a list of all ZYRAXON sessions across projects, sorted by most recently updated. Archived sessions are excluded by default.
141
+ */
142
+ list<ThrowOnError extends boolean = false>(parameters?: {
143
+ directory?: string;
144
+ workspace?: string;
145
+ roots?: boolean | "true" | "false";
146
+ start?: number;
147
+ cursor?: number;
148
+ search?: string;
149
+ limit?: number;
150
+ archived?: boolean | "true" | "false";
151
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalSessionListResponses, ExperimentalSessionListErrors, ThrowOnError, "fields">;
152
+ /**
153
+ * Background subagents
154
+ *
155
+ * Detach any synchronous subagents currently blocking the session and continue them in the background.
156
+ */
157
+ background<ThrowOnError extends boolean = false>(parameters: {
158
+ sessionID: string;
159
+ directory?: string;
160
+ workspace?: string;
161
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalSessionBackgroundResponses, ExperimentalSessionBackgroundErrors, ThrowOnError, "fields">;
162
+ }
163
+ export declare class Resource extends HeyApiClient {
164
+ /**
165
+ * Get MCP resources
166
+ *
167
+ * Get all available MCP resources from connected servers. Optionally filter by name.
168
+ */
169
+ list<ThrowOnError extends boolean = false>(parameters?: {
170
+ directory?: string;
171
+ workspace?: string;
172
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalResourceListResponses, ExperimentalResourceListErrors, ThrowOnError, "fields">;
173
+ }
174
+ export declare class ProjectCopy extends HeyApiClient {
175
+ /**
176
+ * Generate project copy name
177
+ *
178
+ * Generate a short name for a project copy from task context.
179
+ */
180
+ generateName<ThrowOnError extends boolean = false>(parameters: {
181
+ projectID: string;
182
+ directory?: string;
183
+ workspace?: string;
184
+ context?: string;
185
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalProjectCopyGenerateNameResponses, ExperimentalProjectCopyGenerateNameErrors, ThrowOnError, "fields">;
186
+ }
187
+ export declare class Adapter extends HeyApiClient {
188
+ /**
189
+ * List workspace adapters
190
+ *
191
+ * List all available workspace adapters for the current project.
192
+ */
193
+ list<ThrowOnError extends boolean = false>(parameters?: {
194
+ directory?: string;
195
+ workspace?: string;
196
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalWorkspaceAdapterListResponses, ExperimentalWorkspaceAdapterListErrors, ThrowOnError, "fields">;
197
+ }
198
+ export declare class Workspace extends HeyApiClient {
199
+ /**
200
+ * List workspaces
201
+ *
202
+ * List all workspaces.
203
+ */
204
+ list<ThrowOnError extends boolean = false>(parameters?: {
205
+ directory?: string;
206
+ workspace?: string;
207
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalWorkspaceListResponses, ExperimentalWorkspaceListErrors, ThrowOnError, "fields">;
208
+ /**
209
+ * Create workspace
210
+ *
211
+ * Create a workspace for the current project.
212
+ */
213
+ create<ThrowOnError extends boolean = false>(parameters?: {
214
+ directory?: string;
215
+ workspace?: string;
216
+ id?: string;
217
+ type?: string;
218
+ branch?: string | null;
219
+ extra?: unknown | null;
220
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceCreateErrors, ThrowOnError, "fields">;
221
+ /**
222
+ * Sync workspace list
223
+ *
224
+ * Register missing workspaces returned by workspace adapters.
225
+ */
226
+ syncList<ThrowOnError extends boolean = false>(parameters?: {
227
+ directory?: string;
228
+ workspace?: string;
229
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalWorkspaceSyncListResponses, ExperimentalWorkspaceSyncListErrors, ThrowOnError, "fields">;
230
+ /**
231
+ * Workspace status
232
+ *
233
+ * Get connection status for workspaces in the current project.
234
+ */
235
+ status<ThrowOnError extends boolean = false>(parameters?: {
236
+ directory?: string;
237
+ workspace?: string;
238
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalWorkspaceStatusResponses, ExperimentalWorkspaceStatusErrors, ThrowOnError, "fields">;
239
+ /**
240
+ * Remove workspace
241
+ *
242
+ * Remove an existing workspace.
243
+ */
244
+ remove<ThrowOnError extends boolean = false>(parameters: {
245
+ id: string;
246
+ directory?: string;
247
+ workspace?: string;
248
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalWorkspaceRemoveResponses, ExperimentalWorkspaceRemoveErrors, ThrowOnError, "fields">;
249
+ /**
250
+ * Warp session into workspace
251
+ *
252
+ * Move a session's sync history into the target workspace, or detach it to the local project.
253
+ */
254
+ warp<ThrowOnError extends boolean = false>(parameters?: {
255
+ directory?: string;
256
+ workspace?: string;
257
+ id?: string | null;
258
+ sessionID?: string;
259
+ copyChanges?: boolean;
260
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalWorkspaceWarpResponses, ExperimentalWorkspaceWarpErrors, ThrowOnError, "fields">;
261
+ private _adapter?;
262
+ get adapter(): Adapter;
263
+ }
264
+ export declare class Experimental extends HeyApiClient {
265
+ private _controlPlane?;
266
+ get controlPlane(): ControlPlane;
267
+ private _capabilities?;
268
+ get capabilities(): Capabilities;
269
+ private _console?;
270
+ get console(): Console;
271
+ private _session?;
272
+ get session(): Session;
273
+ private _resource?;
274
+ get resource(): Resource;
275
+ private _projectCopy?;
276
+ get projectCopy(): ProjectCopy;
277
+ private _workspace?;
278
+ get workspace(): Workspace;
279
+ }
280
+ export declare class Config extends HeyApiClient {
281
+ /**
282
+ * Get global configuration
283
+ *
284
+ * Retrieve the current global ZYRAXON configuration settings and preferences.
285
+ */
286
+ get<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalConfigGetResponses, GlobalConfigGetErrors, ThrowOnError, "fields">;
287
+ /**
288
+ * Update global configuration
289
+ *
290
+ * Update global ZYRAXON configuration settings and preferences.
291
+ */
292
+ update<ThrowOnError extends boolean = false>(parameters?: {
293
+ config?: Config3;
294
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalConfigUpdateResponses, GlobalConfigUpdateErrors, ThrowOnError, "fields">;
295
+ }
296
+ export declare class Global extends HeyApiClient {
297
+ /**
298
+ * Get health
299
+ *
300
+ * Get health information about the ZYRAXON server.
301
+ */
302
+ health<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalHealthResponses, GlobalHealthErrors, ThrowOnError, "fields">;
303
+ /**
304
+ * Get global events
305
+ *
306
+ * Subscribe to global events from the ZYRAXON system using server-sent events.
307
+ */
308
+ event<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<GlobalEventResponses>>;
309
+ /**
310
+ * Dispose instance
311
+ *
312
+ * Clean up and dispose all ZYRAXON instances, releasing all resources.
313
+ */
314
+ dispose<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalDisposeResponses, GlobalDisposeErrors, ThrowOnError, "fields">;
315
+ /**
316
+ * Upgrade zyraxon
317
+ *
318
+ * Upgrade zyraxon to the specified version or latest if not specified.
319
+ */
320
+ upgrade<ThrowOnError extends boolean = false>(parameters?: {
321
+ target?: string;
322
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalUpgradeResponses, GlobalUpgradeErrors, ThrowOnError, "fields">;
323
+ private _config?;
324
+ get config(): Config;
325
+ }
326
+ export declare class Event extends HeyApiClient {
327
+ /**
328
+ * Subscribe to events
329
+ *
330
+ * Get events
331
+ */
332
+ subscribe<ThrowOnError extends boolean = false>(parameters?: {
333
+ directory?: string;
334
+ workspace?: string;
335
+ }, options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<EventSubscribeResponses>>;
336
+ }
337
+ export declare class Config2 extends HeyApiClient {
338
+ /**
339
+ * Get configuration
340
+ *
341
+ * Retrieve the current ZYRAXON configuration settings and preferences.
342
+ */
343
+ get<ThrowOnError extends boolean = false>(parameters?: {
344
+ directory?: string;
345
+ workspace?: string;
346
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigGetResponses, ConfigGetErrors, ThrowOnError, "fields">;
347
+ /**
348
+ * Update configuration
349
+ *
350
+ * Update ZYRAXON configuration settings and preferences.
351
+ */
352
+ update<ThrowOnError extends boolean = false>(parameters?: {
353
+ directory?: string;
354
+ workspace?: string;
355
+ config?: Config3;
356
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigUpdateResponses, ConfigUpdateErrors, ThrowOnError, "fields">;
357
+ /**
358
+ * List config providers
359
+ *
360
+ * Get a list of all configured AI providers and their default models.
361
+ */
362
+ providers<ThrowOnError extends boolean = false>(parameters?: {
363
+ directory?: string;
364
+ workspace?: string;
365
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigProvidersResponses, ConfigProvidersErrors, ThrowOnError, "fields">;
366
+ }
367
+ export declare class Tool extends HeyApiClient {
368
+ /**
369
+ * List tools
370
+ *
371
+ * Get a list of available tools with their JSON schema parameters for a specific provider and model combination.
372
+ */
373
+ list<ThrowOnError extends boolean = false>(parameters: {
374
+ directory?: string;
375
+ workspace?: string;
376
+ provider: string;
377
+ model: string;
378
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ToolListResponses, ToolListErrors, ThrowOnError, "fields">;
379
+ /**
380
+ * List tool IDs
381
+ *
382
+ * Get a list of all available tool IDs, including both built-in tools and dynamically registered tools.
383
+ */
384
+ ids<ThrowOnError extends boolean = false>(parameters?: {
385
+ directory?: string;
386
+ workspace?: string;
387
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ToolIdsResponses, ToolIdsErrors, ThrowOnError, "fields">;
388
+ }
389
+ export declare class Worktree extends HeyApiClient {
390
+ /**
391
+ * Remove worktree
392
+ *
393
+ * Remove a git worktree and delete its branch.
394
+ */
395
+ remove<ThrowOnError extends boolean = false>(parameters?: {
396
+ directory?: string;
397
+ workspace?: string;
398
+ worktreeRemoveInput?: WorktreeRemoveInput;
399
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeRemoveResponses, WorktreeRemoveErrors, ThrowOnError, "fields">;
400
+ /**
401
+ * List worktrees
402
+ *
403
+ * List all sandbox worktrees for the current project.
404
+ */
405
+ list<ThrowOnError extends boolean = false>(parameters?: {
406
+ directory?: string;
407
+ workspace?: string;
408
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeListResponses, WorktreeListErrors, ThrowOnError, "fields">;
409
+ /**
410
+ * Create worktree
411
+ *
412
+ * Create a new git worktree for the current project and run any configured startup scripts.
413
+ */
414
+ create<ThrowOnError extends boolean = false>(parameters?: {
415
+ directory?: string;
416
+ workspace?: string;
417
+ worktreeCreateInput?: WorktreeCreateInput;
418
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeCreateResponses, WorktreeCreateErrors, ThrowOnError, "fields">;
419
+ /**
420
+ * Reset worktree
421
+ *
422
+ * Reset a worktree branch to the primary default branch.
423
+ */
424
+ reset<ThrowOnError extends boolean = false>(parameters?: {
425
+ directory?: string;
426
+ workspace?: string;
427
+ worktreeResetInput?: WorktreeResetInput;
428
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeResetResponses, WorktreeResetErrors, ThrowOnError, "fields">;
429
+ }
430
+ export declare class Find extends HeyApiClient {
431
+ /**
432
+ * Find text
433
+ *
434
+ * Search for text patterns across files in the project using ripgrep.
435
+ */
436
+ text<ThrowOnError extends boolean = false>(parameters: {
437
+ directory?: string;
438
+ workspace?: string;
439
+ pattern: string;
440
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindTextResponses, FindTextErrors, ThrowOnError, "fields">;
441
+ /**
442
+ * Find files
443
+ *
444
+ * Search for files or directories by name or pattern in the project directory.
445
+ */
446
+ files<ThrowOnError extends boolean = false>(parameters: {
447
+ directory?: string;
448
+ workspace?: string;
449
+ query: string;
450
+ dirs?: "true" | "false";
451
+ type?: "file" | "directory";
452
+ limit?: number;
453
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindFilesResponses, FindFilesErrors, ThrowOnError, "fields">;
454
+ /**
455
+ * Find symbols
456
+ *
457
+ * Search for workspace symbols like functions, classes, and variables using LSP.
458
+ */
459
+ symbols<ThrowOnError extends boolean = false>(parameters: {
460
+ directory?: string;
461
+ workspace?: string;
462
+ query: string;
463
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindSymbolsResponses, FindSymbolsErrors, ThrowOnError, "fields">;
464
+ }
465
+ export declare class File extends HeyApiClient {
466
+ /**
467
+ * List files
468
+ *
469
+ * List files and directories in a specified path.
470
+ */
471
+ list<ThrowOnError extends boolean = false>(parameters: {
472
+ directory?: string;
473
+ workspace?: string;
474
+ path: string;
475
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileListResponses, FileListErrors, ThrowOnError, "fields">;
476
+ /**
477
+ * Read file
478
+ *
479
+ * Read the content of a specified file.
480
+ */
481
+ read<ThrowOnError extends boolean = false>(parameters: {
482
+ directory?: string;
483
+ workspace?: string;
484
+ path: string;
485
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileReadResponses, FileReadErrors, ThrowOnError, "fields">;
486
+ /**
487
+ * Get file status
488
+ *
489
+ * Get the git status of all files in the project.
490
+ */
491
+ status<ThrowOnError extends boolean = false>(parameters?: {
492
+ directory?: string;
493
+ workspace?: string;
494
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileStatusResponses, FileStatusErrors, ThrowOnError, "fields">;
495
+ }
496
+ export declare class Instance extends HeyApiClient {
497
+ /**
498
+ * Dispose instance
499
+ *
500
+ * Clean up and dispose the current ZYRAXON instance, releasing all resources.
501
+ */
502
+ dispose<ThrowOnError extends boolean = false>(parameters?: {
503
+ directory?: string;
504
+ workspace?: string;
505
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<InstanceDisposeResponses, InstanceDisposeErrors, ThrowOnError, "fields">;
506
+ }
507
+ export declare class Path extends HeyApiClient {
508
+ /**
509
+ * Get paths
510
+ *
511
+ * Retrieve the current working directory and related path information for the ZYRAXON instance.
512
+ */
513
+ get<ThrowOnError extends boolean = false>(parameters?: {
514
+ directory?: string;
515
+ workspace?: string;
516
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PathGetResponses, PathGetErrors, ThrowOnError, "fields">;
517
+ }
518
+ export declare class Diff extends HeyApiClient {
519
+ /**
520
+ * Get raw VCS diff
521
+ *
522
+ * Retrieve a raw patch for current uncommitted changes.
523
+ */
524
+ raw<ThrowOnError extends boolean = false>(parameters?: {
525
+ directory?: string;
526
+ workspace?: string;
527
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsDiffRawResponses, VcsDiffRawErrors, ThrowOnError, "fields">;
528
+ }
529
+ export declare class Vcs extends HeyApiClient {
530
+ /**
531
+ * Get VCS info
532
+ *
533
+ * Retrieve version control system (VCS) information for the current project, such as git branch.
534
+ */
535
+ get<ThrowOnError extends boolean = false>(parameters?: {
536
+ directory?: string;
537
+ workspace?: string;
538
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsGetResponses, VcsGetErrors, ThrowOnError, "fields">;
539
+ /**
540
+ * Get VCS status
541
+ *
542
+ * Retrieve changed files in the current working tree without patches.
543
+ */
544
+ status<ThrowOnError extends boolean = false>(parameters?: {
545
+ directory?: string;
546
+ workspace?: string;
547
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsStatusResponses, VcsStatusErrors, ThrowOnError, "fields">;
548
+ /**
549
+ * Get VCS diff
550
+ *
551
+ * Retrieve the current git diff for the working tree or against the default branch.
552
+ */
553
+ diff<ThrowOnError extends boolean = false>(parameters: {
554
+ directory?: string;
555
+ workspace?: string;
556
+ mode: "git" | "branch";
557
+ context?: number;
558
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsDiffResponses, VcsDiffErrors, ThrowOnError, "fields">;
559
+ /**
560
+ * Apply VCS patch
561
+ *
562
+ * Apply a raw patch to the current working tree.
563
+ */
564
+ apply<ThrowOnError extends boolean = false>(parameters?: {
565
+ directory?: string;
566
+ workspace?: string;
567
+ patch?: string;
568
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsApplyResponses, VcsApplyErrors, ThrowOnError, "fields">;
569
+ private _diff?;
570
+ get diff2(): Diff;
571
+ }
572
+ export declare class Command extends HeyApiClient {
573
+ /**
574
+ * List commands
575
+ *
576
+ * Get a list of all available commands in the ZYRAXON system.
577
+ */
578
+ list<ThrowOnError extends boolean = false>(parameters?: {
579
+ directory?: string;
580
+ workspace?: string;
581
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CommandListResponses, CommandListErrors, ThrowOnError, "fields">;
582
+ }
583
+ export declare class Lsp extends HeyApiClient {
584
+ /**
585
+ * Get LSP status
586
+ *
587
+ * Get LSP server status
588
+ */
589
+ status<ThrowOnError extends boolean = false>(parameters?: {
590
+ directory?: string;
591
+ workspace?: string;
592
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LspStatusResponses, LspStatusErrors, ThrowOnError, "fields">;
593
+ }
594
+ export declare class Formatter extends HeyApiClient {
595
+ /**
596
+ * Get formatter status
597
+ *
598
+ * Get formatter status
599
+ */
600
+ status<ThrowOnError extends boolean = false>(parameters?: {
601
+ directory?: string;
602
+ workspace?: string;
603
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FormatterStatusResponses, FormatterStatusErrors, ThrowOnError, "fields">;
604
+ }
605
+ export declare class Auth2 extends HeyApiClient {
606
+ /**
607
+ * Remove MCP OAuth
608
+ *
609
+ * Remove OAuth credentials for an MCP server.
610
+ */
611
+ remove<ThrowOnError extends boolean = false>(parameters: {
612
+ name: string;
613
+ directory?: string;
614
+ workspace?: string;
615
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthRemoveResponses, McpAuthRemoveErrors, ThrowOnError, "fields">;
616
+ /**
617
+ * Start MCP OAuth
618
+ *
619
+ * Start OAuth authentication flow for a Model Context Protocol (MCP) server.
620
+ */
621
+ start<ThrowOnError extends boolean = false>(parameters: {
622
+ name: string;
623
+ directory?: string;
624
+ workspace?: string;
625
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthStartResponses, McpAuthStartErrors, ThrowOnError, "fields">;
626
+ /**
627
+ * Complete MCP OAuth
628
+ *
629
+ * Complete OAuth authentication for a Model Context Protocol (MCP) server using the authorization code.
630
+ */
631
+ callback<ThrowOnError extends boolean = false>(parameters: {
632
+ name: string;
633
+ directory?: string;
634
+ workspace?: string;
635
+ code?: string;
636
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthCallbackResponses, McpAuthCallbackErrors, ThrowOnError, "fields">;
637
+ /**
638
+ * Authenticate MCP OAuth
639
+ *
640
+ * Start OAuth flow and wait for callback (opens browser).
641
+ */
642
+ authenticate<ThrowOnError extends boolean = false>(parameters: {
643
+ name: string;
644
+ directory?: string;
645
+ workspace?: string;
646
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthAuthenticateResponses, McpAuthAuthenticateErrors, ThrowOnError, "fields">;
647
+ }
648
+ export declare class Mcp extends HeyApiClient {
649
+ /**
650
+ * Get MCP status
651
+ *
652
+ * Get the status of all Model Context Protocol (MCP) servers.
653
+ */
654
+ status<ThrowOnError extends boolean = false>(parameters?: {
655
+ directory?: string;
656
+ workspace?: string;
657
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpStatusResponses, McpStatusErrors, ThrowOnError, "fields">;
658
+ /**
659
+ * Add MCP server
660
+ *
661
+ * Dynamically add a new Model Context Protocol (MCP) server to the system.
662
+ */
663
+ add<ThrowOnError extends boolean = false>(parameters?: {
664
+ directory?: string;
665
+ workspace?: string;
666
+ name?: string;
667
+ config?: McpLocalConfig | McpRemoteConfig;
668
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAddResponses, McpAddErrors, ThrowOnError, "fields">;
669
+ /**
670
+ * Connect an MCP server.
671
+ */
672
+ connect<ThrowOnError extends boolean = false>(parameters: {
673
+ name: string;
674
+ directory?: string;
675
+ workspace?: string;
676
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpConnectResponses, McpConnectErrors, ThrowOnError, "fields">;
677
+ /**
678
+ * Disconnect an MCP server.
679
+ */
680
+ disconnect<ThrowOnError extends boolean = false>(parameters: {
681
+ name: string;
682
+ directory?: string;
683
+ workspace?: string;
684
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpDisconnectResponses, McpDisconnectErrors, ThrowOnError, "fields">;
685
+ private _auth?;
686
+ get auth(): Auth2;
687
+ }
688
+ export declare class Project extends HeyApiClient {
689
+ /**
690
+ * List all projects
691
+ *
692
+ * Get a list of projects that have been opened with ZYRAXON.
693
+ */
694
+ list<ThrowOnError extends boolean = false>(parameters?: {
695
+ directory?: string;
696
+ workspace?: string;
697
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProjectListResponses, ProjectListErrors, ThrowOnError, "fields">;
698
+ /**
699
+ * Get current project
700
+ *
701
+ * Retrieve the currently active project that ZYRAXON is working with.
702
+ */
703
+ current<ThrowOnError extends boolean = false>(parameters?: {
704
+ directory?: string;
705
+ workspace?: string;
706
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProjectCurrentResponses, ProjectCurrentErrors, ThrowOnError, "fields">;
707
+ /**
708
+ * Initialize git repository
709
+ *
710
+ * Create a git repository for the current project and return the refreshed project info.
711
+ */
712
+ initGit<ThrowOnError extends boolean = false>(parameters?: {
713
+ directory?: string;
714
+ workspace?: string;
715
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProjectInitGitResponses, ProjectInitGitErrors, ThrowOnError, "fields">;
716
+ /**
717
+ * Update project
718
+ *
719
+ * Update project properties such as name, icon, and commands.
720
+ */
721
+ update<ThrowOnError extends boolean = false>(parameters: {
722
+ projectID: string;
723
+ directory?: string;
724
+ workspace?: string;
725
+ name?: string;
726
+ icon?: ProjectIcon;
727
+ commands?: ProjectCommands;
728
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProjectUpdateResponses, ProjectUpdateErrors, ThrowOnError, "fields">;
729
+ /**
730
+ * List project directories
731
+ *
732
+ * List known local absolute directories for a project.
733
+ */
734
+ directories<ThrowOnError extends boolean = false>(parameters: {
735
+ projectID: string;
736
+ directory?: string;
737
+ workspace?: string;
738
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProjectDirectoriesResponses, ProjectDirectoriesErrors, ThrowOnError, "fields">;
739
+ }
740
+ export declare class Pty extends HeyApiClient {
741
+ /**
742
+ * List available shells
743
+ *
744
+ * Get a list of available shells on the system.
745
+ */
746
+ shells<ThrowOnError extends boolean = false>(parameters?: {
747
+ directory?: string;
748
+ workspace?: string;
749
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyShellsResponses, PtyShellsErrors, ThrowOnError, "fields">;
750
+ /**
751
+ * List PTY sessions
752
+ *
753
+ * Get a list of all active pseudo-terminal (PTY) sessions managed by ZYRAXON.
754
+ */
755
+ list<ThrowOnError extends boolean = false>(parameters?: {
756
+ directory?: string;
757
+ workspace?: string;
758
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyListResponses, PtyListErrors, ThrowOnError, "fields">;
759
+ /**
760
+ * Create PTY session
761
+ *
762
+ * Create a new pseudo-terminal (PTY) session for running shell commands and processes.
763
+ */
764
+ create<ThrowOnError extends boolean = false>(parameters?: {
765
+ directory?: string;
766
+ workspace?: string;
767
+ command?: string;
768
+ args?: Array<string>;
769
+ cwd?: string;
770
+ title?: string;
771
+ env?: {
772
+ [key: string]: string;
773
+ };
774
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyCreateResponses, PtyCreateErrors, ThrowOnError, "fields">;
775
+ /**
776
+ * Remove PTY session
777
+ *
778
+ * Remove and terminate a specific pseudo-terminal (PTY) session.
779
+ */
780
+ remove<ThrowOnError extends boolean = false>(parameters: {
781
+ ptyID: string;
782
+ directory?: string;
783
+ workspace?: string;
784
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyRemoveResponses, PtyRemoveErrors, ThrowOnError, "fields">;
785
+ /**
786
+ * Get PTY session
787
+ *
788
+ * Retrieve detailed information about a specific pseudo-terminal (PTY) session.
789
+ */
790
+ get<ThrowOnError extends boolean = false>(parameters: {
791
+ ptyID: string;
792
+ directory?: string;
793
+ workspace?: string;
794
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyGetResponses, PtyGetErrors, ThrowOnError, "fields">;
795
+ /**
796
+ * Update PTY session
797
+ *
798
+ * Update properties of an existing pseudo-terminal (PTY) session.
799
+ */
800
+ update<ThrowOnError extends boolean = false>(parameters: {
801
+ ptyID: string;
802
+ directory?: string;
803
+ workspace?: string;
804
+ title?: string;
805
+ size?: {
806
+ rows: number;
807
+ cols: number;
808
+ };
809
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyUpdateResponses, PtyUpdateErrors, ThrowOnError, "fields">;
810
+ /**
811
+ * Create PTY WebSocket token
812
+ *
813
+ * Create a short-lived ticket for opening a PTY WebSocket connection.
814
+ */
815
+ connectToken<ThrowOnError extends boolean = false>(parameters: {
816
+ ptyID: string;
817
+ directory?: string;
818
+ workspace?: string;
819
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyConnectTokenResponses, PtyConnectTokenErrors, ThrowOnError, "fields">;
820
+ /**
821
+ * Connect to PTY session
822
+ *
823
+ * Establish a WebSocket connection to interact with a pseudo-terminal (PTY) session in real-time.
824
+ */
825
+ connect<ThrowOnError extends boolean = false>(parameters: {
826
+ ptyID: string;
827
+ directory?: string;
828
+ workspace?: string;
829
+ cursor?: string;
830
+ ticket?: string;
831
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyConnectResponses, PtyConnectErrors, ThrowOnError, "fields">;
832
+ }
833
+ export declare class Question extends HeyApiClient {
834
+ /**
835
+ * List pending questions
836
+ *
837
+ * Get all pending question requests across all sessions.
838
+ */
839
+ list<ThrowOnError extends boolean = false>(parameters?: {
840
+ directory?: string;
841
+ workspace?: string;
842
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionListResponses, QuestionListErrors, ThrowOnError, "fields">;
843
+ /**
844
+ * Reply to question request
845
+ *
846
+ * Provide answers to a question request from the AI assistant.
847
+ */
848
+ reply<ThrowOnError extends boolean = false>(parameters: {
849
+ requestID: string;
850
+ directory?: string;
851
+ workspace?: string;
852
+ answers?: Array<QuestionAnswer>;
853
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionReplyResponses, QuestionReplyErrors, ThrowOnError, "fields">;
854
+ /**
855
+ * Reject question request
856
+ *
857
+ * Reject a question request from the AI assistant.
858
+ */
859
+ reject<ThrowOnError extends boolean = false>(parameters: {
860
+ requestID: string;
861
+ directory?: string;
862
+ workspace?: string;
863
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionRejectResponses, QuestionRejectErrors, ThrowOnError, "fields">;
864
+ }
865
+ export declare class Permission extends HeyApiClient {
866
+ /**
867
+ * List pending permissions
868
+ *
869
+ * Get all pending permission requests across all sessions.
870
+ */
871
+ list<ThrowOnError extends boolean = false>(parameters?: {
872
+ directory?: string;
873
+ workspace?: string;
874
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionListResponses, PermissionListErrors, ThrowOnError, "fields">;
875
+ /**
876
+ * Respond to permission request
877
+ *
878
+ * Approve or deny a permission request from the AI assistant.
879
+ */
880
+ reply<ThrowOnError extends boolean = false>(parameters: {
881
+ requestID: string;
882
+ directory?: string;
883
+ workspace?: string;
884
+ reply?: "once" | "always" | "reject";
885
+ message?: string;
886
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionReplyResponses, PermissionReplyErrors, ThrowOnError, "fields">;
887
+ /**
888
+ * Respond to permission
889
+ *
890
+ * Approve or deny a permission request from the AI assistant.
891
+ *
892
+ * @deprecated
893
+ */
894
+ respond<ThrowOnError extends boolean = false>(parameters: {
895
+ sessionID: string;
896
+ permissionID: string;
897
+ directory?: string;
898
+ workspace?: string;
899
+ response?: "once" | "always" | "reject";
900
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionRespondResponses, PermissionRespondErrors, ThrowOnError, "fields">;
901
+ }
902
+ export declare class Oauth extends HeyApiClient {
903
+ /**
904
+ * Start OAuth authorization
905
+ *
906
+ * Start the OAuth authorization flow for a provider.
907
+ */
908
+ authorize<ThrowOnError extends boolean = false>(parameters: {
909
+ providerID: string;
910
+ directory?: string;
911
+ workspace?: string;
912
+ method?: number;
913
+ inputs?: {
914
+ [key: string]: string;
915
+ };
916
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderOauthAuthorizeResponses, ProviderOauthAuthorizeErrors, ThrowOnError, "fields">;
917
+ /**
918
+ * Handle OAuth callback
919
+ *
920
+ * Handle the OAuth callback from a provider after user authorization.
921
+ */
922
+ callback<ThrowOnError extends boolean = false>(parameters: {
923
+ providerID: string;
924
+ directory?: string;
925
+ workspace?: string;
926
+ method?: number;
927
+ code?: string;
928
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderOauthCallbackResponses, ProviderOauthCallbackErrors, ThrowOnError, "fields">;
929
+ }
930
+ export declare class Provider extends HeyApiClient {
931
+ /**
932
+ * List providers
933
+ *
934
+ * Get a list of all available AI providers, including both available and connected ones.
935
+ */
936
+ list<ThrowOnError extends boolean = false>(parameters?: {
937
+ directory?: string;
938
+ workspace?: string;
939
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderListResponses, ProviderListErrors, ThrowOnError, "fields">;
940
+ /**
941
+ * Get provider auth methods
942
+ *
943
+ * Retrieve available authentication methods for all AI providers.
944
+ */
945
+ auth<ThrowOnError extends boolean = false>(parameters?: {
946
+ directory?: string;
947
+ workspace?: string;
948
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderAuthResponses, ProviderAuthErrors, ThrowOnError, "fields">;
949
+ private _oauth?;
950
+ get oauth(): Oauth;
951
+ }
952
+ export declare class Session2 extends HeyApiClient {
953
+ /**
954
+ * List sessions
955
+ *
956
+ * Get a list of all ZYRAXON sessions, sorted by most recently updated.
957
+ */
958
+ list<ThrowOnError extends boolean = false>(parameters?: {
959
+ directory?: string;
960
+ workspace?: string;
961
+ scope?: "project";
962
+ path?: string;
963
+ roots?: boolean | "true" | "false";
964
+ start?: number;
965
+ search?: string;
966
+ limit?: number;
967
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionListResponses, SessionListErrors, ThrowOnError, "fields">;
968
+ /**
969
+ * Create session
970
+ *
971
+ * Create a new ZYRAXON session for interacting with AI assistants and managing conversations.
972
+ */
973
+ create<ThrowOnError extends boolean = false>(parameters?: {
974
+ directory?: string;
975
+ workspace?: string;
976
+ parentID?: string;
977
+ title?: string;
978
+ agent?: string;
979
+ model?: {
980
+ id: string;
981
+ providerID: string;
982
+ variant?: string;
983
+ };
984
+ metadata?: {
985
+ [key: string]: unknown;
986
+ };
987
+ permission?: PermissionRuleset;
988
+ workspaceID?: string;
989
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionCreateResponses, SessionCreateErrors, ThrowOnError, "fields">;
990
+ /**
991
+ * Get session status
992
+ *
993
+ * Retrieve the current status of all sessions, including active, idle, and completed states.
994
+ */
995
+ status<ThrowOnError extends boolean = false>(parameters?: {
996
+ directory?: string;
997
+ workspace?: string;
998
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionStatusResponses, SessionStatusErrors, ThrowOnError, "fields">;
999
+ /**
1000
+ * Delete session
1001
+ *
1002
+ * Delete a session and permanently remove all associated data, including messages and history.
1003
+ */
1004
+ delete<ThrowOnError extends boolean = false>(parameters: {
1005
+ sessionID: string;
1006
+ directory?: string;
1007
+ workspace?: string;
1008
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDeleteResponses, SessionDeleteErrors, ThrowOnError, "fields">;
1009
+ /**
1010
+ * Get session
1011
+ *
1012
+ * Retrieve detailed information about a specific ZYRAXON session.
1013
+ */
1014
+ get<ThrowOnError extends boolean = false>(parameters: {
1015
+ sessionID: string;
1016
+ directory?: string;
1017
+ workspace?: string;
1018
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionGetResponses, SessionGetErrors, ThrowOnError, "fields">;
1019
+ /**
1020
+ * Update session
1021
+ *
1022
+ * Update properties of an existing session, such as title or other metadata.
1023
+ */
1024
+ update<ThrowOnError extends boolean = false>(parameters: {
1025
+ sessionID: string;
1026
+ directory?: string;
1027
+ workspace?: string;
1028
+ title?: string;
1029
+ metadata?: {
1030
+ [key: string]: unknown;
1031
+ };
1032
+ permission?: PermissionRuleset;
1033
+ time?: {
1034
+ archived?: number;
1035
+ };
1036
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUpdateResponses, SessionUpdateErrors, ThrowOnError, "fields">;
1037
+ /**
1038
+ * Get session children
1039
+ *
1040
+ * Retrieve all child sessions that were forked from the specified parent session.
1041
+ */
1042
+ children<ThrowOnError extends boolean = false>(parameters: {
1043
+ sessionID: string;
1044
+ directory?: string;
1045
+ workspace?: string;
1046
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionChildrenResponses, SessionChildrenErrors, ThrowOnError, "fields">;
1047
+ /**
1048
+ * Get session todos
1049
+ *
1050
+ * Retrieve the todo list associated with a specific session, showing tasks and action items.
1051
+ */
1052
+ todo<ThrowOnError extends boolean = false>(parameters: {
1053
+ sessionID: string;
1054
+ directory?: string;
1055
+ workspace?: string;
1056
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionTodoResponses, SessionTodoErrors, ThrowOnError, "fields">;
1057
+ /**
1058
+ * Get message diff
1059
+ *
1060
+ * Get the file changes (diff) that resulted from a specific user message in the session.
1061
+ */
1062
+ diff<ThrowOnError extends boolean = false>(parameters: {
1063
+ sessionID: string;
1064
+ directory?: string;
1065
+ workspace?: string;
1066
+ messageID?: string;
1067
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDiffResponses, SessionDiffErrors, ThrowOnError, "fields">;
1068
+ /**
1069
+ * Get session messages
1070
+ *
1071
+ * Retrieve all messages in a session, including user prompts and AI responses.
1072
+ */
1073
+ messages<ThrowOnError extends boolean = false>(parameters: {
1074
+ sessionID: string;
1075
+ directory?: string;
1076
+ workspace?: string;
1077
+ limit?: number;
1078
+ before?: string;
1079
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMessagesResponses, SessionMessagesErrors, ThrowOnError, "fields">;
1080
+ /**
1081
+ * Send message
1082
+ *
1083
+ * Create and send a new message to a session, streaming the AI response.
1084
+ */
1085
+ prompt<ThrowOnError extends boolean = false>(parameters: {
1086
+ sessionID: string;
1087
+ directory?: string;
1088
+ workspace?: string;
1089
+ messageID?: string;
1090
+ model?: {
1091
+ providerID: string;
1092
+ modelID: string;
1093
+ };
1094
+ agent?: string;
1095
+ noReply?: boolean;
1096
+ tools?: {
1097
+ [key: string]: boolean;
1098
+ };
1099
+ format?: OutputFormat;
1100
+ system?: string;
1101
+ variant?: string;
1102
+ parts?: Array<TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput>;
1103
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionPromptResponses, SessionPromptErrors, ThrowOnError, "fields">;
1104
+ /**
1105
+ * Delete message
1106
+ *
1107
+ * Permanently delete a specific message and all of its parts from a session without reverting file changes.
1108
+ */
1109
+ deleteMessage<ThrowOnError extends boolean = false>(parameters: {
1110
+ sessionID: string;
1111
+ messageID: string;
1112
+ directory?: string;
1113
+ workspace?: string;
1114
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDeleteMessageResponses, SessionDeleteMessageErrors, ThrowOnError, "fields">;
1115
+ /**
1116
+ * Get message
1117
+ *
1118
+ * Retrieve a specific message from a session by its message ID.
1119
+ */
1120
+ message<ThrowOnError extends boolean = false>(parameters: {
1121
+ sessionID: string;
1122
+ messageID: string;
1123
+ directory?: string;
1124
+ workspace?: string;
1125
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMessageResponses, SessionMessageErrors, ThrowOnError, "fields">;
1126
+ /**
1127
+ * Fork session
1128
+ *
1129
+ * Create a new session by forking an existing session at a specific message point.
1130
+ */
1131
+ fork<ThrowOnError extends boolean = false>(parameters: {
1132
+ sessionID: string;
1133
+ directory?: string;
1134
+ workspace?: string;
1135
+ messageID?: string;
1136
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionForkResponses, SessionForkErrors, ThrowOnError, "fields">;
1137
+ /**
1138
+ * Abort session
1139
+ *
1140
+ * Abort an active session and stop any ongoing AI processing or command execution.
1141
+ */
1142
+ abort<ThrowOnError extends boolean = false>(parameters: {
1143
+ sessionID: string;
1144
+ directory?: string;
1145
+ workspace?: string;
1146
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionAbortResponses, SessionAbortErrors, ThrowOnError, "fields">;
1147
+ /**
1148
+ * Initialize session
1149
+ *
1150
+ * Analyze the current application and create an AGENTS.md file with project-specific agent configurations.
1151
+ */
1152
+ init<ThrowOnError extends boolean = false>(parameters: {
1153
+ sessionID: string;
1154
+ directory?: string;
1155
+ workspace?: string;
1156
+ modelID?: string;
1157
+ providerID?: string;
1158
+ messageID?: string;
1159
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionInitResponses, SessionInitErrors, ThrowOnError, "fields">;
1160
+ /**
1161
+ * Unshare session
1162
+ *
1163
+ * Remove the shareable link for a session, making it private again.
1164
+ */
1165
+ unshare<ThrowOnError extends boolean = false>(parameters: {
1166
+ sessionID: string;
1167
+ directory?: string;
1168
+ workspace?: string;
1169
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUnshareResponses, SessionUnshareErrors, ThrowOnError, "fields">;
1170
+ /**
1171
+ * Share session
1172
+ *
1173
+ * Create a shareable link for a session, allowing others to view the conversation.
1174
+ */
1175
+ share<ThrowOnError extends boolean = false>(parameters: {
1176
+ sessionID: string;
1177
+ directory?: string;
1178
+ workspace?: string;
1179
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionShareResponses, SessionShareErrors, ThrowOnError, "fields">;
1180
+ /**
1181
+ * Summarize session
1182
+ *
1183
+ * Generate a concise summary of the session using AI compaction to preserve key information.
1184
+ */
1185
+ summarize<ThrowOnError extends boolean = false>(parameters: {
1186
+ sessionID: string;
1187
+ directory?: string;
1188
+ workspace?: string;
1189
+ providerID?: string;
1190
+ modelID?: string;
1191
+ auto?: boolean;
1192
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionSummarizeResponses, SessionSummarizeErrors, ThrowOnError, "fields">;
1193
+ /**
1194
+ * Send async message
1195
+ *
1196
+ * Create and send a new message to a session asynchronously, starting the session if needed and returning immediately.
1197
+ */
1198
+ promptAsync<ThrowOnError extends boolean = false>(parameters: {
1199
+ sessionID: string;
1200
+ directory?: string;
1201
+ workspace?: string;
1202
+ messageID?: string;
1203
+ model?: {
1204
+ providerID: string;
1205
+ modelID: string;
1206
+ };
1207
+ agent?: string;
1208
+ noReply?: boolean;
1209
+ tools?: {
1210
+ [key: string]: boolean;
1211
+ };
1212
+ format?: OutputFormat;
1213
+ system?: string;
1214
+ variant?: string;
1215
+ parts?: Array<TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput>;
1216
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionPromptAsyncResponses, SessionPromptAsyncErrors, ThrowOnError, "fields">;
1217
+ /**
1218
+ * Send command
1219
+ *
1220
+ * Send a new command to a session for execution by the AI assistant.
1221
+ */
1222
+ command<ThrowOnError extends boolean = false>(parameters: {
1223
+ sessionID: string;
1224
+ directory?: string;
1225
+ workspace?: string;
1226
+ messageID?: string;
1227
+ agent?: string;
1228
+ model?: string;
1229
+ arguments?: string;
1230
+ command?: string;
1231
+ variant?: string;
1232
+ parts?: Array<{
1233
+ id?: string;
1234
+ type: "file";
1235
+ mime: string;
1236
+ filename?: string;
1237
+ url: string;
1238
+ source?: FilePartSource;
1239
+ }>;
1240
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionCommandResponses, SessionCommandErrors, ThrowOnError, "fields">;
1241
+ /**
1242
+ * Run shell command
1243
+ *
1244
+ * Execute a shell command within the session context and return the AI's response.
1245
+ */
1246
+ shell<ThrowOnError extends boolean = false>(parameters: {
1247
+ sessionID: string;
1248
+ directory?: string;
1249
+ workspace?: string;
1250
+ messageID?: string;
1251
+ agent?: string;
1252
+ model?: {
1253
+ providerID: string;
1254
+ modelID: string;
1255
+ };
1256
+ command?: string;
1257
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionShellResponses, SessionShellErrors, ThrowOnError, "fields">;
1258
+ /**
1259
+ * Revert message
1260
+ *
1261
+ * Revert a specific message in a session, undoing its effects and restoring the previous state.
1262
+ */
1263
+ revert<ThrowOnError extends boolean = false>(parameters: {
1264
+ sessionID: string;
1265
+ directory?: string;
1266
+ workspace?: string;
1267
+ messageID?: string;
1268
+ partID?: string;
1269
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionRevertResponses, SessionRevertErrors, ThrowOnError, "fields">;
1270
+ /**
1271
+ * Restore reverted messages
1272
+ *
1273
+ * Restore all previously reverted messages in a session.
1274
+ */
1275
+ unrevert<ThrowOnError extends boolean = false>(parameters: {
1276
+ sessionID: string;
1277
+ directory?: string;
1278
+ workspace?: string;
1279
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUnrevertResponses, SessionUnrevertErrors, ThrowOnError, "fields">;
1280
+ }
1281
+ export declare class Part extends HeyApiClient {
1282
+ /**
1283
+ * Delete a part from a message.
1284
+ */
1285
+ delete<ThrowOnError extends boolean = false>(parameters: {
1286
+ sessionID: string;
1287
+ messageID: string;
1288
+ partID: string;
1289
+ directory?: string;
1290
+ workspace?: string;
1291
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PartDeleteResponses, PartDeleteErrors, ThrowOnError, "fields">;
1292
+ /**
1293
+ * Update a part in a message.
1294
+ */
1295
+ update<ThrowOnError extends boolean = false>(parameters: {
1296
+ sessionID: string;
1297
+ messageID: string;
1298
+ partID: string;
1299
+ directory?: string;
1300
+ workspace?: string;
1301
+ part?: Part2;
1302
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PartUpdateResponses, PartUpdateErrors, ThrowOnError, "fields">;
1303
+ }
1304
+ export declare class History extends HeyApiClient {
1305
+ /**
1306
+ * List sync events
1307
+ *
1308
+ * List sync events for all aggregates. Keys are aggregate IDs the client already knows about, values are the last known sequence ID. Events with seq > value are returned for those aggregates. Aggregates not listed in the input get their full history.
1309
+ */
1310
+ list<ThrowOnError extends boolean = false>(parameters?: {
1311
+ directory?: string;
1312
+ workspace?: string;
1313
+ body?: {
1314
+ [key: string]: number;
1315
+ };
1316
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SyncHistoryListResponses, SyncHistoryListErrors, ThrowOnError, "fields">;
1317
+ }
1318
+ export declare class Sync extends HeyApiClient {
1319
+ /**
1320
+ * Start workspace sync
1321
+ *
1322
+ * Start sync loops for workspaces in the current project that have active sessions.
1323
+ */
1324
+ start<ThrowOnError extends boolean = false>(parameters?: {
1325
+ directory?: string;
1326
+ workspace?: string;
1327
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SyncStartResponses, SyncStartErrors, ThrowOnError, "fields">;
1328
+ /**
1329
+ * Replay sync events
1330
+ *
1331
+ * Validate and replay a complete sync event history.
1332
+ */
1333
+ replay<ThrowOnError extends boolean = false>(parameters?: {
1334
+ query_directory?: string;
1335
+ workspace?: string;
1336
+ body_directory?: string;
1337
+ events?: Array<{
1338
+ id: string;
1339
+ aggregateID: string;
1340
+ seq: number;
1341
+ type: string;
1342
+ data: {
1343
+ [key: string]: unknown;
1344
+ };
1345
+ }>;
1346
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SyncReplayResponses, SyncReplayErrors, ThrowOnError, "fields">;
1347
+ /**
1348
+ * Steal session into workspace
1349
+ *
1350
+ * Update a session to belong to the current workspace through the sync event system.
1351
+ */
1352
+ steal<ThrowOnError extends boolean = false>(parameters?: {
1353
+ directory?: string;
1354
+ workspace?: string;
1355
+ sessionID?: string;
1356
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SyncStealResponses, SyncStealErrors, ThrowOnError, "fields">;
1357
+ private _history?;
1358
+ get history(): History;
1359
+ }
1360
+ export declare class Control extends HeyApiClient {
1361
+ /**
1362
+ * Get next TUI request
1363
+ *
1364
+ * Retrieve the next TUI request from the queue for processing.
1365
+ */
1366
+ next<ThrowOnError extends boolean = false>(parameters?: {
1367
+ directory?: string;
1368
+ workspace?: string;
1369
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiControlNextResponses, TuiControlNextErrors, ThrowOnError, "fields">;
1370
+ /**
1371
+ * Submit TUI response
1372
+ *
1373
+ * Submit a response to the TUI request queue to complete a pending request.
1374
+ */
1375
+ response<ThrowOnError extends boolean = false>(parameters?: {
1376
+ directory?: string;
1377
+ workspace?: string;
1378
+ body?: unknown;
1379
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiControlResponseResponses, TuiControlResponseErrors, ThrowOnError, "fields">;
1380
+ }
1381
+ export declare class Tui extends HeyApiClient {
1382
+ /**
1383
+ * Append TUI prompt
1384
+ *
1385
+ * Append prompt to the TUI.
1386
+ */
1387
+ appendPrompt<ThrowOnError extends boolean = false>(parameters?: {
1388
+ directory?: string;
1389
+ workspace?: string;
1390
+ text?: string;
1391
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiAppendPromptResponses, TuiAppendPromptErrors, ThrowOnError, "fields">;
1392
+ /**
1393
+ * Open help dialog
1394
+ *
1395
+ * Open the help dialog in the TUI to display user assistance information.
1396
+ */
1397
+ openHelp<ThrowOnError extends boolean = false>(parameters?: {
1398
+ directory?: string;
1399
+ workspace?: string;
1400
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenHelpResponses, TuiOpenHelpErrors, ThrowOnError, "fields">;
1401
+ /**
1402
+ * Open sessions dialog
1403
+ *
1404
+ * Open the session dialog.
1405
+ */
1406
+ openSessions<ThrowOnError extends boolean = false>(parameters?: {
1407
+ directory?: string;
1408
+ workspace?: string;
1409
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenSessionsResponses, TuiOpenSessionsErrors, ThrowOnError, "fields">;
1410
+ /**
1411
+ * Open themes dialog
1412
+ *
1413
+ * Open the theme dialog.
1414
+ */
1415
+ openThemes<ThrowOnError extends boolean = false>(parameters?: {
1416
+ directory?: string;
1417
+ workspace?: string;
1418
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenThemesResponses, TuiOpenThemesErrors, ThrowOnError, "fields">;
1419
+ /**
1420
+ * Open models dialog
1421
+ *
1422
+ * Open the model dialog.
1423
+ */
1424
+ openModels<ThrowOnError extends boolean = false>(parameters?: {
1425
+ directory?: string;
1426
+ workspace?: string;
1427
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenModelsResponses, TuiOpenModelsErrors, ThrowOnError, "fields">;
1428
+ /**
1429
+ * Submit TUI prompt
1430
+ *
1431
+ * Submit the prompt.
1432
+ */
1433
+ submitPrompt<ThrowOnError extends boolean = false>(parameters?: {
1434
+ directory?: string;
1435
+ workspace?: string;
1436
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiSubmitPromptResponses, TuiSubmitPromptErrors, ThrowOnError, "fields">;
1437
+ /**
1438
+ * Clear TUI prompt
1439
+ *
1440
+ * Clear the prompt.
1441
+ */
1442
+ clearPrompt<ThrowOnError extends boolean = false>(parameters?: {
1443
+ directory?: string;
1444
+ workspace?: string;
1445
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiClearPromptResponses, TuiClearPromptErrors, ThrowOnError, "fields">;
1446
+ /**
1447
+ * Execute TUI command
1448
+ *
1449
+ * Execute a TUI command.
1450
+ */
1451
+ executeCommand<ThrowOnError extends boolean = false>(parameters?: {
1452
+ directory?: string;
1453
+ workspace?: string;
1454
+ command?: string;
1455
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiExecuteCommandResponses, TuiExecuteCommandErrors, ThrowOnError, "fields">;
1456
+ /**
1457
+ * Show TUI toast
1458
+ *
1459
+ * Show a toast notification in the TUI.
1460
+ */
1461
+ showToast<ThrowOnError extends boolean = false>(parameters?: {
1462
+ directory?: string;
1463
+ workspace?: string;
1464
+ title?: string;
1465
+ message?: string;
1466
+ variant?: "info" | "success" | "warning" | "error";
1467
+ duration?: number;
1468
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiShowToastResponses, TuiShowToastErrors, ThrowOnError, "fields">;
1469
+ /**
1470
+ * Publish TUI event
1471
+ *
1472
+ * Publish a TUI event.
1473
+ */
1474
+ publish<ThrowOnError extends boolean = false>(parameters?: {
1475
+ directory?: string;
1476
+ workspace?: string;
1477
+ body?: EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect;
1478
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiPublishResponses, TuiPublishErrors, ThrowOnError, "fields">;
1479
+ /**
1480
+ * Select session
1481
+ *
1482
+ * Navigate the TUI to display the specified session.
1483
+ */
1484
+ selectSession<ThrowOnError extends boolean = false>(parameters?: {
1485
+ directory?: string;
1486
+ workspace?: string;
1487
+ sessionID?: string;
1488
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiSelectSessionResponses, TuiSelectSessionErrors, ThrowOnError, "fields">;
1489
+ private _control?;
1490
+ get control(): Control;
1491
+ }
1492
+ export declare class Health extends HeyApiClient {
1493
+ /**
1494
+ * Check server health
1495
+ *
1496
+ * Check whether the API server is ready to accept requests.
1497
+ */
1498
+ get<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2HealthGetResponses, V2HealthGetErrors, ThrowOnError, "fields">;
1499
+ }
1500
+ export declare class Location extends HeyApiClient {
1501
+ /**
1502
+ * Get location
1503
+ *
1504
+ * Resolve the requested location or the server default location.
1505
+ */
1506
+ get<ThrowOnError extends boolean = false>(parameters?: {
1507
+ location?: {
1508
+ directory?: string;
1509
+ workspace?: string;
1510
+ };
1511
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2LocationGetResponses, V2LocationGetErrors, ThrowOnError, "fields">;
1512
+ }
1513
+ export declare class Agent extends HeyApiClient {
1514
+ /**
1515
+ * List agents
1516
+ *
1517
+ * Retrieve currently registered agents.
1518
+ */
1519
+ list<ThrowOnError extends boolean = false>(parameters?: {
1520
+ location?: {
1521
+ directory?: string;
1522
+ workspace?: string;
1523
+ };
1524
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2AgentListResponses, V2AgentListErrors, ThrowOnError, "fields">;
1525
+ }
1526
+ export declare class Revert extends HeyApiClient {
1527
+ /**
1528
+ * Stage session revert
1529
+ *
1530
+ * Stage or move a reversible session boundary and optionally apply its file changes.
1531
+ */
1532
+ stage<ThrowOnError extends boolean = false>(parameters: {
1533
+ sessionID: string;
1534
+ messageID?: string;
1535
+ files?: boolean;
1536
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionRevertStageResponses, V2SessionRevertStageErrors, ThrowOnError, "fields">;
1537
+ /**
1538
+ * Clear staged revert
1539
+ */
1540
+ clear<ThrowOnError extends boolean = false>(parameters: {
1541
+ sessionID: string;
1542
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionRevertClearResponses, V2SessionRevertClearErrors, ThrowOnError, "fields">;
1543
+ /**
1544
+ * Commit staged revert
1545
+ */
1546
+ commit<ThrowOnError extends boolean = false>(parameters: {
1547
+ sessionID: string;
1548
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionRevertCommitResponses, V2SessionRevertCommitErrors, ThrowOnError, "fields">;
1549
+ }
1550
+ export declare class Permission2 extends HeyApiClient {
1551
+ /**
1552
+ * List session permission requests
1553
+ *
1554
+ * Retrieve pending permission requests owned by a session.
1555
+ */
1556
+ list<ThrowOnError extends boolean = false>(parameters: {
1557
+ sessionID: string;
1558
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionPermissionListResponses, V2SessionPermissionListErrors, ThrowOnError, "fields">;
1559
+ /**
1560
+ * Create permission request
1561
+ *
1562
+ * Evaluate and, when approval is required, create a permission request for a session.
1563
+ */
1564
+ create<ThrowOnError extends boolean = false>(parameters: {
1565
+ sessionID: string;
1566
+ id?: string;
1567
+ action?: string;
1568
+ resources?: Array<string>;
1569
+ save?: Array<string>;
1570
+ metadata?: {
1571
+ [key: string]: unknown;
1572
+ };
1573
+ source?: PermissionV2Source;
1574
+ agent?: string;
1575
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionPermissionCreateResponses, V2SessionPermissionCreateErrors, ThrowOnError, "fields">;
1576
+ /**
1577
+ * Get permission request
1578
+ *
1579
+ * Retrieve a pending permission request owned by a session.
1580
+ */
1581
+ get<ThrowOnError extends boolean = false>(parameters: {
1582
+ sessionID: string;
1583
+ requestID: string;
1584
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionPermissionGetResponses, V2SessionPermissionGetErrors, ThrowOnError, "fields">;
1585
+ /**
1586
+ * Reply to pending permission request
1587
+ *
1588
+ * Respond to a pending permission request owned by a session.
1589
+ */
1590
+ reply<ThrowOnError extends boolean = false>(parameters: {
1591
+ sessionID: string;
1592
+ requestID: string;
1593
+ reply?: PermissionV2Reply;
1594
+ message?: string;
1595
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionPermissionReplyResponses, V2SessionPermissionReplyErrors, ThrowOnError, "fields">;
1596
+ }
1597
+ export declare class Question2 extends HeyApiClient {
1598
+ /**
1599
+ * List session question requests
1600
+ *
1601
+ * Retrieve pending question requests owned by a session.
1602
+ */
1603
+ list<ThrowOnError extends boolean = false>(parameters: {
1604
+ sessionID: string;
1605
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionQuestionListResponses, V2SessionQuestionListErrors, ThrowOnError, "fields">;
1606
+ /**
1607
+ * Reply to pending question request
1608
+ *
1609
+ * Answer a pending question request owned by a session.
1610
+ */
1611
+ reply<ThrowOnError extends boolean = false>(parameters: {
1612
+ sessionID: string;
1613
+ requestID: string;
1614
+ questionV2Reply: QuestionV2Reply;
1615
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionQuestionReplyResponses, V2SessionQuestionReplyErrors, ThrowOnError, "fields">;
1616
+ /**
1617
+ * Reject pending question request
1618
+ *
1619
+ * Reject a pending question request owned by a session.
1620
+ */
1621
+ reject<ThrowOnError extends boolean = false>(parameters: {
1622
+ sessionID: string;
1623
+ requestID: string;
1624
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionQuestionRejectResponses, V2SessionQuestionRejectErrors, ThrowOnError, "fields">;
1625
+ }
1626
+ export declare class Session3 extends HeyApiClient {
1627
+ /**
1628
+ * List sessions
1629
+ *
1630
+ * Retrieve sessions in the requested order. Items keep that order across pages; use cursor.next or cursor.previous to move through the ordered list.
1631
+ */
1632
+ list<ThrowOnError extends boolean = false>(parameters?: {
1633
+ workspace?: string;
1634
+ limit?: number;
1635
+ order?: "asc" | "desc";
1636
+ search?: string;
1637
+ directory?: string;
1638
+ project?: string;
1639
+ subpath?: string;
1640
+ cursor?: string;
1641
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionListResponses, V2SessionListErrors, ThrowOnError, "fields">;
1642
+ /**
1643
+ * Create session
1644
+ *
1645
+ * Create a session at the requested location.
1646
+ */
1647
+ create<ThrowOnError extends boolean = false>(parameters?: {
1648
+ id?: string;
1649
+ agent?: string;
1650
+ model?: ModelRef;
1651
+ location?: LocationRef;
1652
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionCreateResponses, V2SessionCreateErrors, ThrowOnError, "fields">;
1653
+ /**
1654
+ * List active sessions
1655
+ *
1656
+ * Retrieve foreground Session drains currently owned by this Zyraxon process. Sessions absent from the result are inactive.
1657
+ */
1658
+ active<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionActiveResponses, V2SessionActiveErrors, ThrowOnError, "fields">;
1659
+ /**
1660
+ * Get session
1661
+ *
1662
+ * Retrieve a session by ID.
1663
+ */
1664
+ get<ThrowOnError extends boolean = false>(parameters: {
1665
+ sessionID: string;
1666
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionGetResponses, V2SessionGetErrors, ThrowOnError, "fields">;
1667
+ /**
1668
+ * Switch session agent
1669
+ *
1670
+ * Switch the agent used by subsequent provider turns.
1671
+ */
1672
+ switchAgent<ThrowOnError extends boolean = false>(parameters: {
1673
+ sessionID: string;
1674
+ agent?: string;
1675
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionSwitchAgentResponses, V2SessionSwitchAgentErrors, ThrowOnError, "fields">;
1676
+ /**
1677
+ * Switch session model
1678
+ *
1679
+ * Switch the model used by subsequent provider turns.
1680
+ */
1681
+ switchModel<ThrowOnError extends boolean = false>(parameters: {
1682
+ sessionID: string;
1683
+ model?: ModelRef;
1684
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionSwitchModelResponses, V2SessionSwitchModelErrors, ThrowOnError, "fields">;
1685
+ /**
1686
+ * Send message
1687
+ *
1688
+ * Durably admit one session input and schedule agent-loop execution unless resume is false.
1689
+ */
1690
+ prompt<ThrowOnError extends boolean = false>(parameters: {
1691
+ sessionID: string;
1692
+ id?: string;
1693
+ prompt?: PromptInput;
1694
+ delivery?: "steer" | "queue";
1695
+ resume?: boolean;
1696
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionPromptResponses, V2SessionPromptErrors, ThrowOnError, "fields">;
1697
+ /**
1698
+ * Compact session
1699
+ *
1700
+ * Compact a session conversation.
1701
+ */
1702
+ compact<ThrowOnError extends boolean = false>(parameters: {
1703
+ sessionID: string;
1704
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionCompactResponses, V2SessionCompactErrors, ThrowOnError, "fields">;
1705
+ /**
1706
+ * Wait for session
1707
+ *
1708
+ * Wait for a session agent loop to become idle.
1709
+ */
1710
+ wait<ThrowOnError extends boolean = false>(parameters: {
1711
+ sessionID: string;
1712
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionWaitResponses, V2SessionWaitErrors, ThrowOnError, "fields">;
1713
+ /**
1714
+ * Get session context
1715
+ *
1716
+ * Retrieve the active context messages for a session (all messages after the last compaction).
1717
+ */
1718
+ context<ThrowOnError extends boolean = false>(parameters: {
1719
+ sessionID: string;
1720
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionContextResponses, V2SessionContextErrors, ThrowOnError, "fields">;
1721
+ /**
1722
+ * Get session history
1723
+ *
1724
+ * Read one finite page of public durable Session events after an exclusive aggregate sequence. Newly committed events may appear on later pages.
1725
+ */
1726
+ history<ThrowOnError extends boolean = false>(parameters: {
1727
+ sessionID: string;
1728
+ limit?: number;
1729
+ after?: number;
1730
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionHistoryResponses, V2SessionHistoryErrors, ThrowOnError, "fields">;
1731
+ /**
1732
+ * Subscribe to session events
1733
+ *
1734
+ * Replay durable events after an aggregate sequence, then continue with new durable events.
1735
+ */
1736
+ events<ThrowOnError extends boolean = false>(parameters: {
1737
+ sessionID: string;
1738
+ after?: string;
1739
+ }, options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<V2SessionEventsResponses>>;
1740
+ /**
1741
+ * Interrupt session execution
1742
+ *
1743
+ * Interrupt active execution owned by this Zyraxon process. Idle interruption is a no-op.
1744
+ */
1745
+ interrupt<ThrowOnError extends boolean = false>(parameters: {
1746
+ sessionID: string;
1747
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionInterruptResponses, V2SessionInterruptErrors, ThrowOnError, "fields">;
1748
+ /**
1749
+ * Get session message
1750
+ *
1751
+ * Retrieve one projected message owned by the Session.
1752
+ */
1753
+ message<ThrowOnError extends boolean = false>(parameters: {
1754
+ sessionID: string;
1755
+ messageID: string;
1756
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionMessageResponses, V2SessionMessageErrors, ThrowOnError, "fields">;
1757
+ /**
1758
+ * Get session messages
1759
+ *
1760
+ * Retrieve projected messages for a session. Items keep the requested order across pages; use cursor.next or cursor.previous to move through the ordered timeline.
1761
+ */
1762
+ messages<ThrowOnError extends boolean = false>(parameters: {
1763
+ sessionID: string;
1764
+ limit?: number;
1765
+ order?: "asc" | "desc";
1766
+ cursor?: string;
1767
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionMessagesResponses, V2SessionMessagesErrors, ThrowOnError, "fields">;
1768
+ private _revert?;
1769
+ get revert(): Revert;
1770
+ private _permission?;
1771
+ get permission(): Permission2;
1772
+ private _question?;
1773
+ get question(): Question2;
1774
+ }
1775
+ export declare class Model extends HeyApiClient {
1776
+ /**
1777
+ * List models
1778
+ *
1779
+ * Retrieve available models ordered by release date.
1780
+ */
1781
+ list<ThrowOnError extends boolean = false>(parameters?: {
1782
+ location?: {
1783
+ directory?: string;
1784
+ workspace?: string;
1785
+ };
1786
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2ModelListResponses, V2ModelListErrors, ThrowOnError, "fields">;
1787
+ }
1788
+ export declare class Provider2 extends HeyApiClient {
1789
+ /**
1790
+ * List providers
1791
+ *
1792
+ * Retrieve active AI providers so clients can show provider availability and configuration.
1793
+ */
1794
+ list<ThrowOnError extends boolean = false>(parameters?: {
1795
+ location?: {
1796
+ directory?: string;
1797
+ workspace?: string;
1798
+ };
1799
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2ProviderListResponses, V2ProviderListErrors, ThrowOnError, "fields">;
1800
+ /**
1801
+ * Get provider
1802
+ *
1803
+ * Retrieve a single AI provider so clients can inspect its availability and endpoint settings.
1804
+ */
1805
+ get<ThrowOnError extends boolean = false>(parameters: {
1806
+ providerID: string;
1807
+ location?: {
1808
+ directory?: string;
1809
+ workspace?: string;
1810
+ };
1811
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2ProviderGetResponses, V2ProviderGetErrors, ThrowOnError, "fields">;
1812
+ }
1813
+ export declare class Connect extends HeyApiClient {
1814
+ /**
1815
+ * Connect with key
1816
+ *
1817
+ * Run a key authentication method and store the resulting credential.
1818
+ */
1819
+ key<ThrowOnError extends boolean = false>(parameters: {
1820
+ integrationID: string;
1821
+ location?: {
1822
+ directory?: string;
1823
+ workspace?: string;
1824
+ };
1825
+ key?: string;
1826
+ label?: string;
1827
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2IntegrationConnectKeyResponses, V2IntegrationConnectKeyErrors, ThrowOnError, "fields">;
1828
+ /**
1829
+ * Begin OAuth connection
1830
+ *
1831
+ * Start an OAuth attempt and return the authorization details.
1832
+ */
1833
+ oauth<ThrowOnError extends boolean = false>(parameters: {
1834
+ integrationID: string;
1835
+ location?: {
1836
+ directory?: string;
1837
+ workspace?: string;
1838
+ };
1839
+ methodID?: string;
1840
+ inputs?: {
1841
+ [key: string]: string;
1842
+ };
1843
+ label?: string;
1844
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2IntegrationConnectOauthResponses, V2IntegrationConnectOauthErrors, ThrowOnError, "fields">;
1845
+ }
1846
+ export declare class Attempt extends HeyApiClient {
1847
+ /**
1848
+ * Cancel OAuth connection
1849
+ *
1850
+ * Cancel an OAuth attempt and release its resources.
1851
+ */
1852
+ cancel<ThrowOnError extends boolean = false>(parameters: {
1853
+ attemptID: string;
1854
+ location?: {
1855
+ directory?: string;
1856
+ workspace?: string;
1857
+ };
1858
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2IntegrationAttemptCancelResponses, V2IntegrationAttemptCancelErrors, ThrowOnError, "fields">;
1859
+ /**
1860
+ * Get OAuth attempt status
1861
+ *
1862
+ * Poll the current status of an OAuth attempt.
1863
+ */
1864
+ status<ThrowOnError extends boolean = false>(parameters: {
1865
+ attemptID: string;
1866
+ location?: {
1867
+ directory?: string;
1868
+ workspace?: string;
1869
+ };
1870
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2IntegrationAttemptStatusResponses, V2IntegrationAttemptStatusErrors, ThrowOnError, "fields">;
1871
+ /**
1872
+ * Complete OAuth connection
1873
+ *
1874
+ * Complete a code-based OAuth attempt and store the resulting credential.
1875
+ */
1876
+ complete<ThrowOnError extends boolean = false>(parameters: {
1877
+ attemptID: string;
1878
+ location?: {
1879
+ directory?: string;
1880
+ workspace?: string;
1881
+ };
1882
+ code?: string;
1883
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2IntegrationAttemptCompleteResponses, V2IntegrationAttemptCompleteErrors, ThrowOnError, "fields">;
1884
+ }
1885
+ export declare class Integration extends HeyApiClient {
1886
+ /**
1887
+ * List integrations
1888
+ *
1889
+ * Retrieve available integrations and their authentication methods.
1890
+ */
1891
+ list<ThrowOnError extends boolean = false>(parameters?: {
1892
+ location?: {
1893
+ directory?: string;
1894
+ workspace?: string;
1895
+ };
1896
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2IntegrationListResponses, V2IntegrationListErrors, ThrowOnError, "fields">;
1897
+ /**
1898
+ * Get integration
1899
+ *
1900
+ * Retrieve one integration and its authentication methods.
1901
+ */
1902
+ get<ThrowOnError extends boolean = false>(parameters: {
1903
+ integrationID: string;
1904
+ location?: {
1905
+ directory?: string;
1906
+ workspace?: string;
1907
+ };
1908
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2IntegrationGetResponses, V2IntegrationGetErrors, ThrowOnError, "fields">;
1909
+ private _connect?;
1910
+ get connect(): Connect;
1911
+ private _attempt?;
1912
+ get attempt(): Attempt;
1913
+ }
1914
+ export declare class Credential extends HeyApiClient {
1915
+ /**
1916
+ * Remove credential
1917
+ *
1918
+ * Remove a stored integration credential.
1919
+ */
1920
+ remove<ThrowOnError extends boolean = false>(parameters: {
1921
+ credentialID: string;
1922
+ location?: {
1923
+ directory?: string;
1924
+ workspace?: string;
1925
+ };
1926
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2CredentialRemoveResponses, V2CredentialRemoveErrors, ThrowOnError, "fields">;
1927
+ /**
1928
+ * Update credential
1929
+ *
1930
+ * Update a stored credential label.
1931
+ */
1932
+ update<ThrowOnError extends boolean = false>(parameters: {
1933
+ credentialID: string;
1934
+ location?: {
1935
+ directory?: string;
1936
+ workspace?: string;
1937
+ };
1938
+ label?: string;
1939
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2CredentialUpdateResponses, V2CredentialUpdateErrors, ThrowOnError, "fields">;
1940
+ }
1941
+ export declare class Request extends HeyApiClient {
1942
+ /**
1943
+ * List pending permission requests
1944
+ *
1945
+ * Retrieve pending permission requests for a location.
1946
+ */
1947
+ list<ThrowOnError extends boolean = false>(parameters?: {
1948
+ location?: {
1949
+ directory?: string;
1950
+ workspace?: string;
1951
+ };
1952
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2PermissionRequestListResponses, V2PermissionRequestListErrors, ThrowOnError, "fields">;
1953
+ }
1954
+ export declare class Saved extends HeyApiClient {
1955
+ /**
1956
+ * List saved permissions
1957
+ *
1958
+ * Retrieve saved permissions, optionally filtered by project.
1959
+ */
1960
+ list<ThrowOnError extends boolean = false>(parameters?: {
1961
+ projectID?: string;
1962
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2PermissionSavedListResponses, V2PermissionSavedListErrors, ThrowOnError, "fields">;
1963
+ /**
1964
+ * Remove saved permission
1965
+ *
1966
+ * Remove a saved permission by ID.
1967
+ */
1968
+ remove<ThrowOnError extends boolean = false>(parameters: {
1969
+ id: string;
1970
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2PermissionSavedRemoveResponses, V2PermissionSavedRemoveErrors, ThrowOnError, "fields">;
1971
+ }
1972
+ export declare class Permission3 extends HeyApiClient {
1973
+ private _request?;
1974
+ get request(): Request;
1975
+ private _saved?;
1976
+ get saved(): Saved;
1977
+ }
1978
+ export declare class Fs extends HeyApiClient {
1979
+ /**
1980
+ * Read file
1981
+ *
1982
+ * Serve one file relative to the requested location.
1983
+ */
1984
+ read<ThrowOnError extends boolean = false>(parameters?: {
1985
+ location?: {
1986
+ directory?: string;
1987
+ workspace?: string;
1988
+ };
1989
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2FsReadResponses, V2FsReadErrors, ThrowOnError, "fields">;
1990
+ /**
1991
+ * List directory
1992
+ *
1993
+ * List direct children of one directory relative to the requested location.
1994
+ */
1995
+ list<ThrowOnError extends boolean = false>(parameters?: {
1996
+ location?: {
1997
+ directory?: string;
1998
+ workspace?: string;
1999
+ };
2000
+ path?: string;
2001
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2FsListResponses, V2FsListErrors, ThrowOnError, "fields">;
2002
+ /**
2003
+ * Find files
2004
+ *
2005
+ * Find recursively ranked filesystem entries relative to the requested location.
2006
+ */
2007
+ find<ThrowOnError extends boolean = false>(parameters: {
2008
+ location?: {
2009
+ directory?: string;
2010
+ workspace?: string;
2011
+ };
2012
+ query: string;
2013
+ type?: "file" | "directory";
2014
+ limit?: string;
2015
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2FsFindResponses, V2FsFindErrors, ThrowOnError, "fields">;
2016
+ }
2017
+ export declare class Command2 extends HeyApiClient {
2018
+ /**
2019
+ * List commands
2020
+ *
2021
+ * Retrieve currently registered commands.
2022
+ */
2023
+ list<ThrowOnError extends boolean = false>(parameters?: {
2024
+ location?: {
2025
+ directory?: string;
2026
+ workspace?: string;
2027
+ };
2028
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2CommandListResponses, V2CommandListErrors, ThrowOnError, "fields">;
2029
+ }
2030
+ export declare class Skill extends HeyApiClient {
2031
+ /**
2032
+ * List skills
2033
+ *
2034
+ * Retrieve currently registered skills.
2035
+ */
2036
+ list<ThrowOnError extends boolean = false>(parameters?: {
2037
+ location?: {
2038
+ directory?: string;
2039
+ workspace?: string;
2040
+ };
2041
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SkillListResponses, V2SkillListErrors, ThrowOnError, "fields">;
2042
+ }
2043
+ export declare class Event2 extends HeyApiClient {
2044
+ /**
2045
+ * Subscribe to events
2046
+ *
2047
+ * Subscribe to native event payloads for the server.
2048
+ */
2049
+ subscribe<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<V2EventSubscribeResponses>>;
2050
+ }
2051
+ export declare class Pty2 extends HeyApiClient {
2052
+ /**
2053
+ * List PTY sessions
2054
+ *
2055
+ * List PTY sessions for a location, including exited sessions retained until removal.
2056
+ */
2057
+ list<ThrowOnError extends boolean = false>(parameters?: {
2058
+ location?: {
2059
+ directory?: string;
2060
+ workspace?: string;
2061
+ };
2062
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2PtyListResponses, V2PtyListErrors, ThrowOnError, "fields">;
2063
+ /**
2064
+ * Create PTY session
2065
+ *
2066
+ * Create a pseudo-terminal session for a location.
2067
+ */
2068
+ create<ThrowOnError extends boolean = false>(parameters?: {
2069
+ location?: {
2070
+ directory?: string;
2071
+ workspace?: string;
2072
+ };
2073
+ command?: string;
2074
+ args?: Array<string>;
2075
+ cwd?: string;
2076
+ title?: string;
2077
+ env?: {
2078
+ [key: string]: string;
2079
+ };
2080
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2PtyCreateResponses, V2PtyCreateErrors, ThrowOnError, "fields">;
2081
+ /**
2082
+ * Remove PTY session
2083
+ *
2084
+ * Terminate and remove one PTY session.
2085
+ */
2086
+ remove<ThrowOnError extends boolean = false>(parameters: {
2087
+ ptyID: string;
2088
+ location?: {
2089
+ directory?: string;
2090
+ workspace?: string;
2091
+ };
2092
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2PtyRemoveResponses, V2PtyRemoveErrors, ThrowOnError, "fields">;
2093
+ /**
2094
+ * Get PTY session
2095
+ *
2096
+ * Get one PTY session, including its exit code once exited.
2097
+ */
2098
+ get<ThrowOnError extends boolean = false>(parameters: {
2099
+ ptyID: string;
2100
+ location?: {
2101
+ directory?: string;
2102
+ workspace?: string;
2103
+ };
2104
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2PtyGetResponses, V2PtyGetErrors, ThrowOnError, "fields">;
2105
+ /**
2106
+ * Update PTY session
2107
+ *
2108
+ * Update the title or viewport size of one PTY session.
2109
+ */
2110
+ update<ThrowOnError extends boolean = false>(parameters: {
2111
+ ptyID: string;
2112
+ location?: {
2113
+ directory?: string;
2114
+ workspace?: string;
2115
+ };
2116
+ title?: string;
2117
+ size?: {
2118
+ rows: number;
2119
+ cols: number;
2120
+ };
2121
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2PtyUpdateResponses, V2PtyUpdateErrors, ThrowOnError, "fields">;
2122
+ /**
2123
+ * Create PTY WebSocket token
2124
+ *
2125
+ * Create a short-lived single-use ticket for opening a PTY WebSocket connection.
2126
+ */
2127
+ connectToken<ThrowOnError extends boolean = false>(parameters: {
2128
+ ptyID: string;
2129
+ location?: {
2130
+ directory?: string;
2131
+ workspace?: string;
2132
+ };
2133
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2PtyConnectTokenResponses, V2PtyConnectTokenErrors, ThrowOnError, "fields">;
2134
+ /**
2135
+ * Connect to PTY session
2136
+ *
2137
+ * Establish a WebSocket connection streaming PTY output and accepting terminal input.
2138
+ */
2139
+ connect<ThrowOnError extends boolean = false>(parameters: {
2140
+ ptyID: string;
2141
+ "location[directory]"?: string;
2142
+ "location[workspace]"?: string;
2143
+ cursor?: string;
2144
+ ticket?: string;
2145
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2PtyConnectResponses, V2PtyConnectErrors, ThrowOnError, "fields">;
2146
+ }
2147
+ export declare class Request2 extends HeyApiClient {
2148
+ /**
2149
+ * List pending question requests
2150
+ *
2151
+ * Retrieve pending question requests for a location.
2152
+ */
2153
+ list<ThrowOnError extends boolean = false>(parameters?: {
2154
+ location?: {
2155
+ directory?: string;
2156
+ workspace?: string;
2157
+ };
2158
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2QuestionRequestListResponses, V2QuestionRequestListErrors, ThrowOnError, "fields">;
2159
+ }
2160
+ export declare class Question3 extends HeyApiClient {
2161
+ private _request?;
2162
+ get request(): Request2;
2163
+ }
2164
+ export declare class Reference extends HeyApiClient {
2165
+ /**
2166
+ * List references
2167
+ *
2168
+ * List references available in the requested location.
2169
+ */
2170
+ list<ThrowOnError extends boolean = false>(parameters?: {
2171
+ location?: {
2172
+ directory?: string;
2173
+ workspace?: string;
2174
+ };
2175
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2ReferenceListResponses, V2ReferenceListErrors, ThrowOnError, "fields">;
2176
+ }
2177
+ export declare class ProjectCopy2 extends HeyApiClient {
2178
+ remove<ThrowOnError extends boolean = false>(parameters: {
2179
+ projectID: string;
2180
+ location?: {
2181
+ directory?: string;
2182
+ workspace?: string;
2183
+ };
2184
+ directory?: string;
2185
+ force?: boolean;
2186
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2ProjectCopyRemoveResponses, V2ProjectCopyRemoveErrors, ThrowOnError, "fields">;
2187
+ create<ThrowOnError extends boolean = false>(parameters: {
2188
+ projectID: string;
2189
+ location?: {
2190
+ directory?: string;
2191
+ workspace?: string;
2192
+ };
2193
+ strategy?: string;
2194
+ directory?: string;
2195
+ name?: string;
2196
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2ProjectCopyCreateResponses, V2ProjectCopyCreateErrors, ThrowOnError, "fields">;
2197
+ refresh<ThrowOnError extends boolean = false>(parameters: {
2198
+ projectID: string;
2199
+ location?: {
2200
+ directory?: string;
2201
+ workspace?: string;
2202
+ };
2203
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2ProjectCopyRefreshResponses, V2ProjectCopyRefreshErrors, ThrowOnError, "fields">;
2204
+ }
2205
+ export declare class V2 extends HeyApiClient {
2206
+ private _health?;
2207
+ get health(): Health;
2208
+ private _location?;
2209
+ get location(): Location;
2210
+ private _agent?;
2211
+ get agent(): Agent;
2212
+ private _session?;
2213
+ get session(): Session3;
2214
+ private _model?;
2215
+ get model(): Model;
2216
+ private _provider?;
2217
+ get provider(): Provider2;
2218
+ private _integration?;
2219
+ get integration(): Integration;
2220
+ private _credential?;
2221
+ get credential(): Credential;
2222
+ private _permission?;
2223
+ get permission(): Permission3;
2224
+ private _fs?;
2225
+ get fs(): Fs;
2226
+ private _command?;
2227
+ get command(): Command2;
2228
+ private _skill?;
2229
+ get skill(): Skill;
2230
+ private _event?;
2231
+ get event(): Event2;
2232
+ private _pty?;
2233
+ get pty(): Pty2;
2234
+ private _question?;
2235
+ get question(): Question3;
2236
+ private _reference?;
2237
+ get reference(): Reference;
2238
+ private _projectCopy?;
2239
+ get projectCopy(): ProjectCopy2;
2240
+ }
2241
+ export declare class ZyraxonClient extends HeyApiClient {
2242
+ static readonly __registry: HeyApiRegistry<ZyraxonClient>;
2243
+ constructor(args?: {
2244
+ client?: Client;
2245
+ key?: string;
2246
+ });
2247
+ private _auth?;
2248
+ get auth(): Auth;
2249
+ private _app?;
2250
+ get app(): App;
2251
+ private _experimental?;
2252
+ get experimental(): Experimental;
2253
+ private _global?;
2254
+ get global(): Global;
2255
+ private _event?;
2256
+ get event(): Event;
2257
+ private _config?;
2258
+ get config(): Config2;
2259
+ private _tool?;
2260
+ get tool(): Tool;
2261
+ private _worktree?;
2262
+ get worktree(): Worktree;
2263
+ private _find?;
2264
+ get find(): Find;
2265
+ private _file?;
2266
+ get file(): File;
2267
+ private _instance?;
2268
+ get instance(): Instance;
2269
+ private _path?;
2270
+ get path(): Path;
2271
+ private _vcs?;
2272
+ get vcs(): Vcs;
2273
+ private _command?;
2274
+ get command(): Command;
2275
+ private _lsp?;
2276
+ get lsp(): Lsp;
2277
+ private _formatter?;
2278
+ get formatter(): Formatter;
2279
+ private _mcp?;
2280
+ get mcp(): Mcp;
2281
+ private _project?;
2282
+ get project(): Project;
2283
+ private _pty?;
2284
+ get pty(): Pty;
2285
+ private _question?;
2286
+ get question(): Question;
2287
+ private _permission?;
2288
+ get permission(): Permission;
2289
+ private _provider?;
2290
+ get provider(): Provider;
2291
+ private _session?;
2292
+ get session(): Session2;
2293
+ private _part?;
2294
+ get part(): Part;
2295
+ private _sync?;
2296
+ get sync(): Sync;
2297
+ private _tui?;
2298
+ get tui(): Tui;
2299
+ private _v2?;
2300
+ get v2(): V2;
2301
+ }
2302
+ export {};
2303
+ //# sourceMappingURL=sdk.gen.d.ts.map