@ericsanchezok/synergy-sdk 2.2.1 → 2.2.2

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, 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";
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, 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, LibraryExperienceApplyRewardErrors, LibraryExperienceApplyRewardResponses, LibraryExperienceGetErrors, LibraryExperienceGetResponses, LibraryExperienceListResponses, LibraryExperiencePageErrors, LibraryExperiencePageResponses, LibraryExperienceRemoveErrors, LibraryExperienceRemoveResponses, LibraryExperienceSearchErrors, LibraryExperienceSearchResponses, LibraryGetErrors, LibraryGetResponses, LibraryListResponses, LibraryRemoveErrors, LibraryRemoveResponses, LibraryResetErrors, LibraryResetResponses, LibrarySearchErrors, LibrarySearchResponses, LibraryStatsErrors, LibraryStatsResponses, 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, ObservabilityDiagnosticsSummaryResponses, 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, SessionFilesRestoreErrors, SessionFilesRestoreResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionIndexResponses, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRollbackErrors, SessionRollbackResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrollbackErrors, SessionUnrollbackResponses, 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
@@ -213,6 +213,22 @@ export declare class Agenda extends HeyApiClient {
213
213
  agendaCreateInput?: AgendaCreateInput;
214
214
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaCreateResponses, AgendaCreateErrors, ThrowOnError, "fields">;
215
215
  }
