@ericsanchezok/synergy-sdk 0.0.3 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/client.d.ts +3 -3
  2. package/dist/client.js +6 -4
  3. package/dist/gen/client/client.gen.js +92 -32
  4. package/dist/gen/client/index.d.ts +2 -1
  5. package/dist/gen/client/index.js +1 -0
  6. package/dist/gen/client/types.gen.d.ts +6 -16
  7. package/dist/gen/client/utils.gen.d.ts +7 -12
  8. package/dist/gen/client/utils.gen.js +32 -32
  9. package/dist/gen/client.gen.d.ts +3 -3
  10. package/dist/gen/client.gen.js +1 -3
  11. package/dist/gen/core/bodySerializer.gen.d.ts +12 -4
  12. package/dist/gen/core/params.gen.d.ts +10 -0
  13. package/dist/gen/core/params.gen.js +18 -5
  14. package/dist/gen/core/serverSentEvents.gen.d.ts +13 -1
  15. package/dist/gen/core/serverSentEvents.gen.js +16 -2
  16. package/dist/gen/core/types.gen.d.ts +12 -12
  17. package/dist/gen/core/utils.gen.d.ts +6 -1
  18. package/dist/gen/core/utils.gen.js +18 -0
  19. package/dist/gen/sdk.gen.d.ts +1670 -226
  20. package/dist/gen/sdk.gen.js +3243 -443
  21. package/dist/gen/types.gen.d.ts +5448 -1305
  22. package/package.json +2 -14
  23. package/dist/v2/client.d.ts +0 -11
  24. package/dist/v2/client.js +0 -29
  25. package/dist/v2/gen/client/client.gen.d.ts +0 -2
  26. package/dist/v2/gen/client/client.gen.js +0 -225
  27. package/dist/v2/gen/client/index.d.ts +0 -8
  28. package/dist/v2/gen/client/index.js +0 -6
  29. package/dist/v2/gen/client/types.gen.d.ts +0 -117
  30. package/dist/v2/gen/client/types.gen.js +0 -2
  31. package/dist/v2/gen/client/utils.gen.d.ts +0 -33
  32. package/dist/v2/gen/client/utils.gen.js +0 -226
  33. package/dist/v2/gen/client.gen.d.ts +0 -12
  34. package/dist/v2/gen/client.gen.js +0 -3
  35. package/dist/v2/gen/core/auth.gen.d.ts +0 -18
  36. package/dist/v2/gen/core/auth.gen.js +0 -14
  37. package/dist/v2/gen/core/bodySerializer.gen.d.ts +0 -25
  38. package/dist/v2/gen/core/bodySerializer.gen.js +0 -57
  39. package/dist/v2/gen/core/params.gen.d.ts +0 -43
  40. package/dist/v2/gen/core/params.gen.js +0 -102
  41. package/dist/v2/gen/core/pathSerializer.gen.d.ts +0 -33
  42. package/dist/v2/gen/core/pathSerializer.gen.js +0 -106
  43. package/dist/v2/gen/core/serverSentEvents.gen.d.ts +0 -71
  44. package/dist/v2/gen/core/serverSentEvents.gen.js +0 -131
  45. package/dist/v2/gen/core/types.gen.d.ts +0 -78
  46. package/dist/v2/gen/core/types.gen.js +0 -2
  47. package/dist/v2/gen/core/utils.gen.d.ts +0 -19
  48. package/dist/v2/gen/core/utils.gen.js +0 -87
  49. package/dist/v2/gen/sdk.gen.d.ts +0 -1114
  50. package/dist/v2/gen/sdk.gen.js +0 -2145
  51. package/dist/v2/gen/types.gen.d.ts +0 -4553
  52. package/dist/v2/gen/types.gen.js +0 -2
  53. package/dist/v2/index.d.ts +0 -12
  54. package/dist/v2/index.js +0 -18
  55. package/dist/v2/server.d.ts +0 -27
  56. package/dist/v2/server.js +0 -98
  57. /package/dist/{v2/gen → gen}/core/queryKeySerializer.gen.d.ts +0 -0
  58. /package/dist/{v2/gen → gen}/core/queryKeySerializer.gen.js +0 -0
@@ -1,6 +1,6 @@
1
- import type { Options as ClientOptions, TDataShape, Client } from "./client/index.js";
2
- import type { GlobalEventData, GlobalEventResponses, ProjectListData, ProjectListResponses, ProjectCurrentData, ProjectCurrentResponses, PtyListData, PtyListResponses, PtyCreateData, PtyCreateResponses, PtyCreateErrors, PtyRemoveData, PtyRemoveResponses, PtyRemoveErrors, PtyGetData, PtyGetResponses, PtyGetErrors, PtyUpdateData, PtyUpdateResponses, PtyUpdateErrors, PtyConnectData, PtyConnectResponses, PtyConnectErrors, ConfigGetData, ConfigGetResponses, ConfigUpdateData, ConfigUpdateResponses, ConfigUpdateErrors, ToolIdsData, ToolIdsResponses, ToolIdsErrors, ToolListData, ToolListResponses, ToolListErrors, InstanceDisposeData, InstanceDisposeResponses, PathGetData, PathGetResponses, VcsGetData, VcsGetResponses, SessionListData, SessionListResponses, SessionCreateData, SessionCreateResponses, SessionCreateErrors, SessionStatusData, SessionStatusResponses, SessionStatusErrors, SessionDeleteData, SessionDeleteResponses, SessionDeleteErrors, SessionGetData, SessionGetResponses, SessionGetErrors, SessionUpdateData, SessionUpdateResponses, SessionUpdateErrors, SessionChildrenData, SessionChildrenResponses, SessionChildrenErrors, SessionTodoData, SessionTodoResponses, SessionTodoErrors, SessionInitData, SessionInitResponses, SessionInitErrors, SessionForkData, SessionForkResponses, SessionAbortData, SessionAbortResponses, SessionAbortErrors, SessionUnshareData, SessionUnshareResponses, SessionUnshareErrors, SessionShareData, SessionShareResponses, SessionShareErrors, SessionDiffData, SessionDiffResponses, SessionDiffErrors, SessionSummarizeData, SessionSummarizeResponses, SessionSummarizeErrors, SessionMessagesData, SessionMessagesResponses, SessionMessagesErrors, SessionPromptData, SessionPromptResponses, SessionPromptErrors, SessionMessageData, SessionMessageResponses, SessionMessageErrors, SessionPromptAsyncData, SessionPromptAsyncResponses, SessionPromptAsyncErrors, SessionCommandData, SessionCommandResponses, SessionCommandErrors, SessionShellData, SessionShellResponses, SessionShellErrors, SessionRevertData, SessionRevertResponses, SessionRevertErrors, SessionUnrevertData, SessionUnrevertResponses, SessionUnrevertErrors, PostSessionIdPermissionsPermissionIdData, PostSessionIdPermissionsPermissionIdResponses, PostSessionIdPermissionsPermissionIdErrors, CommandListData, CommandListResponses, ConfigProvidersData, ConfigProvidersResponses, ProviderListData, ProviderListResponses, ProviderAuthData, ProviderAuthResponses, ProviderOauthAuthorizeData, ProviderOauthAuthorizeResponses, ProviderOauthAuthorizeErrors, ProviderOauthCallbackData, ProviderOauthCallbackResponses, ProviderOauthCallbackErrors, FindTextData, FindTextResponses, FindFilesData, FindFilesResponses, FindSymbolsData, FindSymbolsResponses, FileListData, FileListResponses, FileReadData, FileReadResponses, FileStatusData, FileStatusResponses, AppLogData, AppLogResponses, AppLogErrors, AppAgentsData, AppAgentsResponses, McpStatusData, McpStatusResponses, McpAddData, McpAddResponses, McpAddErrors, McpAuthRemoveData, McpAuthRemoveResponses, McpAuthRemoveErrors, McpAuthStartData, McpAuthStartResponses, McpAuthStartErrors, McpAuthCallbackData, McpAuthCallbackResponses, McpAuthCallbackErrors, McpAuthAuthenticateData, McpAuthAuthenticateResponses, McpAuthAuthenticateErrors, McpConnectData, McpConnectResponses, McpDisconnectData, McpDisconnectResponses, LspStatusData, LspStatusResponses, FormatterStatusData, FormatterStatusResponses, TuiAppendPromptData, TuiAppendPromptResponses, TuiAppendPromptErrors, TuiOpenHelpData, TuiOpenHelpResponses, TuiOpenSessionsData, TuiOpenSessionsResponses, TuiOpenThemesData, TuiOpenThemesResponses, TuiOpenModelsData, TuiOpenModelsResponses, TuiSubmitPromptData, TuiSubmitPromptResponses, TuiClearPromptData, TuiClearPromptResponses, TuiExecuteCommandData, TuiExecuteCommandResponses, TuiExecuteCommandErrors, TuiShowToastData, TuiShowToastResponses, TuiPublishData, TuiPublishResponses, TuiPublishErrors, TuiControlNextData, TuiControlNextResponses, TuiControlResponseData, TuiControlResponseResponses, AuthSetData, AuthSetResponses, AuthSetErrors, EventSubscribeData, EventSubscribeResponses } from "./types.gen.js";
3
- export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
1
+ import { type Client, type Options as Options2, type TDataShape } from "./client/index.js";
2
+ import type { AgendaActivateErrors, AgendaActivateResponses, AgendaCancelErrors, AgendaCancelResponses, AgendaCompleteErrors, AgendaCompleteResponses, AgendaCreateErrors, AgendaCreateInput, AgendaCreateResponses, AgendaGetErrors, AgendaGetResponses, AgendaPatchInput, AgendaPauseErrors, AgendaPauseResponses, AgendaRemoveErrors, AgendaRemoveResponses, AgendaRunsErrors, AgendaRunsResponses, AgendaSessionsErrors, AgendaSessionsResponses, AgendaTriggerErrors, AgendaTriggerResponses, AgendaUpdateErrors, AgendaUpdateResponses, AppAgentsResponses, AppLogErrors, AppLogResponses, AssetGetErrors, AssetGetResponses, AssetUploadErrors, AssetUploadResponses, Auth as Auth2, AuthSetErrors, AuthSetResponses, ChannelAppResetResponses, ChannelAppSessionResponses, ChannelDisconnectResponses, ChannelGenesisResetResponses, ChannelGenesisSessionResponses, ChannelStatusResponses, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigGlobalResponses, ConfigProvidersResponses, ConfigSetActivateErrors, ConfigSetActivateResponses, ConfigSetCreateErrors, ConfigSetCreateInput, ConfigSetCreateResponses, ConfigSetDeleteErrors, ConfigSetDeleteResponses, ConfigSetGetErrors, ConfigSetGetResponses, ConfigSetListResponses, ConfigSetName, ConfigSetRawGetErrors, ConfigSetRawGetResponses, ConfigSetRawSaveErrors, ConfigSetRawSaveInput, ConfigSetRawSaveResponses, ConfigSetRawValidateErrors, ConfigSetRawValidateInput, ConfigSetRawValidateResponses, ConfigSetUpdateErrors, ConfigSetUpdateResponses, ConfigUpdateErrors, ConfigUpdateResponses, CortexCancelErrors, CortexCancelResponses, CortexGetErrors, CortexGetResponses, CortexListErrors, CortexListResponses, CortexOutputErrors, CortexOutputResponses, EngramExperienceApplyRewardErrors, EngramExperienceApplyRewardResponses, EngramExperienceGetErrors, EngramExperienceGetResponses, EngramExperienceListResponses, EngramExperiencePageErrors, EngramExperiencePageResponses, EngramExperienceRemoveErrors, EngramExperienceRemoveResponses, EngramExperienceSearchErrors, EngramExperienceSearchResponses, EngramGetErrors, EngramGetResponses, EngramListResponses, EngramRemoveErrors, EngramRemoveResponses, EngramResetErrors, EngramResetResponses, EngramSearchErrors, EngramSearchResponses, EngramStatsResponses, EventSubscribeResponses, ExperienceListFilter, ExperienceListSort, ExperimentalResourceListResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GitInitErrors, GitInitResponses, GlobalAgendaListErrors, GlobalAgendaListResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, HolosAgentsGetErrors, HolosAgentsGetResponses, HolosAgentsListResponses, HolosCallbackResponses, HolosContactAddErrors, HolosContactAddResponses, HolosContactGetErrors, HolosContactGetResponses, HolosContactListResponses, HolosContactRemoveResponses, HolosContactSendMessageErrors, HolosContactSendMessageResponses, HolosContactSessionErrors, HolosContactSessionResponses, HolosContactUpdateConfigErrors, HolosContactUpdateConfigResponses, HolosCredentialsErrors, HolosCredentialsResponses, HolosCredentialsStatusResponses, HolosFriendReplyListResponses, HolosFriendRequestCreateErrors, HolosFriendRequestCreateResponses, HolosFriendRequestListResponses, HolosFriendRequestRemoveResponses, HolosFriendRequestRespondErrors, HolosFriendRequestRespondResponses, HolosFriendRequestSendErrors, HolosFriendRequestSendResponses, HolosLoginResponses, HolosLogoutResponses, HolosPresenceResponses, HolosProfileAvatarErrors, HolosProfileAvatarResponses, HolosProfileGetResponses, HolosProfileResetResponses, HolosProfileUpdateErrors, HolosProfileUpdateResponses, HolosQueueListResponses, HolosReconnectErrors, HolosReconnectResponses, HolosRefreshPresenceResponses, HolosVerifyResponses, InstanceDisposeResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, NoteCreateErrors, NoteCreateInput, NoteCreateResponses, NoteExportErrors, NoteExportResponses, NoteGetErrors, NoteGetResponses, NoteListAllErrors, NoteListAllResponses, NoteListErrors, NoteListResponses, NotePatchInput, NoteRemoveErrors, NoteRemoveResponses, NoteUpdateErrors, NoteUpdateResponses, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionIsAllowingAllErrors, PermissionIsAllowingAllResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionSetAllowAllErrors, PermissionSetAllowAllResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, RewardsInfo, RuntimeReloadErrors, RuntimeReloadResponses, RuntimeReloadScope, RuntimeReloadTarget, ScopeCurrentResponses, ScopeListResponses, ScopeRemoveResponses, ScopeUpdateErrors, ScopeUpdateResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDagErrors, SessionDagResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionFeedbackDeleteErrors, SessionFeedbackDeleteResponses, SessionFeedbackGetErrors, SessionFeedbackGetResponses, SessionFeedbackListErrors, SessionFeedbackListResponses, SessionFeedbackSetErrors, SessionFeedbackSetResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUpdateErrors, SessionUpdateResponses, SkillImportErrors, SkillImportResponses, SkillImportUrlErrors, SkillImportUrlResponses, SkillListResponses, SkillReloadResponses, SkillRemoveErrors, SkillRemoveResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses } from "./types.gen.js";
3
+ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
4
4
  /**
5
5
  * You can provide a client instance returned by `createClient()` instead of
6
6
  * individual options. This might be also useful if you want to implement a
@@ -13,390 +13,1834 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
13
13
  */
