@ericsanchezok/synergy-sdk 2.1.2 → 2.2.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.
@@ -1,5 +1,5 @@
1
1
  import { type Client, type Options as Options2, type TDataShape } from "./client/index.js";
2
- import type { AgendaActivateErrors, AgendaActivateResponses, AgendaActivityErrors, AgendaActivityResponses, AgendaCancelErrors, AgendaCancelResponses, AgendaCompleteErrors, AgendaCompleteResponses, AgendaCreateErrors, AgendaCreateInput, AgendaCreateResponses, AgendaGetErrors, AgendaGetResponses, AgendaPatchInput, AgendaPauseErrors, AgendaPauseResponses, AgendaRemoveErrors, AgendaRemoveResponses, AgendaRunsErrors, AgendaRunsResponses, AgendaSessionsErrors, AgendaSessionsResponses, AgendaTriggerErrors, AgendaTriggerResponses, AgendaUpdateErrors, AgendaUpdateResponses, AgendaWebhookErrors, AgendaWebhookResponses, AppAgentsResponses, AppLogErrors, AppLogResponses, AssetGetErrors, AssetGetResponses, AssetUploadErrors, AssetUploadResponses, Auth as Auth2, AuthSetErrors, AuthSetResponses, ChannelAppResetResponses, ChannelAppSessionResponses, ChannelDisconnectResponses, ChannelGenesisResetResponses, ChannelGenesisSessionResponses, ChannelStartOneResponses, ChannelStartResponses, ChannelStatusResponses, ChannelStopOneResponses, ChannelStopResponses, 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, EngramStatsErrors, EngramStatsResponses, EventSubscribeResponses, ExperienceListFilter, ExperienceListSort, ExperimentalResourceListResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindBrowseResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GitInitErrors, GitInitResponses, GlobalAgendaListErrors, GlobalAgendaListResponses, GlobalDisposeResponses, 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, HolosProfileGetResponses, HolosProfileResetResponses, HolosProfileSkipGenesisResponses, HolosProfileUpdateErrors, HolosProfileUpdateResponses, HolosQueueListResponses, HolosReconnectErrors, HolosReconnectResponses, HolosRefreshPresenceResponses, HolosStateResponses, HolosVerifyResponses, InstanceDisposeResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, MemoryCategory, MemoryRecallMode, 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, SessionExportDownloadErrors, SessionExportDownloadResponses, SessionExportEstimateErrors, SessionExportEstimateResponses, SessionExportMode, 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, StatsGetErrors, StatsGetResponses, StatsProgressResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses } from "./types.gen.js";
2
+ import type { AgendaActivateErrors, AgendaActivateResponses, AgendaActivityErrors, AgendaActivityResponses, AgendaCancelErrors, AgendaCancelResponses, AgendaCompleteErrors, AgendaCompleteResponses, AgendaCreateErrors, AgendaCreateInput, AgendaCreateResponses, AgendaGetErrors, AgendaGetResponses, AgendaPatchInput, AgendaPauseErrors, AgendaPauseResponses, AgendaRemoveErrors, AgendaRemoveResponses, AgendaRunsErrors, AgendaRunsResponses, AgendaSessionsErrors, AgendaSessionsResponses, AgendaTriggerErrors, AgendaTriggerResponses, AgendaUpdateErrors, AgendaUpdateResponses, AgendaWebhookErrors, AgendaWebhookResponses, ApiPluginsApproveInstallErrors, ApiPluginsApproveInstallResponses, ApiPluginsApproveUpdateErrors, ApiPluginsApproveUpdateResponses, ApiPluginsGetApprovalErrors, ApiPluginsGetApprovalResponses, ApiPluginsGetErrors, ApiPluginsGetResponses, ApiPluginsInstallFromRegistryErrors, ApiPluginsInstallFromRegistryResponses, ApiPluginsListResponses, ApiPluginsPermissionDiffErrors, ApiPluginsPermissionDiffResponses, ApiPluginsPreviewInstallErrors, ApiPluginsPreviewInstallResponses, ApiPluginsPreviewUpdateErrors, ApiPluginsPreviewUpdateResponses, ApiPluginsStatusErrors, ApiPluginsStatusResponses, ApiPluginsUpdateFromRegistryErrors, ApiPluginsUpdateFromRegistryResponses, AppAgentsResponses, AppLogErrors, AppLogResponses, AssetGetErrors, AssetGetResponses, AssetUploadErrors, AssetUploadResponses, Auth as Auth2, AuthSetErrors, AuthSetResponses, BlueprintLoopActivityErrors, BlueprintLoopActivityResponses, BlueprintLoopBindErrors, BlueprintLoopBindResponses, BlueprintLoopCancelErrors, BlueprintLoopCancelResponses, BlueprintLoopCompleteErrors, BlueprintLoopCompleteResponses, BlueprintLoopCreateErrors, BlueprintLoopCreateInput, BlueprintLoopCreateResponses, BlueprintLoopGetErrors, BlueprintLoopGetResponses, BlueprintLoopListErrors, BlueprintLoopListResponses, BlueprintLoopResumeErrors, BlueprintLoopResumeResponses, BlueprintLoopStartErrors, BlueprintLoopStartResponses, BlueprintLoopWaitErrors, BlueprintLoopWaitResponses, BlueprintSessionPlanModeErrors, BlueprintSessionPlanModeResponses, ChannelAppResetResponses, ChannelAppSessionResponses, ChannelDisconnectResponses, ChannelStartOneResponses, ChannelStartResponses, ChannelStatusResponses, ChannelStopOneResponses, ChannelStopResponses, CommandListResponses, Config as Config2, ConfigDomainGetErrors, ConfigDomainGetResponses, ConfigDomainImportPlanInput, ConfigDomainListResponses, ConfigDomainUpdateErrors, ConfigDomainUpdateInput, ConfigDomainUpdateResponses, ConfigGetResponses, ConfigGlobalResponses, ConfigImportApplyErrors, ConfigImportApplyResponses, ConfigImportPlanErrors, ConfigImportPlanResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, ControlProfileEffectiveErrors, ControlProfileEffectiveResponses, ControlProfileListResponses, 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, EngramStatsErrors, EngramStatsResponses, EventSubscribeResponses, ExperienceListFilter, ExperienceListSort, ExperimentalResourceListResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalAgendaListErrors, GlobalAgendaListResponses, GlobalDisposeResponses, GlobalFilesystemBrowseResponses, GlobalGitInitErrors, GlobalGitInitResponses, GlobalHealthResponses, GlobalNavPinnedResponses, GlobalNavRecentResponses, GlobalPathsGetResponses, GlobalSessionSearchErrors, GlobalSessionSearchResponses, GlobalStatsGetErrors, GlobalStatsGetResponses, GlobalStatsProgressResponses, HolosAccountsListResponses, HolosAccountsRemoveErrors, HolosAccountsRemoveResponses, HolosAccountsSwitchErrors, HolosAccountsSwitchResponses, HolosAgentsGetErrors, HolosAgentsGetResponses, HolosAgentsListResponses, HolosCallbackResponses, HolosContactAddErrors, HolosContactAddResponses, HolosContactGetErrors, HolosContactGetResponses, HolosContactListResponses, HolosContactRemoveResponses, HolosContactToggleBlockErrors, HolosContactToggleBlockResponses, HolosCredentialsErrors, HolosCredentialsResponses, HolosCredentialsStatusResponses, HolosInboxListResponses, HolosLoginResponses, HolosLogoutResponses, HolosOutboxListResponses, HolosPresenceResponses, HolosReconnectErrors, HolosReconnectResponses, HolosSendResponses, HolosSendRetryErrors, HolosSendRetryResponses, HolosStateResponses, HolosStatusResponses, HolosThreadGetResponses, HolosVerifyResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpInspectErrors, McpInspectResponses, McpLocalConfig, McpRefreshErrors, McpRefreshResponses, McpRemoteConfig, McpRestartErrors, McpRestartResponses, McpStatusResponses, McpTestErrors, McpTestResponses, MemoryCategory, MemoryRecallMode, NoteCreateErrors, NoteCreateInput, NoteCreateResponses, NoteExportErrors, NoteExportResponses, NoteGetErrors, NoteGetResponses, NoteListAllErrors, NoteListAllResponses, NoteListErrors, NoteListMetaErrors, NoteListMetaResponses, NoteListResponses, NotePatchInput, NoteRemoveErrors, NoteRemoveResponses, NoteUpdateErrors, NoteUpdateResponses, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PluginConfigSchemaErrors, PluginConfigSchemaResponses, PluginGetConfigErrors, PluginGetConfigResponses, PluginInteractErrors, PluginInteractResponses, PluginListUiContributionsErrors, PluginListUiContributionsResponses, PluginRuntimeLogsErrors, PluginRuntimeLogsResponses, PluginRuntimeStartErrors, PluginRuntimeStartResponses, PluginRuntimeStopErrors, PluginRuntimeStopResponses, PluginSandboxErrors, PluginSandboxResponses, PluginServeAssetErrors, PluginServeAssetResponses, PluginStatusErrors, PluginStatusResponses, PluginUpdateConfigErrors, PluginUpdateConfigResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, RegistryPluginsDownloadErrors, RegistryPluginsDownloadResponses, RegistryPluginsPublishErrors, RegistryPluginsPublishResponses, RegistryPluginsSearchErrors, RegistryPluginsSearchResponses, RegistryPluginsVersionErrors, RegistryPluginsVersionResponses, RegistryPluginsVersionsErrors, RegistryPluginsVersionsResponses, RegistryPublishInput, RewardsInfo, RuntimeReloadErrors, RuntimeReloadResponses, RuntimeReloadScope, RuntimeReloadTarget, SandboxReadinessResponses, SandboxStatusResponses, ScopeCurrentResponses, ScopeIndexResponses, ScopeListResponses, ScopeRemoveResponses, ScopeRuntimeDisposeResponses, ScopeUpdateErrors, ScopeUpdateResponses, SessionAbortErrors, SessionAbortResponses, SessionAgendaErrors, SessionAgendaResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDagErrors, SessionDagResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionExportDownloadErrors, SessionExportDownloadResponses, SessionExportEstimateErrors, SessionExportEstimateResponses, SessionExportMode, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionIndexResponses, 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
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
@@ -25,6 +25,53 @@ declare class HeyApiRegistry<T> {
25
25
  get(key?: string): T;
26
26
  set(value: T, key?: string): void;
27
27
  }
28
+ export declare class Paths extends HeyApiClient {
29
+ /**
30
+ * Get global server paths
31
+ *
32
+ * Retrieve process-level Synergy paths that do not require a scope context.
33
+ */
34
+ get<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalPathsGetResponses, unknown, ThrowOnError, "fields">;
35
+ }
36
+ export declare class Filesystem extends HeyApiClient {
37
+ /**
38
+ * Browse server directories
39
+ *
40
+ * Browse filesystem directories by path with optional fuzzy search. Returns absolute paths.
41
+ */
42
+ browse<ThrowOnError extends boolean = false>(parameters: {
43
+ path: string;
44
+ query?: string;
45
+ limit?: number;
46
+ depth?: number;
47
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalFilesystemBrowseResponses, unknown, ThrowOnError, "fields">;
48
+ }
49
+ export declare class Git extends HeyApiClient {
50
+ /**
51
+ * Initialize git repository
52
+ *
53
+ * Initialize a git repository in the specified directory if one does not already exist.
54
+ */
55
+ init<ThrowOnError extends boolean = false>(parameters?: {
56
+ directory?: string;
57
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalGitInitResponses, GlobalGitInitErrors, ThrowOnError, "fields">;
58
+ }
59
+ export declare class Stats extends HeyApiClient {
60
+ /**
61
+ * Get stats snapshot
62
+ *
63
+ * Get the full stats snapshot. Returns cached snapshot if available, otherwise computes incrementally. Use ?recompute=true to force a full recompute from scratch.
64
+ */
65
+ get<ThrowOnError extends boolean = false>(parameters?: {
66
+ recompute?: "true" | "false";
67
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalStatsGetResponses, GlobalStatsGetErrors, ThrowOnError, "fields">;
68
+ /**
69
+ * Stream stats recompute progress
70
+ *
71
+ * Force a stats recompute and stream progress updates over SSE until the final snapshot is ready.
72
+ */
73
+ progress<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<GlobalStatsProgressResponses, unknown>>;
74
+ }
28
75
  export declare class Agenda extends HeyApiClient {
29
76
  /**
30
77
  * List all agenda items across scopes
@@ -62,6 +109,7 @@ export declare class Agenda extends HeyApiClient {
62
109
  sessions<ThrowOnError extends boolean = false>(parameters: {
63
110
  id: string;
64
111
  directory?: string;
112
+ scopeID?: string;
65
113
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaSessionsResponses, AgendaSessionsErrors, ThrowOnError, "fields">;
66
114
  /**
67
115
  * List runs for agenda item
@@ -71,6 +119,7 @@ export declare class Agenda extends HeyApiClient {
71
119
  runs<ThrowOnError extends boolean = false>(parameters: {
72
120
  id: string;
73
121
  directory?: string;
122
+ scopeID?: string;
74
123
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaRunsResponses, AgendaRunsErrors, ThrowOnError, "fields">;
75
124
  /**
76
125
  * Trigger agenda item
@@ -80,6 +129,7 @@ export declare class Agenda extends HeyApiClient {
80
129
  trigger<ThrowOnError extends boolean = false>(parameters: {
81
130
  id: string;
82
131
  directory?: string;
132
+ scopeID?: string;
83
133
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaTriggerResponses, AgendaTriggerErrors, ThrowOnError, "fields">;
84
134
  /**
85
135
  * Activate agenda item
@@ -89,6 +139,7 @@ export declare class Agenda extends HeyApiClient {
89
139
  activate<ThrowOnError extends boolean = false>(parameters: {
90
140
  id: string;
91
141
  directory?: string;
142
+ scopeID?: string;
92
143
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaActivateResponses, AgendaActivateErrors, ThrowOnError, "fields">;
93
144
  /**
94
145
  * Pause agenda item
@@ -98,6 +149,7 @@ export declare class Agenda extends HeyApiClient {
98
149
  pause<ThrowOnError extends boolean = false>(parameters: {
99
150
  id: string;
100
151
  directory?: string;
152
+ scopeID?: string;
101
153
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaPauseResponses, AgendaPauseErrors, ThrowOnError, "fields">;
102
154
  /**
103
155
  * Complete agenda item
@@ -107,6 +159,7 @@ export declare class Agenda extends HeyApiClient {
107
159
  complete<ThrowOnError extends boolean = false>(parameters: {
108
160
  id: string;
109
161
  directory?: string;
162
+ scopeID?: string;
110
163
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaCompleteResponses, AgendaCompleteErrors, ThrowOnError, "fields">;
111
164
  /**
112
165
  * Cancel agenda item
@@ -116,6 +169,7 @@ export declare class Agenda extends HeyApiClient {
116
169
  cancel<ThrowOnError extends boolean = false>(parameters: {
117
170
  id: string;
118
171
  directory?: string;
172
+ scopeID?: string;
119
173
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaCancelResponses, AgendaCancelErrors, ThrowOnError, "fields">;
120
174
  /**
121
175
  * Delete agenda item
@@ -125,6 +179,7 @@ export declare class Agenda extends HeyApiClient {
125
179
  remove<ThrowOnError extends boolean = false>(parameters: {
126
180
  id: string;
127
181
  directory?: string;
182
+ scopeID?: string;
128
183
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaRemoveResponses, AgendaRemoveErrors, ThrowOnError, "fields">;
129
184
  /**
130
185
  * Get agenda item
@@ -134,6 +189,7 @@ export declare class Agenda extends HeyApiClient {
134
189
  get<ThrowOnError extends boolean = false>(parameters: {
135
190
  id: string;
136
191
  directory?: string;
192
+ scopeID?: string;
137
193
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaGetResponses, AgendaGetErrors, ThrowOnError, "fields">;
138
194
  /**
139
195
  * Update agenda item
@@ -143,6 +199,7 @@ export declare class Agenda extends HeyApiClient {
143
199
  update<ThrowOnError extends boolean = false>(parameters: {
144
200
  id: string;
145
201
  directory?: string;
202
+ scopeID?: string;
146
203
  agendaPatchInput?: AgendaPatchInput;
147
204
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaUpdateResponses, AgendaUpdateErrors, ThrowOnError, "fields">;
148
205
  /**
@@ -152,555 +209,695 @@ export declare class Agenda extends HeyApiClient {
152
209
  */
153
210
  create<ThrowOnError extends boolean = false>(parameters?: {
154
211
  directory?: string;
212
+ scopeID?: string;
155
213
  agendaCreateInput?: AgendaCreateInput;
156
214
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaCreateResponses, AgendaCreateErrors, ThrowOnError, "fields">;
157
215
  }
158
- export declare class Global extends HeyApiClient {
159
- /**
160
- * Get health
161
- *
162
- * Get health information about the Synergy server.
163
- */
164
- health<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalHealthResponses, unknown, ThrowOnError, "fields">;
216
+ export declare class Export extends HeyApiClient {
165
217
  /**
166
- * Dispose instance
218
+ * Estimate session export size
167
219
  *
168
- * Clean up and dispose all Synergy instances, releasing all resources.
220
+ * Estimate the size of a session export for a session and its subsessions.
169
221
  */
170
- dispose<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalDisposeResponses, unknown, ThrowOnError, "fields">;
171
- agenda: Agenda;
172
- }
173
- export declare class Credentials extends HeyApiClient {
222
+ estimate<ThrowOnError extends boolean = false>(parameters: {
223
+ sessionID: string;
224
+ directory?: string;
225
+ scopeID?: string;
226
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionExportEstimateResponses, SessionExportEstimateErrors, ThrowOnError, "fields">;
174
227
  /**
175
- * Check local credential status
228
+ * Export session data
176
229
  *
177
- * Check whether local Holos credentials exist without verifying them against the remote API. Returns existence, agent ID, and a masked secret.
230
+ * Generate and download exported session data for a session and all its subsessions.
178
231
  */
179
- status<ThrowOnError extends boolean = false>(parameters?: {
232
+ download<ThrowOnError extends boolean = false>(parameters: {
233
+ sessionID: string;
180
234
  directory?: string;
181
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosCredentialsStatusResponses, unknown, ThrowOnError, "fields">;
235
+ scopeID?: string;
236
+ mode?: SessionExportMode;
237
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionExportDownloadResponses, SessionExportDownloadErrors, ThrowOnError, "fields">;
182
238
  }
183
- export declare class Profile extends HeyApiClient {
239
+ export declare class Session extends HeyApiClient {
184
240
  /**
185
- * Get profile
241
+ * Global session search
186
242
  *
187
- * Retrieve the current agent profile.
243
+ * Search sessions across all scopes, sorted by most recently updated.
188
244
  */
189
- get<ThrowOnError extends boolean = false>(parameters?: {
190
- directory?: string;
191
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosProfileGetResponses, unknown, ThrowOnError, "fields">;
245
+ search<ThrowOnError extends boolean = false>(parameters?: {
246
+ search?: string;
247
+ offset?: number;
248
+ limit?: number;
249
+ scopeID?: string;
250
+ parentOnly?: string;
251
+ includeArchived?: string;
252
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalSessionSearchResponses, GlobalSessionSearchErrors, ThrowOnError, "fields">;
192
253
  /**
193
- * Update profile
254
+ * List session navigation entries
194
255
  *
195
- * Update the current agent profile.
256
+ * Get paginated session navigation entries for the current scope with filtering and cursor support.
196
257
  */
197
- update<ThrowOnError extends boolean = false>(parameters?: {
258
+ index<ThrowOnError extends boolean = false>(parameters?: {
198
259
  directory?: string;
199
- name?: string;
200
- bio?: string;
201
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosProfileUpdateResponses, HolosProfileUpdateErrors, ThrowOnError, "fields">;
260
+ scopeID?: string;
261
+ category?: "project" | "home" | "channel" | "background";
262
+ parentOnly?: "true" | "false";
263
+ includeArchived?: "true" | "false";
264
+ limit?: number;
265
+ cursorLastActivityAt?: number;
266
+ cursorId?: string;
267
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionIndexResponses, unknown, ThrowOnError, "fields">;
202
268
  /**
203
- * Reset profile initialization
269
+ * List sessions
204
270
  *
205
- * Set the profile initialized flag to false, allowing the user to re-run the onboarding setup flow.
271
+ * Get a paginated list of Synergy sessions, sorted by most recently updated.
206
272
  */
207
- reset<ThrowOnError extends boolean = false>(parameters?: {
273
+ list<ThrowOnError extends boolean = false>(parameters?: {
208
274
  directory?: string;
209
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosProfileResetResponses, unknown, ThrowOnError, "fields">;
275
+ scopeID?: string;
276
+ offset?: number;
277
+ limit?: number;
278
+ search?: string;
279
+ since?: number;
280
+ before?: number;
281
+ pinned?: boolean;
282
+ parentOnly?: boolean;
283
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionListResponses, unknown, ThrowOnError, "fields">;
210
284
  /**
211
- * Skip genesis and create default profile
285
+ * Create session
212
286
  *
213
- * Creates a default profile, skipping the onboarding chat. No-ops if profile is already initialized.
287
+ * Create a new Synergy session for interacting with AI assistants and managing conversations.
214
288
  */
215
- skipGenesis<ThrowOnError extends boolean = false>(parameters?: {
289
+ create<ThrowOnError extends boolean = false>(parameters?: {
216
290
  directory?: string;
217
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosProfileSkipGenesisResponses, unknown, ThrowOnError, "fields">;
218
- }
219
- export declare class Contact extends HeyApiClient {
291
+ scopeID?: string;
292
+ parentID?: string;
293
+ title?: string;
294
+ id?: string;
295
+ controlProfile?: "guarded" | "autonomous" | "full_access";
296
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionCreateResponses, SessionCreateErrors, ThrowOnError, "fields">;
220
297
  /**
221
- * List contacts
298
+ * Get session status
222
299
  *
223
- * List all contacts.
300
+ * Retrieve the current status of all sessions, including active, idle, and completed states.
224
301
  */
225
- list<ThrowOnError extends boolean = false>(parameters?: {
302
+ status<ThrowOnError extends boolean = false>(parameters?: {
226
303
  directory?: string;
227
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosContactListResponses, unknown, ThrowOnError, "fields">;
304
+ scopeID?: string;
305
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionStatusResponses, SessionStatusErrors, ThrowOnError, "fields">;
228
306
  /**
229
- * Add contact
307
+ * Delete session
230
308
  *
231
- * Add a new contact.
309
+ * Delete a session and permanently remove all associated data, including messages and history.
232
310
  */
233
- add<ThrowOnError extends boolean = false>(parameters?: {
311
+ delete<ThrowOnError extends boolean = false>(parameters: {
312
+ sessionID: string;
234
313
  directory?: string;
235
- id?: string;
236
- holosId?: string;
237
- name?: string;
238
- bio?: string;
239
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosContactAddResponses, HolosContactAddErrors, ThrowOnError, "fields">;
314
+ scopeID?: string;
315
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDeleteResponses, SessionDeleteErrors, ThrowOnError, "fields">;
240
316
  /**
241
- * Remove contact
317
+ * Get session
242
318
  *
243
- * Remove a contact and notify the peer via WebSocket.
319
+ * Retrieve detailed information about a specific Synergy session.
244
320
  */
245
- remove<ThrowOnError extends boolean = false>(parameters: {
246
- id: string;
321
+ get<ThrowOnError extends boolean = false>(parameters: {
322
+ sessionID: string;
247
323
  directory?: string;
248
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosContactRemoveResponses, unknown, ThrowOnError, "fields">;
324
+ scopeID?: string;
325
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionGetResponses, SessionGetErrors, ThrowOnError, "fields">;
249
326
  /**
250
- * Get contact
327
+ * Update session
251
328
  *
252
- * Get a specific contact by ID.
329
+ * Update properties of an existing session, such as title or other metadata.
253
330
  */
254
- get<ThrowOnError extends boolean = false>(parameters: {
255
- id: string;
331
+ update<ThrowOnError extends boolean = false>(parameters: {
332
+ sessionID: string;
256
333
  directory?: string;
257
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosContactGetResponses, HolosContactGetErrors, ThrowOnError, "fields">;
334
+ scopeID?: string;
335
+ title?: string;
336
+ pinned?: number;
337
+ controlProfile?: "guarded" | "autonomous" | "full_access";
338
+ time?: {
339
+ archived?: number;
340
+ };
341
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUpdateResponses, SessionUpdateErrors, ThrowOnError, "fields">;
258
342
  /**
259
- * Update contact config
343
+ * Get session children
260
344
  *
261
- * Update per-contact configuration (autoReply, autoInitiate, blocked).
345
+ * Retrieve all child sessions that were forked from the specified parent session.
262
346
  */
263
- updateConfig<ThrowOnError extends boolean = false>(parameters: {
264
- id: string;
347
+ children<ThrowOnError extends boolean = false>(parameters: {
348
+ sessionID: string;
265
349
  directory?: string;
266
- autoReply?: boolean;
267
- autoInitiate?: boolean;
268
- blocked?: boolean;
269
- maxAutoTurns?: number;
270
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosContactUpdateConfigResponses, HolosContactUpdateConfigErrors, ThrowOnError, "fields">;
350
+ scopeID?: string;
351
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionChildrenResponses, SessionChildrenErrors, ThrowOnError, "fields">;
271
352
  /**
272
- * Get or create session for contact
353
+ * Get session todos
273
354
  *
274
- * Returns the friend session for a contact, creating one if it doesn't exist yet.
355
+ * Retrieve the todo list associated with a specific session, showing tasks and action items.
275
356
  */
276
- session<ThrowOnError extends boolean = false>(parameters: {
277
- id: string;
357
+ todo<ThrowOnError extends boolean = false>(parameters: {
358
+ sessionID: string;
278
359
  directory?: string;
279
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosContactSessionResponses, HolosContactSessionErrors, ThrowOnError, "fields">;
360
+ scopeID?: string;
361
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionTodoResponses, SessionTodoErrors, ThrowOnError, "fields">;
280
362
  /**
281
- * Send message to contact
363
+ * Get session DAG
282
364
  *
283
- * Send a message to a contact via the friend session mailbox. The outbound hook handles Holos WS delivery automatically.
365
+ * Retrieve the task DAG associated with a specific session.
284
366
  */
285
- sendMessage<ThrowOnError extends boolean = false>(parameters: {
286
- id: string;
367
+ dag<ThrowOnError extends boolean = false>(parameters: {
368
+ sessionID: string;
287
369
  directory?: string;
288
- text?: string;
289
- replyToMessageId?: string;
290
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosContactSendMessageResponses, HolosContactSendMessageErrors, ThrowOnError, "fields">;
291
- }
292
- export declare class FriendRequest extends HeyApiClient {
370
+ scopeID?: string;
371
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDagResponses, SessionDagErrors, ThrowOnError, "fields">;
293
372
  /**
294
- * List friend requests
373
+ * Get session agenda wakeups
295
374
  *
296
- * List all friend requests.
375
+ * Retrieve agenda items that can wake the specified session.
297
376
  */
298
- list<ThrowOnError extends boolean = false>(parameters?: {
377
+ agenda<ThrowOnError extends boolean = false>(parameters: {
378
+ sessionID: string;
299
379
  directory?: string;
300
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosFriendRequestListResponses, unknown, ThrowOnError, "fields">;
380
+ scopeID?: string;
381
+ limit?: number;
382
+ offset?: number;
383
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionAgendaResponses, SessionAgendaErrors, ThrowOnError, "fields">;
301
384
  /**
302
- * Create friend request
385
+ * Initialize session
303
386
  *
304
- * Create a new outgoing friend request.
387
+ * Analyze the current application and create an AGENTS.md file with project-specific agent configurations.
305
388
  */
306
- create<ThrowOnError extends boolean = false>(parameters?: {
389
+ init<ThrowOnError extends boolean = false>(parameters: {
390
+ sessionID: string;
307
391
  directory?: string;
308
- id?: string;
309
- peerId?: string;
310
- peerName?: string;
311
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosFriendRequestCreateResponses, HolosFriendRequestCreateErrors, ThrowOnError, "fields">;
392
+ scopeID?: string;
393
+ modelID?: string;
394
+ providerID?: string;
395
+ messageID?: string;
396
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionInitResponses, SessionInitErrors, ThrowOnError, "fields">;
312
397
  /**
313
- * Remove friend request
398
+ * Fork session
314
399
  *
315
- * Remove a friend request.
400
+ * Create a new session by forking an existing session at a specific message point.
316
401
  */
317
- remove<ThrowOnError extends boolean = false>(parameters: {
318
- id: string;
402
+ fork<ThrowOnError extends boolean = false>(parameters: {
403
+ sessionID: string;
319
404
  directory?: string;
320
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosFriendRequestRemoveResponses, unknown, ThrowOnError, "fields">;
405
+ scopeID?: string;
406
+ messageID?: string;
407
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionForkResponses, unknown, ThrowOnError, "fields">;
321
408
  /**
322
- * Send friend request
409
+ * Abort session
323
410
  *
324
- * Send an outgoing friend request to another agent via WebSocket.
411
+ * Abort an active session and stop any ongoing AI processing or command execution.
325
412
  */
326
- send<ThrowOnError extends boolean = false>(parameters?: {
413
+ abort<ThrowOnError extends boolean = false>(parameters: {
414
+ sessionID: string;
327
415
  directory?: string;
328
- peerId?: string;
329
- peerName?: string;
330
- peerBio?: string;
331
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosFriendRequestSendResponses, HolosFriendRequestSendErrors, ThrowOnError, "fields">;
416
+ scopeID?: string;
417
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionAbortResponses, SessionAbortErrors, ThrowOnError, "fields">;
332
418
  /**
333
- * Respond to friend request
419
+ * Summarize session
334
420
  *
335
- * Accept or reject a friend request. Sends the response over WebSocket and updates local storage.
421
+ * Generate a concise summary of the session using AI compaction to preserve key information.
336
422
  */
337
- respond<ThrowOnError extends boolean = false>(parameters: {
338
- id: string;
423
+ summarize<ThrowOnError extends boolean = false>(parameters: {
424
+ sessionID: string;
339
425
  directory?: string;
340
- status?: "accepted" | "rejected";
341
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosFriendRequestRespondResponses, HolosFriendRequestRespondErrors, ThrowOnError, "fields">;
342
- }
343
- export declare class Agents extends HeyApiClient {
426
+ scopeID?: string;
427
+ providerID?: string;
428
+ modelID?: string;
429
+ auto?: boolean;
430
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionSummarizeResponses, SessionSummarizeErrors, ThrowOnError, "fields">;
344
431
  /**
345
- * List agents
432
+ * Get session messages
346
433
  *
347
- * List available agents from the Holos platform.
434
+ * Retrieve all messages in a session, including user prompts and AI responses.
348
435
  */
349
- list<ThrowOnError extends boolean = false>(parameters?: {
436
+ messages<ThrowOnError extends boolean = false>(parameters: {
437
+ sessionID: string;
350
438
  directory?: string;
439
+ scopeID?: string;
351
440
  limit?: number;
352
- offset?: number;
353
- need_active?: boolean;
354
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosAgentsListResponses, unknown, ThrowOnError, "fields">;
441
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMessagesResponses, SessionMessagesErrors, ThrowOnError, "fields">;
355
442
  /**
356
- * Get agent
443
+ * Send message
357
444
  *
358
- * Get a specific agent's profile from the Holos platform.
445
+ * Create and send a new message to a session, streaming the AI response.
359
446
  */
360
- get<ThrowOnError extends boolean = false>(parameters: {
361
- agentId: string;
447
+ prompt<ThrowOnError extends boolean = false>(parameters: {
448
+ sessionID: string;
362
449
  directory?: string;
363
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosAgentsGetResponses, HolosAgentsGetErrors, ThrowOnError, "fields">;
364
- }
365
- export declare class Queue extends HeyApiClient {
366
- /**
367
- * List message queue
368
- *
369
- * List all pending messages in the outgoing message queue.
370
- */
371
- list<ThrowOnError extends boolean = false>(parameters?: {
372
- directory?: string;
373
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosQueueListResponses, unknown, ThrowOnError, "fields">;
374
- }
375
- export declare class FriendReply extends HeyApiClient {
450
+ scopeID?: string;
451
+ messageID?: string;
452
+ model?: {
453
+ providerID: string;
454
+ modelID: string;
455
+ };
456
+ agent?: string;
457
+ noReply?: boolean;
458
+ metadata?: {
459
+ [key: string]: unknown;
460
+ };
461
+ summary?: {
462
+ title?: string;
463
+ };
464
+ tools?: {
465
+ [key: string]: boolean;
466
+ };
467
+ system?: string;
468
+ variant?: string;
469
+ parts?: Array<TextPartInput | FilePartInput>;
470
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionPromptResponses, SessionPromptErrors, ThrowOnError, "fields">;
376
471
  /**
377
- * List friend reply sub-sessions
472
+ * Get session diff
378
473
  *
379
- * List all sub-session mappings for a friend session. Maps trigger message IDs to sub-session IDs.
474
+ * Get all file changes (diffs) made during this session.
380
475
  */
381
- list<ThrowOnError extends boolean = false>(parameters: {
382
- sessionId: string;
476
+ diff<ThrowOnError extends boolean = false>(parameters: {
477
+ sessionID: string;
383
478
  directory?: string;
384
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosFriendReplyListResponses, unknown, ThrowOnError, "fields">;
385
- }
386
- export declare class Holos extends HeyApiClient {
387
- /**
388
- * Initiate Holos login
389
- *
390
- * Generate a Holos bind URL for browser-based login. Returns a URL to open in a popup.
391
- */
392
- login<ThrowOnError extends boolean = false>(parameters?: {
393
- callbackUrl?: string;
394
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosLoginResponses, unknown, ThrowOnError, "fields">;
395
- /**
396
- * Holos login callback
397
- *
398
- * Handles the redirect from Holos after user login. Exchanges the code for credentials.
399
- */
400
- callback<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosCallbackResponses, unknown, ThrowOnError, "fields">;
479
+ scopeID?: string;
480
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDiffResponses, SessionDiffErrors, ThrowOnError, "fields">;
401
481
  /**
402
- * Clear Holos credentials
482
+ * Get message
403
483
  *
404
- * Remove stored Holos credentials and stop the Holos runtime. Used for sign-out.
484
+ * Retrieve a specific message from a session by its message ID.
405
485
  */
406
- logout<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosLogoutResponses, unknown, ThrowOnError, "fields">;
486
+ message<ThrowOnError extends boolean = false>(parameters: {
487
+ sessionID: string;
488
+ messageID: string;
489
+ directory?: string;
490
+ scopeID?: string;
491
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMessageResponses, SessionMessageErrors, ThrowOnError, "fields">;
407
492
  /**
408
- * Set agent credentials
493
+ * Send async message
409
494
  *
410
- * Validate and save existing agent credentials. Validates by fetching a ws_token, then saves and reloads the Holos runtime.
495
+ * Create and send a new message to a session asynchronously, starting the session if needed and returning immediately.
411
496
  */
412
- credentials<ThrowOnError extends boolean = false>(parameters?: {
413
- agentId?: string;
414
- agentSecret?: string;
415
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosCredentialsResponses, HolosCredentialsErrors, ThrowOnError, "fields">;
497
+ promptAsync<ThrowOnError extends boolean = false>(parameters: {
498
+ sessionID: string;
499
+ directory?: string;
500
+ scopeID?: string;
501
+ messageID?: string;
502
+ model?: {
503
+ providerID: string;
504
+ modelID: string;
505
+ };
506
+ agent?: string;
507
+ noReply?: boolean;
508
+ metadata?: {
509
+ [key: string]: unknown;
510
+ };
511
+ summary?: {
512
+ title?: string;
513
+ };
514
+ tools?: {
515
+ [key: string]: boolean;
516
+ };
517
+ system?: string;
518
+ variant?: string;
519
+ parts?: Array<TextPartInput | FilePartInput>;
520
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionPromptAsyncResponses, SessionPromptAsyncErrors, ThrowOnError, "fields">;
416
521
  /**
417
- * Reconnect Holos runtime
522
+ * Send command
418
523
  *
419
- * Reload the Holos runtime connection. Useful when the WebSocket disconnects.
524
+ * Send a new command to a session for execution by the AI assistant. Returns immediately; the agent processes the command asynchronously.
420
525
  */
421
- reconnect<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosReconnectResponses, HolosReconnectErrors, ThrowOnError, "fields">;
526
+ command<ThrowOnError extends boolean = false>(parameters: {
527
+ sessionID: string;
528
+ directory?: string;
529
+ scopeID?: string;
530
+ messageID?: string;
531
+ agent?: string;
532
+ model?: string;
533
+ arguments?: string;
534
+ command?: string;
535
+ variant?: string;
536
+ parts?: Array<{
537
+ id?: string;
538
+ type: "file";
539
+ mime: string;
540
+ filename?: string;
541
+ url: string;
542
+ localPath?: string;
543
+ source?: FilePartSource;
544
+ metadata?: {
545
+ [key: string]: unknown;
546
+ };
547
+ }>;
548
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionCommandResponses, SessionCommandErrors, ThrowOnError, "fields">;
422
549
  /**
423
- * Get unified Holos state
550
+ * Run shell command
424
551
  *
425
- * Return a unified Holos state surface combining identity, connection, capability, entitlement, profile, contact, request, and presence data.
552
+ * Execute a shell command within the session context and return the AI's response.
426
553
  */
427
- state<ThrowOnError extends boolean = false>(parameters?: {
554
+ shell<ThrowOnError extends boolean = false>(parameters: {
555
+ sessionID: string;
428
556
  directory?: string;
429
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosStateResponses, unknown, ThrowOnError, "fields">;
557
+ scopeID?: string;
558
+ agent?: string;
559
+ model?: {
560
+ providerID: string;
561
+ modelID: string;
562
+ };
563
+ command?: string;
564
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionShellResponses, SessionShellErrors, ThrowOnError, "fields">;
430
565
  /**
431
- * Verify Holos credentials
566
+ * Revert message
432
567
  *
433
- * Check whether the stored agent credentials are still valid by attempting to fetch a ws_token from Holos.
568
+ * Revert a specific message in a session, undoing its effects and restoring the previous state.
434
569
  */
435
- verify<ThrowOnError extends boolean = false>(parameters?: {
570
+ revert<ThrowOnError extends boolean = false>(parameters: {
571
+ sessionID: string;
436
572
  directory?: string;
437
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosVerifyResponses, unknown, ThrowOnError, "fields">;
573
+ scopeID?: string;
574
+ messageID?: string;
575
+ partID?: string;
576
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionRevertResponses, SessionRevertErrors, ThrowOnError, "fields">;
438
577
  /**
439
- * Get friend presence
578
+ * Restore reverted messages
440
579
  *
441
- * Get the online/offline status of all contacts from the presence cache.
580
+ * Restore all previously reverted messages in a session.
442
581
  */
443
- presence<ThrowOnError extends boolean = false>(parameters?: {
582
+ unrevert<ThrowOnError extends boolean = false>(parameters: {
583
+ sessionID: string;
444
584
  directory?: string;
445
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosPresenceResponses, unknown, ThrowOnError, "fields">;
585
+ scopeID?: string;
586
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUnrevertResponses, SessionUnrevertErrors, ThrowOnError, "fields">;
446
587
  /**
447
- * Refresh friend presence
588
+ * Toggle Plan Mode
448
589
  *
449
- * Trigger a fresh presence probe for all unblocked Holos contacts.
590
+ * Enable or disable Plan Mode on a session.
450
591
  */
451
- refreshPresence<ThrowOnError extends boolean = false>(parameters?: {
592
+ planMode<ThrowOnError extends boolean = false>(parameters: {
593
+ id: string;
452
594
  directory?: string;
453
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosRefreshPresenceResponses, unknown, ThrowOnError, "fields">;
454
- credentials2: Credentials;
455
- profile: Profile;
456
- contact: Contact;
457
- friendRequest: FriendRequest;
458
- agents: Agents;
459
- queue: Queue;
460
- friendReply: FriendReply;
595
+ scopeID?: string;
596
+ planMode?: boolean;
597
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<BlueprintSessionPlanModeResponses, BlueprintSessionPlanModeErrors, ThrowOnError, "fields">;
598
+ export: Export;
461
599
  }
462
- export declare class Scope extends HeyApiClient {
600
+ export declare class Nav extends HeyApiClient {
463
601
  /**
464
- * List all scopes
602
+ * Recent sessions across all scopes
465
603
  *
466
- * Get a list of scopes that have been opened with Synergy.
604
+ * Get a paginated list of recently active sessions across all scopes (global + projects).
467
605
  */
468
- list<ThrowOnError extends boolean = false>(parameters?: {
469
- directory?: string;
470
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ScopeListResponses, unknown, ThrowOnError, "fields">;
606
+ recent<ThrowOnError extends boolean = false>(parameters?: {
607
+ parentOnly?: boolean;
608
+ includeArchived?: boolean;
609
+ search?: string;
610
+ limit?: number;
611
+ cursorLastActivityAt?: number;
612
+ cursorId?: string;
613
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalNavRecentResponses, unknown, ThrowOnError, "fields">;
471
614
  /**
472
- * Get current scope
615
+ * Pinned sessions across all scopes
473
616
  *
474
- * Retrieve the currently active scope that Synergy is working with.
617
+ * Get a list of pinned sessions across all scopes (global + projects), sorted by recent activity.
475
618
  */
476
- current<ThrowOnError extends boolean = false>(parameters?: {
477
- directory?: string;
478
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ScopeCurrentResponses, unknown, ThrowOnError, "fields">;
619
+ pinned<ThrowOnError extends boolean = false>(parameters?: {
620
+ limit?: number;
621
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalNavPinnedResponses, unknown, ThrowOnError, "fields">;
622
+ }
623
+ export declare class Global extends HeyApiClient {
479
624
  /**
480
- * Archive scope
625
+ * Get health
481
626
  *
482
- * Archive a scope. Archived scopes are hidden from the list but can be restored.
627
+ * Get health information about the Synergy server.
483
628
  */
484
- remove<ThrowOnError extends boolean = false>(parameters: {
485
- scopeID: string;
486
- directory?: string;
487
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ScopeRemoveResponses, unknown, ThrowOnError, "fields">;
629
+ health<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalHealthResponses, unknown, ThrowOnError, "fields">;
488
630
  /**
489
- * Update scope
631
+ * Dispose scope runtimes
490
632
  *
491
- * Update scope properties such as name, icon and color.
633
+ * Clean up and dispose all scope runtimes, releasing all scoped resources.
492
634
  */
493
- update<ThrowOnError extends boolean = false>(parameters: {
494
- scopeID: string;
495
- directory?: string;
496
- name?: string;
497
- icon?: {
498
- url?: string;
499
- color?: string;
500
- };
501
- archived?: number | null;
502
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ScopeUpdateResponses, ScopeUpdateErrors, ThrowOnError, "fields">;
635
+ dispose<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalDisposeResponses, unknown, ThrowOnError, "fields">;
636
+ paths: Paths;
637
+ filesystem: Filesystem;
638
+ git: Git;
639
+ stats: Stats;
640
+ agenda: Agenda;
641
+ session: Session;
642
+ nav: Nav;
503
643
  }
504
- export declare class Git extends HeyApiClient {
644
+ export declare class Credentials extends HeyApiClient {
505
645
  /**
506
- * Initialize git repository
646
+ * Check local credential status
507
647
  *
508
- * Initialize a git repository in the specified directory if one does not already exist.
648
+ * Check whether local Holos credentials exist without verifying them against the remote API. Returns existence, agent ID, and a masked secret.
509
649
  */
510
- init<ThrowOnError extends boolean = false>(parameters?: {
511
- query_directory?: string;
512
- body_directory?: string;
513
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GitInitResponses, GitInitErrors, ThrowOnError, "fields">;
650
+ status<ThrowOnError extends boolean = false>(parameters?: {
651
+ directory?: string;
652
+ scopeID?: string;
653
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosCredentialsStatusResponses, unknown, ThrowOnError, "fields">;
514
654
  }
515
- export declare class Pty extends HeyApiClient {
655
+ export declare class Accounts extends HeyApiClient {
516
656
  /**
517
- * List PTY sessions
657
+ * List Holos accounts
518
658
  *
519
- * Get a list of all active pseudo-terminal (PTY) sessions managed by Synergy.
659
+ * List all stored Holos accounts. Secrets are never included in the response.
520
660
  */
521
661
  list<ThrowOnError extends boolean = false>(parameters?: {
522
662
  directory?: string;
523
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyListResponses, unknown, ThrowOnError, "fields">;
663
+ scopeID?: string;
664
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosAccountsListResponses, unknown, ThrowOnError, "fields">;
524
665
  /**
525
- * Create PTY session
666
+ * Switch active Holos account
526
667
  *
527
- * Create a new pseudo-terminal (PTY) session for running shell commands and processes.
668
+ * Switch the active Holos account and reload the runtime to connect with new credentials.
528
669
  */
529
- create<ThrowOnError extends boolean = false>(parameters?: {
670
+ switch<ThrowOnError extends boolean = false>(parameters?: {
530
671
  directory?: string;
531
- command?: string;
532
- args?: Array<string>;
533
- cwd?: string;
534
- title?: string;
535
- env?: {
536
- [key: string]: string;
537
- };
538
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyCreateResponses, PtyCreateErrors, ThrowOnError, "fields">;
672
+ scopeID?: string;
673
+ agentId?: string;
674
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosAccountsSwitchResponses, HolosAccountsSwitchErrors, ThrowOnError, "fields">;
539
675
  /**
540
- * Remove PTY session
676
+ * Remove a Holos account
541
677
  *
542
- * Remove and terminate a specific pseudo-terminal (PTY) session.
678
+ * Remove a stored Holos account. If the account is active, stops the runtime and clears the active state.
543
679
  */
544
680
  remove<ThrowOnError extends boolean = false>(parameters: {
545
- ptyID: string;
681
+ agentId: string;
546
682
  directory?: string;
547
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyRemoveResponses, PtyRemoveErrors, ThrowOnError, "fields">;
683
+ scopeID?: string;
684
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosAccountsRemoveResponses, HolosAccountsRemoveErrors, ThrowOnError, "fields">;
685
+ }
686
+ export declare class Contact extends HeyApiClient {
548
687
  /**
549
- * Get PTY session
688
+ * List contacts
550
689
  *
551
- * Retrieve detailed information about a specific pseudo-terminal (PTY) session.
690
+ * List all contacts.
552
691
  */
553
- get<ThrowOnError extends boolean = false>(parameters: {
554
- ptyID: string;
692
+ list<ThrowOnError extends boolean = false>(parameters?: {
555
693
  directory?: string;
556
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyGetResponses, PtyGetErrors, ThrowOnError, "fields">;
694
+ scopeID?: string;
695
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosContactListResponses, unknown, ThrowOnError, "fields">;
557
696
  /**
558
- * Update PTY session
697
+ * Add contact
559
698
  *
560
- * Update properties of an existing pseudo-terminal (PTY) session.
699
+ * Add a new contact.
561
700
  */
562
- update<ThrowOnError extends boolean = false>(parameters: {
563
- ptyID: string;
701
+ add<ThrowOnError extends boolean = false>(parameters?: {
564
702
  directory?: string;
565
- title?: string;
566
- size?: {
567
- rows: number;
568
- cols: number;
569
- };
570
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyUpdateResponses, PtyUpdateErrors, ThrowOnError, "fields">;
703
+ scopeID?: string;
704
+ id?: string;
705
+ name?: string;
706
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosContactAddResponses, HolosContactAddErrors, ThrowOnError, "fields">;
571
707
  /**
572
- * Connect to PTY session
708
+ * Remove contact
573
709
  *
574
- * Establish a WebSocket connection to interact with a pseudo-terminal (PTY) session in real-time.
710
+ * Remove a contact.
575
711
  */
576
- connect<ThrowOnError extends boolean = false>(parameters: {
577
- ptyID: string;
712
+ remove<ThrowOnError extends boolean = false>(parameters: {
713
+ id: string;
578
714
  directory?: string;
579
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyConnectResponses, PtyConnectErrors, ThrowOnError, "fields">;
580
- }
581
- export declare class Raw extends HeyApiClient {
715
+ scopeID?: string;
716
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosContactRemoveResponses, unknown, ThrowOnError, "fields">;
582
717
  /**
583
- * Get Config Set raw
718
+ * Get contact
584
719
  *
585
- * Read a global Config Set raw JSONC source and parsed preview.
720
+ * Get a specific contact by ID.
586
721
  */
587
722
  get<ThrowOnError extends boolean = false>(parameters: {
588
- name: ConfigSetName;
723
+ id: string;
724
+ directory?: string;
725
+ scopeID?: string;
726
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosContactGetResponses, HolosContactGetErrors, ThrowOnError, "fields">;
727
+ /**
728
+ * Toggle contact blocked status
729
+ *
730
+ * Block or unblock a contact. Blocked contacts' messages are silently discarded.
731
+ */
732
+ toggleBlock<ThrowOnError extends boolean = false>(parameters: {
733
+ id: string;
589
734
  directory?: string;
590
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetRawGetResponses, ConfigSetRawGetErrors, ThrowOnError, "fields">;
735
+ scopeID?: string;
736
+ blocked?: boolean;
737
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosContactToggleBlockResponses, HolosContactToggleBlockErrors, ThrowOnError, "fields">;
738
+ }
739
+ export declare class Agents extends HeyApiClient {
591
740
  /**
592
- * Save Config Set raw
741
+ * List agents
593
742
  *
594
- * Save raw JSONC for a global Config Set after validation and optionally reload runtime if active.
743
+ * List available agents from the Holos platform.
595
744
  */
596
- save<ThrowOnError extends boolean = false>(parameters: {
597
- name: ConfigSetName;
745
+ list<ThrowOnError extends boolean = false>(parameters?: {
598
746
  directory?: string;
599
- configSetRawSaveInput?: ConfigSetRawSaveInput;
600
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetRawSaveResponses, ConfigSetRawSaveErrors, ThrowOnError, "fields">;
747
+ scopeID?: string;
748
+ limit?: number;
749
+ offset?: number;
750
+ need_active?: boolean;
751
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosAgentsListResponses, unknown, ThrowOnError, "fields">;
601
752
  /**
602
- * Validate Config Set raw
753
+ * Get agent
603
754
  *
604
- * Validate raw JSONC for a global Config Set without saving it.
755
+ * Get a specific agent's profile from the Holos platform.
605
756
  */
606
- validate<ThrowOnError extends boolean = false>(parameters: {
607
- name: ConfigSetName;
757
+ get<ThrowOnError extends boolean = false>(parameters: {
758
+ agentId: string;
608
759
  directory?: string;
609
- configSetRawValidateInput?: ConfigSetRawValidateInput;
610
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetRawValidateResponses, ConfigSetRawValidateErrors, ThrowOnError, "fields">;
760
+ scopeID?: string;
761
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosAgentsGetResponses, HolosAgentsGetErrors, ThrowOnError, "fields">;
611
762
  }
612
- export declare class _Set extends HeyApiClient {
763
+ export declare class Send extends HeyApiClient {
613
764
  /**
614
- * List Config Sets
765
+ * Retry sending a failed message
615
766
  *
616
- * List all global Config Sets and indicate which one is active.
767
+ * Attempt to resend a previously failed outbox message.
617
768
  */
618
- list<ThrowOnError extends boolean = false>(parameters?: {
769
+ retry<ThrowOnError extends boolean = false>(parameters: {
770
+ messageId: string;
619
771
  directory?: string;
620
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetListResponses, unknown, ThrowOnError, "fields">;
772
+ scopeID?: string;
773
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosSendRetryResponses, HolosSendRetryErrors, ThrowOnError, "fields">;
774
+ }
775
+ export declare class Inbox extends HeyApiClient {
621
776
  /**
622
- * Create Config Set
777
+ * List inbox messages
623
778
  *
624
- * Create a new global Config Set, defaulting to a copy of the current active raw global config.
779
+ * List all received messages, sorted by timestamp descending.
625
780
  */
626
- create<ThrowOnError extends boolean = false>(parameters?: {
781
+ list<ThrowOnError extends boolean = false>(parameters?: {
627
782
  directory?: string;
628
- configSetCreateInput?: ConfigSetCreateInput;
629
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetCreateResponses, ConfigSetCreateErrors, ThrowOnError, "fields">;
783
+ scopeID?: string;
784
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosInboxListResponses, unknown, ThrowOnError, "fields">;
785
+ }
786
+ export declare class Outbox extends HeyApiClient {
630
787
  /**
631
- * Delete Config Set
788
+ * List outbox messages
632
789
  *
633
- * Delete an inactive non-default global Config Set.
790
+ * List all sent messages, sorted by timestamp descending.
634
791
  */
635
- delete<ThrowOnError extends boolean = false>(parameters: {
636
- name: ConfigSetName;
792
+ list<ThrowOnError extends boolean = false>(parameters?: {
637
793
  directory?: string;
638
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetDeleteResponses, ConfigSetDeleteErrors, ThrowOnError, "fields">;
794
+ scopeID?: string;
795
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosOutboxListResponses, unknown, ThrowOnError, "fields">;
796
+ }
797
+ export declare class Thread extends HeyApiClient {
639
798
  /**
640
- * Get Config Set
799
+ * Get conversation thread
641
800
  *
642
- * Read a global Config Set and its raw configuration.
801
+ * Get all messages (inbound + outbound) with a specific contact.
643
802
  */
644
803
  get<ThrowOnError extends boolean = false>(parameters: {
645
- name: ConfigSetName;
804
+ contactId: string;
646
805
  directory?: string;
647
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetGetResponses, ConfigSetGetErrors, ThrowOnError, "fields">;
806
+ scopeID?: string;
807
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosThreadGetResponses, unknown, ThrowOnError, "fields">;
808
+ }
809
+ export declare class Holos extends HeyApiClient {
810
+ /**
811
+ * Initiate Holos login
812
+ *
813
+ * Generate a Holos bind URL for browser-based login. Returns a URL to open in a popup.
814
+ */
815
+ login<ThrowOnError extends boolean = false>(parameters?: {
816
+ callbackUrl?: string;
817
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosLoginResponses, unknown, ThrowOnError, "fields">;
648
818
  /**
649
- * Update Config Set
819
+ * Holos login callback
650
820
  *
651
- * Patch a global Config Set raw configuration.
821
+ * Handles the redirect from Holos after user login. Exchanges the code for credentials.
652
822
  */
653
- update<ThrowOnError extends boolean = false>(parameters: {
654
- name: ConfigSetName;
655
- directory?: string;
656
- config?: Config2;
657
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetUpdateResponses, ConfigSetUpdateErrors, ThrowOnError, "fields">;
823
+ callback<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosCallbackResponses, unknown, ThrowOnError, "fields">;
658
824
  /**
659
- * Activate Config Set
825
+ * Clear active Holos credentials
660
826
  *
661
- * Activate a global Config Set and reload global runtime configuration.
827
+ * Remove the active Holos account credentials and stop the Holos runtime. Used for sign-out.
662
828
  */
663
- activate<ThrowOnError extends boolean = false>(parameters: {
664
- name: ConfigSetName;
829
+ logout<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosLogoutResponses, unknown, ThrowOnError, "fields">;
830
+ /**
831
+ * Set agent credentials
832
+ *
833
+ * Validate and save existing agent credentials. Validates by fetching a ws_token, then saves and reloads the Holos runtime.
834
+ */
835
+ credentials<ThrowOnError extends boolean = false>(parameters?: {
836
+ agentId?: string;
837
+ agentSecret?: string;
838
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosCredentialsResponses, HolosCredentialsErrors, ThrowOnError, "fields">;
839
+ /**
840
+ * Reconnect Holos runtime
841
+ *
842
+ * Reload the Holos runtime connection. Useful when the WebSocket disconnects.
843
+ */
844
+ reconnect<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosReconnectResponses, HolosReconnectErrors, ThrowOnError, "fields">;
845
+ /**
846
+ * Get unified Holos state
847
+ *
848
+ * Return a unified Holos state surface combining identity, connection, capability, entitlement, profile, contact, request, and presence data.
849
+ */
850
+ state<ThrowOnError extends boolean = false>(parameters?: {
665
851
  directory?: string;
666
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetActivateResponses, ConfigSetActivateErrors, ThrowOnError, "fields">;
667
- raw: Raw;
668
- }
669
- export declare class Config extends HeyApiClient {
852
+ scopeID?: string;
853
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosStateResponses, unknown, ThrowOnError, "fields">;
670
854
  /**
671
- * Get configuration
855
+ * Verify Holos credentials
672
856
  *
673
- * Retrieve the current Synergy configuration settings and preferences.
857
+ * Check whether the stored agent credentials are still valid by attempting to fetch a ws_token from Holos.
674
858
  */
675
- get<ThrowOnError extends boolean = false>(parameters?: {
859
+ verify<ThrowOnError extends boolean = false>(parameters?: {
676
860
  directory?: string;
677
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigGetResponses, unknown, ThrowOnError, "fields">;
861
+ scopeID?: string;
862
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosVerifyResponses, unknown, ThrowOnError, "fields">;
678
863
  /**
679
- * Update configuration
864
+ * Get Holos connection status
680
865
  *
681
- * Update Synergy configuration settings and preferences.
866
+ * Return the current connection status for the active account. Non-active accounts show as disconnected.
682
867
  */
683
- update<ThrowOnError extends boolean = false>(parameters?: {
868
+ status<ThrowOnError extends boolean = false>(parameters?: {
684
869
  directory?: string;
685
- config?: Config2;
686
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigUpdateResponses, ConfigUpdateErrors, ThrowOnError, "fields">;
870
+ scopeID?: string;
871
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosStatusResponses, unknown, ThrowOnError, "fields">;
687
872
  /**
688
- * Get global configuration
873
+ * Get friend presence
689
874
  *
690
- * Retrieve only the active global Config Set raw configuration (without project or remote layers).
875
+ * Get the online/offline status of all contacts from the presence cache.
691
876
  */
692
- global<ThrowOnError extends boolean = false>(parameters?: {
877
+ presence<ThrowOnError extends boolean = false>(parameters?: {
693
878
  directory?: string;
694
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigGlobalResponses, unknown, ThrowOnError, "fields">;
879
+ scopeID?: string;
880
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosPresenceResponses, unknown, ThrowOnError, "fields">;
695
881
  /**
696
- * List config providers
882
+ * Send message to Holos contact
697
883
  *
698
- * Get a list of all configured AI providers and their default models.
884
+ * Send a text message to a Holos agent by ID. Messages are sent via WebSocket. If the recipient is offline, the message will be marked as failed.
699
885
  */
700
- providers<ThrowOnError extends boolean = false>(parameters?: {
886
+ send<ThrowOnError extends boolean = false>(parameters?: {
701
887
  directory?: string;
702
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigProvidersResponses, unknown, ThrowOnError, "fields">;
703
- set: _Set;
888
+ scopeID?: string;
889
+ toId?: string;
890
+ text?: string;
891
+ replyToMessageId?: string;
892
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosSendResponses, unknown, ThrowOnError, "fields">;
893
+ credentials2: Credentials;
894
+ accounts: Accounts;
895
+ contact: Contact;
896
+ agents: Agents;
897
+ send2: Send;
898
+ inbox: Inbox;
899
+ outbox: Outbox;
900
+ thread: Thread;
704
901
  }
705
902
  export declare class Runtime extends HeyApiClient {
706
903
  /**
@@ -710,397 +907,394 @@ export declare class Runtime extends HeyApiClient {
710
907
  */
711
908
  reload<ThrowOnError extends boolean = false>(parameters?: {
712
909
  directory?: string;
910
+ scopeID?: string;
713
911
  targets?: Array<RuntimeReloadTarget>;
714
912
  scope?: RuntimeReloadScope;
715
913
  force?: boolean;
716
914
  reason?: string;
717
915
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<RuntimeReloadResponses, RuntimeReloadErrors, ThrowOnError, "fields">;
718
- }
719
- export declare class Tool extends HeyApiClient {
720
916
  /**
721
- * List tool IDs
917
+ * Dispose scope runtime
722
918
  *
723
- * Get a list of all available tool IDs, including both built-in tools and dynamically registered tools.
919
+ * Clean up and dispose the current scope runtime, releasing scoped resources.
724
920
  */
725
- ids<ThrowOnError extends boolean = false>(parameters?: {
921
+ dispose<ThrowOnError extends boolean = false>(parameters?: {
726
922
  directory?: string;
727
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ToolIdsResponses, ToolIdsErrors, ThrowOnError, "fields">;
923
+ scopeID?: string;
924
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ScopeRuntimeDisposeResponses, unknown, ThrowOnError, "fields">;
728
925
  /**
729
- * List tools
926
+ * Stop plugin runtime
730
927
  *
731
- * Get a list of available tools with their JSON schema parameters for a specific provider and model combination.
928
+ * Gracefully stop the plugin runtime process.
732
929
  */
733
- list<ThrowOnError extends boolean = false>(parameters: {
930
+ stop<ThrowOnError extends boolean = false>(parameters: {
931
+ pluginId: string;
734
932
  directory?: string;
735
- provider: string;
736
- model: string;
737
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ToolListResponses, ToolListErrors, ThrowOnError, "fields">;
738
- }
739
- export declare class Instance extends HeyApiClient {
933
+ scopeID?: string;
934
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PluginRuntimeStopResponses, PluginRuntimeStopErrors, ThrowOnError, "fields">;
740
935
  /**
741
- * Dispose instance
936
+ * Start plugin runtime
742
937
  *
743
- * Clean up and dispose the current Synergy instance, releasing all resources.
938
+ * Start the plugin runtime process.
744
939
  */
745
- dispose<ThrowOnError extends boolean = false>(parameters?: {
940
+ start<ThrowOnError extends boolean = false>(parameters: {
941
+ pluginId: string;
746
942
  directory?: string;
747
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<InstanceDisposeResponses, unknown, ThrowOnError, "fields">;
748
- }
749
- export declare class Path extends HeyApiClient {
943
+ scopeID?: string;
944
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PluginRuntimeStartResponses, PluginRuntimeStartErrors, ThrowOnError, "fields">;
750
945
  /**
751
- * Get paths
946
+ * Get plugin runtime logs
752
947
  *
753
- * Retrieve the current working directory and related path information for the Synergy instance.
948
+ * Return recent log entries for the plugin runtime.
754
949
  */
755
- get<ThrowOnError extends boolean = false>(parameters?: {
950
+ logs<ThrowOnError extends boolean = false>(parameters: {
951
+ pluginId: string;
756
952
  directory?: string;
757
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PathGetResponses, unknown, ThrowOnError, "fields">;
953
+ scopeID?: string;
954
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PluginRuntimeLogsResponses, PluginRuntimeLogsErrors, ThrowOnError, "fields">;
758
955
  }
759
- export declare class Worktree extends HeyApiClient {
956
+ export declare class Scope extends HeyApiClient {
760
957
  /**
761
- * List worktrees
958
+ * List all scopes
762
959
  *
763
- * List all sandbox worktrees for the current project.
960
+ * Get a list of scopes that have been opened with Synergy.
764
961
  */
765
962
  list<ThrowOnError extends boolean = false>(parameters?: {
766
963
  directory?: string;
767
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeListResponses, unknown, ThrowOnError, "fields">;
964
+ scopeID?: string;
965
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ScopeListResponses, unknown, ThrowOnError, "fields">;
768
966
  /**
769
- * Create worktree
967
+ * Get current scope
770
968
  *
771
- * Create a new git worktree for the current project.
969
+ * Retrieve the currently active scope that Synergy is working with.
772
970
  */
773
- create<ThrowOnError extends boolean = false>(parameters?: {
971
+ current<ThrowOnError extends boolean = false>(parameters?: {
774
972
  directory?: string;
775
- worktreeCreateInput?: WorktreeCreateInput;
776
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeCreateResponses, WorktreeCreateErrors, ThrowOnError, "fields">;
777
- }
778
- export declare class Vcs extends HeyApiClient {
973
+ scopeID?: string;
974
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ScopeCurrentResponses, unknown, ThrowOnError, "fields">;
779
975
  /**
780
- * Get VCS info
976
+ * List scope navigation entries
781
977
  *
782
- * Retrieve version control system (VCS) information for the current project, such as git branch.
978
+ * Get navigation entries for all known scopes, sorted by latest session activity.
783
979
  */
784
- get<ThrowOnError extends boolean = false>(parameters?: {
980
+ index<ThrowOnError extends boolean = false>(parameters?: {
785
981
  directory?: string;
786
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsGetResponses, unknown, ThrowOnError, "fields">;
787
- }
788
- export declare class Export extends HeyApiClient {
982
+ scopeID?: string;
983
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ScopeIndexResponses, unknown, ThrowOnError, "fields">;
789
984
  /**
790
- * Estimate session export size
985
+ * Archive scope
791
986
  *
792
- * Estimate the size of a session export for a session and its subsessions.
987
+ * Archive a scope. Archived scopes are hidden from the list but can be restored.
793
988
  */
794
- estimate<ThrowOnError extends boolean = false>(parameters: {
795
- sessionID: string;
989
+ remove<ThrowOnError extends boolean = false>(parameters: {
990
+ path_scopeID: string;
796
991
  directory?: string;
797
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionExportEstimateResponses, SessionExportEstimateErrors, ThrowOnError, "fields">;
992
+ query_scopeID?: string;
993
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ScopeRemoveResponses, unknown, ThrowOnError, "fields">;
798
994
  /**
799
- * Export session data
995
+ * Update scope
800
996
  *
801
- * Generate and download exported session data for a session and all its subsessions.
997
+ * Update scope properties such as name, icon and color.
802
998
  */
803
- download<ThrowOnError extends boolean = false>(parameters: {
804
- sessionID: string;
999
+ update<ThrowOnError extends boolean = false>(parameters: {
1000
+ path_scopeID: string;
805
1001
  directory?: string;
806
- mode?: SessionExportMode;
807
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionExportDownloadResponses, SessionExportDownloadErrors, ThrowOnError, "fields">;
1002
+ query_scopeID?: string;
1003
+ name?: string;
1004
+ icon?: {
1005
+ url?: string;
1006
+ color?: string;
1007
+ };
1008
+ archived?: number | null;
1009
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ScopeUpdateResponses, ScopeUpdateErrors, ThrowOnError, "fields">;
1010
+ runtime: Runtime;
808
1011
  }
809
- export declare class Session extends HeyApiClient {
1012
+ export declare class Pty extends HeyApiClient {
810
1013
  /**
811
- * List sessions
1014
+ * List PTY sessions
812
1015
  *
813
- * Get a paginated list of Synergy sessions, sorted by most recently updated.
1016
+ * Get a list of all active pseudo-terminal (PTY) sessions managed by Synergy.
814
1017
  */
815
1018
  list<ThrowOnError extends boolean = false>(parameters?: {
816
1019
  directory?: string;
817
- offset?: number;
818
- limit?: number;
819
- search?: string;
820
- since?: number;
821
- before?: number;
822
- pinned?: boolean;
823
- parentOnly?: boolean;
824
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionListResponses, unknown, ThrowOnError, "fields">;
1020
+ scopeID?: string;
1021
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyListResponses, unknown, ThrowOnError, "fields">;
825
1022
  /**
826
- * Create session
1023
+ * Create PTY session
827
1024
  *
828
- * Create a new Synergy session for interacting with AI assistants and managing conversations.
1025
+ * Create a new pseudo-terminal (PTY) session for running shell commands and processes.
829
1026
  */
830
1027
  create<ThrowOnError extends boolean = false>(parameters?: {
831
1028
  directory?: string;
832
- parentID?: string;
1029
+ scopeID?: string;
1030
+ command?: string;
1031
+ args?: Array<string>;
1032
+ cwd?: string;
833
1033
  title?: string;
834
- id?: string;
835
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionCreateResponses, SessionCreateErrors, ThrowOnError, "fields">;
1034
+ env?: {
1035
+ [key: string]: string;
1036
+ };
1037
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyCreateResponses, PtyCreateErrors, ThrowOnError, "fields">;
836
1038
  /**
837
- * Get session status
1039
+ * Remove PTY session
838
1040
  *
839
- * Retrieve the current status of all sessions, including active, idle, and completed states.
1041
+ * Remove and terminate a specific pseudo-terminal (PTY) session.
840
1042
  */
841
- status<ThrowOnError extends boolean = false>(parameters?: {
1043
+ remove<ThrowOnError extends boolean = false>(parameters: {
1044
+ ptyID: string;
842
1045
  directory?: string;
843
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionStatusResponses, SessionStatusErrors, ThrowOnError, "fields">;
844
- /**
845
- * Delete session
846
- *
847
- * Delete a session and permanently remove all associated data, including messages and history.
848
- */
849
- delete<ThrowOnError extends boolean = false>(parameters: {
850
- sessionID: string;
851
- directory?: string;
852
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDeleteResponses, SessionDeleteErrors, ThrowOnError, "fields">;
1046
+ scopeID?: string;
1047
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyRemoveResponses, PtyRemoveErrors, ThrowOnError, "fields">;
853
1048
  /**
854
- * Get session
1049
+ * Get PTY session
855
1050
  *
856
- * Retrieve detailed information about a specific Synergy session.
1051
+ * Retrieve detailed information about a specific pseudo-terminal (PTY) session.
857
1052
  */
858
1053
  get<ThrowOnError extends boolean = false>(parameters: {
859
- sessionID: string;
1054
+ ptyID: string;
860
1055
  directory?: string;
861
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionGetResponses, SessionGetErrors, ThrowOnError, "fields">;
1056
+ scopeID?: string;
1057
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyGetResponses, PtyGetErrors, ThrowOnError, "fields">;
862
1058
  /**
863
- * Update session
1059
+ * Update PTY session
864
1060
  *
865
- * Update properties of an existing session, such as title or other metadata.
1061
+ * Update properties of an existing pseudo-terminal (PTY) session.
866
1062
  */
867
1063
  update<ThrowOnError extends boolean = false>(parameters: {
868
- sessionID: string;
1064
+ ptyID: string;
869
1065
  directory?: string;
1066
+ scopeID?: string;
870
1067
  title?: string;
871
- pinned?: number;
872
- time?: {
873
- archived?: number;
1068
+ size?: {
1069
+ rows: number;
1070
+ cols: number;
874
1071
  };
875
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUpdateResponses, SessionUpdateErrors, ThrowOnError, "fields">;
1072
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyUpdateResponses, PtyUpdateErrors, ThrowOnError, "fields">;
876
1073
  /**
877
- * Get session children
1074
+ * Connect to PTY session
878
1075
  *
879
- * Retrieve all child sessions that were forked from the specified parent session.
1076
+ * Establish a WebSocket connection to interact with a pseudo-terminal (PTY) session in real-time.
880
1077
  */
881
- children<ThrowOnError extends boolean = false>(parameters: {
882
- sessionID: string;
1078
+ connect<ThrowOnError extends boolean = false>(parameters: {
1079
+ ptyID: string;
883
1080
  directory?: string;
884
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionChildrenResponses, SessionChildrenErrors, ThrowOnError, "fields">;
1081
+ scopeID?: string;
1082
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyConnectResponses, PtyConnectErrors, ThrowOnError, "fields">;
1083
+ }
1084
+ export declare class Domain extends HeyApiClient {
885
1085
  /**
886
- * Get session todos
1086
+ * List config domains
887
1087
  *
888
- * Retrieve the todo list associated with a specific session, showing tasks and action items.
1088
+ * List canonical config domains and their current global fragments.
889
1089
  */
890
- todo<ThrowOnError extends boolean = false>(parameters: {
891
- sessionID: string;
1090
+ list<ThrowOnError extends boolean = false>(parameters?: {
892
1091
  directory?: string;
893
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionTodoResponses, SessionTodoErrors, ThrowOnError, "fields">;
1092
+ scopeID?: string;
1093
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigDomainListResponses, unknown, ThrowOnError, "fields">;
894
1094
  /**
895
- * Get session DAG
1095
+ * Get config domain
896
1096
  *
897
- * Retrieve the task DAG associated with a specific session.
1097
+ * Read one canonical global config domain fragment.
898
1098
  */
899
- dag<ThrowOnError extends boolean = false>(parameters: {
900
- sessionID: string;
1099
+ get<ThrowOnError extends boolean = false>(parameters: {
1100
+ domain: "general" | "models" | "providers" | "engram" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime";
901
1101
  directory?: string;
902
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDagResponses, SessionDagErrors, ThrowOnError, "fields">;
1102
+ scopeID?: string;
1103
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigDomainGetResponses, ConfigDomainGetErrors, ThrowOnError, "fields">;
903
1104
  /**
904
- * Initialize session
1105
+ * Update config domain
905
1106
  *
906
- * Analyze the current application and create an AGENTS.md file with project-specific agent configurations.
1107
+ * Update one canonical global config domain fragment.
907
1108
  */
908
- init<ThrowOnError extends boolean = false>(parameters: {
909
- sessionID: string;
1109
+ update<ThrowOnError extends boolean = false>(parameters: {
1110
+ domain: "general" | "models" | "providers" | "engram" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime";
910
1111
  directory?: string;
911
- modelID?: string;
912
- providerID?: string;
913
- messageID?: string;
914
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionInitResponses, SessionInitErrors, ThrowOnError, "fields">;
1112
+ scopeID?: string;
1113
+ configDomainUpdateInput?: ConfigDomainUpdateInput;
1114
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigDomainUpdateResponses, ConfigDomainUpdateErrors, ThrowOnError, "fields">;
1115
+ }
1116
+ export declare class Import extends HeyApiClient {
915
1117
  /**
916
- * Fork session
1118
+ * Plan config import
917
1119
  *
918
- * Create a new session by forking an existing session at a specific message point.
1120
+ * Create a dry-run plan for importing selected config domains.
919
1121
  */
920
- fork<ThrowOnError extends boolean = false>(parameters: {
921
- sessionID: string;
1122
+ plan<ThrowOnError extends boolean = false>(parameters?: {
922
1123
  directory?: string;
923
- messageID?: string;
924
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionForkResponses, unknown, ThrowOnError, "fields">;
1124
+ scopeID?: string;
1125
+ configDomainImportPlanInput?: ConfigDomainImportPlanInput;
1126
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigImportPlanResponses, ConfigImportPlanErrors, ThrowOnError, "fields">;
925
1127
  /**
926
- * Abort session
1128
+ * Apply config import
927
1129
  *
928
- * Abort an active session and stop any ongoing AI processing or command execution.
1130
+ * Apply a selected-domain config import plan.
929
1131
  */
930
- abort<ThrowOnError extends boolean = false>(parameters: {
931
- sessionID: string;
1132
+ apply<ThrowOnError extends boolean = false>(parameters?: {
932
1133
  directory?: string;
933
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionAbortResponses, SessionAbortErrors, ThrowOnError, "fields">;
1134
+ scopeID?: string;
1135
+ config?: Config2;
1136
+ only?: Array<"general" | "models" | "providers" | "engram" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime">;
1137
+ mode?: "merge" | "replace-domain" | "append";
1138
+ yes?: boolean;
1139
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigImportApplyResponses, ConfigImportApplyErrors, ThrowOnError, "fields">;
1140
+ }
1141
+ export declare class Config extends HeyApiClient {
934
1142
  /**
935
- * Summarize session
1143
+ * Get configuration
936
1144
  *
937
- * Generate a concise summary of the session using AI compaction to preserve key information.
1145
+ * Retrieve the current Synergy configuration settings and preferences.
938
1146
  */
939
- summarize<ThrowOnError extends boolean = false>(parameters: {
940
- sessionID: string;
1147
+ get<ThrowOnError extends boolean = false>(parameters?: {
941
1148
  directory?: string;
942
- providerID?: string;
943
- modelID?: string;
944
- auto?: boolean;
945
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionSummarizeResponses, SessionSummarizeErrors, ThrowOnError, "fields">;
1149
+ scopeID?: string;
1150
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigGetResponses, unknown, ThrowOnError, "fields">;
946
1151
  /**
947
- * Get session messages
1152
+ * Update configuration
948
1153
  *
949
- * Retrieve all messages in a session, including user prompts and AI responses.
1154
+ * Update Synergy configuration settings and preferences.
950
1155
  */
951
- messages<ThrowOnError extends boolean = false>(parameters: {
952
- sessionID: string;
1156
+ update<ThrowOnError extends boolean = false>(parameters?: {
953
1157
  directory?: string;
954
- limit?: number;
955
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMessagesResponses, SessionMessagesErrors, ThrowOnError, "fields">;
1158
+ scopeID?: string;
1159
+ config?: Config2;
1160
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigUpdateResponses, ConfigUpdateErrors, ThrowOnError, "fields">;
956
1161
  /**
957
- * Send message
1162
+ * Get global configuration
958
1163
  *
959
- * Create and send a new message to a session, streaming the AI response.
1164
+ * Retrieve only the canonical global domain configuration.
960
1165
  */
961
- prompt<ThrowOnError extends boolean = false>(parameters: {
962
- sessionID: string;
1166
+ global<ThrowOnError extends boolean = false>(parameters?: {
963
1167
  directory?: string;
964
- messageID?: string;
965
- model?: {
966
- providerID: string;
967
- modelID: string;
968
- };
969
- agent?: string;
970
- noReply?: boolean;
971
- metadata?: {
972
- [key: string]: unknown;
973
- };
974
- summary?: {
975
- title?: string;
976
- };
977
- tools?: {
978
- [key: string]: boolean;
979
- };
980
- system?: string;
981
- variant?: string;
982
- parts?: Array<TextPartInput | FilePartInput>;
983
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionPromptResponses, SessionPromptErrors, ThrowOnError, "fields">;
1168
+ scopeID?: string;
1169
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigGlobalResponses, unknown, ThrowOnError, "fields">;
984
1170
  /**
985
- * Get session diff
1171
+ * List config providers
986
1172
  *
987
- * Get all file changes (diffs) made during this session.
1173
+ * Get a list of all configured AI providers and their default models.
988
1174
  */
989
- diff<ThrowOnError extends boolean = false>(parameters: {
990
- sessionID: string;
1175
+ providers<ThrowOnError extends boolean = false>(parameters?: {
991
1176
  directory?: string;
992
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDiffResponses, SessionDiffErrors, ThrowOnError, "fields">;
1177
+ scopeID?: string;
1178
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigProvidersResponses, unknown, ThrowOnError, "fields">;
1179
+ domain: Domain;
1180
+ import: Import;
1181
+ }
1182
+ export declare class ControlProfile extends HeyApiClient {
993
1183
  /**
994
- * Get message
1184
+ * List control profiles
995
1185
  *
996
- * Retrieve a specific message from a session by its message ID.
1186
+ * List all available control profiles with their ids, labels, and descriptions.
997
1187
  */
998
- message<ThrowOnError extends boolean = false>(parameters: {
999
- sessionID: string;
1000
- messageID: string;
1188
+ list<ThrowOnError extends boolean = false>(parameters?: {
1001
1189
  directory?: string;
1002
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMessageResponses, SessionMessageErrors, ThrowOnError, "fields">;
1190
+ scopeID?: string;
1191
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ControlProfileListResponses, unknown, ThrowOnError, "fields">;
1003
1192
  /**
1004
- * Send async message
1193
+ * Get effective control profile
1005
1194
  *
1006
- * Create and send a new message to a session asynchronously, starting the session if needed and returning immediately.
1195
+ * Resolve the effective control profile for a given agent or the default. Precedence: agent config > top-level config > guarded default.
1007
1196
  */
1008
- promptAsync<ThrowOnError extends boolean = false>(parameters: {
1009
- sessionID: string;
1197
+ effective<ThrowOnError extends boolean = false>(parameters?: {
1010
1198
  directory?: string;
1011
- messageID?: string;
1012
- model?: {
1013
- providerID: string;
1014
- modelID: string;
1015
- };
1199
+ scopeID?: string;
1016
1200
  agent?: string;
1017
- noReply?: boolean;
1018
- metadata?: {
1019
- [key: string]: unknown;
1020
- };
1021
- summary?: {
1022
- title?: string;
1023
- };
1024
- tools?: {
1025
- [key: string]: boolean;
1026
- };
1027
- system?: string;
1028
- variant?: string;
1029
- parts?: Array<TextPartInput | FilePartInput>;
1030
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionPromptAsyncResponses, SessionPromptAsyncErrors, ThrowOnError, "fields">;
1201
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ControlProfileEffectiveResponses, ControlProfileEffectiveErrors, ThrowOnError, "fields">;
1202
+ }
1203
+ export declare class Sandbox extends HeyApiClient {
1031
1204
  /**
1032
- * Send command
1205
+ * Get sandbox status
1033
1206
  *
1034
- * Send a new command to a session for execution by the AI assistant. Returns immediately; the agent processes the command asynchronously.
1207
+ * Get the current sandbox platform availability and backend information.
1035
1208
  */
1036
- command<ThrowOnError extends boolean = false>(parameters: {
1037
- sessionID: string;
1209
+ status<ThrowOnError extends boolean = false>(parameters?: {
1038
1210
  directory?: string;
1039
- messageID?: string;
1040
- agent?: string;
1041
- model?: string;
1042
- arguments?: string;
1043
- command?: string;
1044
- variant?: string;
1045
- parts?: Array<{
1046
- id?: string;
1047
- type: "file";
1048
- mime: string;
1049
- filename?: string;
1050
- url: string;
1051
- localPath?: string;
1052
- source?: FilePartSource;
1053
- metadata?: {
1054
- [key: string]: unknown;
1055
- };
1056
- }>;
1057
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionCommandResponses, SessionCommandErrors, ThrowOnError, "fields">;
1211
+ scopeID?: string;
1212
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SandboxStatusResponses, unknown, ThrowOnError, "fields">;
1058
1213
  /**
1059
- * Run shell command
1214
+ * Get sandbox readiness
1060
1215
  *
1061
- * Execute a shell command within the session context and return the AI's response.
1216
+ * Platform-specific sandbox health checks. Returns readiness status with per-check diagnostics for macOS, Linux, and Windows.
1062
1217
  */
1063
- shell<ThrowOnError extends boolean = false>(parameters: {
1064
- sessionID: string;
1218
+ readiness<ThrowOnError extends boolean = false>(parameters?: {
1065
1219
  directory?: string;
1066
- agent?: string;
1067
- model?: {
1068
- providerID: string;
1069
- modelID: string;
1070
- };
1071
- command?: string;
1072
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionShellResponses, SessionShellErrors, ThrowOnError, "fields">;
1220
+ scopeID?: string;
1221
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SandboxReadinessResponses, unknown, ThrowOnError, "fields">;
1222
+ }
1223
+ export declare class Tool extends HeyApiClient {
1073
1224
  /**
1074
- * Revert message
1225
+ * List tool IDs
1075
1226
  *
1076
- * Revert a specific message in a session, undoing its effects and restoring the previous state.
1227
+ * Get a list of all available tool IDs, including both built-in tools and dynamically registered tools.
1077
1228
  */
1078
- revert<ThrowOnError extends boolean = false>(parameters: {
1079
- sessionID: string;
1229
+ ids<ThrowOnError extends boolean = false>(parameters?: {
1080
1230
  directory?: string;
1081
- messageID?: string;
1082
- partID?: string;
1083
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionRevertResponses, SessionRevertErrors, ThrowOnError, "fields">;
1231
+ scopeID?: string;
1232
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ToolIdsResponses, ToolIdsErrors, ThrowOnError, "fields">;
1084
1233
  /**
1085
- * Restore reverted messages
1234
+ * List tools
1086
1235
  *
1087
- * Restore all previously reverted messages in a session.
1236
+ * Get a list of available tools with their JSON schema parameters for a specific provider and model combination.
1088
1237
  */
1089
- unrevert<ThrowOnError extends boolean = false>(parameters: {
1090
- sessionID: string;
1238
+ list<ThrowOnError extends boolean = false>(parameters: {
1091
1239
  directory?: string;
1092
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUnrevertResponses, SessionUnrevertErrors, ThrowOnError, "fields">;
1093
- export: Export;
1240
+ scopeID?: string;
1241
+ provider: string;
1242
+ model: string;
1243
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ToolListResponses, ToolListErrors, ThrowOnError, "fields">;
1094
1244
  }
1095
- export declare class Part extends HeyApiClient {
1245
+ export declare class Path extends HeyApiClient {
1096
1246
  /**
1097
- * Delete a part from a message
1247
+ * Get paths
1248
+ *
1249
+ * Retrieve the current working directory and related path information for the active scope context.
1098
1250
  */
1099
- delete<ThrowOnError extends boolean = false>(parameters: {
1100
- sessionID: string;
1251
+ get<ThrowOnError extends boolean = false>(parameters?: {
1252
+ directory?: string;
1253
+ scopeID?: string;
1254
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PathGetResponses, unknown, ThrowOnError, "fields">;
1255
+ }
1256
+ export declare class Worktree extends HeyApiClient {
1257
+ /**
1258
+ * List worktrees
1259
+ *
1260
+ * List git worktrees for the current project, combining git worktree state with Synergy metadata.
1261
+ */
1262
+ list<ThrowOnError extends boolean = false>(parameters?: {
1263
+ directory?: string;
1264
+ scopeID?: string;
1265
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeListResponses, unknown, ThrowOnError, "fields">;
1266
+ /**
1267
+ * Create worktree
1268
+ *
1269
+ * Create a new git worktree for the current project.
1270
+ */
1271
+ create<ThrowOnError extends boolean = false>(parameters?: {
1272
+ directory?: string;
1273
+ scopeID?: string;
1274
+ worktreeCreateInput?: WorktreeCreateInput;
1275
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeCreateResponses, WorktreeCreateErrors, ThrowOnError, "fields">;
1276
+ }
1277
+ export declare class Vcs extends HeyApiClient {
1278
+ /**
1279
+ * Get VCS info
1280
+ *
1281
+ * Retrieve version control system (VCS) information for the current project, such as git branch.
1282
+ */
1283
+ get<ThrowOnError extends boolean = false>(parameters?: {
1284
+ directory?: string;
1285
+ scopeID?: string;
1286
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsGetResponses, unknown, ThrowOnError, "fields">;
1287
+ }
1288
+ export declare class Part extends HeyApiClient {
1289
+ /**
1290
+ * Delete a part from a message
1291
+ */
1292
+ delete<ThrowOnError extends boolean = false>(parameters: {
1293
+ sessionID: string;
1101
1294
  messageID: string;
1102
1295
  partID: string;
1103
1296
  directory?: string;
1297
+ scopeID?: string;
1104
1298
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PartDeleteResponses, PartDeleteErrors, ThrowOnError, "fields">;
1105
1299
  /**
1106
1300
  * Update a part in a message
@@ -1110,6 +1304,7 @@ export declare class Part extends HeyApiClient {
1110
1304
  messageID: string;
1111
1305
  partID: string;
1112
1306
  directory?: string;
1307
+ scopeID?: string;
1113
1308
  part?: Part2;
1114
1309
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PartUpdateResponses, PartUpdateErrors, ThrowOnError, "fields">;
1115
1310
  }
@@ -1125,516 +1320,909 @@ export declare class Permission extends HeyApiClient {
1125
1320
  sessionID: string;
1126
1321
  permissionID: string;
1127
1322
  directory?: string;
1128
- response?: "once" | "reject";
1323
+ scopeID?: string;
1324
+ response?: "once" | "session" | "always" | "reject";
1129
1325
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionRespondResponses, PermissionRespondErrors, ThrowOnError, "fields">;
1130
1326
  /**
1131
- * Respond to permission request
1327
+ * Respond to permission request
1328
+ *
1329
+ * Approve or deny a permission request from the AI assistant.
1330
+ */
1331
+ reply<ThrowOnError extends boolean = false>(parameters: {
1332
+ requestID: string;
1333
+ directory?: string;
1334
+ scopeID?: string;
1335
+ reply?: "once" | "session" | "always" | "reject";
1336
+ message?: string;
1337
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionReplyResponses, PermissionReplyErrors, ThrowOnError, "fields">;
1338
+ /**
1339
+ * List pending permissions
1340
+ *
1341
+ * Get all pending permission requests across all sessions.
1342
+ */
1343
+ list<ThrowOnError extends boolean = false>(parameters?: {
1344
+ directory?: string;
1345
+ scopeID?: string;
1346
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionListResponses, unknown, ThrowOnError, "fields">;
1347
+ }
1348
+ export declare class Question extends HeyApiClient {
1349
+ /**
1350
+ * List pending questions
1351
+ *
1352
+ * Get all pending question requests across all sessions.
1353
+ */
1354
+ list<ThrowOnError extends boolean = false>(parameters?: {
1355
+ directory?: string;
1356
+ scopeID?: string;
1357
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionListResponses, unknown, ThrowOnError, "fields">;
1358
+ /**
1359
+ * Reply to question request
1360
+ *
1361
+ * Provide answers to a question request from the AI assistant.
1362
+ */
1363
+ reply<ThrowOnError extends boolean = false>(parameters: {
1364
+ requestID: string;
1365
+ directory?: string;
1366
+ scopeID?: string;
1367
+ answers?: Array<QuestionAnswer>;
1368
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionReplyResponses, QuestionReplyErrors, ThrowOnError, "fields">;
1369
+ /**
1370
+ * Reject question request
1371
+ *
1372
+ * Reject a question request from the AI assistant.
1373
+ */
1374
+ reject<ThrowOnError extends boolean = false>(parameters: {
1375
+ requestID: string;
1376
+ directory?: string;
1377
+ scopeID?: string;
1378
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionRejectResponses, QuestionRejectErrors, ThrowOnError, "fields">;
1379
+ }
1380
+ export declare class Cortex extends HeyApiClient {
1381
+ /**
1382
+ * List Cortex tasks
1383
+ *
1384
+ * List all background tasks, optionally filtered by session
1385
+ */
1386
+ list<ThrowOnError extends boolean = false>(parameters?: {
1387
+ directory?: string;
1388
+ scopeID?: string;
1389
+ sessionID?: string;
1390
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CortexListResponses, CortexListErrors, ThrowOnError, "fields">;
1391
+ /**
1392
+ * Get Cortex task
1393
+ *
1394
+ * Get a specific background task by ID
1395
+ */
1396
+ get<ThrowOnError extends boolean = false>(parameters: {
1397
+ taskID: string;
1398
+ directory?: string;
1399
+ scopeID?: string;
1400
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CortexGetResponses, CortexGetErrors, ThrowOnError, "fields">;
1401
+ /**
1402
+ * Get task output
1403
+ *
1404
+ * Get the output of a completed background task
1405
+ */
1406
+ output<ThrowOnError extends boolean = false>(parameters: {
1407
+ taskID: string;
1408
+ directory?: string;
1409
+ scopeID?: string;
1410
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CortexOutputResponses, CortexOutputErrors, ThrowOnError, "fields">;
1411
+ /**
1412
+ * Cancel Cortex task
1413
+ *
1414
+ * Cancel a running background task
1415
+ */
1416
+ cancel<ThrowOnError extends boolean = false>(parameters: {
1417
+ taskID: string;
1418
+ directory?: string;
1419
+ scopeID?: string;
1420
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CortexCancelResponses, CortexCancelErrors, ThrowOnError, "fields">;
1421
+ }
1422
+ export declare class Command extends HeyApiClient {
1423
+ /**
1424
+ * List commands
1425
+ *
1426
+ * Get a list of all available commands in the Synergy system.
1427
+ */
1428
+ list<ThrowOnError extends boolean = false>(parameters?: {
1429
+ directory?: string;
1430
+ scopeID?: string;
1431
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CommandListResponses, unknown, ThrowOnError, "fields">;
1432
+ }
1433
+ export declare class Oauth extends HeyApiClient {
1434
+ /**
1435
+ * OAuth authorize
1436
+ *
1437
+ * Initiate OAuth authorization for a specific AI provider to get an authorization URL.
1438
+ */
1439
+ authorize<ThrowOnError extends boolean = false>(parameters: {
1440
+ providerID: string;
1441
+ directory?: string;
1442
+ scopeID?: string;
1443
+ method?: number;
1444
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderOauthAuthorizeResponses, ProviderOauthAuthorizeErrors, ThrowOnError, "fields">;
1445
+ /**
1446
+ * OAuth callback
1447
+ *
1448
+ * Handle the OAuth callback from a provider after user authorization.
1449
+ */
1450
+ callback<ThrowOnError extends boolean = false>(parameters: {
1451
+ providerID: string;
1452
+ directory?: string;
1453
+ scopeID?: string;
1454
+ method?: number;
1455
+ code?: string;
1456
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderOauthCallbackResponses, ProviderOauthCallbackErrors, ThrowOnError, "fields">;
1457
+ }
1458
+ export declare class Provider extends HeyApiClient {
1459
+ /**
1460
+ * List providers
1461
+ *
1462
+ * Get a list of all available AI providers, including both available and connected ones.
1463
+ */
1464
+ list<ThrowOnError extends boolean = false>(parameters?: {
1465
+ directory?: string;
1466
+ scopeID?: string;
1467
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderListResponses, unknown, ThrowOnError, "fields">;
1468
+ /**
1469
+ * Get provider auth methods
1470
+ *
1471
+ * Retrieve available authentication methods for all AI providers.
1472
+ */
1473
+ auth<ThrowOnError extends boolean = false>(parameters?: {
1474
+ directory?: string;
1475
+ scopeID?: string;
1476
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderAuthResponses, unknown, ThrowOnError, "fields">;
1477
+ oauth: Oauth;
1478
+ }
1479
+ export declare class Skill extends HeyApiClient {
1480
+ /**
1481
+ * List skills
1482
+ *
1483
+ * Get a list of all available skills in the Synergy system.
1484
+ */
1485
+ list<ThrowOnError extends boolean = false>(parameters?: {
1486
+ directory?: string;
1487
+ scopeID?: string;
1488
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SkillListResponses, unknown, ThrowOnError, "fields">;
1489
+ /**
1490
+ * Reload skills
1491
+ *
1492
+ * Reload all skills by rescanning skill directories.
1493
+ */
1494
+ reload<ThrowOnError extends boolean = false>(parameters?: {
1495
+ directory?: string;
1496
+ scopeID?: string;
1497
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SkillReloadResponses, unknown, ThrowOnError, "fields">;
1498
+ /**
1499
+ * Delete a skill
1500
+ *
1501
+ * Delete a non-builtin skill by removing its directory from disk.
1502
+ */
1503
+ remove<ThrowOnError extends boolean = false>(parameters: {
1504
+ name: string;
1505
+ directory?: string;
1506
+ scopeID?: string;
1507
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SkillRemoveResponses, SkillRemoveErrors, ThrowOnError, "fields">;
1508
+ /**
1509
+ * Import a skill
1510
+ *
1511
+ * Import a skill from a .skill or .zip file. Extracts to the project or global skill directory.
1512
+ */
1513
+ import<ThrowOnError extends boolean = false>(parameters?: {
1514
+ directory?: string;
1515
+ scopeID?: string;
1516
+ file?: unknown;
1517
+ scope?: "project" | "global";
1518
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SkillImportResponses, SkillImportErrors, ThrowOnError, "fields">;
1519
+ /**
1520
+ * Import a skill from URL
1521
+ *
1522
+ * Download a .zip file from a URL and import it as a skill.
1523
+ */
1524
+ importUrl<ThrowOnError extends boolean = false>(parameters?: {
1525
+ directory?: string;
1526
+ scopeID?: string;
1527
+ url?: string;
1528
+ scope?: "project" | "global";
1529
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SkillImportUrlResponses, SkillImportUrlErrors, ThrowOnError, "fields">;
1530
+ }
1531
+ export declare class Find extends HeyApiClient {
1532
+ /**
1533
+ * Find text
1534
+ *
1535
+ * Search for text patterns across files in the project using ripgrep.
1536
+ */
1537
+ text<ThrowOnError extends boolean = false>(parameters: {
1538
+ directory?: string;
1539
+ scopeID?: string;
1540
+ pattern: string;
1541
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindTextResponses, unknown, ThrowOnError, "fields">;
1542
+ /**
1543
+ * Find files
1544
+ *
1545
+ * Search for files or directories by name or pattern in the project directory.
1546
+ */
1547
+ files<ThrowOnError extends boolean = false>(parameters: {
1548
+ directory?: string;
1549
+ scopeID?: string;
1550
+ query: string;
1551
+ dirs?: "true" | "false";
1552
+ type?: "file" | "directory";
1553
+ limit?: number;
1554
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindFilesResponses, unknown, ThrowOnError, "fields">;
1555
+ /**
1556
+ * Find symbols
1557
+ *
1558
+ * Search for workspace symbols like functions, classes, and variables using LSP.
1559
+ */
1560
+ symbols<ThrowOnError extends boolean = false>(parameters: {
1561
+ directory?: string;
1562
+ scopeID?: string;
1563
+ query: string;
1564
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindSymbolsResponses, unknown, ThrowOnError, "fields">;
1565
+ }
1566
+ export declare class File extends HeyApiClient {
1567
+ /**
1568
+ * List files
1569
+ *
1570
+ * List files and directories in a specified path.
1571
+ */
1572
+ list<ThrowOnError extends boolean = false>(parameters: {
1573
+ directory?: string;
1574
+ scopeID?: string;
1575
+ path: string;
1576
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileListResponses, unknown, ThrowOnError, "fields">;
1577
+ /**
1578
+ * Read file
1579
+ *
1580
+ * Read the content of a specified file.
1581
+ */
1582
+ read<ThrowOnError extends boolean = false>(parameters: {
1583
+ directory?: string;
1584
+ scopeID?: string;
1585
+ path: string;
1586
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileReadResponses, unknown, ThrowOnError, "fields">;
1587
+ /**
1588
+ * Get file status
1589
+ *
1590
+ * Get the git status of all files in the project.
1591
+ */
1592
+ status<ThrowOnError extends boolean = false>(parameters?: {
1593
+ directory?: string;
1594
+ scopeID?: string;
1595
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileStatusResponses, unknown, ThrowOnError, "fields">;
1596
+ }
1597
+ export declare class Experience extends HeyApiClient {
1598
+ /**
1599
+ * Search experiences
1600
+ *
1601
+ * Semantic search across experience records using embedding similarity and Q-value hybrid scoring.
1602
+ */
1603
+ search<ThrowOnError extends boolean = false>(parameters?: {
1604
+ directory?: string;
1605
+ query_scopeID?: string;
1606
+ query?: string;
1607
+ body_scopeID?: string;
1608
+ topK?: number;
1609
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceSearchResponses, EngramExperienceSearchErrors, ThrowOnError, "fields">;
1610
+ /**
1611
+ * Page experiences
1612
+ *
1613
+ * List experience records with server-side filtering, sorting, and pagination.
1614
+ */
1615
+ page<ThrowOnError extends boolean = false>(parameters?: {
1616
+ directory?: string;
1617
+ scopeID?: string;
1618
+ sessionID?: string;
1619
+ filter?: ExperienceListFilter;
1620
+ sort?: ExperienceListSort;
1621
+ limit?: number;
1622
+ offset?: number;
1623
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperiencePageResponses, EngramExperiencePageErrors, ThrowOnError, "fields">;
1624
+ /**
1625
+ * Delete experience
1626
+ *
1627
+ * Delete a specific experience record permanently.
1628
+ */
1629
+ remove<ThrowOnError extends boolean = false>(parameters: {
1630
+ id: string;
1631
+ directory?: string;
1632
+ scopeID?: string;
1633
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceRemoveResponses, EngramExperienceRemoveErrors, ThrowOnError, "fields">;
1634
+ /**
1635
+ * Get experience detail
1636
+ *
1637
+ * Get a specific experience record with its full content (script/raw).
1638
+ */
1639
+ get<ThrowOnError extends boolean = false>(parameters: {
1640
+ id: string;
1641
+ directory?: string;
1642
+ scopeID?: string;
1643
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceGetResponses, EngramExperienceGetErrors, ThrowOnError, "fields">;
1644
+ /**
1645
+ * Apply reward to experience
1132
1646
  *
1133
- * Approve or deny a permission request from the AI assistant.
1647
+ * 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.
1134
1648
  */
1135
- reply<ThrowOnError extends boolean = false>(parameters: {
1136
- requestID: string;
1649
+ applyReward<ThrowOnError extends boolean = false>(parameters: {
1650
+ id: string;
1137
1651
  directory?: string;
1138
- reply?: "once" | "reject";
1139
- message?: string;
1140
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionReplyResponses, PermissionReplyErrors, ThrowOnError, "fields">;
1652
+ scopeID?: string;
1653
+ reward?: number;
1654
+ rewards?: RewardsInfo;
1655
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceApplyRewardResponses, EngramExperienceApplyRewardErrors, ThrowOnError, "fields">;
1141
1656
  /**
1142
- * Check allow-all status
1657
+ * List experiences
1143
1658
  *
1144
- * Check if allow-all mode is enabled for a session.
1659
+ * List all experience records, optionally filtered by project ID.
1145
1660
  */
1146
- isAllowingAll<ThrowOnError extends boolean = false>(parameters: {
1661
+ list<ThrowOnError extends boolean = false>(parameters?: {
1147
1662
  directory?: string;
1148
- sessionID: string;
1149
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionIsAllowingAllResponses, PermissionIsAllowingAllErrors, ThrowOnError, "fields">;
1663
+ scopeID?: string;
1664
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceListResponses, unknown, ThrowOnError, "fields">;
1665
+ }
1666
+ export declare class Engram extends HeyApiClient {
1150
1667
  /**
1151
- * Set allow-all for a session
1668
+ * Get engram stats
1152
1669
  *
1153
- * Enable or disable allow-all mode for a session. When enabled, all permission requests are automatically approved and any currently pending permissions are resolved.
1670
+ * Get statistics about the engram database. By default returns a summary with counts and DB size. Use ?recompute=true to force a full analytics recompute and return the extended snapshot.
1154
1671
  */
1155
- setAllowAll<ThrowOnError extends boolean = false>(parameters?: {
1672
+ stats<ThrowOnError extends boolean = false>(parameters?: {
1156
1673
  directory?: string;
1157
- sessionID?: string;
1158
- enabled?: boolean;
1159
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionSetAllowAllResponses, PermissionSetAllowAllErrors, ThrowOnError, "fields">;
1674
+ scopeID?: string;
1675
+ recompute?: "true" | "false";
1676
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramStatsResponses, EngramStatsErrors, ThrowOnError, "fields">;
1160
1677
  /**
1161
- * List pending permissions
1678
+ * Search memories
1162
1679
  *
1163
- * Get all pending permission requests across all sessions.
1680
+ * Semantic search across active memories using embedding similarity. Requires embedding API to be configured.
1164
1681
  */
1165
- list<ThrowOnError extends boolean = false>(parameters?: {
1682
+ search<ThrowOnError extends boolean = false>(parameters?: {
1166
1683
  directory?: string;
1167
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionListResponses, unknown, ThrowOnError, "fields">;
1168
- }
1169
- export declare class Question extends HeyApiClient {
1684
+ scopeID?: string;
1685
+ query?: string;
1686
+ topK?: number;
1687
+ categories?: Array<MemoryCategory>;
1688
+ recallModes?: Array<MemoryRecallMode>;
1689
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramSearchResponses, EngramSearchErrors, ThrowOnError, "fields">;
1170
1690
  /**
1171
- * List pending questions
1691
+ * Reset memory data
1172
1692
  *
1173
- * Get all pending question requests across all sessions.
1693
+ * Reset (delete) memory data by type. Supports resetting active memories, passive experiences, or both. Requires confirm=true to prevent accidental deletion.
1174
1694
  */
1175
- list<ThrowOnError extends boolean = false>(parameters?: {
1695
+ reset<ThrowOnError extends boolean = false>(parameters?: {
1176
1696
  directory?: string;
1177
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionListResponses, unknown, ThrowOnError, "fields">;
1697
+ query_scopeID?: string;
1698
+ type?: "memory" | "experience" | "all";
1699
+ body_scopeID?: string;
1700
+ confirm?: true;
1701
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramResetResponses, EngramResetErrors, ThrowOnError, "fields">;
1178
1702
  /**
1179
- * Reply to question request
1703
+ * Delete memory
1180
1704
  *
1181
- * Provide answers to a question request from the AI assistant.
1705
+ * Delete a specific active memory permanently.
1182
1706
  */
1183
- reply<ThrowOnError extends boolean = false>(parameters: {
1184
- requestID: string;
1707
+ remove<ThrowOnError extends boolean = false>(parameters: {
1708
+ id: string;
1185
1709
  directory?: string;
1186
- answers?: Array<QuestionAnswer>;
1187
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionReplyResponses, QuestionReplyErrors, ThrowOnError, "fields">;
1710
+ scopeID?: string;
1711
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramRemoveResponses, EngramRemoveErrors, ThrowOnError, "fields">;
1188
1712
  /**
1189
- * Reject question request
1713
+ * Get memory
1190
1714
  *
1191
- * Reject a question request from the AI assistant.
1715
+ * Get a specific active memory by ID.
1192
1716
  */
1193
- reject<ThrowOnError extends boolean = false>(parameters: {
1194
- requestID: string;
1717
+ get<ThrowOnError extends boolean = false>(parameters: {
1718
+ id: string;
1195
1719
  directory?: string;
1196
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionRejectResponses, QuestionRejectErrors, ThrowOnError, "fields">;
1197
- }
1198
- export declare class Cortex extends HeyApiClient {
1720
+ scopeID?: string;
1721
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramGetResponses, EngramGetErrors, ThrowOnError, "fields">;
1199
1722
  /**
1200
- * List Cortex tasks
1723
+ * List memories
1201
1724
  *
1202
- * List all background tasks, optionally filtered by session
1725
+ * List all active (agent-curated) memories, optionally filtered by category.
1203
1726
  */
1204
1727
  list<ThrowOnError extends boolean = false>(parameters?: {
1205
1728
  directory?: string;
1206
- sessionID?: string;
1207
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CortexListResponses, CortexListErrors, ThrowOnError, "fields">;
1729
+ scopeID?: string;
1730
+ category?: MemoryCategory;
1731
+ recallMode?: MemoryRecallMode;
1732
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramListResponses, unknown, ThrowOnError, "fields">;
1733
+ experience: Experience;
1734
+ }
1735
+ export declare class Note extends HeyApiClient {
1208
1736
  /**
1209
- * Get Cortex task
1737
+ * List note metadata grouped by scope
1210
1738
  *
1211
- * Get a specific background task by ID
1739
+ * List metadata for all notes across all scopes, grouped by scope ID. Does not include full note content.
1212
1740
  */
1213
- get<ThrowOnError extends boolean = false>(parameters: {
1214
- taskID: string;
1741
+ listMeta<ThrowOnError extends boolean = false>(parameters?: {
1215
1742
  directory?: string;
1216
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CortexGetResponses, CortexGetErrors, ThrowOnError, "fields">;
1743
+ scopeID?: string;
1744
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteListMetaResponses, NoteListMetaErrors, ThrowOnError, "fields">;
1217
1745
  /**
1218
- * Get task output
1746
+ * List all notes grouped by scope
1219
1747
  *
1220
- * Get the output of a completed background task
1748
+ * List all notes across all scopes, grouped by scope ID.
1221
1749
  */
1222
- output<ThrowOnError extends boolean = false>(parameters: {
1223
- taskID: string;
1750
+ listAll<ThrowOnError extends boolean = false>(parameters?: {
1224
1751
  directory?: string;
1225
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CortexOutputResponses, CortexOutputErrors, ThrowOnError, "fields">;
1752
+ scopeID?: string;
1753
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteListAllResponses, NoteListAllErrors, ThrowOnError, "fields">;
1226
1754
  /**
1227
- * Cancel Cortex task
1755
+ * Export note
1228
1756
  *
1229
- * Cancel a running background task
1757
+ * Export a note as Markdown or HTML.
1230
1758
  */
1231
- cancel<ThrowOnError extends boolean = false>(parameters: {
1232
- taskID: string;
1759
+ export<ThrowOnError extends boolean = false>(parameters: {
1760
+ id: string;
1233
1761
  directory?: string;
1234
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CortexCancelResponses, CortexCancelErrors, ThrowOnError, "fields">;
1235
- }
1236
- export declare class Command extends HeyApiClient {
1762
+ scopeID?: string;
1763
+ format?: "md" | "html";
1764
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteExportResponses, NoteExportErrors, ThrowOnError, "fields">;
1237
1765
  /**
1238
- * List commands
1766
+ * List notes
1239
1767
  *
1240
- * Get a list of all available commands in the Synergy system.
1768
+ * List all notes for the current scope, including global notes.
1241
1769
  */
1242
1770
  list<ThrowOnError extends boolean = false>(parameters?: {
1243
1771
  directory?: string;
1244
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CommandListResponses, unknown, ThrowOnError, "fields">;
1245
- }
1246
- export declare class Oauth extends HeyApiClient {
1772
+ scopeID?: string;
1773
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteListResponses, NoteListErrors, ThrowOnError, "fields">;
1247
1774
  /**
1248
- * OAuth authorize
1775
+ * Create note
1249
1776
  *
1250
- * Initiate OAuth authorization for a specific AI provider to get an authorization URL.
1777
+ * Create a new note in the current scope.
1251
1778
  */
1252
- authorize<ThrowOnError extends boolean = false>(parameters: {
1253
- providerID: string;
1779
+ create<ThrowOnError extends boolean = false>(parameters?: {
1254
1780
  directory?: string;
1255
- method?: number;
1256
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderOauthAuthorizeResponses, ProviderOauthAuthorizeErrors, ThrowOnError, "fields">;
1781
+ scopeID?: string;
1782
+ noteCreateInput?: NoteCreateInput;
1783
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteCreateResponses, NoteCreateErrors, ThrowOnError, "fields">;
1257
1784
  /**
1258
- * OAuth callback
1785
+ * Delete note
1259
1786
  *
1260
- * Handle the OAuth callback from a provider after user authorization.
1787
+ * Delete a note permanently.
1261
1788
  */
1262
- callback<ThrowOnError extends boolean = false>(parameters: {
1263
- providerID: string;
1789
+ remove<ThrowOnError extends boolean = false>(parameters: {
1790
+ id: string;
1264
1791
  directory?: string;
1265
- method?: number;
1266
- code?: string;
1267
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderOauthCallbackResponses, ProviderOauthCallbackErrors, ThrowOnError, "fields">;
1268
- }
1269
- export declare class Provider extends HeyApiClient {
1792
+ scopeID?: string;
1793
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteRemoveResponses, NoteRemoveErrors, ThrowOnError, "fields">;
1270
1794
  /**
1271
- * List providers
1795
+ * Get note
1272
1796
  *
1273
- * Get a list of all available AI providers, including both available and connected ones.
1797
+ * Get a specific note by ID.
1274
1798
  */
1275
- list<ThrowOnError extends boolean = false>(parameters?: {
1799
+ get<ThrowOnError extends boolean = false>(parameters: {
1800
+ id: string;
1276
1801
  directory?: string;
1277
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderListResponses, unknown, ThrowOnError, "fields">;
1802
+ scopeID?: string;
1803
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteGetResponses, NoteGetErrors, ThrowOnError, "fields">;
1278
1804
  /**
1279
- * Get provider auth methods
1805
+ * Update note
1280
1806
  *
1281
- * Retrieve available authentication methods for all AI providers.
1807
+ * Update a note's content or metadata.
1282
1808
  */
1283
- auth<ThrowOnError extends boolean = false>(parameters?: {
1809
+ update<ThrowOnError extends boolean = false>(parameters: {
1810
+ id: string;
1284
1811
  directory?: string;
1285
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderAuthResponses, unknown, ThrowOnError, "fields">;
1286
- oauth: Oauth;
1812
+ scopeID?: string;
1813
+ notePatchInput?: NotePatchInput;
1814
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteUpdateResponses, NoteUpdateErrors, ThrowOnError, "fields">;
1287
1815
  }
1288
- export declare class Skill extends HeyApiClient {
1816
+ export declare class Loop extends HeyApiClient {
1289
1817
  /**
1290
- * List skills
1818
+ * List BlueprintLoops
1291
1819
  *
1292
- * Get a list of all available skills in the Synergy system.
1820
+ * List all BlueprintLoops for the current scope.
1293
1821
  */
1294
1822
  list<ThrowOnError extends boolean = false>(parameters?: {
1295
1823
  directory?: string;
1296
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SkillListResponses, unknown, ThrowOnError, "fields">;
1824
+ scopeID?: string;
1825
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<BlueprintLoopListResponses, BlueprintLoopListErrors, ThrowOnError, "fields">;
1297
1826
  /**
1298
- * Reload skills
1827
+ * Create BlueprintLoop
1299
1828
  *
1300
- * Reload all skills by rescanning skill directories.
1829
+ * Create a new BlueprintLoop in the current scope. Returns armed status.
1301
1830
  */
1302
- reload<ThrowOnError extends boolean = false>(parameters?: {
1831
+ create<ThrowOnError extends boolean = false>(parameters?: {
1303
1832
  directory?: string;
1304
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SkillReloadResponses, unknown, ThrowOnError, "fields">;
1833
+ scopeID?: string;
1834
+ blueprintLoopCreateInput?: BlueprintLoopCreateInput;
1835
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<BlueprintLoopCreateResponses, BlueprintLoopCreateErrors, ThrowOnError, "fields">;
1305
1836
  /**
1306
- * Delete a skill
1837
+ * Complete BlueprintLoop
1307
1838
  *
1308
- * Delete a non-builtin skill by removing its directory from disk.
1839
+ * Mark a BlueprintLoop as completed.
1309
1840
  */
1310
- remove<ThrowOnError extends boolean = false>(parameters: {
1311
- name: string;
1841
+ complete<ThrowOnError extends boolean = false>(parameters: {
1842
+ id: string;
1312
1843
  directory?: string;
1313
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SkillRemoveResponses, SkillRemoveErrors, ThrowOnError, "fields">;
1844
+ scopeID?: string;
1845
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<BlueprintLoopCompleteResponses, BlueprintLoopCompleteErrors, ThrowOnError, "fields">;
1314
1846
  /**
1315
- * Import a skill
1847
+ * Cancel BlueprintLoop
1316
1848
  *
1317
- * Import a skill from a .skill or .zip file. Extracts to the project or global skill directory.
1849
+ * Cancel a BlueprintLoop.
1318
1850
  */
1319
- import<ThrowOnError extends boolean = false>(parameters?: {
1851
+ cancel<ThrowOnError extends boolean = false>(parameters: {
1852
+ id: string;
1320
1853
  directory?: string;
1321
- file?: unknown;
1322
- scope?: "project" | "global";
1323
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SkillImportResponses, SkillImportErrors, ThrowOnError, "fields">;
1854
+ scopeID?: string;
1855
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<BlueprintLoopCancelResponses, BlueprintLoopCancelErrors, ThrowOnError, "fields">;
1324
1856
  /**
1325
- * Import a skill from URL
1857
+ * Get BlueprintLoop
1326
1858
  *
1327
- * Download a .zip file from a URL and import it as a skill.
1859
+ * Get a specific BlueprintLoop by ID.
1328
1860
  */
1329
- importUrl<ThrowOnError extends boolean = false>(parameters?: {
1861
+ get<ThrowOnError extends boolean = false>(parameters: {
1862
+ id: string;
1330
1863
  directory?: string;
1331
- url?: string;
1332
- scope?: "project" | "global";
1333
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SkillImportUrlResponses, SkillImportUrlErrors, ThrowOnError, "fields">;
1334
- }
1335
- export declare class Find extends HeyApiClient {
1864
+ scopeID?: string;
1865
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<BlueprintLoopGetResponses, BlueprintLoopGetErrors, ThrowOnError, "fields">;
1336
1866
  /**
1337
- * Browse directories
1867
+ * Bind session to BlueprintLoop
1338
1868
  *
1339
- * Browse filesystem directories by path with optional fuzzy search. Returns absolute paths.
1869
+ * Bind the current session to a BlueprintLoop so the session drives loop execution.
1340
1870
  */
1341
- browse<ThrowOnError extends boolean = false>(parameters: {
1871
+ bind<ThrowOnError extends boolean = false>(parameters: {
1872
+ id: string;
1342
1873
  directory?: string;
1343
- path: string;
1344
- query?: string;
1345
- limit?: number;
1346
- depth?: number;
1347
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindBrowseResponses, unknown, ThrowOnError, "fields">;
1874
+ scopeID?: string;
1875
+ sessionID?: string;
1876
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<BlueprintLoopBindResponses, BlueprintLoopBindErrors, ThrowOnError, "fields">;
1348
1877
  /**
1349
- * Find text
1878
+ * Start BlueprintLoop (armed → running)
1350
1879
  *
1351
- * Search for text patterns across files in the project using ripgrep.
1880
+ * Transition a BlueprintLoop from armed to running.
1352
1881
  */
1353
- text<ThrowOnError extends boolean = false>(parameters: {
1882
+ start<ThrowOnError extends boolean = false>(parameters: {
1883
+ id: string;
1354
1884
  directory?: string;
1355
- pattern: string;
1356
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindTextResponses, unknown, ThrowOnError, "fields">;
1885
+ scopeID?: string;
1886
+ userPrompt?: string;
1887
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<BlueprintLoopStartResponses, BlueprintLoopStartErrors, ThrowOnError, "fields">;
1357
1888
  /**
1358
- * Find files
1889
+ * Wait BlueprintLoop (running → waiting)
1359
1890
  *
1360
- * Search for files or directories by name or pattern in the project directory.
1891
+ * Transition a BlueprintLoop from running to waiting.
1361
1892
  */
1362
- files<ThrowOnError extends boolean = false>(parameters: {
1893
+ wait<ThrowOnError extends boolean = false>(parameters: {
1894
+ id: string;
1363
1895
  directory?: string;
1364
- query: string;
1365
- dirs?: "true" | "false";
1366
- type?: "file" | "directory";
1367
- limit?: number;
1368
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindFilesResponses, unknown, ThrowOnError, "fields">;
1896
+ scopeID?: string;
1897
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<BlueprintLoopWaitResponses, BlueprintLoopWaitErrors, ThrowOnError, "fields">;
1369
1898
  /**
1370
- * Find symbols
1899
+ * Resume BlueprintLoop (waiting → running)
1371
1900
  *
1372
- * Search for workspace symbols like functions, classes, and variables using LSP.
1901
+ * Transition a BlueprintLoop from waiting back to running.
1373
1902
  */
1374
- symbols<ThrowOnError extends boolean = false>(parameters: {
1903
+ resume<ThrowOnError extends boolean = false>(parameters: {
1904
+ id: string;
1905
+ directory?: string;
1906
+ scopeID?: string;
1907
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<BlueprintLoopResumeResponses, BlueprintLoopResumeErrors, ThrowOnError, "fields">;
1908
+ /**
1909
+ * Get BlueprintLoop activity
1910
+ *
1911
+ * Get derived activity metrics for a BlueprintLoop (derived from session state).
1912
+ */
1913
+ activity<ThrowOnError extends boolean = false>(parameters: {
1914
+ id: string;
1375
1915
  directory?: string;
1376
- query: string;
1377
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindSymbolsResponses, unknown, ThrowOnError, "fields">;
1916
+ scopeID?: string;
1917
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<BlueprintLoopActivityResponses, BlueprintLoopActivityErrors, ThrowOnError, "fields">;
1378
1918
  }
1379
- export declare class File extends HeyApiClient {
1919
+ export declare class Blueprint extends HeyApiClient {
1920
+ loop: Loop;
1921
+ session: Session;
1922
+ }
1923
+ export declare class Asset extends HeyApiClient {
1380
1924
  /**
1381
- * List files
1925
+ * Upload asset
1382
1926
  *
1383
- * List files and directories in a specified path.
1927
+ * Upload a binary asset (image, video, etc.) and get a reference URL.
1384
1928
  */
1385
- list<ThrowOnError extends boolean = false>(parameters: {
1929
+ upload<ThrowOnError extends boolean = false>(parameters?: {
1386
1930
  directory?: string;
1387
- path: string;
1388
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileListResponses, unknown, ThrowOnError, "fields">;
1931
+ scopeID?: string;
1932
+ file?: unknown;
1933
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AssetUploadResponses, AssetUploadErrors, ThrowOnError, "fields">;
1389
1934
  /**
1390
- * Read file
1935
+ * Get asset
1391
1936
  *
1392
- * Read the content of a specified file.
1937
+ * Download a previously uploaded asset.
1393
1938
  */
1394
- read<ThrowOnError extends boolean = false>(parameters: {
1939
+ get<ThrowOnError extends boolean = false>(parameters: {
1940
+ id: string;
1395
1941
  directory?: string;
1396
- path: string;
1397
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileReadResponses, unknown, ThrowOnError, "fields">;
1942
+ scopeID?: string;
1943
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AssetGetResponses, AssetGetErrors, ThrowOnError, "fields">;
1944
+ }
1945
+ export declare class Plugin extends HeyApiClient {
1398
1946
  /**
1399
- * Get file status
1947
+ * List plugin UI contributions
1400
1948
  *
1401
- * Get the git status of all files in the project.
1949
+ * Return aggregated UI manifests for all loaded plugins.
1402
1950
  */
1403
- status<ThrowOnError extends boolean = false>(parameters?: {
1951
+ listUiContributions<ThrowOnError extends boolean = false>(parameters?: {
1404
1952
  directory?: string;
1405
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileStatusResponses, unknown, ThrowOnError, "fields">;
1406
- }
1407
- export declare class Experience extends HeyApiClient {
1953
+ scopeID?: string;
1954
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PluginListUiContributionsResponses, PluginListUiContributionsErrors, ThrowOnError, "fields">;
1408
1955
  /**
1409
- * Search experiences
1956
+ * Serve plugin static asset
1410
1957
  *
1411
- * Semantic search across experience records using embedding similarity and Q-value hybrid scoring.
1958
+ * Serve a static file from a plugin's directory with immutable cache headers.
1412
1959
  */
1413
- search<ThrowOnError extends boolean = false>(parameters?: {
1960
+ serveAsset<ThrowOnError extends boolean = false>(parameters: {
1961
+ pluginId: string;
1962
+ versionHash: string;
1414
1963
  directory?: string;
1415
- query?: string;
1416
1964
  scopeID?: string;
1417
- topK?: number;
1418
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceSearchResponses, EngramExperienceSearchErrors, ThrowOnError, "fields">;
1965
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PluginServeAssetResponses, PluginServeAssetErrors, ThrowOnError, "fields">;
1419
1966
  /**
1420
- * Page experiences
1967
+ * Serve plugin sandbox iframe shell
1421
1968
  *
1422
- * List experience records with server-side filtering, sorting, and pagination.
1969
+ * Serve an HTML shell for loading a plugin panel in a sandboxed iframe.
1423
1970
  */
1424
- page<ThrowOnError extends boolean = false>(parameters?: {
1971
+ sandbox<ThrowOnError extends boolean = false>(parameters: {
1972
+ pluginId: string;
1973
+ panelId: string;
1425
1974
  directory?: string;
1426
1975
  scopeID?: string;
1427
- sessionID?: string;
1428
- filter?: ExperienceListFilter;
1429
- sort?: ExperienceListSort;
1430
- limit?: number;
1431
- offset?: number;
1432
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperiencePageResponses, EngramExperiencePageErrors, ThrowOnError, "fields">;
1976
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PluginSandboxResponses, PluginSandboxErrors, ThrowOnError, "fields">;
1433
1977
  /**
1434
- * Delete experience
1978
+ * Relay plugin interaction
1435
1979
  *
1436
- * Delete a specific experience record permanently.
1980
+ * Relay a postMessage interaction for a plugin.
1437
1981
  */
1438
- remove<ThrowOnError extends boolean = false>(parameters: {
1439
- id: string;
1982
+ interact<ThrowOnError extends boolean = false>(parameters: {
1983
+ pluginId: string;
1440
1984
  directory?: string;
1441
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceRemoveResponses, EngramExperienceRemoveErrors, ThrowOnError, "fields">;
1985
+ scopeID?: string;
1986
+ type?: string;
1987
+ payload?: unknown;
1988
+ source?: string;
1989
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PluginInteractResponses, PluginInteractErrors, ThrowOnError, "fields">;
1442
1990
  /**
1443
- * Get experience detail
1991
+ * Get plugin config schema
1444
1992
  *
1445
- * Get a specific experience record with its full content (script/raw).
1993
+ * Return the plugin's contributed config schema from its manifest.
1446
1994
  */
1447
- get<ThrowOnError extends boolean = false>(parameters: {
1448
- id: string;
1995
+ configSchema<ThrowOnError extends boolean = false>(parameters: {
1996
+ pluginId: string;
1449
1997
  directory?: string;
1450
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceGetResponses, EngramExperienceGetErrors, ThrowOnError, "fields">;
1998
+ scopeID?: string;
1999
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PluginConfigSchemaResponses, PluginConfigSchemaErrors, ThrowOnError, "fields">;
1451
2000
  /**
1452
- * Apply reward to experience
2001
+ * Get plugin config
1453
2002
  *
1454
- * 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.
2003
+ * Return the current config values for a plugin.
1455
2004
  */
1456
- applyReward<ThrowOnError extends boolean = false>(parameters: {
1457
- id: string;
2005
+ getConfig<ThrowOnError extends boolean = false>(parameters: {
2006
+ pluginId: string;
1458
2007
  directory?: string;
1459
- reward?: number;
1460
- rewards?: RewardsInfo;
1461
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceApplyRewardResponses, EngramExperienceApplyRewardErrors, ThrowOnError, "fields">;
2008
+ scopeID?: string;
2009
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PluginGetConfigResponses, PluginGetConfigErrors, ThrowOnError, "fields">;
1462
2010
  /**
1463
- * List experiences
2011
+ * Update plugin config
1464
2012
  *
1465
- * List all experience records, optionally filtered by project ID.
2013
+ * Merge values into the plugin's configuration namespace.
1466
2014
  */
1467
- list<ThrowOnError extends boolean = false>(parameters?: {
2015
+ updateConfig<ThrowOnError extends boolean = false>(parameters: {
2016
+ pluginId: string;
1468
2017
  directory?: string;
1469
2018
  scopeID?: string;
1470
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceListResponses, unknown, ThrowOnError, "fields">;
1471
- }
1472
- export declare class Engram extends HeyApiClient {
2019
+ body?: {
2020
+ [key: string]: unknown;
2021
+ };
2022
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PluginUpdateConfigResponses, PluginUpdateConfigErrors, ThrowOnError, "fields">;
1473
2023
  /**
1474
- * Get engram stats
2024
+ * Get plugin status
1475
2025
  *
1476
- * Get statistics about the engram database. By default returns a summary with counts and DB size. Use ?recompute=true to force a full analytics recompute and return the extended snapshot.
2026
+ * Report the current status of a loaded plugin.
1477
2027
  */
1478
- stats<ThrowOnError extends boolean = false>(parameters?: {
2028
+ status<ThrowOnError extends boolean = false>(parameters: {
2029
+ pluginId: string;
1479
2030
  directory?: string;
1480
- recompute?: "true" | "false";
1481
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramStatsResponses, EngramStatsErrors, ThrowOnError, "fields">;
2031
+ scopeID?: string;
2032
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PluginStatusResponses, PluginStatusErrors, ThrowOnError, "fields">;
2033
+ runtime: Runtime;
2034
+ }
2035
+ export declare class Plugins extends HeyApiClient {
1482
2036
  /**
1483
- * Search memories
2037
+ * List all loaded plugins
1484
2038
  *
1485
- * Semantic search across active memories using embedding similarity. Requires embedding API to be configured.
2039
+ * Return metadata for all currently loaded plugins.
1486
2040
  */
1487
- search<ThrowOnError extends boolean = false>(parameters?: {
2041
+ list<ThrowOnError extends boolean = false>(parameters?: {
1488
2042
  directory?: string;
1489
- query?: string;
1490
- topK?: number;
1491
- categories?: Array<MemoryCategory>;
1492
- recallModes?: Array<MemoryRecallMode>;
1493
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramSearchResponses, EngramSearchErrors, ThrowOnError, "fields">;
2043
+ scopeID?: string;
2044
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ApiPluginsListResponses, unknown, ThrowOnError, "fields">;
1494
2045
  /**
1495
- * Reset memory data
2046
+ * Get plugin detail
1496
2047
  *
1497
- * Reset (delete) memory data by type. Supports resetting active memories, passive experiences, or both. Requires confirm=true to prevent accidental deletion.
2048
+ * Return detailed metadata for a single loaded plugin.
1498
2049
  */
1499
- reset<ThrowOnError extends boolean = false>(parameters?: {
2050
+ get<ThrowOnError extends boolean = false>(parameters: {
2051
+ pluginId: string;
1500
2052
  directory?: string;
1501
- type?: "memory" | "experience" | "all";
1502
2053
  scopeID?: string;
1503
- confirm?: true;
1504
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramResetResponses, EngramResetErrors, ThrowOnError, "fields">;
2054
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ApiPluginsGetResponses, ApiPluginsGetErrors, ThrowOnError, "fields">;
1505
2055
  /**
1506
- * Delete memory
2056
+ * Get plugin status
1507
2057
  *
1508
- * Delete a specific active memory permanently.
2058
+ * Report the current status of a loaded plugin.
1509
2059
  */
1510
- remove<ThrowOnError extends boolean = false>(parameters: {
1511
- id: string;
2060
+ status<ThrowOnError extends boolean = false>(parameters: {
2061
+ pluginId: string;
1512
2062
  directory?: string;
1513
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramRemoveResponses, EngramRemoveErrors, ThrowOnError, "fields">;
2063
+ scopeID?: string;
2064
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ApiPluginsStatusResponses, ApiPluginsStatusErrors, ThrowOnError, "fields">;
1514
2065
  /**
1515
- * Get memory
2066
+ * Preview permissions for new plugin install
1516
2067
  *
1517
- * Get a specific active memory by ID.
2068
+ * Compute the permission diff for a new plugin manifest before installation.
1518
2069
  */
1519
- get<ThrowOnError extends boolean = false>(parameters: {
1520
- id: string;
2070
+ previewInstall<ThrowOnError extends boolean = false>(parameters?: {
1521
2071
  directory?: string;
1522
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramGetResponses, EngramGetErrors, ThrowOnError, "fields">;
2072
+ scopeID?: string;
2073
+ manifest?: {
2074
+ [key: string]: unknown;
2075
+ };
2076
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ApiPluginsPreviewInstallResponses, ApiPluginsPreviewInstallErrors, ThrowOnError, "fields">;
1523
2077
  /**
1524
- * List memories
2078
+ * Approve new plugin install
1525
2079
  *
1526
- * List all active (agent-curated) memories, optionally filtered by category.
2080
+ * Record approval for a new plugin installation after reviewing its permissions.
1527
2081
  */
1528
- list<ThrowOnError extends boolean = false>(parameters?: {
2082
+ approveInstall<ThrowOnError extends boolean = false>(parameters: {
2083
+ pluginId: string;
1529
2084
  directory?: string;
1530
- category?: MemoryCategory;
1531
- recallMode?: MemoryRecallMode;
1532
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramListResponses, unknown, ThrowOnError, "fields">;
1533
- experience: Experience;
1534
- }
1535
- export declare class Note extends HeyApiClient {
2085
+ scopeID?: string;
2086
+ manifest?: {
2087
+ [key: string]: unknown;
2088
+ };
2089
+ capabilities?: Array<string>;
2090
+ source?: "local" | "official" | "npm" | "git" | "url" | "builtin";
2091
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ApiPluginsApproveInstallResponses, ApiPluginsApproveInstallErrors, ThrowOnError, "fields">;
1536
2092
  /**
1537
- * List all notes grouped by scope
2093
+ * Preview permissions for plugin update
1538
2094
  *
1539
- * List all notes across all scopes, grouped by scope ID.
2095
+ * Compute the permission diff between the currently installed plugin and a new manifest version.
1540
2096
  */
1541
- listAll<ThrowOnError extends boolean = false>(parameters?: {
2097
+ previewUpdate<ThrowOnError extends boolean = false>(parameters: {
2098
+ pluginId: string;
1542
2099
  directory?: string;
1543
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteListAllResponses, NoteListAllErrors, ThrowOnError, "fields">;
2100
+ scopeID?: string;
2101
+ manifest?: {
2102
+ [key: string]: unknown;
2103
+ };
2104
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ApiPluginsPreviewUpdateResponses, ApiPluginsPreviewUpdateErrors, ThrowOnError, "fields">;
1544
2105
  /**
1545
- * Export note
2106
+ * Approve plugin update
1546
2107
  *
1547
- * Export a note as Markdown or HTML.
2108
+ * Record approval for a plugin update after reviewing its permission changes.
1548
2109
  */
1549
- export<ThrowOnError extends boolean = false>(parameters: {
1550
- id: string;
2110
+ approveUpdate<ThrowOnError extends boolean = false>(parameters: {
2111
+ pluginId: string;
1551
2112
  directory?: string;
1552
- format?: "md" | "html";
1553
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteExportResponses, NoteExportErrors, ThrowOnError, "fields">;
2113
+ scopeID?: string;
2114
+ manifest?: {
2115
+ [key: string]: unknown;
2116
+ };
2117
+ capabilities?: Array<string>;
2118
+ source?: "local" | "official" | "npm" | "git" | "url" | "builtin";
2119
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ApiPluginsApproveUpdateResponses, ApiPluginsApproveUpdateErrors, ThrowOnError, "fields">;
1554
2120
  /**
1555
- * List notes
2121
+ * Get plugin approval status
1556
2122
  *
1557
- * List all notes for the current scope, including global notes.
2123
+ * Return the current approval record for a plugin, or 404 if not approved.
1558
2124
  */
1559
- list<ThrowOnError extends boolean = false>(parameters?: {
2125
+ getApproval<ThrowOnError extends boolean = false>(parameters: {
2126
+ pluginId: string;
1560
2127
  directory?: string;
1561
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteListResponses, NoteListErrors, ThrowOnError, "fields">;
2128
+ scopeID?: string;
2129
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ApiPluginsGetApprovalResponses, ApiPluginsGetApprovalErrors, ThrowOnError, "fields">;
1562
2130
  /**
1563
- * Create note
2131
+ * Get permission diff for plugin version
1564
2132
  *
1565
- * Create a new note in the current scope.
2133
+ * Return the permission diff between the approved capabilities and the current plugin manifest.
1566
2134
  */
1567
- create<ThrowOnError extends boolean = false>(parameters?: {
2135
+ permissionDiff<ThrowOnError extends boolean = false>(parameters: {
2136
+ pluginId: string;
1568
2137
  directory?: string;
1569
- noteCreateInput?: NoteCreateInput;
1570
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteCreateResponses, NoteCreateErrors, ThrowOnError, "fields">;
2138
+ scopeID?: string;
2139
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ApiPluginsPermissionDiffResponses, ApiPluginsPermissionDiffErrors, ThrowOnError, "fields">;
1571
2140
  /**
1572
- * Delete note
2141
+ * Install plugin from registry
1573
2142
  *
1574
- * Delete a note permanently.
2143
+ * Install a plugin from the official or local registry. Looks up the plugin and version in the registry, then installs the version archive or package spec and loads it into the runtime.
1575
2144
  */
1576
- remove<ThrowOnError extends boolean = false>(parameters: {
1577
- id: string;
2145
+ installFromRegistry<ThrowOnError extends boolean = false>(parameters?: {
1578
2146
  directory?: string;
1579
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteRemoveResponses, NoteRemoveErrors, ThrowOnError, "fields">;
2147
+ scopeID?: string;
2148
+ id?: string;
2149
+ version?: string;
2150
+ source?: "official" | "local";
2151
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ApiPluginsInstallFromRegistryResponses, ApiPluginsInstallFromRegistryErrors, ThrowOnError, "fields">;
1580
2152
  /**
1581
- * Get note
2153
+ * Check for plugin update from registry
1582
2154
  *
1583
- * Get a specific note by ID.
2155
+ * Check if an update is available for a plugin from the local registry. Optionally target a specific version. Returns version comparison and permission diff.
1584
2156
  */
1585
- get<ThrowOnError extends boolean = false>(parameters: {
1586
- id: string;
2157
+ updateFromRegistry<ThrowOnError extends boolean = false>(parameters: {
2158
+ pluginId: string;
1587
2159
  directory?: string;
1588
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteGetResponses, NoteGetErrors, ThrowOnError, "fields">;
2160
+ scopeID?: string;
2161
+ targetVersion?: string;
2162
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ApiPluginsUpdateFromRegistryResponses, ApiPluginsUpdateFromRegistryErrors, ThrowOnError, "fields">;
1589
2163
  /**
1590
- * Update note
2164
+ * Search plugin registry
1591
2165
  *
1592
- * Update a note's content or metadata.
2166
+ * Search plugins by keyword in name, description, and keywords with pagination.
1593
2167
  */
1594
- update<ThrowOnError extends boolean = false>(parameters: {
1595
- id: string;
2168
+ search<ThrowOnError extends boolean = false>(parameters?: {
1596
2169
  directory?: string;
1597
- notePatchInput?: NotePatchInput;
1598
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NoteUpdateResponses, NoteUpdateErrors, ThrowOnError, "fields">;
1599
- }
1600
- export declare class Asset extends HeyApiClient {
2170
+ scopeID?: string;
2171
+ q?: string;
2172
+ offset?: number;
2173
+ limit?: number;
2174
+ source?: "official" | "local";
2175
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<RegistryPluginsSearchResponses, RegistryPluginsSearchErrors, ThrowOnError, "fields">;
1601
2176
  /**
1602
- * Upload asset
2177
+ * List plugin versions
1603
2178
  *
1604
- * Upload a binary asset (image, video, etc.) and get a reference URL.
2179
+ * Return all published versions for a plugin.
1605
2180
  */
1606
- upload<ThrowOnError extends boolean = false>(parameters?: {
2181
+ versions<ThrowOnError extends boolean = false>(parameters: {
2182
+ id: string;
1607
2183
  directory?: string;
1608
- file?: unknown;
1609
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AssetUploadResponses, AssetUploadErrors, ThrowOnError, "fields">;
2184
+ scopeID?: string;
2185
+ source?: "official" | "local";
2186
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<RegistryPluginsVersionsResponses, RegistryPluginsVersionsErrors, ThrowOnError, "fields">;
1610
2187
  /**
1611
- * Get asset
2188
+ * Get plugin version
1612
2189
  *
1613
- * Download a previously uploaded asset.
2190
+ * Return details for a specific version of a plugin.
1614
2191
  */
1615
- get<ThrowOnError extends boolean = false>(parameters: {
2192
+ version<ThrowOnError extends boolean = false>(parameters: {
1616
2193
  id: string;
2194
+ version: string;
1617
2195
  directory?: string;
1618
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AssetGetResponses, AssetGetErrors, ThrowOnError, "fields">;
1619
- }
1620
- export declare class Stats extends HeyApiClient {
2196
+ scopeID?: string;
2197
+ source?: "official" | "local";
2198
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<RegistryPluginsVersionResponses, RegistryPluginsVersionErrors, ThrowOnError, "fields">;
1621
2199
  /**
1622
- * Get stats snapshot
2200
+ * Download plugin version
1623
2201
  *
1624
- * Get the full stats snapshot. Returns cached snapshot if available, otherwise computes incrementally. Use ?recompute=true to force a full recompute from scratch.
2202
+ * Download a plugin version archive. If downloadUrl is a file:// path within the registry store, streams the file. Otherwise returns 501.
1625
2203
  */
1626
- get<ThrowOnError extends boolean = false>(parameters?: {
2204
+ download<ThrowOnError extends boolean = false>(parameters: {
2205
+ id: string;
2206
+ version: string;
1627
2207
  directory?: string;
1628
- recompute?: "true" | "false";
1629
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<StatsGetResponses, StatsGetErrors, ThrowOnError, "fields">;
2208
+ scopeID?: string;
2209
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<RegistryPluginsDownloadResponses, RegistryPluginsDownloadErrors, ThrowOnError, "fields">;
1630
2210
  /**
1631
- * Stream stats recompute progress
2211
+ * Publish plugin entry
1632
2212
  *
1633
- * Force a stats recompute and stream progress updates over SSE until the final snapshot is ready.
2213
+ * Publish a new plugin entry or update an existing one. Local registry publishing is localhost-only.
1634
2214
  */
1635
- progress<ThrowOnError extends boolean = false>(parameters?: {
2215
+ publish<ThrowOnError extends boolean = false>(parameters?: {
1636
2216
  directory?: string;
1637
- }, options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<StatsProgressResponses, unknown>>;
2217
+ scopeID?: string;
2218
+ registryPublishInput?: RegistryPublishInput;
2219
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<RegistryPluginsPublishResponses, RegistryPluginsPublishErrors, ThrowOnError, "fields">;
2220
+ }
2221
+ export declare class Api extends HeyApiClient {
2222
+ plugins: Plugins;
2223
+ }
2224
+ export declare class Registry extends HeyApiClient {
2225
+ plugins: Plugins;
1638
2226
  }
1639
2227
  export declare class App extends HeyApiClient {
1640
2228
  /**
@@ -1644,6 +2232,7 @@ export declare class App extends HeyApiClient {
1644
2232
  */
1645
2233
  log<ThrowOnError extends boolean = false>(parameters?: {
1646
2234
  directory?: string;
2235
+ scopeID?: string;
1647
2236
  service?: string;
1648
2237
  level?: "debug" | "info" | "error" | "warn";
1649
2238
  message?: string;
@@ -1658,6 +2247,7 @@ export declare class App extends HeyApiClient {
1658
2247
  */
1659
2248
  agents<ThrowOnError extends boolean = false>(parameters?: {
1660
2249
  directory?: string;
2250
+ scopeID?: string;
1661
2251
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppAgentsResponses, unknown, ThrowOnError, "fields">;
1662
2252
  /**
1663
2253
  * Get or create app channel session
@@ -1666,6 +2256,7 @@ export declare class App extends HeyApiClient {
1666
2256
  */
1667
2257
  session<ThrowOnError extends boolean = false>(parameters?: {
1668
2258
  directory?: string;
2259
+ scopeID?: string;
1669
2260
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ChannelAppSessionResponses, unknown, ThrowOnError, "fields">;
1670
2261
  /**
1671
2262
  * Reset app channel session
@@ -1674,6 +2265,7 @@ export declare class App extends HeyApiClient {
1674
2265
  */
1675
2266
  reset<ThrowOnError extends boolean = false>(parameters?: {
1676
2267
  directory?: string;
2268
+ scopeID?: string;
1677
2269
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ChannelAppResetResponses, unknown, ThrowOnError, "fields">;
1678
2270
  }
1679
2271
  export declare class Auth extends HeyApiClient {
@@ -1685,6 +2277,7 @@ export declare class Auth extends HeyApiClient {
1685
2277
  remove<ThrowOnError extends boolean = false>(parameters: {
1686
2278
  name: string;
1687
2279
  directory?: string;
2280
+ scopeID?: string;
1688
2281
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthRemoveResponses, McpAuthRemoveErrors, ThrowOnError, "fields">;
1689
2282
  /**
1690
2283
  * Start MCP OAuth
@@ -1694,6 +2287,7 @@ export declare class Auth extends HeyApiClient {
1694
2287
  start<ThrowOnError extends boolean = false>(parameters: {
1695
2288
  name: string;
1696
2289
  directory?: string;
2290
+ scopeID?: string;
1697
2291
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthStartResponses, McpAuthStartErrors, ThrowOnError, "fields">;
1698
2292
  /**
1699
2293
  * Complete MCP OAuth
@@ -1703,6 +2297,7 @@ export declare class Auth extends HeyApiClient {
1703
2297
  callback<ThrowOnError extends boolean = false>(parameters: {
1704
2298
  name: string;
1705
2299
  directory?: string;
2300
+ scopeID?: string;
1706
2301
  code?: string;
1707
2302
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthCallbackResponses, McpAuthCallbackErrors, ThrowOnError, "fields">;
1708
2303
  /**
@@ -1713,6 +2308,7 @@ export declare class Auth extends HeyApiClient {
1713
2308
  authenticate<ThrowOnError extends boolean = false>(parameters: {
1714
2309
  name: string;
1715
2310
  directory?: string;
2311
+ scopeID?: string;
1716
2312
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthAuthenticateResponses, McpAuthAuthenticateErrors, ThrowOnError, "fields">;
1717
2313
  /**
1718
2314
  * Set auth credentials
@@ -1722,6 +2318,7 @@ export declare class Auth extends HeyApiClient {
1722
2318
  set<ThrowOnError extends boolean = false>(parameters: {
1723
2319
  providerID: string;
1724
2320
  directory?: string;
2321
+ scopeID?: string;
1725
2322
  auth?: Auth2;
1726
2323
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AuthSetResponses, AuthSetErrors, ThrowOnError, "fields">;
1727
2324
  }
@@ -1733,6 +2330,7 @@ export declare class Mcp extends HeyApiClient {
1733
2330
  */
1734
2331
  status<ThrowOnError extends boolean = false>(parameters?: {
1735
2332
  directory?: string;
2333
+ scopeID?: string;
1736
2334
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpStatusResponses, unknown, ThrowOnError, "fields">;
1737
2335
  /**
1738
2336
  * Add MCP server
@@ -1741,6 +2339,7 @@ export declare class Mcp extends HeyApiClient {
1741
2339
  */
1742
2340
  add<ThrowOnError extends boolean = false>(parameters?: {
1743
2341
  directory?: string;
2342
+ scopeID?: string;
1744
2343
  name?: string;
1745
2344
  config?: McpLocalConfig | McpRemoteConfig;
1746
2345
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAddResponses, McpAddErrors, ThrowOnError, "fields">;
@@ -1750,6 +2349,7 @@ export declare class Mcp extends HeyApiClient {
1750
2349
  connect<ThrowOnError extends boolean = false>(parameters: {
1751
2350
  name: string;
1752
2351
  directory?: string;
2352
+ scopeID?: string;
1753
2353
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpConnectResponses, unknown, ThrowOnError, "fields">;
1754
2354
  /**
1755
2355
  * Disconnect an MCP server
@@ -1757,26 +2357,49 @@ export declare class Mcp extends HeyApiClient {
1757
2357
  disconnect<ThrowOnError extends boolean = false>(parameters: {
1758
2358
  name: string;
1759
2359
  directory?: string;
2360
+ scopeID?: string;
1760
2361
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpDisconnectResponses, unknown, ThrowOnError, "fields">;
1761
- auth: Auth;
1762
- }
1763
- export declare class Genesis extends HeyApiClient {
1764
2362
  /**
1765
- * Get or create genesis channel session
2363
+ * Restart MCP server
1766
2364
  *
1767
- * Returns the active Genesis setup session, creating one if none exists.
2365
+ * Disconnect and reconnect an MCP server, resetting retry count.
1768
2366
  */
1769
- session<ThrowOnError extends boolean = false>(parameters?: {
2367
+ restart<ThrowOnError extends boolean = false>(parameters: {
2368
+ name: string;
1770
2369
  directory?: string;
1771
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ChannelGenesisSessionResponses, unknown, ThrowOnError, "fields">;
2370
+ scopeID?: string;
2371
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpRestartResponses, McpRestartErrors, ThrowOnError, "fields">;
1772
2372
  /**
1773
- * Reset genesis channel session
2373
+ * Refresh MCP server discovery
1774
2374
  *
1775
- * Archives the current Genesis session. The next call to get session will create a fresh one.
2375
+ * Re-list tools, prompts, and resources for a connected MCP server.
1776
2376
  */
1777
- reset<ThrowOnError extends boolean = false>(parameters?: {
2377
+ refresh<ThrowOnError extends boolean = false>(parameters: {
2378
+ name: string;
2379
+ directory?: string;
2380
+ scopeID?: string;
2381
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpRefreshResponses, McpRefreshErrors, ThrowOnError, "fields">;
2382
+ /**
2383
+ * Inspect MCP server
2384
+ *
2385
+ * Get status and lightweight diagnostics (tool names, resources, prompts) for an MCP server.
2386
+ */
2387
+ inspect<ThrowOnError extends boolean = false>(parameters: {
2388
+ name: string;
2389
+ directory?: string;
2390
+ scopeID?: string;
2391
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpInspectResponses, McpInspectErrors, ThrowOnError, "fields">;
2392
+ /**
2393
+ * Test MCP server
2394
+ *
2395
+ * Validate presence and return status snapshot for an MCP server.
2396
+ */
2397
+ test<ThrowOnError extends boolean = false>(parameters: {
2398
+ name: string;
1778
2399
  directory?: string;
1779
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ChannelGenesisResetResponses, unknown, ThrowOnError, "fields">;
2400
+ scopeID?: string;
2401
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpTestResponses, McpTestErrors, ThrowOnError, "fields">;
2402
+ auth: Auth;
1780
2403
  }
1781
2404
  export declare class Channel extends HeyApiClient {
1782
2405
  /**
@@ -1786,6 +2409,7 @@ export declare class Channel extends HeyApiClient {
1786
2409
  */
1787
2410
  status<ThrowOnError extends boolean = false>(parameters?: {
1788
2411
  directory?: string;
2412
+ scopeID?: string;
1789
2413
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ChannelStatusResponses, unknown, ThrowOnError, "fields">;
1790
2414
  /**
1791
2415
  * Start all channels
@@ -1794,6 +2418,7 @@ export declare class Channel extends HeyApiClient {
1794
2418
  */
1795
2419
  start<ThrowOnError extends boolean = false>(parameters?: {
1796
2420
  directory?: string;
2421
+ scopeID?: string;
1797
2422
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ChannelStartResponses, unknown, ThrowOnError, "fields">;
1798
2423
  /**
1799
2424
  * Stop all channels
@@ -1802,6 +2427,7 @@ export declare class Channel extends HeyApiClient {
1802
2427
  */
1803
2428
  stop<ThrowOnError extends boolean = false>(parameters?: {
1804
2429
  directory?: string;
2430
+ scopeID?: string;
1805
2431
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ChannelStopResponses, unknown, ThrowOnError, "fields">;
1806
2432
  /**
1807
2433
  * Start a channel
@@ -1812,6 +2438,7 @@ export declare class Channel extends HeyApiClient {
1812
2438
  channelType: string;
1813
2439
  accountId: string;
1814
2440
  directory?: string;
2441
+ scopeID?: string;
1815
2442
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ChannelStartOneResponses, unknown, ThrowOnError, "fields">;
1816
2443
  /**
1817
2444
  * Stop a channel
@@ -1822,6 +2449,7 @@ export declare class Channel extends HeyApiClient {
1822
2449
  channelType: string;
1823
2450
  accountId: string;
1824
2451
  directory?: string;
2452
+ scopeID?: string;
1825
2453
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ChannelStopOneResponses, unknown, ThrowOnError, "fields">;
1826
2454
  /**
1827
2455
  * Disconnect channel account
@@ -1832,9 +2460,9 @@ export declare class Channel extends HeyApiClient {
1832
2460
  channelType: string;
1833
2461
  accountId: string;
1834
2462
  directory?: string;
2463
+ scopeID?: string;
1835
2464
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ChannelDisconnectResponses, unknown, ThrowOnError, "fields">;
1836
2465
  app: App;
1837
- genesis: Genesis;
1838
2466
  }
1839
2467
  export declare class Resource extends HeyApiClient {
1840
2468
  /**
@@ -1844,6 +2472,7 @@ export declare class Resource extends HeyApiClient {
1844
2472
  */
1845
2473
  list<ThrowOnError extends boolean = false>(parameters?: {
1846
2474
  directory?: string;
2475
+ scopeID?: string;
1847
2476
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalResourceListResponses, unknown, ThrowOnError, "fields">;
1848
2477
  }
1849
2478
  export declare class Experimental extends HeyApiClient {
@@ -1857,6 +2486,7 @@ export declare class Lsp extends HeyApiClient {
1857
2486
  */
1858
2487
  status<ThrowOnError extends boolean = false>(parameters?: {
1859
2488
  directory?: string;
2489
+ scopeID?: string;
1860
2490
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LspStatusResponses, unknown, ThrowOnError, "fields">;
1861
2491
  }
1862
2492
  export declare class Formatter extends HeyApiClient {
@@ -1867,6 +2497,7 @@ export declare class Formatter extends HeyApiClient {
1867
2497
  */
1868
2498
  status<ThrowOnError extends boolean = false>(parameters?: {
1869
2499
  directory?: string;
2500
+ scopeID?: string;
1870
2501
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FormatterStatusResponses, unknown, ThrowOnError, "fields">;
1871
2502
  }
1872
2503
  export declare class Event extends HeyApiClient {
@@ -1877,6 +2508,7 @@ export declare class Event extends HeyApiClient {
1877
2508
  */
1878
2509
  subscribe<ThrowOnError extends boolean = false>(parameters?: {
1879
2510
  directory?: string;
2511
+ scopeID?: string;
1880
2512
  }, options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<EventSubscribeResponses, unknown>>;
1881
2513
  }
1882
2514
  export declare class SynergyClient extends HeyApiClient {
@@ -1889,12 +2521,12 @@ export declare class SynergyClient extends HeyApiClient {
1889
2521
  holos: Holos;
1890
2522
  agenda: Agenda;
1891
2523
  scope: Scope;
1892
- git: Git;
1893
2524
  pty: Pty;
1894
2525
  config: Config;
1895
2526
  runtime: Runtime;
2527
+ controlProfile: ControlProfile;
2528
+ sandbox: Sandbox;
1896
2529
  tool: Tool;
1897
- instance: Instance;
1898
2530
  path: Path;
1899
2531
  worktree: Worktree;
1900
2532
  vcs: Vcs;
@@ -1910,8 +2542,11 @@ export declare class SynergyClient extends HeyApiClient {
1910
2542
  file: File;
1911
2543
  engram: Engram;
1912
2544
  note: Note;
2545
+ blueprint: Blueprint;
1913
2546
  asset: Asset;
1914
- stats: Stats;
2547
+ plugin: Plugin;
2548
+ api: Api;
2549
+ registry: Registry;
1915
2550
  app: App;
1916
2551
  mcp: Mcp;
1917
2552
  channel: Channel;