216
+ export declare class Files extends HeyApiClient {
217
+ /**
218
+ * Restore session files
219
+ *
220
+ * Explicitly restore files from session patch data. Message rollback never calls this automatically.
221
+ */
222
+ restore<ThrowOnError extends boolean = false>(parameters: {
223
+ sessionID: string;
224
+ directory?: string;
225
+ scopeID?: string;
226
+ rollbackID?: string;
227
+ messageID?: string;
228
+ partID?: string;
229
+ files?: Array<string>;
230
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionFilesRestoreResponses, SessionFilesRestoreErrors, ThrowOnError, "fields">;
231
+ }
216
232
  export declare class Export extends HeyApiClient {
217
233
  /**
218
234
  * Estimate session export size
@@ -404,6 +420,25 @@ export declare class Session extends HeyApiClient {
404
420
  directory?: string;
405
421
  scopeID?: string;
406
422
  messageID?: string;
423
+ position?: {
424
+ type: "current";
425
+ } | {
426
+ type: "before";
427
+ messageID: string;
428
+ };
429
+ workspace?: {
430
+ mode: "current";
431
+ } | {
432
+ mode: "existing";
433
+ target: string;
434
+ force?: boolean;
435
+ } | {
436
+ mode: "create";
437
+ name?: string;
438
+ baseRef?: "current" | "fresh";
439
+ };
440
+ title?: string;
441
+ controlProfile?: "guarded" | "autonomous" | "full_access";
407
442
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionForkResponses, unknown, ThrowOnError, "fields">;
408
443
  /**
409
444
  * Abort session
@@ -438,6 +473,7 @@ export declare class Session extends HeyApiClient {
438
473
  directory?: string;
439
474
  scopeID?: string;
440
475
  limit?: number;
476
+ raw?: boolean;
441
477
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMessagesResponses, SessionMessagesErrors, ThrowOnError, "fields">;
442
478
  /**
443
479
  * Send message
@@ -563,27 +599,26 @@ export declare class Session extends HeyApiClient {
563
599
  command?: string;
564
600
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionShellResponses, SessionShellErrors, ThrowOnError, "fields">;
565
601
  /**
566
- * Revert message
602
+ * Rollback session history
567
603
  *
568
- * Revert a specific message in a session, undoing its effects and restoring the previous state.
604
+ * Hide the latest user turn(s) from effective message history without modifying local files.
569
605
  */
570
- revert<ThrowOnError extends boolean = false>(parameters: {
606
+ rollback<ThrowOnError extends boolean = false>(parameters: {
571
607
  sessionID: string;
572
608
  directory?: string;
573
609
  scopeID?: string;
574
- messageID?: string;
575
- partID?: string;
576
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionRevertResponses, SessionRevertErrors, ThrowOnError, "fields">;
610
+ numTurns?: number;
611
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionRollbackResponses, SessionRollbackErrors, ThrowOnError, "fields">;
577
612
  /**
578
- * Restore reverted messages
613
+ * Restore rolled-back session history
579
614
  *
580
- * Restore all previously reverted messages in a session.
615
+ * Restore the latest rollback when no new user or assistant turn has been added after it.
581
616
  */
582
- unrevert<ThrowOnError extends boolean = false>(parameters: {
617
+ unrollback<ThrowOnError extends boolean = false>(parameters: {
583
618
  sessionID: string;
584
619
  directory?: string;
585
620
  scopeID?: string;
586
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUnrevertResponses, SessionUnrevertErrors, ThrowOnError, "fields">;
621
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUnrollbackResponses, SessionUnrollbackErrors, ThrowOnError, "fields">;
587
622
  /**
588
623
  * Toggle Plan Mode
589
624
  *
@@ -595,6 +630,7 @@ export declare class Session extends HeyApiClient {
595
630
  scopeID?: string;
596
631
  planMode?: boolean;
597
632
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<BlueprintSessionPlanModeResponses, BlueprintSessionPlanModeErrors, ThrowOnError, "fields">;
633
+ files: Files;
598
634
  export: Export;
599
635
  }
600
636
  export declare class Nav extends HeyApiClient {
@@ -641,6 +677,17 @@ export declare class Global extends HeyApiClient {
641
677
  session: Session;
642
678
  nav: Nav;
643
679
  }
680
+ export declare class Diagnostics extends HeyApiClient {
681
+ /**
682
+ * Get local diagnostics summary
683
+ *
684
+ * Get a readonly local diagnostics summary for the Synergy server.
685
+ */
686
+ summary<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ObservabilityDiagnosticsSummaryResponses, unknown, ThrowOnError, "fields">;
687
+ }
688
+ export declare class Observability extends HeyApiClient {
689
+ diagnostics: Diagnostics;
690
+ }
644
691
  export declare class Credentials extends HeyApiClient {
645
692
  /**
646
693
  * Check local credential status
@@ -1097,7 +1144,7 @@ export declare class Domain extends HeyApiClient {
1097
1144
  * Read one canonical global config domain fragment.
1098
1145
  */
1099
1146
  get<ThrowOnError extends boolean = false>(parameters: {
1100
- domain: "general" | "models" | "providers" | "engram" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime";
1147
+ domain: "general" | "models" | "providers" | "library" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime";
1101
1148
  directory?: string;
1102
1149
  scopeID?: string;
1103
1150
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigDomainGetResponses, ConfigDomainGetErrors, ThrowOnError, "fields">;
@@ -1107,7 +1154,7 @@ export declare class Domain extends HeyApiClient {
1107
1154
  * Update one canonical global config domain fragment.
1108
1155
  */
1109
1156
  update<ThrowOnError extends boolean = false>(parameters: {
1110
- domain: "general" | "models" | "providers" | "engram" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime";
1157
+ domain: "general" | "models" | "providers" | "library" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime";
1111
1158
  directory?: string;
1112
1159
  scopeID?: string;
1113
1160
  configDomainUpdateInput?: ConfigDomainUpdateInput;
@@ -1133,7 +1180,7 @@ export declare class Import extends HeyApiClient {
1133
1180
  directory?: string;
1134
1181
  scopeID?: string;
1135
1182
  config?: Config2;
1136
- only?: Array<"general" | "models" | "providers" | "engram" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime">;
1183
+ only?: Array<"general" | "models" | "providers" | "library" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime">;
1137
1184
  mode?: "merge" | "replace-domain" | "append";
1138
1185
  yes?: boolean;
1139
1186
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigImportApplyResponses, ConfigImportApplyErrors, ThrowOnError, "fields">;
@@ -1606,7 +1653,7 @@ export declare class Experience extends HeyApiClient {
1606
1653
  query?: string;
1607
1654
  body_scopeID?: string;
1608
1655
  topK?: number;
1609
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceSearchResponses, EngramExperienceSearchErrors, ThrowOnError, "fields">;
1656
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LibraryExperienceSearchResponses, LibraryExperienceSearchErrors, ThrowOnError, "fields">;
1610
1657
  /**
1611
1658
  * Page experiences
1612
1659
  *
@@ -1620,7 +1667,7 @@ export declare class Experience extends HeyApiClient {
1620
1667
  sort?: ExperienceListSort;
1621
1668
  limit?: number;
1622
1669
  offset?: number;
1623
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperiencePageResponses, EngramExperiencePageErrors, ThrowOnError, "fields">;
1670
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LibraryExperiencePageResponses, LibraryExperiencePageErrors, ThrowOnError, "fields">;
1624
1671
  /**
1625
1672
  * Delete experience
1626
1673
  *
@@ -1630,7 +1677,7 @@ export declare class Experience extends HeyApiClient {
1630
1677
  id: string;
1631
1678
  directory?: string;
1632
1679
  scopeID?: string;
1633
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceRemoveResponses, EngramExperienceRemoveErrors, ThrowOnError, "fields">;
1680
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LibraryExperienceRemoveResponses, LibraryExperienceRemoveErrors, ThrowOnError, "fields">;
1634
1681
  /**
1635
1682
  * Get experience detail
1636
1683
  *
@@ -1640,7 +1687,7 @@ export declare class Experience extends HeyApiClient {
1640
1687
  id: string;
1641
1688
  directory?: string;
1642
1689
  scopeID?: string;
1643
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceGetResponses, EngramExperienceGetErrors, ThrowOnError, "fields">;
1690
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LibraryExperienceGetResponses, LibraryExperienceGetErrors, ThrowOnError, "fields">;
1644
1691
  /**
1645
1692
  * Apply reward to experience
1646
1693
  *
@@ -1652,7 +1699,7 @@ export declare class Experience extends HeyApiClient {
1652
1699
  scopeID?: string;
1653
1700
  reward?: number;
1654
1701
  rewards?: RewardsInfo;
1655
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceApplyRewardResponses, EngramExperienceApplyRewardErrors, ThrowOnError, "fields">;
1702
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LibraryExperienceApplyRewardResponses, LibraryExperienceApplyRewardErrors, ThrowOnError, "fields">;
1656
1703
  /**
1657
1704
  * List experiences
1658
1705
  *
@@ -1661,19 +1708,19 @@ export declare class Experience extends HeyApiClient {
1661
1708
  list<ThrowOnError extends boolean = false>(parameters?: {
1662
1709
  directory?: string;
1663
1710
  scopeID?: string;
1664
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceListResponses, unknown, ThrowOnError, "fields">;
1711
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LibraryExperienceListResponses, unknown, ThrowOnError, "fields">;
1665
1712
  }
1666
- export declare class Engram extends HeyApiClient {
1713
+ export declare class Library extends HeyApiClient {
1667
1714
  /**
1668
- * Get engram stats
1715
+ * Get library stats
1669
1716
  *
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.
1717
+ * Get statistics about the library 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.
1671
1718
  */
1672
1719
  stats<ThrowOnError extends boolean = false>(parameters?: {
1673
1720
  directory?: string;
1674
1721
  scopeID?: string;
1675
1722
  recompute?: "true" | "false";
1676
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramStatsResponses, EngramStatsErrors, ThrowOnError, "fields">;
1723
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LibraryStatsResponses, LibraryStatsErrors, ThrowOnError, "fields">;
1677
1724
  /**
1678
1725
  * Search memories
1679
1726
  *
@@ -1686,7 +1733,7 @@ export declare class Engram extends HeyApiClient {
1686
1733
  topK?: number;
1687
1734
  categories?: Array<MemoryCategory>;
1688
1735
  recallModes?: Array<MemoryRecallMode>;
1689
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramSearchResponses, EngramSearchErrors, ThrowOnError, "fields">;
1736
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LibrarySearchResponses, LibrarySearchErrors, ThrowOnError, "fields">;
1690
1737
  /**
1691
1738
  * Reset memory data
1692
1739
  *
@@ -1698,7 +1745,7 @@ export declare class Engram extends HeyApiClient {
1698
1745
  type?: "memory" | "experience" | "all";
1699
1746
  body_scopeID?: string;
1700
1747
  confirm?: true;
1701
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramResetResponses, EngramResetErrors, ThrowOnError, "fields">;
1748
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LibraryResetResponses, LibraryResetErrors, ThrowOnError, "fields">;
1702
1749
  /**
1703
1750
  * Delete memory
1704
1751
  *
@@ -1708,7 +1755,7 @@ export declare class Engram extends HeyApiClient {
1708
1755
  id: string;
1709
1756
  directory?: string;
1710
1757
  scopeID?: string;
1711
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramRemoveResponses, EngramRemoveErrors, ThrowOnError, "fields">;
1758
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LibraryRemoveResponses, LibraryRemoveErrors, ThrowOnError, "fields">;
1712
1759
  /**
1713
1760
  * Get memory
1714
1761
  *
@@ -1718,7 +1765,7 @@ export declare class Engram extends HeyApiClient {
1718
1765
  id: string;
1719
1766
  directory?: string;
1720
1767
  scopeID?: string;
1721
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramGetResponses, EngramGetErrors, ThrowOnError, "fields">;
1768
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LibraryGetResponses, LibraryGetErrors, ThrowOnError, "fields">;
1722
1769
  /**
1723
1770
  * List memories
1724
1771
  *
@@ -1729,7 +1776,7 @@ export declare class Engram extends HeyApiClient {
1729
1776
  scopeID?: string;
1730
1777
  category?: MemoryCategory;
1731
1778
  recallMode?: MemoryRecallMode;
1732
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramListResponses, unknown, ThrowOnError, "fields">;
1779
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LibraryListResponses, unknown, ThrowOnError, "fields">;
1733
1780
  experience: Experience;
1734
1781
  }
1735
1782
  export declare class Note extends HeyApiClient {
@@ -2518,6 +2565,7 @@ export declare class SynergyClient extends HeyApiClient {
2518
2565
  key?: string;
2519
2566
  });
2520
2567
  global: Global;
2568
+ observability: Observability;
2521
2569
  holos: Holos;
2522
2570
  agenda: Agenda;
2523
2571
  scope: Scope;
@@ -2540,7 +2588,7 @@ export declare class SynergyClient extends HeyApiClient {
2540
2588
  skill: Skill;
2541
2589
  find: Find;
2542
2590
  file: File;
2543
- engram: Engram;
2591
+ library: Library;
2544
2592
  note: Note;
2545
2593
  blueprint: Blueprint;
2546
2594
  asset: Asset;
@@ -397,6 +397,38 @@ export class Agenda extends HeyApiClient {
397
397
  });
398
398
  }
399
399
  }
400
+ export class Files extends HeyApiClient {
401
+ /**
402
+ * Restore session files
403
+ *
404
+ * Explicitly restore files from session patch data. Message rollback never calls this automatically.
405
+ */
406
+ restore(parameters, options) {
407
+ const params = buildClientParams([parameters], [
408
+ {
409
+ args: [
410
+ { in: "path", key: "sessionID" },
411
+ { in: "query", key: "directory" },
412
+ { in: "query", key: "scopeID" },
413
+ { in: "body", key: "rollbackID" },
414
+ { in: "body", key: "messageID" },
415
+ { in: "body", key: "partID" },
416
+ { in: "body", key: "files" },
417
+ ],
418
+ },
419
+ ]);
420
+ return (options?.client ?? this.client).post({
421
+ url: "/session/{sessionID}/files/restore",
422
+ ...options,
423
+ ...params,
424
+ headers: {
425
+ "Content-Type": "application/json",
426
+ ...options?.headers,
427
+ ...params.headers,
428
+ },
429
+ });
430
+ }
431
+ }
400
432
  export class Export extends HeyApiClient {
401
433
  /**
402
434
  * Estimate session export size
@@ -769,6 +801,10 @@ export class Session extends HeyApiClient {
769
801
  { in: "query", key: "directory" },
770
802
  { in: "query", key: "scopeID" },
771
803
  { in: "body", key: "messageID" },
804
+ { in: "body", key: "position" },
805
+ { in: "body", key: "workspace" },
806
+ { in: "body", key: "title" },
807
+ { in: "body", key: "controlProfile" },
772
808
  ],
773
809
  },
774
810
  ]);
@@ -846,6 +882,7 @@ export class Session extends HeyApiClient {
846
882
  { in: "query", key: "directory" },
847
883
  { in: "query", key: "scopeID" },
848
884
  { in: "query", key: "limit" },
885
+ { in: "query", key: "raw" },
849
886
  ],
850
887
  },
851
888
  ]);
@@ -1033,24 +1070,23 @@ export class Session extends HeyApiClient {
1033
1070
  });
1034
1071
  }
1035
1072
  /**
1036
- * Revert message
1073
+ * Rollback session history
1037
1074
  *
1038
- * Revert a specific message in a session, undoing its effects and restoring the previous state.
1075
+ * Hide the latest user turn(s) from effective message history without modifying local files.
1039
1076
  */
1040
- revert(parameters, options) {
1077
+ rollback(parameters, options) {
1041
1078
  const params = buildClientParams([parameters], [
1042
1079
  {
1043
1080
  args: [
1044
1081
  { in: "path", key: "sessionID" },
1045
1082
  { in: "query", key: "directory" },
1046
1083
  { in: "query", key: "scopeID" },
1047
- { in: "body", key: "messageID" },
1048
- { in: "body", key: "partID" },
1084
+ { in: "body", key: "numTurns" },
1049
1085
  ],
1050
1086
  },
1051
1087
  ]);
1052
1088
  return (options?.client ?? this.client).post({
1053
- url: "/session/{sessionID}/revert",
1089
+ url: "/session/{sessionID}/rollback",
1054
1090
  ...options,
1055
1091
  ...params,
1056
1092
  headers: {
@@ -1061,11 +1097,11 @@ export class Session extends HeyApiClient {
1061
1097
  });
1062
1098
  }
1063
1099
  /**
1064
- * Restore reverted messages
1100
+ * Restore rolled-back session history
1065
1101
  *
1066
- * Restore all previously reverted messages in a session.
1102
+ * Restore the latest rollback when no new user or assistant turn has been added after it.
1067
1103
  */
1068
- unrevert(parameters, options) {
1104
+ unrollback(parameters, options) {
1069
1105
  const params = buildClientParams([parameters], [
1070
1106
  {
1071
1107
  args: [
@@ -1076,7 +1112,7 @@ export class Session extends HeyApiClient {
1076
1112
  },
1077
1113
  ]);
1078
1114
  return (options?.client ?? this.client).post({
1079
- url: "/session/{sessionID}/unrevert",
1115
+ url: "/session/{sessionID}/unrollback",
1080
1116
  ...options,
1081
1117
  ...params,
1082
1118
  });
@@ -1108,6 +1144,7 @@ export class Session extends HeyApiClient {
1108
1144
  },
1109
1145
  });
1110
1146
  }
1147
+ files = new Files({ client: this.client });
1111
1148
  export = new Export({ client: this.client });
1112
1149
  }
1113
1150
  export class Nav extends HeyApiClient {
@@ -1180,6 +1217,22 @@ export class Global extends HeyApiClient {
1180
1217
  session = new Session({ client: this.client });
1181
1218
  nav = new Nav({ client: this.client });
1182
1219
  }
1220
+ export class Diagnostics extends HeyApiClient {
1221
+ /**
1222
+ * Get local diagnostics summary
1223
+ *
1224
+ * Get a readonly local diagnostics summary for the Synergy server.
1225
+ */
1226
+ summary(options) {
1227
+ return (options?.client ?? this.client).get({
1228
+ url: "/global/diagnostics",
1229
+ ...options,
1230
+ });
1231
+ }
1232
+ }
1233
+ export class Observability extends HeyApiClient {
1234
+ diagnostics = new Diagnostics({ client: this.client });
1235
+ }
1183
1236
  export class Credentials extends HeyApiClient {
1184
1237
  /**
1185
1238
  * Check local credential status
@@ -3228,7 +3281,7 @@ export class Experience extends HeyApiClient {
3228
3281
  },
3229
3282
  ]);
3230
3283
  return (options?.client ?? this.client).post({
3231
- url: "/engram/experience/search",
3284
+ url: "/library/experience/search",
3232
3285
  ...options,
3233
3286
  ...params,
3234
3287
  headers: {
@@ -3258,7 +3311,7 @@ export class Experience extends HeyApiClient {
3258
3311
  },
3259
3312
  ]);
3260
3313
  return (options?.client ?? this.client).get({
3261
- url: "/engram/experience/page",
3314
+ url: "/library/experience/page",
3262
3315
  ...options,
3263
3316
  ...params,
3264
3317
  });
@@ -3279,7 +3332,7 @@ export class Experience extends HeyApiClient {
3279
3332
  },
3280
3333
  ]);
3281
3334
  return (options?.client ?? this.client).delete({
3282
- url: "/engram/experience/{id}",
3335
+ url: "/library/experience/{id}",
3283
3336
  ...options,
3284
3337
  ...params,
3285
3338
  });
@@ -3300,7 +3353,7 @@ export class Experience extends HeyApiClient {
3300
3353
  },
3301
3354
  ]);
3302
3355
  return (options?.client ?? this.client).get({
3303
- url: "/engram/experience/{id}",
3356
+ url: "/library/experience/{id}",
3304
3357
  ...options,
3305
3358
  ...params,
3306
3359
  });
@@ -3323,7 +3376,7 @@ export class Experience extends HeyApiClient {
3323
3376
  },
3324
3377
  ]);
3325
3378
  return (options?.client ?? this.client).put({
3326
- url: "/engram/experience/{id}/reward",
3379
+ url: "/library/experience/{id}/reward",
3327
3380
  ...options,
3328
3381
  ...params,
3329
3382
  headers: {
@@ -3348,17 +3401,17 @@ export class Experience extends HeyApiClient {
3348
3401
  },
3349
3402
  ]);
3350
3403
  return (options?.client ?? this.client).get({
3351
- url: "/engram/experience",
3404
+ url: "/library/experience",
3352
3405
  ...options,
3353
3406
  ...params,
3354
3407
  });
3355
3408
  }
3356
3409
  }
3357
- export class Engram extends HeyApiClient {
3410
+ export class Library extends HeyApiClient {
3358
3411
  /**
3359
- * Get engram stats
3412
+ * Get library stats
3360
3413
  *
3361
- * 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.
3414
+ * Get statistics about the library 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.
3362
3415
  */
3363
3416
  stats(parameters, options) {
3364
3417
  const params = buildClientParams([parameters], [
@@ -3371,7 +3424,7 @@ export class Engram extends HeyApiClient {
3371
3424
  },
3372
3425
  ]);
3373
3426
  return (options?.client ?? this.client).get({
3374
- url: "/engram/stats",
3427
+ url: "/library/stats",
3375
3428
  ...options,
3376
3429
  ...params,
3377
3430
  });
@@ -3395,7 +3448,7 @@ export class Engram extends HeyApiClient {
3395
3448
  },
3396
3449
  ]);
3397
3450
  return (options?.client ?? this.client).post({
3398
- url: "/engram/search",
3451
+ url: "/library/search",
3399
3452
  ...options,
3400
3453
  ...params,
3401
3454
  headers: {
@@ -3431,7 +3484,7 @@ export class Engram extends HeyApiClient {
3431
3484
  },
3432
3485
  ]);
3433
3486
  return (options?.client ?? this.client).post({
3434
- url: "/engram/reset",
3487
+ url: "/library/reset",
3435
3488
  ...options,
3436
3489
  ...params,
3437
3490
  headers: {
@@ -3457,7 +3510,7 @@ export class Engram extends HeyApiClient {
3457
3510
  },
3458
3511
  ]);
3459
3512
  return (options?.client ?? this.client).delete({
3460
- url: "/engram/{id}",
3513
+ url: "/library/{id}",
3461
3514
  ...options,
3462
3515
  ...params,
3463
3516
  });
@@ -3478,7 +3531,7 @@ export class Engram extends HeyApiClient {
3478
3531
  },
3479
3532
  ]);
3480
3533
  return (options?.client ?? this.client).get({
3481
- url: "/engram/{id}",
3534
+ url: "/library/{id}",
3482
3535
  ...options,
3483
3536
  ...params,
3484
3537
  });
@@ -3500,7 +3553,7 @@ export class Engram extends HeyApiClient {
3500
3553
  },
3501
3554
  ]);
3502
3555
  return (options?.client ?? this.client).get({
3503
- url: "/engram",
3556
+ url: "/library",
3504
3557
  ...options,
3505
3558
  ...params,
3506
3559
  });
@@ -5158,6 +5211,7 @@ export class SynergyClient extends HeyApiClient {
5158
5211
  SynergyClient.__registry.set(this, args?.key);
5159
5212
  }
5160
5213
  global = new Global({ client: this.client });
5214
+ observability = new Observability({ client: this.client });
5161
5215
  holos = new Holos({ client: this.client });
5162
5216
  agenda = new Agenda({ client: this.client });
5163
5217
  scope = new Scope({ client: this.client });
@@ -5180,7 +5234,7 @@ export class SynergyClient extends HeyApiClient {
5180
5234
  skill = new Skill({ client: this.client });
5181
5235
  find = new Find({ client: this.client });
5182
5236
  file = new File({ client: this.client });
5183
- engram = new Engram({ client: this.client });
5237
+ library = new Library({ client: this.client });
5184
5238
  note = new Note({ client: this.client });
5185
5239
  blueprint = new Blueprint({ client: this.client });
5186
5240
  asset = new Asset({ client: this.client });