14
14
  meta?: Record<string, unknown>;
15
15
  };
16
- declare class _HeyApiClient {
17
- protected _client: Client;
16
+ declare class HeyApiClient {
17
+ protected client: Client;
18
18
  constructor(args?: {
19
19
  client?: Client;
20
20
  });
21
21
  }
22
- declare class Global extends _HeyApiClient {
23
- /**
24
- * Get events
25
- */
26
- event<ThrowOnError extends boolean = false>(options?: Options<GlobalEventData, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<GlobalEventResponses, unknown>>;
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
27
  }
28
- declare class Project extends _HeyApiClient {
29
- /**
30
- * List all projects
31
- */
32
- list<ThrowOnError extends boolean = false>(options?: Options<ProjectListData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProjectListResponses, unknown, ThrowOnError, "fields">;
33
- /**
34
- * Get the current project
35
- */
36
- current<ThrowOnError extends boolean = false>(options?: Options<ProjectCurrentData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProjectCurrentResponses, unknown, ThrowOnError, "fields">;
28
+ export declare class Agenda extends HeyApiClient {
29
+ /**
30
+ * List all agenda items across scopes
31
+ *
32
+ * List all agenda items from every scope, sorted by creation time descending.
33
+ */
34
+ list<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalAgendaListResponses, GlobalAgendaListErrors, ThrowOnError, "fields">;
35
+ /**
36
+ * List sessions for agenda item
37
+ *
38
+ * List all sessions triggered by a specific agenda item.
39
+ */
40
+ sessions<ThrowOnError extends boolean = false>(parameters: {
41
+ id: string;
42
+ directory?: string;
43
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaSessionsResponses, AgendaSessionsErrors, ThrowOnError, "fields">;
44
+ /**
45
+ * List runs for agenda item
46
+ *
47
+ * List the execution history for a specific agenda item.
48
+ */
49
+ runs<ThrowOnError extends boolean = false>(parameters: {
50
+ id: string;
51
+ directory?: string;
52
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaRunsResponses, AgendaRunsErrors, ThrowOnError, "fields">;
53
+ /**
54
+ * Trigger agenda item
55
+ *
56
+ * Manually trigger an agenda item for immediate execution.
57
+ */
58
+ trigger<ThrowOnError extends boolean = false>(parameters: {
59
+ id: string;
60
+ directory?: string;
61
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaTriggerResponses, AgendaTriggerErrors, ThrowOnError, "fields">;
62
+ /**
63
+ * Activate agenda item
64
+ *
65
+ * Resume or activate a paused or pending agenda item.
66
+ */
67
+ activate<ThrowOnError extends boolean = false>(parameters: {
68
+ id: string;
69
+ directory?: string;
70
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaActivateResponses, AgendaActivateErrors, ThrowOnError, "fields">;
71
+ /**
72
+ * Pause agenda item
73
+ *
74
+ * Pause an active agenda item, suspending its triggers.
75
+ */
76
+ pause<ThrowOnError extends boolean = false>(parameters: {
77
+ id: string;
78
+ directory?: string;
79
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaPauseResponses, AgendaPauseErrors, ThrowOnError, "fields">;
80
+ /**
81
+ * Complete agenda item
82
+ *
83
+ * Mark an agenda item as done.
84
+ */
85
+ complete<ThrowOnError extends boolean = false>(parameters: {
86
+ id: string;
87
+ directory?: string;
88
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaCompleteResponses, AgendaCompleteErrors, ThrowOnError, "fields">;
89
+ /**
90
+ * Cancel agenda item
91
+ *
92
+ * Cancel an agenda item, stopping all triggers and future executions.
93
+ */
94
+ cancel<ThrowOnError extends boolean = false>(parameters: {
95
+ id: string;
96
+ directory?: string;
97
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaCancelResponses, AgendaCancelErrors, ThrowOnError, "fields">;
98
+ /**
99
+ * Delete agenda item
100
+ *
101
+ * Delete an agenda item and all its run history permanently.
102
+ */
103
+ remove<ThrowOnError extends boolean = false>(parameters: {
104
+ id: string;
105
+ directory?: string;
106
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaRemoveResponses, AgendaRemoveErrors, ThrowOnError, "fields">;
107
+ /**
108
+ * Get agenda item
109
+ *
110
+ * Get a specific agenda item by ID.
111
+ */
112
+ get<ThrowOnError extends boolean = false>(parameters: {
113
+ id: string;
114
+ directory?: string;
115
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaGetResponses, AgendaGetErrors, ThrowOnError, "fields">;
116
+ /**
117
+ * Update agenda item
118
+ *
119
+ * Update fields of an existing agenda item.
120
+ */
121
+ update<ThrowOnError extends boolean = false>(parameters: {
122
+ id: string;
123
+ directory?: string;
124
+ agendaPatchInput?: AgendaPatchInput;
125
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaUpdateResponses, AgendaUpdateErrors, ThrowOnError, "fields">;
126
+ /**
127
+ * Create agenda item
128
+ *
129
+ * Create a new agenda item with optional triggers, task, and delivery configuration.
130
+ */
131
+ create<ThrowOnError extends boolean = false>(parameters?: {
132
+ directory?: string;
133
+ agendaCreateInput?: AgendaCreateInput;
134
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaCreateResponses, AgendaCreateErrors, ThrowOnError, "fields">;
37
135
  }
38
- declare class Pty extends _HeyApiClient {
39
- /**
40
- * List all PTY sessions
41
- */
42
- list<ThrowOnError extends boolean = false>(options?: Options<PtyListData, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyListResponses, unknown, ThrowOnError, "fields">;
136
+ export declare class Global extends HeyApiClient {
43
137
  /**
44
- * Create a new PTY session
138
+ * Get health
139
+ *
140
+ * Get health information about the Synergy server.
45
141
  */
46
- create<ThrowOnError extends boolean = false>(options?: Options<PtyCreateData, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyCreateResponses, PtyCreateErrors, ThrowOnError, "fields">;
142
+ health<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalHealthResponses, unknown, ThrowOnError, "fields">;
47
143
  /**
48
- * Remove a PTY session
144
+ * Get global events
145
+ *
146
+ * Subscribe to global events from the Synergy system using server-sent events.
49
147
  */
50
- remove<ThrowOnError extends boolean = false>(options: Options<PtyRemoveData, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyRemoveResponses, PtyRemoveErrors, ThrowOnError, "fields">;
148
+ event<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<GlobalEventResponses, unknown>>;
51
149
  /**
52
- * Get PTY session info
53
- */
54
- get<ThrowOnError extends boolean = false>(options: Options<PtyGetData, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyGetResponses, PtyGetErrors, ThrowOnError, "fields">;
55
- /**
56
- * Update PTY session
150
+ * Dispose instance
151
+ *
152
+ * Clean up and dispose all Synergy instances, releasing all resources.
57
153
  */
58
- update<ThrowOnError extends boolean = false>(options: Options<PtyUpdateData, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyUpdateResponses, PtyUpdateErrors, ThrowOnError, "fields">;
59
- /**
60
- * Connect to a PTY session
61
- */
62
- connect<ThrowOnError extends boolean = false>(options: Options<PtyConnectData, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyConnectResponses, PtyConnectErrors, ThrowOnError, "fields">;
154
+ dispose<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalDisposeResponses, unknown, ThrowOnError, "fields">;
155
+ agenda: Agenda;
63
156
  }
64
- declare class Config extends _HeyApiClient {
65
- /**
66
- * Get config info
67
- */
68
- get<ThrowOnError extends boolean = false>(options?: Options<ConfigGetData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigGetResponses, unknown, ThrowOnError, "fields">;
69
- /**
70
- * Update config
71
- */
72
- update<ThrowOnError extends boolean = false>(options?: Options<ConfigUpdateData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigUpdateResponses, ConfigUpdateErrors, ThrowOnError, "fields">;
157
+ export declare class Credentials extends HeyApiClient {
73
158
  /**
74
- * List all providers
159
+ * Check local credential status
160
+ *
161
+ * Check whether local Holos credentials exist without verifying them against the remote API. Returns existence, agent ID, and a masked secret.
75
162
  */
76
- providers<ThrowOnError extends boolean = false>(options?: Options<ConfigProvidersData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigProvidersResponses, unknown, ThrowOnError, "fields">;
163
+ status<ThrowOnError extends boolean = false>(parameters?: {
164
+ directory?: string;
165
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosCredentialsStatusResponses, unknown, ThrowOnError, "fields">;
77
166
  }
78
- declare class Tool extends _HeyApiClient {
79
- /**
80
- * List all tool IDs (including built-in and dynamically registered)
81
- */
82
- ids<ThrowOnError extends boolean = false>(options?: Options<ToolIdsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ToolIdsResponses, ToolIdsErrors, ThrowOnError, "fields">;
83
- /**
84
- * List tools with JSON schema parameters for a provider/model
85
- */
86
- list<ThrowOnError extends boolean = false>(options: Options<ToolListData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ToolListResponses, ToolListErrors, ThrowOnError, "fields">;
167
+ export declare class Profile extends HeyApiClient {
168
+ /**
169
+ * Get profile
170
+ *
171
+ * Retrieve the current agent profile.
172
+ */
173
+ get<ThrowOnError extends boolean = false>(parameters?: {
174
+ directory?: string;
175
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosProfileGetResponses, unknown, ThrowOnError, "fields">;
176
+ /**
177
+ * Update profile
178
+ *
179
+ * Update the current agent profile.
180
+ */
181
+ update<ThrowOnError extends boolean = false>(parameters?: {
182
+ directory?: string;
183
+ name?: string;
184
+ bio?: string;
185
+ avatar?: string;
186
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosProfileUpdateResponses, HolosProfileUpdateErrors, ThrowOnError, "fields">;
187
+ /**
188
+ * Reset profile initialization
189
+ *
190
+ * Set the profile initialized flag to false, allowing the user to re-run the onboarding setup flow.
191
+ */
192
+ reset<ThrowOnError extends boolean = false>(parameters?: {
193
+ directory?: string;
194
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosProfileResetResponses, unknown, ThrowOnError, "fields">;
195
+ /**
196
+ * Upload profile avatar
197
+ *
198
+ * Upload an image as the profile avatar. Saves the image as an asset and updates the profile.
199
+ */
200
+ avatar<ThrowOnError extends boolean = false>(parameters?: {
201
+ directory?: string;
202
+ file?: unknown;
203
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosProfileAvatarResponses, HolosProfileAvatarErrors, ThrowOnError, "fields">;
87
204
  }
88
- declare class Instance extends _HeyApiClient {
89
- /**
90
- * Dispose the current instance
91
- */
92
- dispose<ThrowOnError extends boolean = false>(options?: Options<InstanceDisposeData, ThrowOnError>): import("./client/types.gen.js").RequestResult<InstanceDisposeResponses, unknown, ThrowOnError, "fields">;
205
+ export declare class Contact extends HeyApiClient {
206
+ /**
207
+ * List contacts
208
+ *
209
+ * List all contacts.
210
+ */
211
+ list<ThrowOnError extends boolean = false>(parameters?: {
212
+ directory?: string;
213
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosContactListResponses, unknown, ThrowOnError, "fields">;
214
+ /**
215
+ * Add contact
216
+ *
217
+ * Add a new contact.
218
+ */
219
+ add<ThrowOnError extends boolean = false>(parameters?: {
220
+ directory?: string;
221
+ id?: string;
222
+ holosId?: string;
223
+ name?: string;
224
+ bio?: string;
225
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosContactAddResponses, HolosContactAddErrors, ThrowOnError, "fields">;
226
+ /**
227
+ * Remove contact
228
+ *
229
+ * Remove a contact and notify the peer via WebSocket.
230
+ */
231
+ remove<ThrowOnError extends boolean = false>(parameters: {
232
+ id: string;
233
+ directory?: string;
234
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosContactRemoveResponses, unknown, ThrowOnError, "fields">;
235
+ /**
236
+ * Get contact
237
+ *
238
+ * Get a specific contact by ID.
239
+ */
240
+ get<ThrowOnError extends boolean = false>(parameters: {
241
+ id: string;
242
+ directory?: string;
243
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosContactGetResponses, HolosContactGetErrors, ThrowOnError, "fields">;
244
+ /**
245
+ * Update contact config
246
+ *
247
+ * Update per-contact configuration (autoReply, autoInitiate, blocked).
248
+ */
249
+ updateConfig<ThrowOnError extends boolean = false>(parameters: {
250
+ id: string;
251
+ directory?: string;
252
+ autoReply?: boolean;
253
+ autoInitiate?: boolean;
254
+ blocked?: boolean;
255
+ maxAutoTurns?: number;
256
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosContactUpdateConfigResponses, HolosContactUpdateConfigErrors, ThrowOnError, "fields">;
257
+ /**
258
+ * Get or create session for contact
259
+ *
260
+ * Returns the friend session for a contact, creating one if it doesn't exist yet.
261
+ */
262
+ session<ThrowOnError extends boolean = false>(parameters: {
263
+ id: string;
264
+ directory?: string;
265
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosContactSessionResponses, HolosContactSessionErrors, ThrowOnError, "fields">;
266
+ /**
267
+ * Send message to contact
268
+ *
269
+ * Send a message to a contact via the friend session mailbox. The outbound hook handles Holos WS delivery automatically.
270
+ */
271
+ sendMessage<ThrowOnError extends boolean = false>(parameters: {
272
+ id: string;
273
+ directory?: string;
274
+ text?: string;
275
+ replyToMessageId?: string;
276
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosContactSendMessageResponses, HolosContactSendMessageErrors, ThrowOnError, "fields">;
277
+ }
278
+ export declare class FriendRequest extends HeyApiClient {
279
+ /**
280
+ * List friend requests
281
+ *
282
+ * List all friend requests.
283
+ */
284
+ list<ThrowOnError extends boolean = false>(parameters?: {
285
+ directory?: string;
286
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosFriendRequestListResponses, unknown, ThrowOnError, "fields">;
287
+ /**
288
+ * Create friend request
289
+ *
290
+ * Create a new outgoing friend request.
291
+ */
292
+ create<ThrowOnError extends boolean = false>(parameters?: {
293
+ directory?: string;
294
+ id?: string;
295
+ peerId?: string;
296
+ peerName?: string;
297
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosFriendRequestCreateResponses, HolosFriendRequestCreateErrors, ThrowOnError, "fields">;
298
+ /**
299
+ * Remove friend request
300
+ *
301
+ * Remove a friend request.
302
+ */
303
+ remove<ThrowOnError extends boolean = false>(parameters: {
304
+ id: string;
305
+ directory?: string;
306
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosFriendRequestRemoveResponses, unknown, ThrowOnError, "fields">;
307
+ /**
308
+ * Send friend request
309
+ *
310
+ * Send an outgoing friend request to another agent via WebSocket.
311
+ */
312
+ send<ThrowOnError extends boolean = false>(parameters?: {
313
+ directory?: string;
314
+ peerId?: string;
315
+ peerName?: string;
316
+ peerBio?: string;
317
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosFriendRequestSendResponses, HolosFriendRequestSendErrors, ThrowOnError, "fields">;
318
+ /**
319
+ * Respond to friend request
320
+ *
321
+ * Accept or reject a friend request. Sends the response over WebSocket and updates local storage.
322
+ */
323
+ respond<ThrowOnError extends boolean = false>(parameters: {
324
+ id: string;
325
+ directory?: string;
326
+ status?: "accepted" | "rejected";
327
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosFriendRequestRespondResponses, HolosFriendRequestRespondErrors, ThrowOnError, "fields">;
328
+ }
329
+ export declare class Agents extends HeyApiClient {
330
+ /**
331
+ * List agents
332
+ *
333
+ * List available agents from the Holos platform.
334
+ */
335
+ list<ThrowOnError extends boolean = false>(parameters?: {
336
+ directory?: string;
337
+ limit?: number;
338
+ offset?: number;
339
+ need_active?: boolean;
340
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosAgentsListResponses, unknown, ThrowOnError, "fields">;
341
+ /**
342
+ * Get agent
343
+ *
344
+ * Get a specific agent's profile from the Holos platform.
345
+ */
346
+ get<ThrowOnError extends boolean = false>(parameters: {
347
+ agentId: string;
348
+ directory?: string;
349
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosAgentsGetResponses, HolosAgentsGetErrors, ThrowOnError, "fields">;
93
350
  }
94
- declare class Path extends _HeyApiClient {
351
+ export declare class Queue extends HeyApiClient {
95
352
  /**
96
- * Get the current path
353
+ * List message queue
354
+ *
355
+ * List all pending messages in the outgoing message queue.
97
356
  */
98
- get<ThrowOnError extends boolean = false>(options?: Options<PathGetData, ThrowOnError>): import("./client/types.gen.js").RequestResult<PathGetResponses, unknown, ThrowOnError, "fields">;
357
+ list<ThrowOnError extends boolean = false>(parameters?: {
358
+ directory?: string;
359
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosQueueListResponses, unknown, ThrowOnError, "fields">;
99
360
  }
100
- declare class Vcs extends _HeyApiClient {
361
+ export declare class FriendReply extends HeyApiClient {
101
362
  /**
102
- * Get VCS info for the current instance
363
+ * List friend reply sub-sessions
364
+ *
365
+ * List all sub-session mappings for a friend session. Maps trigger message IDs to sub-session IDs.
103
366
  */
104
- get<ThrowOnError extends boolean = false>(options?: Options<VcsGetData, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsGetResponses, unknown, ThrowOnError, "fields">;
367
+ list<ThrowOnError extends boolean = false>(parameters: {
368
+ sessionId: string;
369
+ directory?: string;
370
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosFriendReplyListResponses, unknown, ThrowOnError, "fields">;
105
371
  }
106
- declare class Session extends _HeyApiClient {
372
+ export declare class Holos extends HeyApiClient {
107
373
  /**
108
- * List all sessions
374
+ * Initiate Holos login
375
+ *
376
+ * Generate a Holos bind URL for browser-based login. Returns a URL to open in a popup.
109
377
  */
110
- list<ThrowOnError extends boolean = false>(options?: Options<SessionListData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionListResponses, unknown, ThrowOnError, "fields">;
378
+ login<ThrowOnError extends boolean = false>(parameters?: {
379
+ callbackUrl?: string;
380
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosLoginResponses, unknown, ThrowOnError, "fields">;
111
381
  /**
112
- * Create a new session
382
+ * Holos login callback
383
+ *
384
+ * Handles the redirect from Holos after user login. Exchanges the code for credentials.
113
385
  */
114
- create<ThrowOnError extends boolean = false>(options?: Options<SessionCreateData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionCreateResponses, SessionCreateErrors, ThrowOnError, "fields">;
386
+ callback<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosCallbackResponses, unknown, ThrowOnError, "fields">;
115
387
  /**
116
- * Get session status
388
+ * Clear Holos credentials
389
+ *
390
+ * Remove stored Holos credentials and disconnect the channel. Used for sign-out.
117
391
  */
118
- status<ThrowOnError extends boolean = false>(options?: Options<SessionStatusData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionStatusResponses, SessionStatusErrors, ThrowOnError, "fields">;
392
+ logout<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosLogoutResponses, unknown, ThrowOnError, "fields">;
119
393
  /**
120
- * Delete a session and all its data
394
+ * Set agent credentials
395
+ *
396
+ * Validate and save existing agent credentials. Validates by fetching a ws_token, then saves and reloads the channel.
121
397
  */
122
- delete<ThrowOnError extends boolean = false>(options: Options<SessionDeleteData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDeleteResponses, SessionDeleteErrors, ThrowOnError, "fields">;
398
+ credentials<ThrowOnError extends boolean = false>(parameters?: {
399
+ agentId?: string;
400
+ agentSecret?: string;
401
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosCredentialsResponses, HolosCredentialsErrors, ThrowOnError, "fields">;
123
402
  /**
124
- * Get session
403
+ * Reconnect Holos channel
404
+ *
405
+ * Reload the Holos channel connection. Useful when the WebSocket disconnects.
125
406
  */
126
- get<ThrowOnError extends boolean = false>(options: Options<SessionGetData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionGetResponses, SessionGetErrors, ThrowOnError, "fields">;
407
+ reconnect<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosReconnectResponses, HolosReconnectErrors, ThrowOnError, "fields">;
127
408
  /**
128
- * Update session properties
409
+ * Verify Holos credentials
410
+ *
411
+ * Check whether the stored agent credentials are still valid by attempting to fetch a ws_token from Holos.
129
412
  */
130
- update<ThrowOnError extends boolean = false>(options: Options<SessionUpdateData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUpdateResponses, SessionUpdateErrors, ThrowOnError, "fields">;
413
+ verify<ThrowOnError extends boolean = false>(parameters?: {
414
+ directory?: string;
415
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosVerifyResponses, unknown, ThrowOnError, "fields">;
131
416
  /**
132
- * Get a session's children
417
+ * Get friend presence
418
+ *
419
+ * Get the online/offline status of all contacts from the presence cache.
133
420
  */
134
- children<ThrowOnError extends boolean = false>(options: Options<SessionChildrenData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionChildrenResponses, SessionChildrenErrors, ThrowOnError, "fields">;
421
+ presence<ThrowOnError extends boolean = false>(parameters?: {
422
+ directory?: string;
423
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosPresenceResponses, unknown, ThrowOnError, "fields">;
135
424
  /**
136
- * Get the todo list for a session
425
+ * Refresh friend presence
426
+ *
427
+ * Trigger a fresh presence probe for all unblocked Holos contacts.
137
428
  */
138
- todo<ThrowOnError extends boolean = false>(options: Options<SessionTodoData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionTodoResponses, SessionTodoErrors, ThrowOnError, "fields">;
429
+ refreshPresence<ThrowOnError extends boolean = false>(parameters?: {
430
+ directory?: string;
431
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosRefreshPresenceResponses, unknown, ThrowOnError, "fields">;
432
+ credentials2: Credentials;
433
+ profile: Profile;
434
+ contact: Contact;
435
+ friendRequest: FriendRequest;
436
+ agents: Agents;
437
+ queue: Queue;
438
+ friendReply: FriendReply;
439
+ }
440
+ export declare class Scope extends HeyApiClient {
441
+ /**
442
+ * List all scopes
443
+ *
444
+ * Get a list of scopes that have been opened with Synergy.
445
+ */
446
+ list<ThrowOnError extends boolean = false>(parameters?: {
447
+ directory?: string;
448
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ScopeListResponses, unknown, ThrowOnError, "fields">;
449
+ /**
450
+ * Get current scope
451
+ *
452
+ * Retrieve the currently active scope that Synergy is working with.
453
+ */
454
+ current<ThrowOnError extends boolean = false>(parameters?: {
455
+ directory?: string;
456
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ScopeCurrentResponses, unknown, ThrowOnError, "fields">;
457
+ /**
458
+ * Remove scope
459
+ *
460
+ * Remove a scope from the tracked list. Does not delete scope files or session data.
461
+ */
462
+ remove<ThrowOnError extends boolean = false>(parameters: {
463
+ scopeID: string;
464
+ directory?: string;
465
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ScopeRemoveResponses, unknown, ThrowOnError, "fields">;
466
+ /**
467
+ * Update scope
468
+ *
469
+ * Update scope properties such as name, icon and color.
470
+ */
471
+ update<ThrowOnError extends boolean = false>(parameters: {
472
+ scopeID: string;
473
+ directory?: string;
474
+ name?: string;
475
+ icon?: {
476
+ url?: string;
477
+ color?: string;
478
+ };
479
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ScopeUpdateResponses, ScopeUpdateErrors, ThrowOnError, "fields">;
480
+ }
481
+ export declare class Git extends HeyApiClient {
139
482
  /**
140
- * Analyze the app and create an AGENTS.md file
483
+ * Initialize git repository
484
+ *
485
+ * Initialize a git repository in the specified directory if one does not already exist.
141
486
  */
142
- init<ThrowOnError extends boolean = false>(options: Options<SessionInitData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionInitResponses, SessionInitErrors, ThrowOnError, "fields">;
487
+ init<ThrowOnError extends boolean = false>(parameters?: {
488
+ query_directory?: string;
489
+ body_directory?: string;
490
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GitInitResponses, GitInitErrors, ThrowOnError, "fields">;
491
+ }
492
+ export declare class Pty extends HeyApiClient {
493
+ /**
494
+ * List PTY sessions
495
+ *
496
+ * Get a list of all active pseudo-terminal (PTY) sessions managed by Synergy.
497
+ */
498
+ list<ThrowOnError extends boolean = false>(parameters?: {
499
+ directory?: string;
500
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyListResponses, unknown, ThrowOnError, "fields">;
501
+ /**
502
+ * Create PTY session
503
+ *
504
+ * Create a new pseudo-terminal (PTY) session for running shell commands and processes.
505
+ */
506
+ create<ThrowOnError extends boolean = false>(parameters?: {
507
+ directory?: string;
508
+ command?: string;
509
+ args?: Array<string>;
510
+ cwd?: string;
511
+ title?: string;
512
+ env?: {
513
+ [key: string]: string;
514
+ };
515
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyCreateResponses, PtyCreateErrors, ThrowOnError, "fields">;
516
+ /**
517
+ * Remove PTY session
518
+ *
519
+ * Remove and terminate a specific pseudo-terminal (PTY) session.
520
+ */
521
+ remove<ThrowOnError extends boolean = false>(parameters: {
522
+ ptyID: string;
523
+ directory?: string;
524
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyRemoveResponses, PtyRemoveErrors, ThrowOnError, "fields">;
525
+ /**
526
+ * Get PTY session
527
+ *
528
+ * Retrieve detailed information about a specific pseudo-terminal (PTY) session.
529
+ */
530
+ get<ThrowOnError extends boolean = false>(parameters: {
531
+ ptyID: string;
532
+ directory?: string;
533
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyGetResponses, PtyGetErrors, ThrowOnError, "fields">;
143
534
  /**
144
- * Fork an existing session at a specific message
145
- */
146
- fork<ThrowOnError extends boolean = false>(options: Options<SessionForkData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionForkResponses, unknown, ThrowOnError, "fields">;
535
+ * Update PTY session
536
+ *
537
+ * Update properties of an existing pseudo-terminal (PTY) session.
538
+ */
539
+ update<ThrowOnError extends boolean = false>(parameters: {
540
+ ptyID: string;
541
+ directory?: string;
542
+ title?: string;
543
+ size?: {
544
+ rows: number;
545
+ cols: number;
546
+ };
547
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyUpdateResponses, PtyUpdateErrors, ThrowOnError, "fields">;
548
+ /**
549
+ * Connect to PTY session
550
+ *
551
+ * Establish a WebSocket connection to interact with a pseudo-terminal (PTY) session in real-time.
552
+ */
553
+ connect<ThrowOnError extends boolean = false>(parameters: {
554
+ ptyID: string;
555
+ directory?: string;
556
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyConnectResponses, PtyConnectErrors, ThrowOnError, "fields">;
557
+ }
558
+ export declare class Raw extends HeyApiClient {
559
+ /**
560
+ * Get Config Set raw
561
+ *
562
+ * Read a global Config Set raw JSONC source and parsed preview.
563
+ */
564
+ get<ThrowOnError extends boolean = false>(parameters: {
565
+ name: ConfigSetName;
566
+ directory?: string;
567
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetRawGetResponses, ConfigSetRawGetErrors, ThrowOnError, "fields">;
568
+ /**
569
+ * Save Config Set raw
570
+ *
571
+ * Save raw JSONC for a global Config Set after validation and optionally reload runtime if active.
572
+ */
573
+ save<ThrowOnError extends boolean = false>(parameters: {
574
+ name: ConfigSetName;
575
+ directory?: string;
576
+ configSetRawSaveInput?: ConfigSetRawSaveInput;
577
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetRawSaveResponses, ConfigSetRawSaveErrors, ThrowOnError, "fields">;
578
+ /**
579
+ * Validate Config Set raw
580
+ *
581
+ * Validate raw JSONC for a global Config Set without saving it.
582
+ */
583
+ validate<ThrowOnError extends boolean = false>(parameters: {
584
+ name: ConfigSetName;
585
+ directory?: string;
586
+ configSetRawValidateInput?: ConfigSetRawValidateInput;
587
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetRawValidateResponses, ConfigSetRawValidateErrors, ThrowOnError, "fields">;
588
+ }
589
+ export declare class _Set extends HeyApiClient {
590
+ /**
591
+ * List Config Sets
592
+ *
593
+ * List all global Config Sets and indicate which one is active.
594
+ */
595
+ list<ThrowOnError extends boolean = false>(parameters?: {
596
+ directory?: string;
597
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetListResponses, unknown, ThrowOnError, "fields">;
598
+ /**
599
+ * Create Config Set
600
+ *
601
+ * Create a new global Config Set, defaulting to a copy of the current active raw global config.
602
+ */
603
+ create<ThrowOnError extends boolean = false>(parameters?: {
604
+ directory?: string;
605
+ configSetCreateInput?: ConfigSetCreateInput;
606
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetCreateResponses, ConfigSetCreateErrors, ThrowOnError, "fields">;
607
+ /**
608
+ * Delete Config Set
609
+ *
610
+ * Delete an inactive non-default global Config Set.
611
+ */
612
+ delete<ThrowOnError extends boolean = false>(parameters: {
613
+ name: ConfigSetName;
614
+ directory?: string;
615
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetDeleteResponses, ConfigSetDeleteErrors, ThrowOnError, "fields">;
616
+ /**
617
+ * Get Config Set
618
+ *
619
+ * Read a global Config Set and its raw configuration.
620
+ */
621
+ get<ThrowOnError extends boolean = false>(parameters: {
622
+ name: ConfigSetName;
623
+ directory?: string;
624
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetGetResponses, ConfigSetGetErrors, ThrowOnError, "fields">;
625
+ /**
626
+ * Update Config Set
627
+ *
628
+ * Patch a global Config Set raw configuration.
629
+ */
630
+ update<ThrowOnError extends boolean = false>(parameters: {
631
+ name: ConfigSetName;
632
+ directory?: string;
633
+ config?: Config2;
634
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetUpdateResponses, ConfigSetUpdateErrors, ThrowOnError, "fields">;
635
+ /**
636
+ * Activate Config Set
637
+ *
638
+ * Activate a global Config Set and reload global runtime configuration.
639
+ */
640
+ activate<ThrowOnError extends boolean = false>(parameters: {
641
+ name: ConfigSetName;
642
+ directory?: string;
643
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetActivateResponses, ConfigSetActivateErrors, ThrowOnError, "fields">;
644
+ raw: Raw;
645
+ }
646
+ export declare class Config extends HeyApiClient {
147
647
  /**
148
- * Abort a session
648
+ * Get configuration
649
+ *
650
+ * Retrieve the current Synergy configuration settings and preferences.
149
651
  */
150
- abort<ThrowOnError extends boolean = false>(options: Options<SessionAbortData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionAbortResponses, SessionAbortErrors, ThrowOnError, "fields">;
652
+ get<ThrowOnError extends boolean = false>(parameters?: {
653
+ directory?: string;
654
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigGetResponses, unknown, ThrowOnError, "fields">;
151
655
  /**
152
- * Unshare the session
656
+ * Update configuration
657
+ *
658
+ * Update Synergy configuration settings and preferences.
153
659
  */
154
- unshare<ThrowOnError extends boolean = false>(options: Options<SessionUnshareData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUnshareResponses, SessionUnshareErrors, ThrowOnError, "fields">;
660
+ update<ThrowOnError extends boolean = false>(parameters?: {
661
+ directory?: string;
662
+ config?: Config2;
663
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigUpdateResponses, ConfigUpdateErrors, ThrowOnError, "fields">;
155
664
  /**
156
- * Share a session
665
+ * Get global configuration
666
+ *
667
+ * Retrieve only the active global Config Set raw configuration (without project or remote layers).
157
668
  */
158
- share<ThrowOnError extends boolean = false>(options: Options<SessionShareData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionShareResponses, SessionShareErrors, ThrowOnError, "fields">;
669
+ global<ThrowOnError extends boolean = false>(parameters?: {
670
+ directory?: string;
671
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigGlobalResponses, unknown, ThrowOnError, "fields">;
159
672
  /**
160
- * Get the diff for this session
673
+ * List config providers
674
+ *
675
+ * Get a list of all configured AI providers and their default models.
161
676
  */
162
- diff<ThrowOnError extends boolean = false>(options: Options<SessionDiffData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDiffResponses, SessionDiffErrors, ThrowOnError, "fields">;
677
+ providers<ThrowOnError extends boolean = false>(parameters?: {
678
+ directory?: string;
679
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigProvidersResponses, unknown, ThrowOnError, "fields">;
680
+ set: _Set;
681
+ }
682
+ export declare class Runtime extends HeyApiClient {
683
+ /**
684
+ * Reload runtime state
685
+ *
686
+ * Reload Synergy runtime subsystems after self-configuration changes.
687
+ */
688
+ reload<ThrowOnError extends boolean = false>(parameters?: {
689
+ directory?: string;
690
+ targets?: Array<RuntimeReloadTarget>;
691
+ scope?: RuntimeReloadScope;
692
+ force?: boolean;
693
+ reason?: string;
694
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<RuntimeReloadResponses, RuntimeReloadErrors, ThrowOnError, "fields">;
695
+ }
696
+ export declare class Tool extends HeyApiClient {
163
697
  /**
164
- * Summarize the session
698
+ * List tool IDs
699
+ *
700
+ * Get a list of all available tool IDs, including both built-in tools and dynamically registered tools.
165
701
  */
166
- summarize<ThrowOnError extends boolean = false>(options: Options<SessionSummarizeData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionSummarizeResponses, SessionSummarizeErrors, ThrowOnError, "fields">;
702
+ ids<ThrowOnError extends boolean = false>(parameters?: {
703
+ directory?: string;
704
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ToolIdsResponses, ToolIdsErrors, ThrowOnError, "fields">;
167
705
  /**
168
- * List messages for a session
706
+ * List tools
707
+ *
708
+ * Get a list of available tools with their JSON schema parameters for a specific provider and model combination.
169
709
  */
170
- messages<ThrowOnError extends boolean = false>(options: Options<SessionMessagesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMessagesResponses, SessionMessagesErrors, ThrowOnError, "fields">;
710
+ list<ThrowOnError extends boolean = false>(parameters: {
711
+ directory?: string;
712
+ provider: string;
713
+ model: string;
714
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ToolListResponses, ToolListErrors, ThrowOnError, "fields">;
715
+ }
716
+ export declare class Instance extends HeyApiClient {
171
717
  /**
172
- * Create and send a new message to a session
718
+ * Dispose instance
719
+ *
720
+ * Clean up and dispose the current Synergy instance, releasing all resources.
173
721
  */
174
- prompt<ThrowOnError extends boolean = false>(options: Options<SessionPromptData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionPromptResponses, SessionPromptErrors, ThrowOnError, "fields">;
722
+ dispose<ThrowOnError extends boolean = false>(parameters?: {
723
+ directory?: string;
724
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<InstanceDisposeResponses, unknown, ThrowOnError, "fields">;
725
+ }
726
+ export declare class Path extends HeyApiClient {
175
727
  /**
176
- * Get a message from a session
728
+ * Get paths
729
+ *
730
+ * Retrieve the current working directory and related path information for the Synergy instance.
177
731
  */
178
- message<ThrowOnError extends boolean = false>(options: Options<SessionMessageData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMessageResponses, SessionMessageErrors, ThrowOnError, "fields">;
732
+ get<ThrowOnError extends boolean = false>(parameters?: {
733
+ directory?: string;
734
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PathGetResponses, unknown, ThrowOnError, "fields">;
735
+ }
736
+ export declare class Worktree extends HeyApiClient {
179
737
  /**
180
- * Create and send a new message to a session, start if needed and return immediately
738
+ * List worktrees
739
+ *
740
+ * List all sandbox worktrees for the current project.
181
741
  */
182
- promptAsync<ThrowOnError extends boolean = false>(options: Options<SessionPromptAsyncData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionPromptAsyncResponses, SessionPromptAsyncErrors, ThrowOnError, "fields">;
742
+ list<ThrowOnError extends boolean = false>(parameters?: {
743
+ directory?: string;
744
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeListResponses, unknown, ThrowOnError, "fields">;
183
745
  /**
184
- * Send a new command to a session
746
+ * Create worktree
747
+ *
748
+ * Create a new git worktree for the current project.
185
749
  */
186
- command<ThrowOnError extends boolean = false>(options: Options<SessionCommandData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionCommandResponses, SessionCommandErrors, ThrowOnError, "fields">;
750
+ create<ThrowOnError extends boolean = false>(parameters?: {
751
+ directory?: string;
752
+ worktreeCreateInput?: WorktreeCreateInput;
753
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeCreateResponses, WorktreeCreateErrors, ThrowOnError, "fields">;
754
+ }
755
+ export declare class Vcs extends HeyApiClient {
187
756
  /**
188
- * Run a shell command
757
+ * Get VCS info
758
+ *
759
+ * Retrieve version control system (VCS) information for the current project, such as git branch.
189
760
  */
190
- shell<ThrowOnError extends boolean = false>(options: Options<SessionShellData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionShellResponses, SessionShellErrors, ThrowOnError, "fields">;
761
+ get<ThrowOnError extends boolean = false>(parameters?: {
762
+ directory?: string;
763
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsGetResponses, unknown, ThrowOnError, "fields">;
764
+ }
765
+ export declare class Feedback extends HeyApiClient {
766
+ /**
767
+ * List session feedback
768
+ *
769
+ * Get all feedback for a session.
770
+ */
771
+ list<ThrowOnError extends boolean = false>(parameters: {
772
+ sessionID: string;
773
+ directory?: string;
774
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionFeedbackListResponses, SessionFeedbackListErrors, ThrowOnError, "fields">;
775
+ /**
776
+ * Set message feedback
777
+ *
778
+ * Rate an assistant message with thumbs up or down.
779
+ */
780
+ set<ThrowOnError extends boolean = false>(parameters: {
781
+ sessionID: string;
782
+ directory?: string;
783
+ userMessageID?: string;
784
+ assistantMessageID?: string;
785
+ rating?: "up" | "down";
786
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionFeedbackSetResponses, SessionFeedbackSetErrors, ThrowOnError, "fields">;
787
+ /**
788
+ * Delete message feedback
789
+ *
790
+ * Remove feedback for a specific assistant message.
791
+ */
792
+ delete<ThrowOnError extends boolean = false>(parameters: {
793
+ sessionID: string;
794
+ messageID: string;
795
+ directory?: string;
796
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionFeedbackDeleteResponses, SessionFeedbackDeleteErrors, ThrowOnError, "fields">;
797
+ /**
798
+ * Get message feedback
799
+ *
800
+ * Get feedback for a specific assistant message.
801
+ */
802
+ get<ThrowOnError extends boolean = false>(parameters: {
803
+ sessionID: string;
804
+ messageID: string;
805
+ directory?: string;
806
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionFeedbackGetResponses, SessionFeedbackGetErrors, ThrowOnError, "fields">;
807
+ }
808
+ export declare class Session extends HeyApiClient {
809
+ /**
810
+ * List sessions
811
+ *
812
+ * Get a list of all Synergy sessions, sorted by most recently updated.
813
+ */
814
+ list<ThrowOnError extends boolean = false>(parameters?: {
815
+ directory?: string;
816
+ start?: number;
817
+ search?: string;
818
+ limit?: number;
819
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionListResponses, unknown, ThrowOnError, "fields">;
820
+ /**
821
+ * Create session
822
+ *
823
+ * Create a new Synergy session for interacting with AI assistants and managing conversations.
824
+ */
825
+ create<ThrowOnError extends boolean = false>(parameters?: {
826
+ directory?: string;
827
+ parentID?: string;
828
+ title?: string;
829
+ id?: string;
830
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionCreateResponses, SessionCreateErrors, ThrowOnError, "fields">;
191
831
  /**
192
- * Revert a message
832
+ * Get session status
833
+ *
834
+ * Retrieve the current status of all sessions, including active, idle, and completed states.
193
835
  */
194
- revert<ThrowOnError extends boolean = false>(options: Options<SessionRevertData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionRevertResponses, SessionRevertErrors, ThrowOnError, "fields">;
836
+ status<ThrowOnError extends boolean = false>(parameters?: {
837
+ directory?: string;
838
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionStatusResponses, SessionStatusErrors, ThrowOnError, "fields">;
195
839
  /**
196
- * Restore all reverted messages
840
+ * Delete session
841
+ *
842
+ * Delete a session and permanently remove all associated data, including messages and history.
197
843
  */
198
- unrevert<ThrowOnError extends boolean = false>(options: Options<SessionUnrevertData, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUnrevertResponses, SessionUnrevertErrors, ThrowOnError, "fields">;
199
- }
200
- declare class Command extends _HeyApiClient {
844
+ delete<ThrowOnError extends boolean = false>(parameters: {
845
+ sessionID: string;
846
+ directory?: string;
847
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDeleteResponses, SessionDeleteErrors, ThrowOnError, "fields">;
201
848
  /**
202
- * List all commands
203
- */
204
- list<ThrowOnError extends boolean = false>(options?: Options<CommandListData, ThrowOnError>): import("./client/types.gen.js").RequestResult<CommandListResponses, unknown, ThrowOnError, "fields">;
849
+ * Get session
850
+ *
851
+ * Retrieve detailed information about a specific Synergy session.
852
+ */
853
+ get<ThrowOnError extends boolean = false>(parameters: {
854
+ sessionID: string;
855
+ directory?: string;
856
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionGetResponses, SessionGetErrors, ThrowOnError, "fields">;
857
+ /**
858
+ * Update session
859
+ *
860
+ * Update properties of an existing session, such as title or other metadata.
861
+ */
862
+ update<ThrowOnError extends boolean = false>(parameters: {
863
+ sessionID: string;
864
+ directory?: string;
865
+ title?: string;
866
+ pinned?: number;
867
+ time?: {
868
+ archived?: number;
869
+ };
870
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUpdateResponses, SessionUpdateErrors, ThrowOnError, "fields">;
871
+ /**
872
+ * Get session children
873
+ *
874
+ * Retrieve all child sessions that were forked from the specified parent session.
875
+ */
876
+ children<ThrowOnError extends boolean = false>(parameters: {
877
+ sessionID: string;
878
+ directory?: string;
879
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionChildrenResponses, SessionChildrenErrors, ThrowOnError, "fields">;
880
+ /**
881
+ * Get session todos
882
+ *
883
+ * Retrieve the todo list associated with a specific session, showing tasks and action items.
884
+ */
885
+ todo<ThrowOnError extends boolean = false>(parameters: {
886
+ sessionID: string;
887
+ directory?: string;
888
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionTodoResponses, SessionTodoErrors, ThrowOnError, "fields">;
889
+ /**
890
+ * Get session DAG
891
+ *
892
+ * Retrieve the task DAG associated with a specific session.
893
+ */
894
+ dag<ThrowOnError extends boolean = false>(parameters: {
895
+ sessionID: string;
896
+ directory?: string;
897
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDagResponses, SessionDagErrors, ThrowOnError, "fields">;
898
+ /**
899
+ * Initialize session
900
+ *
901
+ * Analyze the current application and create an AGENTS.md file with project-specific agent configurations.
902
+ */
903
+ init<ThrowOnError extends boolean = false>(parameters: {
904
+ sessionID: string;
905
+ directory?: string;
906
+ modelID?: string;
907
+ providerID?: string;
908
+ messageID?: string;
909
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionInitResponses, SessionInitErrors, ThrowOnError, "fields">;
910
+ /**
911
+ * Fork session
912
+ *
913
+ * Create a new session by forking an existing session at a specific message point.
914
+ */
915
+ fork<ThrowOnError extends boolean = false>(parameters: {
916
+ sessionID: string;
917
+ directory?: string;
918
+ messageID?: string;
919
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionForkResponses, unknown, ThrowOnError, "fields">;
920
+ /**
921
+ * Abort session
922
+ *
923
+ * Abort an active session and stop any ongoing AI processing or command execution.
924
+ */
925
+ abort<ThrowOnError extends boolean = false>(parameters: {
926
+ sessionID: string;
927
+ directory?: string;
928
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionAbortResponses, SessionAbortErrors, ThrowOnError, "fields">;
929
+ /**
930
+ * Summarize session
931
+ *
932
+ * Generate a concise summary of the session using AI compaction to preserve key information.
933
+ */
934
+ summarize<ThrowOnError extends boolean = false>(parameters: {
935
+ sessionID: string;
936
+ directory?: string;
937
+ providerID?: string;
938
+ modelID?: string;
939
+ auto?: boolean;
940
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionSummarizeResponses, SessionSummarizeErrors, ThrowOnError, "fields">;
941
+ /**
942
+ * Get session messages
943
+ *
944
+ * Retrieve all messages in a session, including user prompts and AI responses.
945
+ */
946
+ messages<ThrowOnError extends boolean = false>(parameters: {
947
+ sessionID: string;
948
+ directory?: string;
949
+ limit?: number;
950
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMessagesResponses, SessionMessagesErrors, ThrowOnError, "fields">;
951
+ /**
952
+ * Send message
953
+ *
954
+ * Create and send a new message to a session, streaming the AI response.
955
+ */
956
+ prompt<ThrowOnError extends boolean = false>(parameters: {
957
+ sessionID: string;
958
+ directory?: string;
959
+ messageID?: string;
960
+ model?: {
961
+ providerID: string;
962
+ modelID: string;
963
+ };
964
+ agent?: string;
965
+ noReply?: boolean;
966
+ metadata?: {
967
+ [key: string]: unknown;
968
+ };
969
+ summary?: {
970
+ title?: string;
971
+ };
972
+ tools?: {
973
+ [key: string]: boolean;
974
+ };
975
+ system?: string;
976
+ variant?: string;
977
+ parts?: Array<TextPartInput | FilePartInput>;
978
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionPromptResponses, SessionPromptErrors, ThrowOnError, "fields">;
979
+ /**
980
+ * Get session diff
981
+ *
982
+ * Get all file changes (diffs) made during this session.
983
+ */
984
+ diff<ThrowOnError extends boolean = false>(parameters: {
985
+ sessionID: string;
986
+ directory?: string;
987
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDiffResponses, SessionDiffErrors, ThrowOnError, "fields">;
988
+ /**
989
+ * Get message
990
+ *
991
+ * Retrieve a specific message from a session by its message ID.
992
+ */
993
+ message<ThrowOnError extends boolean = false>(parameters: {
994
+ sessionID: string;
995
+ messageID: string;
996
+ directory?: string;
997
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMessageResponses, SessionMessageErrors, ThrowOnError, "fields">;
998
+ /**
999
+ * Send async message
1000
+ *
1001
+ * Create and send a new message to a session asynchronously, starting the session if needed and returning immediately.
1002
+ */
1003
+ promptAsync<ThrowOnError extends boolean = false>(parameters: {
1004
+ sessionID: string;
1005
+ directory?: string;
1006
+ messageID?: string;
1007
+ model?: {
1008
+ providerID: string;
1009
+ modelID: string;
1010
+ };
1011
+ agent?: string;
1012
+ noReply?: boolean;
1013
+ metadata?: {
1014
+ [key: string]: unknown;
1015
+ };
1016
+ summary?: {
1017
+ title?: string;
1018
+ };
1019
+ tools?: {
1020
+ [key: string]: boolean;
1021
+ };
1022
+ system?: string;
1023
+ variant?: string;
1024
+ parts?: Array<TextPartInput | FilePartInput>;
1025
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionPromptAsyncResponses, SessionPromptAsyncErrors, ThrowOnError, "fields">;
1026
+ /**
1027
+ * Send command
1028
+ *
1029
+ * Send a new command to a session for execution by the AI assistant.
1030
+ */
1031
+ command<ThrowOnError extends boolean = false>(parameters: {
1032
+ sessionID: string;
1033
+ directory?: string;
1034
+ messageID?: string;
1035
+ agent?: string;
1036
+ model?: string;
1037
+ arguments?: string;
1038
+ command?: string;
1039
+ variant?: string;
1040
+ parts?: Array<{
1041
+ id?: string;
1042
+ type: "file";
1043
+ mime: string;
1044
+ filename?: string;
1045
+ url: string;
1046
+ localPath?: string;
1047
+ source?: FilePartSource;
1048
+ metadata?: {
1049
+ [key: string]: unknown;
1050
+ };
1051
+ }>;
1052
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionCommandResponses, SessionCommandErrors, ThrowOnError, "fields">;
1053
+ /**
1054
+ * Run shell command
1055
+ *
1056
+ * Execute a shell command within the session context and return the AI's response.
1057
+ */
1058
+ shell<ThrowOnError extends boolean = false>(parameters: {
1059
+ sessionID: string;
1060
+ directory?: string;
1061
+ agent?: string;
1062
+ model?: {
1063
+ providerID: string;
1064
+ modelID: string;
1065
+ };
1066
+ command?: string;
1067
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionShellResponses, SessionShellErrors, ThrowOnError, "fields">;
1068
+ /**
1069
+ * Revert message
1070
+ *
1071
+ * Revert a specific message in a session, undoing its effects and restoring the previous state.
1072
+ */
1073
+ revert<ThrowOnError extends boolean = false>(parameters: {
1074
+ sessionID: string;
1075
+ directory?: string;
1076
+ messageID?: string;
1077
+ partID?: string;
1078
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionRevertResponses, SessionRevertErrors, ThrowOnError, "fields">;
1079
+ /**
1080
+ * Restore reverted messages
1081
+ *
1082
+ * Restore all previously reverted messages in a session.
1083
+ */
1084
+ unrevert<ThrowOnError extends boolean = false>(parameters: {
1085
+ sessionID: string;
1086
+ directory?: string;
1087
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUnrevertResponses, SessionUnrevertErrors, ThrowOnError, "fields">;
1088
+ feedback: Feedback;
205
1089
  }
206
- declare class Oauth extends _HeyApiClient {
207
- /**
208
- * Authorize a provider using OAuth
209
- */
210
- authorize<ThrowOnError extends boolean = false>(options: Options<ProviderOauthAuthorizeData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderOauthAuthorizeResponses, ProviderOauthAuthorizeErrors, ThrowOnError, "fields">;
1090
+ export declare class Part extends HeyApiClient {
1091
+ /**
1092
+ * Delete a part from a message
1093
+ */
1094
+ delete<ThrowOnError extends boolean = false>(parameters: {
1095
+ sessionID: string;
1096
+ messageID: string;
1097
+ partID: string;
1098
+ directory?: string;
1099
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PartDeleteResponses, PartDeleteErrors, ThrowOnError, "fields">;
1100
+ /**
1101
+ * Update a part in a message
1102
+ */
1103
+ update<ThrowOnError extends boolean = false>(parameters: {
1104
+ sessionID: string;
1105
+ messageID: string;
1106
+ partID: string;
1107
+ directory?: string;
1108
+ part?: Part2;
1109
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PartUpdateResponses, PartUpdateErrors, ThrowOnError, "fields">;
1110
+ }
1111
+ export declare class Permission extends HeyApiClient {
1112
+ /**
1113
+ * Respond to permission
1114
+ *
1115
+ * Approve or deny a permission request from the AI assistant.
1116
+ *
1117
+ * @deprecated
1118
+ */
1119
+ respond<ThrowOnError extends boolean = false>(parameters: {
1120
+ sessionID: string;
1121
+ permissionID: string;
1122
+ directory?: string;
1123
+ response?: "once" | "reject";
1124
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionRespondResponses, PermissionRespondErrors, ThrowOnError, "fields">;
1125
+ /**
1126
+ * Respond to permission request
1127
+ *
1128
+ * Approve or deny a permission request from the AI assistant.
1129
+ */
1130
+ reply<ThrowOnError extends boolean = false>(parameters: {
1131
+ requestID: string;
1132
+ directory?: string;
1133
+ reply?: "once" | "reject";
1134
+ message?: string;
1135
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionReplyResponses, PermissionReplyErrors, ThrowOnError, "fields">;
1136
+ /**
1137
+ * Check allow-all status
1138
+ *
1139
+ * Check if allow-all mode is enabled for a session.
1140
+ */
1141
+ isAllowingAll<ThrowOnError extends boolean = false>(parameters: {
1142
+ directory?: string;
1143
+ sessionID: string;
1144
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionIsAllowingAllResponses, PermissionIsAllowingAllErrors, ThrowOnError, "fields">;
1145
+ /**
1146
+ * Set allow-all for a session
1147
+ *
1148
+ * Enable or disable allow-all mode for a session. When enabled, all permission requests are automatically approved and any currently pending permissions are resolved.
1149
+ */
1150
+ setAllowAll<ThrowOnError extends boolean = false>(parameters?: {
1151
+ directory?: string;
1152
+ sessionID?: string;
1153
+ enabled?: boolean;
1154
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionSetAllowAllResponses, PermissionSetAllowAllErrors, ThrowOnError, "fields">;
1155
+ /**
1156
+ * List pending permissions
1157
+ *
1158
+ * Get all pending permission requests across all sessions.
1159
+ */
1160
+ list<ThrowOnError extends boolean = false>(parameters?: {
1161
+ directory?: string;
1162
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionListResponses, unknown, ThrowOnError, "fields">;
1163
+ }
1164
+ export declare class Question extends HeyApiClient {
1165
+ /**
1166
+ * List pending questions
1167
+ *
1168
+ * Get all pending question requests across all sessions.
1169
+ */
1170
+ list<ThrowOnError extends boolean = false>(parameters?: {
1171
+ directory?: string;
1172
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionListResponses, unknown, ThrowOnError, "fields">;
1173
+ /**
1174
+ * Reply to question request
1175
+ *
1176
+ * Provide answers to a question request from the AI assistant.
1177
+ */
1178
+ reply<ThrowOnError extends boolean = false>(parameters: {
1179
+ requestID: string;
1180
+ directory?: string;
1181
+ answers?: Array<QuestionAnswer>;
1182
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionReplyResponses, QuestionReplyErrors, ThrowOnError, "fields">;
1183
+ /**
1184
+ * Reject question request
1185
+ *
1186
+ * Reject a question request from the AI assistant.
1187
+ */
1188
+ reject<ThrowOnError extends boolean = false>(parameters: {
1189
+ requestID: string;
1190
+ directory?: string;
1191
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionRejectResponses, QuestionRejectErrors, ThrowOnError, "fields">;
1192
+ }
1193
+ export declare class Cortex extends HeyApiClient {
1194
+ /**
1195
+ * List Cortex tasks
1196
+ *
1197
+ * List all background tasks, optionally filtered by session
1198
+ */
1199
+ list<ThrowOnError extends boolean = false>(parameters?: {
1200
+ directory?: string;
1201
+ sessionID?: string;
1202
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CortexListResponses, CortexListErrors, ThrowOnError, "fields">;
1203
+ /**
1204
+ * Get Cortex task
1205
+ *
1206
+ * Get a specific background task by ID
1207
+ */
1208
+ get<ThrowOnError extends boolean = false>(parameters: {
1209
+ taskID: string;
1210
+ directory?: string;
1211
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CortexGetResponses, CortexGetErrors, ThrowOnError, "fields">;
1212
+ /**
1213
+ * Get task output
1214
+ *
1215
+ * Get the output of a completed background task
1216
+ */
1217
+ output<ThrowOnError extends boolean = false>(parameters: {
1218
+ taskID: string;
1219
+ directory?: string;
1220
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CortexOutputResponses, CortexOutputErrors, ThrowOnError, "fields">;
1221
+ /**
1222
+ * Cancel Cortex task
1223
+ *
1224
+ * Cancel a running background task
1225
+ */
1226
+ cancel<ThrowOnError extends boolean = false>(parameters: {
1227
+ taskID: string;
1228
+ directory?: string;
1229
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CortexCancelResponses, CortexCancelErrors, ThrowOnError, "fields">;
1230
+ }
1231
+ export declare class Command extends HeyApiClient {
211
1232
  /**
212
- * Handle OAuth callback for a provider
1233
+ * List commands
1234
+ *
1235
+ * Get a list of all available commands in the Synergy system.
213
1236
  */
214
- callback<ThrowOnError extends boolean = false>(options: Options<ProviderOauthCallbackData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderOauthCallbackResponses, ProviderOauthCallbackErrors, ThrowOnError, "fields">;
1237
+ list<ThrowOnError extends boolean = false>(parameters?: {
1238
+ directory?: string;
1239
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CommandListResponses, unknown, ThrowOnError, "fields">;
1240
+ }
1241
+ export declare class Oauth extends HeyApiClient {
1242
+ /**
1243
+ * OAuth authorize
1244
+ *
1245
+ * Initiate OAuth authorization for a specific AI provider to get an authorization URL.
1246
+ */
1247
+ authorize<ThrowOnError extends boolean = false>(parameters: {
1248
+ providerID: string;
1249
+ directory?: string;
1250
+ method?: number;
1251
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderOauthAuthorizeResponses, ProviderOauthAuthorizeErrors, ThrowOnError, "fields">;
1252
+ /**
1253
+ * OAuth callback
1254
+ *
1255
+ * Handle the OAuth callback from a provider after user authorization.
1256
+ */
1257
+ callback<ThrowOnError extends boolean = false>(parameters: {
1258
+ providerID: string;
1259
+ directory?: string;
1260
+ method?: number;
1261
+ code?: string;
1262
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderOauthCallbackResponses, ProviderOauthCallbackErrors, ThrowOnError, "fields">;
215
1263
  }
216
- declare class Provider extends _HeyApiClient {
1264
+ export declare class Provider extends HeyApiClient {
217
1265
  /**
218
- * List all providers
1266
+ * List providers
1267
+ *
1268
+ * Get a list of all available AI providers, including both available and connected ones.
219
1269
  */
220
- list<ThrowOnError extends boolean = false>(options?: Options<ProviderListData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderListResponses, unknown, ThrowOnError, "fields">;
1270
+ list<ThrowOnError extends boolean = false>(parameters?: {
1271
+ directory?: string;
1272
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderListResponses, unknown, ThrowOnError, "fields">;
221
1273
  /**
222
- * Get provider authentication methods
1274
+ * Get provider auth methods
1275
+ *
1276
+ * Retrieve available authentication methods for all AI providers.
223
1277
  */
224
- auth<ThrowOnError extends boolean = false>(options?: Options<ProviderAuthData, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderAuthResponses, unknown, ThrowOnError, "fields">;
1278
+ auth<ThrowOnError extends boolean = false>(parameters?: {
1279
+ directory?: string;
1280
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderAuthResponses, unknown, ThrowOnError, "fields">;
225
1281
  oauth: Oauth;
226
1282
  }
227
- declare class Find extends _HeyApiClient {
1283
+ export declare class Skill extends HeyApiClient {
1284
+ /**
1285
+ * List skills
1286
+ *
1287
+ * Get a list of all available skills in the Synergy system.
1288
+ */
1289
+ list<ThrowOnError extends boolean = false>(parameters?: {
1290
+ directory?: string;
1291
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SkillListResponses, unknown, ThrowOnError, "fields">;
1292
+ /**
1293
+ * Reload skills
1294
+ *
1295
+ * Reload all skills by rescanning skill directories.
1296
+ */
1297
+ reload<ThrowOnError extends boolean = false>(parameters?: {
1298
+ directory?: string;
1299
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SkillReloadResponses, unknown, ThrowOnError, "fields">;
1300
+ /**
1301
+ * Delete a skill
1302
+ *
1303
+ * Delete a non-builtin skill by removing its directory from disk.
1304
+ */
1305
+ remove<ThrowOnError extends boolean = false>(parameters: {
1306
+ name: string;
1307
+ directory?: string;
1308
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SkillRemoveResponses, SkillRemoveErrors, ThrowOnError, "fields">;
1309
+ /**
1310
+ * Import a skill
1311
+ *
1312
+ * Import a skill from a .skill or .zip file. Extracts to the project or global skill directory.
1313
+ */
1314
+ import<ThrowOnError extends boolean = false>(parameters?: {
1315
+ directory?: string;
1316
+ file?: unknown;
1317
+ scope?: "project" | "global";
1318
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SkillImportResponses, SkillImportErrors, ThrowOnError, "fields">;
1319
+ /**
1320
+ * Import a skill from URL
1321
+ *
1322
+ * Download a .zip file from a URL and import it as a skill.
1323
+ */
1324
+ importUrl<ThrowOnError extends boolean = false>(parameters?: {
1325
+ directory?: string;
1326
+ url?: string;
1327
+ scope?: "project" | "global";
1328
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SkillImportUrlResponses, SkillImportUrlErrors, ThrowOnError, "fields">;
1329
+ }
1330
+ export declare class Find extends HeyApiClient {
228
1331
  /**
229
- * Find text in files
1332
+ * Find text
1333
+ *
1334
+ * Search for text patterns across files in the project using ripgrep.
230
1335
  */
231
- text<ThrowOnError extends boolean = false>(options: Options<FindTextData, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindTextResponses, unknown, ThrowOnError, "fields">;
1336
+ text<ThrowOnError extends boolean = false>(parameters: {
1337
+ directory?: string;
1338
+ pattern: string;
1339
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindTextResponses, unknown, ThrowOnError, "fields">;
232
1340
  /**
233
1341
  * Find files
234
- */
235
- files<ThrowOnError extends boolean = false>(options: Options<FindFilesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindFilesResponses, unknown, ThrowOnError, "fields">;
236
- /**
237
- * Find workspace symbols
238
- */
239
- symbols<ThrowOnError extends boolean = false>(options: Options<FindSymbolsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindSymbolsResponses, unknown, ThrowOnError, "fields">;
1342
+ *
1343
+ * Search for files or directories by name or pattern in the project directory.
1344
+ */
1345
+ files<ThrowOnError extends boolean = false>(parameters: {
1346
+ directory?: string;
1347
+ query: string;
1348
+ dirs?: "true" | "false";
1349
+ type?: "file" | "directory";
1350
+ limit?: number;
1351
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindFilesResponses, unknown, ThrowOnError, "fields">;
1352
+ /**
1353
+ * Find symbols
1354
+ *
1355
+ * Search for workspace symbols like functions, classes, and variables using LSP.
1356
+ */
1357
+ symbols<ThrowOnError extends boolean = false>(parameters: {
1358
+ directory?: string;
1359
+ query: string;
1360
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindSymbolsResponses, unknown, ThrowOnError, "fields">;
240
1361
  }
241
- declare class File extends _HeyApiClient {
1362
+ export declare class File extends HeyApiClient {
242
1363
  /**
243
- * List files and directories
1364
+ * List files
1365
+ *
1366
+ * List files and directories in a specified path.
244
1367
  */
245
- list<ThrowOnError extends boolean = false>(options: Options<FileListData, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileListResponses, unknown, ThrowOnError, "fields">;
1368
+ list<ThrowOnError extends boolean = false>(parameters: {
1369
+ directory?: string;
1370
+ path: string;
1371
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileListResponses, unknown, ThrowOnError, "fields">;
246
1372
  /**
247
- * Read a file
1373
+ * Read file
1374
+ *
1375
+ * Read the content of a specified file.
248
1376
  */
249
- read<ThrowOnError extends boolean = false>(options: Options<FileReadData, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileReadResponses, unknown, ThrowOnError, "fields">;
1377
+ read<ThrowOnError extends boolean = false>(parameters: {
1378
+ directory?: string;
1379
+ path: string;
1380
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileReadResponses, unknown, ThrowOnError, "fields">;
250
1381
  /**
251
1382
  * Get file status
1383
+ *
1384
+ * Get the git status of all files in the project.
252
1385
  */
253
- status<ThrowOnError extends boolean = false>(options?: Options<FileStatusData, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileStatusResponses, unknown, ThrowOnError, "fields">;
1386
+ status<ThrowOnError extends boolean = false>(parameters?: {
1387
+ directory?: string;
1388
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileStatusResponses, unknown, ThrowOnError, "fields">;
1389
+ }
1390
+ export declare class Experience extends HeyApiClient {
1391
+ /**
1392
+ * Search experiences
1393
+ *
1394
+ * Semantic search across experience records using embedding similarity and Q-value hybrid scoring.
1395
+ */
1396
+ search<ThrowOnError extends boolean = false>(parameters?: {
1397
+ directory?: string;
1398
+ query?: string;
1399
+ scopeID?: string;
1400
+ topK?: number;
1401
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceSearchResponses, EngramExperienceSearchErrors, ThrowOnError, "fields">;
1402
+ /**
1403
+ * Page experiences
1404
+ *
1405
+ * List experience records with server-side filtering, sorting, and pagination.
1406
+ */
1407
+ page<ThrowOnError extends boolean = false>(parameters?: {
1408
+ directory?: string;
1409
+ scopeID?: string;
1410
+ sessionID?: string;
1411
+ filter?: ExperienceListFilter;
1412
+ sort?: ExperienceListSort;
1413
+ limit?: number;
1414
+ offset?: number;
1415
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperiencePageResponses, EngramExperiencePageErrors, ThrowOnError, "fields">;
1416
+ /**
1417
+ * Delete experience
1418
+ *
1419
+ * Delete a specific experience record permanently.
1420
+ */
1421
+ remove<ThrowOnError extends boolean = false>(parameters: {
1422
+ id: string;
1423
+ directory?: string;
1424
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceRemoveResponses, EngramExperienceRemoveErrors, ThrowOnError, "fields">;
1425
+ /**
1426
+ * Get experience detail
1427
+ *
1428
+ * Get a specific experience record with its full content (script/raw).
1429
+ */
1430
+ get<ThrowOnError extends boolean = false>(parameters: {
1431
+ id: string;
1432
+ directory?: string;
1433
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceGetResponses, EngramExperienceGetErrors, ThrowOnError, "fields">;
1434
+ /**
1435
+ * Apply reward to experience
1436
+ *
1437
+ * Apply an external reward to a specific experience. Use this to inject rewards from benchmark frameworks or custom evaluation pipelines. Provide either a direct composite reward value, or multi-dimensional reward scores.
1438
+ */
1439
+ applyReward<ThrowOnError extends boolean = false>(parameters: {
1440
+ id: string;
1441
+ directory?: string;
1442
+ reward?: number;
1443
+ rewards?: RewardsInfo;
1444
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceApplyRewardResponses, EngramExperienceApplyRewardErrors, ThrowOnError, "fields">;
1445
+ /**
1446
+ * List experiences
1447
+ *
1448
+ * List all experience records, optionally filtered by project ID.
1449
+ */
1450
+ list<ThrowOnError extends boolean = false>(parameters?: {
1451
+ directory?: string;
1452
+ scopeID?: string;
1453
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceListResponses, unknown, ThrowOnError, "fields">;
1454
+ }
1455
+ export declare class Engram extends HeyApiClient {
1456
+ /**
1457
+ * Get memory stats
1458
+ *
1459
+ * Get statistics about the memory database including counts and file size.
1460
+ */
1461
+ stats<ThrowOnError extends boolean = false>(parameters?: {
1462
+ directory?: string;
1463
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramStatsResponses, unknown, ThrowOnError, "fields">;
1464
+ /**
1465
+ * Search memories
1466
+ *
1467
+ * Semantic search across active memories using embedding similarity. Requires embedding API to be configured.
1468
+ */
1469
+ search<ThrowOnError extends boolean = false>(parameters?: {
1470
+ directory?: string;
1471
+ query?: string;
1472
+ topK?: number;
1473
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramSearchResponses, EngramSearchErrors, ThrowOnError, "fields">;
1474
+ /**
1475
+ * Reset memory data
1476
+ *
1477
+ * Reset (delete) memory data by type. Supports resetting active memories, passive experiences, or both. Requires confirm=true to prevent accidental deletion.
1478
+ */
1479
+ reset<ThrowOnError extends boolean = false>(parameters?: {
1480
+ directory?: string;
1481
+ type?: "memory" | "experience" | "all";
1482
+ scopeID?: string;
1483
+ confirm?: true;
1484
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramResetResponses, EngramResetErrors, ThrowOnError, "fields">;
1485
+ /**
1486
+ * Delete memory
1487
+ *
1488
+ * Delete a specific active memory permanently.
1489
+ */
1490
+ remove<ThrowOnError extends boolean = false>(parameters: {
1491
+ id: string;
1492
+ directory?: string;
1493
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramRemoveResponses, EngramRemoveErrors, ThrowOnError, "fields">;
1494
+ /**
1495
+ * Get memory
1496
+ *
1497
+ * Get a specific active memory by ID.
1498
+ */
1499
+ get<ThrowOnError extends boolean = false>(parameters: {
1500
+ id: string;
1501
+ directory?: string;
1502
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramGetResponses, EngramGetErrors, ThrowOnError, "fields">;
1503
+ /**
1504
+ * List memories
1505
+ *
1506
+ * List all active (agent-curated) memories, optionally filtered by category.
1507
+ */
1508
+ list<ThrowOnError extends boolean = false>(parameters?: {
1509
+ directory?: string;
1510
+ category?: string;
1511
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramListResponses, unknown, ThrowOnError, "fields">;
1512
+ experience: Experience;
254
1513
  }
255
- declare class App extends _HeyApiClient {
1514
+ export declare class Note extends HeyApiClient {
1515
+ /**
1516
+ * List all notes grouped by scope
1517
+ *
1518
+ * List all notes across all scopes, grouped by scope ID.
1519
+ */
1520
+ listAll<ThrowOnError extends boolean = false>(parameters?: {
1521
+ directory?: string;
1522
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteListAllResponses, NoteListAllErrors, ThrowOnError, "fields">;
1523
+ /**
1524
+ * Export note
1525
+ *
1526
+ * Export a note as Markdown or HTML.
1527
+ */
1528
+ export<ThrowOnError extends boolean = false>(parameters: {
1529
+ id: string;
1530
+ directory?: string;
1531
+ format?: "md" | "html";
1532
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteExportResponses, NoteExportErrors, ThrowOnError, "fields">;
1533
+ /**
1534
+ * List notes
1535
+ *
1536
+ * List all notes for the current scope, including global notes.
1537
+ */
1538
+ list<ThrowOnError extends boolean = false>(parameters?: {
1539
+ directory?: string;
1540
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteListResponses, NoteListErrors, ThrowOnError, "fields">;
1541
+ /**
1542
+ * Create note
1543
+ *
1544
+ * Create a new note in the current scope.
1545
+ */
1546
+ create<ThrowOnError extends boolean = false>(parameters?: {
1547
+ directory?: string;
1548
+ noteCreateInput?: NoteCreateInput;
1549
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteCreateResponses, NoteCreateErrors, ThrowOnError, "fields">;
1550
+ /**
1551
+ * Delete note
1552
+ *
1553
+ * Delete a note permanently.
1554
+ */
1555
+ remove<ThrowOnError extends boolean = false>(parameters: {
1556
+ id: string;
1557
+ directory?: string;
1558
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteRemoveResponses, NoteRemoveErrors, ThrowOnError, "fields">;
1559
+ /**
1560
+ * Get note
1561
+ *
1562
+ * Get a specific note by ID.
1563
+ */
1564
+ get<ThrowOnError extends boolean = false>(parameters: {
1565
+ id: string;
1566
+ directory?: string;
1567
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteGetResponses, NoteGetErrors, ThrowOnError, "fields">;
1568
+ /**
1569
+ * Update note
1570
+ *
1571
+ * Update a note's content or metadata.
1572
+ */
1573
+ update<ThrowOnError extends boolean = false>(parameters: {
1574
+ id: string;
1575
+ directory?: string;
1576
+ notePatchInput?: NotePatchInput;
1577
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteUpdateResponses, NoteUpdateErrors, ThrowOnError, "fields">;
1578
+ }
1579
+ export declare class Asset extends HeyApiClient {
256
1580
  /**
257
- * Write a log entry to the server logs
1581
+ * Upload asset
1582
+ *
1583
+ * Upload a binary asset (image, video, etc.) and get a reference URL.
258
1584
  */
259
- log<ThrowOnError extends boolean = false>(options?: Options<AppLogData, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppLogResponses, AppLogErrors, ThrowOnError, "fields">;
1585
+ upload<ThrowOnError extends boolean = false>(parameters?: {
1586
+ directory?: string;
1587
+ file?: unknown;
1588
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AssetUploadResponses, AssetUploadErrors, ThrowOnError, "fields">;
260
1589
  /**
261
- * List all agents
1590
+ * Get asset
1591
+ *
1592
+ * Download a previously uploaded asset.
262
1593
  */
263
- agents<ThrowOnError extends boolean = false>(options?: Options<AppAgentsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppAgentsResponses, unknown, ThrowOnError, "fields">;
1594
+ get<ThrowOnError extends boolean = false>(parameters: {
1595
+ id: string;
1596
+ directory?: string;
1597
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AssetGetResponses, AssetGetErrors, ThrowOnError, "fields">;
1598
+ }
1599
+ export declare class App extends HeyApiClient {
1600
+ /**
1601
+ * Write log
1602
+ *
1603
+ * Write a log entry to the server logs with specified level and metadata.
1604
+ */
1605
+ log<ThrowOnError extends boolean = false>(parameters?: {
1606
+ directory?: string;
1607
+ service?: string;
1608
+ level?: "debug" | "info" | "error" | "warn";
1609
+ message?: string;
1610
+ extra?: {
1611
+ [key: string]: unknown;
1612
+ };
1613
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppLogResponses, AppLogErrors, ThrowOnError, "fields">;
1614
+ /**
1615
+ * List agents
1616
+ *
1617
+ * Get a list of all available AI agents in the Synergy system.
1618
+ */
1619
+ agents<ThrowOnError extends boolean = false>(parameters?: {
1620
+ directory?: string;
1621
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppAgentsResponses, unknown, ThrowOnError, "fields">;
1622
+ /**
1623
+ * Get or create app channel session
1624
+ *
1625
+ * Returns the active Home session, creating one if none exists.
1626
+ */
1627
+ session<ThrowOnError extends boolean = false>(parameters?: {
1628
+ directory?: string;
1629
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ChannelAppSessionResponses, unknown, ThrowOnError, "fields">;
1630
+ /**
1631
+ * Reset app channel session
1632
+ *
1633
+ * Archives the current Home session. The next call to get session will create a fresh one.
1634
+ */
1635
+ reset<ThrowOnError extends boolean = false>(parameters?: {
1636
+ directory?: string;
1637
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ChannelAppResetResponses, unknown, ThrowOnError, "fields">;
264
1638
  }
265
- declare class Auth extends _HeyApiClient {
1639
+ export declare class Auth extends HeyApiClient {
266
1640
  /**
1641
+ * Remove MCP OAuth
1642
+ *
267
1643
  * Remove OAuth credentials for an MCP server
268
1644
  */
269
- remove<ThrowOnError extends boolean = false>(options: Options<McpAuthRemoveData, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthRemoveResponses, McpAuthRemoveErrors, ThrowOnError, "fields">;
1645
+ remove<ThrowOnError extends boolean = false>(parameters: {
1646
+ name: string;
1647
+ directory?: string;
1648
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthRemoveResponses, McpAuthRemoveErrors, ThrowOnError, "fields">;
270
1649
  /**
271
- * Start OAuth authentication flow for an MCP server
1650
+ * Start MCP OAuth
1651
+ *
1652
+ * Start OAuth authentication flow for a Model Context Protocol (MCP) server.
272
1653
  */
273
- start<ThrowOnError extends boolean = false>(options: Options<McpAuthStartData, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthStartResponses, McpAuthStartErrors, ThrowOnError, "fields">;
1654
+ start<ThrowOnError extends boolean = false>(parameters: {
1655
+ name: string;
1656
+ directory?: string;
1657
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthStartResponses, McpAuthStartErrors, ThrowOnError, "fields">;
274
1658
  /**
275
- * Complete OAuth authentication with authorization code
1659
+ * Complete MCP OAuth
1660
+ *
1661
+ * Complete OAuth authentication for a Model Context Protocol (MCP) server using the authorization code.
276
1662
  */
277
- callback<ThrowOnError extends boolean = false>(options: Options<McpAuthCallbackData, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthCallbackResponses, McpAuthCallbackErrors, ThrowOnError, "fields">;
1663
+ callback<ThrowOnError extends boolean = false>(parameters: {
1664
+ name: string;
1665
+ directory?: string;
1666
+ code?: string;
1667
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthCallbackResponses, McpAuthCallbackErrors, ThrowOnError, "fields">;
278
1668
  /**
1669
+ * Authenticate MCP OAuth
1670
+ *
279
1671
  * Start OAuth flow and wait for callback (opens browser)
280
1672
  */
281
- authenticate<ThrowOnError extends boolean = false>(options: Options<McpAuthAuthenticateData, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthAuthenticateResponses, McpAuthAuthenticateErrors, ThrowOnError, "fields">;
1673
+ authenticate<ThrowOnError extends boolean = false>(parameters: {
1674
+ name: string;
1675
+ directory?: string;
1676
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthAuthenticateResponses, McpAuthAuthenticateErrors, ThrowOnError, "fields">;
282
1677
  /**
1678
+ * Set auth credentials
1679
+ *
283
1680
  * Set authentication credentials
284
1681
  */
285
- set<ThrowOnError extends boolean = false>(options: Options<AuthSetData, ThrowOnError>): import("./client/types.gen.js").RequestResult<AuthSetResponses, AuthSetErrors, ThrowOnError, "fields">;
1682
+ set<ThrowOnError extends boolean = false>(parameters: {
1683
+ providerID: string;
1684
+ directory?: string;
1685
+ auth?: Auth2;
1686
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AuthSetResponses, AuthSetErrors, ThrowOnError, "fields">;
286
1687
  }
287
- declare class Mcp extends _HeyApiClient {
1688
+ export declare class Mcp extends HeyApiClient {
288
1689
  /**
289
- * Get MCP server status
1690
+ * Get MCP status
1691
+ *
1692
+ * Get the status of all Model Context Protocol (MCP) servers.
290
1693
  */
291
- status<ThrowOnError extends boolean = false>(options?: Options<McpStatusData, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpStatusResponses, unknown, ThrowOnError, "fields">;
1694
+ status<ThrowOnError extends boolean = false>(parameters?: {
1695
+ directory?: string;
1696
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpStatusResponses, unknown, ThrowOnError, "fields">;
292
1697
  /**
293
- * Add MCP server dynamically
1698
+ * Add MCP server
1699
+ *
1700
+ * Dynamically add a new Model Context Protocol (MCP) server to the system.
294
1701
  */
295
- add<ThrowOnError extends boolean = false>(options?: Options<McpAddData, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAddResponses, McpAddErrors, ThrowOnError, "fields">;
1702
+ add<ThrowOnError extends boolean = false>(parameters?: {
1703
+ directory?: string;
1704
+ name?: string;
1705
+ config?: McpLocalConfig | McpRemoteConfig;
1706
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAddResponses, McpAddErrors, ThrowOnError, "fields">;
296
1707
  /**
297
1708
  * Connect an MCP server
298
1709
  */
299
- connect<ThrowOnError extends boolean = false>(options: Options<McpConnectData, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpConnectResponses, unknown, ThrowOnError, "fields">;
1710
+ connect<ThrowOnError extends boolean = false>(parameters: {
1711
+ name: string;
1712
+ directory?: string;
1713
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpConnectResponses, unknown, ThrowOnError, "fields">;
300
1714
  /**
301
1715
  * Disconnect an MCP server
302
1716
  */
303
- disconnect<ThrowOnError extends boolean = false>(options: Options<McpDisconnectData, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpDisconnectResponses, unknown, ThrowOnError, "fields">;
1717
+ disconnect<ThrowOnError extends boolean = false>(parameters: {
1718
+ name: string;
1719
+ directory?: string;
1720
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpDisconnectResponses, unknown, ThrowOnError, "fields">;
304
1721
  auth: Auth;
305
1722
  }
306
- declare class Lsp extends _HeyApiClient {
1723
+ export declare class Genesis extends HeyApiClient {
307
1724
  /**
308
- * Get LSP server status
1725
+ * Get or create genesis channel session
1726
+ *
1727
+ * Returns the active Genesis setup session, creating one if none exists.
309
1728
  */
310
- status<ThrowOnError extends boolean = false>(options?: Options<LspStatusData, ThrowOnError>): import("./client/types.gen.js").RequestResult<LspStatusResponses, unknown, ThrowOnError, "fields">;
311
- }
312
- declare class Formatter extends _HeyApiClient {
1729
+ session<ThrowOnError extends boolean = false>(parameters?: {
1730
+ directory?: string;
1731
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ChannelGenesisSessionResponses, unknown, ThrowOnError, "fields">;
313
1732
  /**
314
- * Get formatter status
1733
+ * Reset genesis channel session
1734
+ *
1735
+ * Archives the current Genesis session. The next call to get session will create a fresh one.
315
1736
  */
316
- status<ThrowOnError extends boolean = false>(options?: Options<FormatterStatusData, ThrowOnError>): import("./client/types.gen.js").RequestResult<FormatterStatusResponses, unknown, ThrowOnError, "fields">;
1737
+ reset<ThrowOnError extends boolean = false>(parameters?: {
1738
+ directory?: string;
1739
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ChannelGenesisResetResponses, unknown, ThrowOnError, "fields">;
317
1740
  }
318
- declare class Control extends _HeyApiClient {
1741
+ export declare class Channel extends HeyApiClient {
319
1742
  /**
320
- * Get the next TUI request from the queue
1743
+ * Get channel status
1744
+ *
1745
+ * Get the status of all messaging channel connections
321
1746
  */
322
- next<ThrowOnError extends boolean = false>(options?: Options<TuiControlNextData, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiControlNextResponses, unknown, ThrowOnError, "fields">;
1747
+ status<ThrowOnError extends boolean = false>(parameters?: {
1748
+ directory?: string;
1749
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ChannelStatusResponses, unknown, ThrowOnError, "fields">;
323
1750
  /**
324
- * Submit a response to the TUI request queue
1751
+ * Disconnect channel account
1752
+ *
1753
+ * Disconnect a specific channel account
325
1754
  */
326
- response<ThrowOnError extends boolean = false>(options?: Options<TuiControlResponseData, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiControlResponseResponses, unknown, ThrowOnError, "fields">;
1755
+ disconnect<ThrowOnError extends boolean = false>(parameters: {
1756
+ channelType: string;
1757
+ accountId: string;
1758
+ directory?: string;
1759
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ChannelDisconnectResponses, unknown, ThrowOnError, "fields">;
1760
+ app: App;
1761
+ genesis: Genesis;
327
1762
  }
328
- declare class Tui extends _HeyApiClient {
329
- /**
330
- * Append prompt to the TUI
331
- */
332
- appendPrompt<ThrowOnError extends boolean = false>(options?: Options<TuiAppendPromptData, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiAppendPromptResponses, TuiAppendPromptErrors, ThrowOnError, "fields">;
1763
+ export declare class Resource extends HeyApiClient {
333
1764
  /**
334
- * Open the help dialog
1765
+ * Get MCP resources
1766
+ *
1767
+ * Get all available MCP resources from connected servers. Optionally filter by name.
335
1768
  */
336
- openHelp<ThrowOnError extends boolean = false>(options?: Options<TuiOpenHelpData, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenHelpResponses, unknown, ThrowOnError, "fields">;
337
- /**
338
- * Open the session dialog
339
- */
340
- openSessions<ThrowOnError extends boolean = false>(options?: Options<TuiOpenSessionsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenSessionsResponses, unknown, ThrowOnError, "fields">;
341
- /**
342
- * Open the theme dialog
343
- */
344
- openThemes<ThrowOnError extends boolean = false>(options?: Options<TuiOpenThemesData, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenThemesResponses, unknown, ThrowOnError, "fields">;
345
- /**
346
- * Open the model dialog
347
- */
348
- openModels<ThrowOnError extends boolean = false>(options?: Options<TuiOpenModelsData, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenModelsResponses, unknown, ThrowOnError, "fields">;
349
- /**
350
- * Submit the prompt
351
- */
352
- submitPrompt<ThrowOnError extends boolean = false>(options?: Options<TuiSubmitPromptData, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiSubmitPromptResponses, unknown, ThrowOnError, "fields">;
353
- /**
354
- * Clear the prompt
355
- */
356
- clearPrompt<ThrowOnError extends boolean = false>(options?: Options<TuiClearPromptData, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiClearPromptResponses, unknown, ThrowOnError, "fields">;
357
- /**
358
- * Execute a TUI command (e.g. agent_cycle)
359
- */
360
- executeCommand<ThrowOnError extends boolean = false>(options?: Options<TuiExecuteCommandData, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiExecuteCommandResponses, TuiExecuteCommandErrors, ThrowOnError, "fields">;
1769
+ list<ThrowOnError extends boolean = false>(parameters?: {
1770
+ directory?: string;
1771
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalResourceListResponses, unknown, ThrowOnError, "fields">;
1772
+ }
1773
+ export declare class Experimental extends HeyApiClient {
1774
+ resource: Resource;
1775
+ }
1776
+ export declare class Lsp extends HeyApiClient {
361
1777
  /**
362
- * Show a toast notification in the TUI
1778
+ * Get LSP status
1779
+ *
1780
+ * Get LSP server status
363
1781
  */
364
- showToast<ThrowOnError extends boolean = false>(options?: Options<TuiShowToastData, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiShowToastResponses, unknown, ThrowOnError, "fields">;
1782
+ status<ThrowOnError extends boolean = false>(parameters?: {
1783
+ directory?: string;
1784
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LspStatusResponses, unknown, ThrowOnError, "fields">;
1785
+ }
1786
+ export declare class Formatter extends HeyApiClient {
365
1787
  /**
366
- * Publish a TUI event
1788
+ * Get formatter status
1789
+ *
1790
+ * Get formatter status
367
1791
  */
368
- publish<ThrowOnError extends boolean = false>(options?: Options<TuiPublishData, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiPublishResponses, TuiPublishErrors, ThrowOnError, "fields">;
369
- control: Control;
1792
+ status<ThrowOnError extends boolean = false>(parameters?: {
1793
+ directory?: string;
1794
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FormatterStatusResponses, unknown, ThrowOnError, "fields">;
370
1795
  }
371
- declare class Event extends _HeyApiClient {
1796
+ export declare class Event extends HeyApiClient {
372
1797
  /**
1798
+ * Subscribe to events
1799
+ *
373
1800
  * Get events
374
1801
  */
375
- subscribe<ThrowOnError extends boolean = false>(options?: Options<EventSubscribeData, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<EventSubscribeResponses, unknown>>;
1802
+ subscribe<ThrowOnError extends boolean = false>(parameters?: {
1803
+ directory?: string;
1804
+ }, options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<EventSubscribeResponses, unknown>>;
376
1805
  }
377
- export declare class OpencodeClient extends _HeyApiClient {
378
- /**
379
- * Respond to a permission request
380
- */
381
- postSessionIdPermissionsPermissionId<ThrowOnError extends boolean = false>(options: Options<PostSessionIdPermissionsPermissionIdData, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostSessionIdPermissionsPermissionIdResponses, PostSessionIdPermissionsPermissionIdErrors, ThrowOnError, "fields">;
1806
+ export declare class SynergyClient extends HeyApiClient {
1807
+ static readonly __registry: HeyApiRegistry<SynergyClient>;
1808
+ constructor(args?: {
1809
+ client?: Client;
1810
+ key?: string;
1811
+ });
382
1812
  global: Global;
383
- project: Project;
1813
+ holos: Holos;
1814
+ scope: Scope;
1815
+ git: Git;
384
1816
  pty: Pty;
385
1817
  config: Config;
1818
+ runtime: Runtime;
386
1819
  tool: Tool;
387
1820
  instance: Instance;
388
1821
  path: Path;
1822
+ worktree: Worktree;
389
1823
  vcs: Vcs;
390
1824
  session: Session;
1825
+ part: Part;
1826
+ permission: Permission;
1827
+ question: Question;
1828
+ cortex: Cortex;
391
1829
  command: Command;
392
1830
  provider: Provider;
1831
+ skill: Skill;
393
1832
  find: Find;
394
1833
  file: File;
1834
+ engram: Engram;
1835
+ agenda: Agenda;
1836
+ note: Note;
1837
+ asset: Asset;
395
1838
  app: App;
396
1839
  mcp: Mcp;
1840
+ channel: Channel;
1841
+ experimental: Experimental;
397
1842
  lsp: Lsp;
398
1843
  formatter: Formatter;
399
- tui: Tui;
400
1844
  auth: Auth;
401
1845
  event: Event;
402
1846
  }