@ericsanchezok/synergy-sdk 0.0.0-dev-202603260751 → 0.0.0-dev-202603301142

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, AgendaCancelErrors, AgendaCancelResponses, AgendaCompleteErrors, AgendaCompleteResponses, AgendaCreateErrors, AgendaCreateInput, AgendaCreateResponses, AgendaGetErrors, AgendaGetResponses, AgendaPatchInput, AgendaPauseErrors, AgendaPauseResponses, AgendaRemoveErrors, AgendaRemoveResponses, AgendaRunsErrors, AgendaRunsResponses, AgendaSessionsErrors, AgendaSessionsResponses, AgendaTriggerErrors, AgendaTriggerResponses, AgendaUpdateErrors, AgendaUpdateResponses, AppAgentsResponses, AppLogErrors, AppLogResponses, AssetGetErrors, AssetGetResponses, AssetUploadErrors, AssetUploadResponses, Auth as Auth2, AuthSetErrors, AuthSetResponses, ChannelAppResetResponses, ChannelAppSessionResponses, ChannelDisconnectResponses, ChannelGenesisResetResponses, ChannelGenesisSessionResponses, ChannelStatusResponses, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigGlobalResponses, ConfigProvidersResponses, ConfigSetActivateErrors, ConfigSetActivateResponses, ConfigSetCreateErrors, ConfigSetCreateInput, ConfigSetCreateResponses, ConfigSetDeleteErrors, ConfigSetDeleteResponses, ConfigSetGetErrors, ConfigSetGetResponses, ConfigSetListResponses, ConfigSetName, ConfigSetRawGetErrors, ConfigSetRawGetResponses, ConfigSetRawSaveErrors, ConfigSetRawSaveInput, ConfigSetRawSaveResponses, ConfigSetRawValidateErrors, ConfigSetRawValidateInput, ConfigSetRawValidateResponses, ConfigSetUpdateErrors, ConfigSetUpdateResponses, ConfigUpdateErrors, ConfigUpdateResponses, CortexCancelErrors, CortexCancelResponses, CortexGetErrors, CortexGetResponses, CortexListErrors, CortexListResponses, CortexOutputErrors, CortexOutputResponses, EngramExperienceApplyRewardErrors, EngramExperienceApplyRewardResponses, EngramExperienceGetErrors, EngramExperienceGetResponses, EngramExperienceListResponses, EngramExperienceRemoveErrors, EngramExperienceRemoveResponses, EngramExperienceSearchErrors, EngramExperienceSearchResponses, EngramGetErrors, EngramGetResponses, EngramListResponses, EngramRemoveErrors, EngramRemoveResponses, EngramResetErrors, EngramResetResponses, EngramSearchErrors, EngramSearchResponses, EngramStatsResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalResourceListResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GitInitErrors, GitInitResponses, GlobalAgendaListErrors, GlobalAgendaListResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, HolosAgentsGetErrors, HolosAgentsGetResponses, HolosAgentsListResponses, HolosCallbackResponses, HolosContactAddErrors, HolosContactAddResponses, HolosContactGetErrors, HolosContactGetResponses, HolosContactListResponses, HolosContactRemoveResponses, HolosContactSendMessageErrors, HolosContactSendMessageResponses, HolosContactSessionErrors, HolosContactSessionResponses, HolosContactUpdateConfigErrors, HolosContactUpdateConfigResponses, HolosCredentialsErrors, HolosCredentialsResponses, HolosCredentialsStatusResponses, HolosFriendReplyListResponses, HolosFriendRequestCreateErrors, HolosFriendRequestCreateResponses, HolosFriendRequestListResponses, HolosFriendRequestRemoveResponses, HolosFriendRequestRespondErrors, HolosFriendRequestRespondResponses, HolosFriendRequestSendErrors, HolosFriendRequestSendResponses, HolosLoginResponses, HolosLogoutResponses, HolosPresenceResponses, HolosProfileAvatarErrors, HolosProfileAvatarResponses, HolosProfileGetResponses, HolosProfileResetResponses, HolosProfileUpdateErrors, HolosProfileUpdateResponses, HolosQueueListResponses, HolosReconnectErrors, HolosReconnectResponses, HolosRefreshPresenceResponses, HolosVerifyResponses, InstanceDisposeResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, NoteCreateErrors, NoteCreateInput, NoteCreateResponses, NoteExportErrors, NoteExportResponses, NoteGetErrors, NoteGetResponses, NoteListAllErrors, NoteListAllResponses, NoteListErrors, NoteListResponses, NotePatchInput, NoteRemoveErrors, NoteRemoveResponses, NoteUpdateErrors, NoteUpdateResponses, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionIsAllowingAllErrors, PermissionIsAllowingAllResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionSetAllowAllErrors, PermissionSetAllowAllResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, RewardsInfo, RuntimeReloadErrors, RuntimeReloadResponses, RuntimeReloadScope, RuntimeReloadTarget, ScopeCurrentResponses, ScopeListResponses, ScopeRemoveResponses, ScopeUpdateErrors, ScopeUpdateResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDagErrors, SessionDagResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionFeedbackDeleteErrors, SessionFeedbackDeleteResponses, SessionFeedbackGetErrors, SessionFeedbackGetResponses, SessionFeedbackListErrors, SessionFeedbackListResponses, SessionFeedbackSetErrors, SessionFeedbackSetResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUpdateErrors, SessionUpdateResponses, SkillImportErrors, SkillImportResponses, SkillImportUrlErrors, SkillImportUrlResponses, SkillListResponses, SkillReloadResponses, SkillRemoveErrors, SkillRemoveResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptResponses, TuiControlNextResponses, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpResponses, TuiOpenModelsResponses, TuiOpenSessionsResponses, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastResponses, TuiSubmitPromptResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses } from "./types.gen.js";
2
+ import type { AgendaActivateErrors, AgendaActivateResponses, AgendaCancelErrors, AgendaCancelResponses, AgendaCompleteErrors, AgendaCompleteResponses, AgendaCreateErrors, AgendaCreateInput, AgendaCreateResponses, AgendaGetErrors, AgendaGetResponses, AgendaPatchInput, AgendaPauseErrors, AgendaPauseResponses, AgendaRemoveErrors, AgendaRemoveResponses, AgendaRunsErrors, AgendaRunsResponses, AgendaSessionsErrors, AgendaSessionsResponses, AgendaTriggerErrors, AgendaTriggerResponses, AgendaUpdateErrors, AgendaUpdateResponses, AppAgentsResponses, AppLogErrors, AppLogResponses, AssetGetErrors, AssetGetResponses, AssetUploadErrors, AssetUploadResponses, Auth as Auth2, AuthSetErrors, AuthSetResponses, ChannelAppResetResponses, ChannelAppSessionResponses, ChannelDisconnectResponses, ChannelGenesisResetResponses, ChannelGenesisSessionResponses, ChannelStatusResponses, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigGlobalResponses, ConfigProvidersResponses, ConfigSetActivateErrors, ConfigSetActivateResponses, ConfigSetCreateErrors, ConfigSetCreateInput, ConfigSetCreateResponses, ConfigSetDeleteErrors, ConfigSetDeleteResponses, ConfigSetGetErrors, ConfigSetGetResponses, ConfigSetListResponses, ConfigSetName, ConfigSetRawGetErrors, ConfigSetRawGetResponses, ConfigSetRawSaveErrors, ConfigSetRawSaveInput, ConfigSetRawSaveResponses, ConfigSetRawValidateErrors, ConfigSetRawValidateInput, ConfigSetRawValidateResponses, ConfigSetUpdateErrors, ConfigSetUpdateResponses, ConfigUpdateErrors, ConfigUpdateResponses, CortexCancelErrors, CortexCancelResponses, CortexGetErrors, CortexGetResponses, CortexListErrors, CortexListResponses, CortexOutputErrors, CortexOutputResponses, EngramExperienceApplyRewardErrors, EngramExperienceApplyRewardResponses, EngramExperienceGetErrors, EngramExperienceGetResponses, EngramExperienceListResponses, EngramExperiencePageErrors, EngramExperiencePageResponses, EngramExperienceRemoveErrors, EngramExperienceRemoveResponses, EngramExperienceSearchErrors, EngramExperienceSearchResponses, EngramGetErrors, EngramGetResponses, EngramListResponses, EngramRemoveErrors, EngramRemoveResponses, EngramResetErrors, EngramResetResponses, EngramSearchErrors, EngramSearchResponses, EngramStatsResponses, EventSubscribeResponses, ExperienceListFilter, ExperienceListSort, ExperimentalResourceListResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GitInitErrors, GitInitResponses, GlobalAgendaListErrors, GlobalAgendaListResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, HolosAgentsGetErrors, HolosAgentsGetResponses, HolosAgentsListResponses, HolosCallbackResponses, HolosContactAddErrors, HolosContactAddResponses, HolosContactGetErrors, HolosContactGetResponses, HolosContactListResponses, HolosContactRemoveResponses, HolosContactSendMessageErrors, HolosContactSendMessageResponses, HolosContactSessionErrors, HolosContactSessionResponses, HolosContactUpdateConfigErrors, HolosContactUpdateConfigResponses, HolosCredentialsErrors, HolosCredentialsResponses, HolosCredentialsStatusResponses, HolosFriendReplyListResponses, HolosFriendRequestCreateErrors, HolosFriendRequestCreateResponses, HolosFriendRequestListResponses, HolosFriendRequestRemoveResponses, HolosFriendRequestRespondErrors, HolosFriendRequestRespondResponses, HolosFriendRequestSendErrors, HolosFriendRequestSendResponses, HolosLoginResponses, HolosLogoutResponses, HolosPresenceResponses, HolosProfileAvatarErrors, HolosProfileAvatarResponses, HolosProfileGetResponses, HolosProfileResetResponses, HolosProfileUpdateErrors, HolosProfileUpdateResponses, HolosQueueListResponses, HolosReconnectErrors, HolosReconnectResponses, HolosRefreshPresenceResponses, HolosVerifyResponses, InstanceDisposeResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, NoteCreateErrors, NoteCreateInput, NoteCreateResponses, NoteExportErrors, NoteExportResponses, NoteGetErrors, NoteGetResponses, NoteListAllErrors, NoteListAllResponses, NoteListErrors, NoteListResponses, NotePatchInput, NoteRemoveErrors, NoteRemoveResponses, NoteUpdateErrors, NoteUpdateResponses, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionIsAllowingAllErrors, PermissionIsAllowingAllResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionSetAllowAllErrors, PermissionSetAllowAllResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, RewardsInfo, RuntimeReloadErrors, RuntimeReloadResponses, RuntimeReloadScope, RuntimeReloadTarget, ScopeCurrentResponses, ScopeListResponses, ScopeRemoveResponses, ScopeUpdateErrors, ScopeUpdateResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDagErrors, SessionDagResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionFeedbackDeleteErrors, SessionFeedbackDeleteResponses, SessionFeedbackGetErrors, SessionFeedbackGetResponses, SessionFeedbackListErrors, SessionFeedbackListResponses, SessionFeedbackSetErrors, SessionFeedbackSetResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUpdateErrors, SessionUpdateResponses, SkillImportErrors, SkillImportResponses, SkillImportUrlErrors, SkillImportUrlResponses, SkillListResponses, SkillReloadResponses, SkillRemoveErrors, SkillRemoveResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses } from "./types.gen.js";
3
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
@@ -1399,6 +1399,20 @@ export declare class Experience extends HeyApiClient {
1399
1399
  scopeID?: string;
1400
1400
  topK?: number;
1401
1401
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperienceSearchResponses, EngramExperienceSearchErrors, ThrowOnError, "fields">;
1402
+ /**
1403
+ * Page experiences
1404
+ *
1405
+ * List experience records with server-side filtering, sorting, and pagination.
1406
+ */
1407
+ page<ThrowOnError extends boolean = false>(parameters?: {
1408
+ directory?: string;
1409
+ scopeID?: string;
1410
+ sessionID?: string;
1411
+ filter?: ExperienceListFilter;
1412
+ sort?: ExperienceListSort;
1413
+ limit?: number;
1414
+ offset?: number;
1415
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EngramExperiencePageResponses, EngramExperiencePageErrors, ThrowOnError, "fields">;
1402
1416
  /**
1403
1417
  * Delete experience
1404
1418
  *
@@ -1779,124 +1793,6 @@ export declare class Formatter extends HeyApiClient {
1779
1793
  directory?: string;
1780
1794
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FormatterStatusResponses, unknown, ThrowOnError, "fields">;
1781
1795
  }
1782
- export declare class Control extends HeyApiClient {
1783
- /**
1784
- * Get next TUI request
1785
- *
1786
- * Retrieve the next TUI (Terminal User Interface) request from the queue for processing.
1787
- */
1788
- next<ThrowOnError extends boolean = false>(parameters?: {
1789
- directory?: string;
1790
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiControlNextResponses, unknown, ThrowOnError, "fields">;
1791
- /**
1792
- * Submit TUI response
1793
- *
1794
- * Submit a response to the TUI request queue to complete a pending request.
1795
- */
1796
- response<ThrowOnError extends boolean = false>(parameters?: {
1797
- directory?: string;
1798
- body?: unknown;
1799
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiControlResponseResponses, unknown, ThrowOnError, "fields">;
1800
- }
1801
- export declare class Tui extends HeyApiClient {
1802
- /**
1803
- * Append TUI prompt
1804
- *
1805
- * Append prompt to the TUI
1806
- */
1807
- appendPrompt<ThrowOnError extends boolean = false>(parameters?: {
1808
- directory?: string;
1809
- text?: string;
1810
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiAppendPromptResponses, TuiAppendPromptErrors, ThrowOnError, "fields">;
1811
- /**
1812
- * Open help dialog
1813
- *
1814
- * Open the help dialog in the TUI to display user assistance information.
1815
- */
1816
- openHelp<ThrowOnError extends boolean = false>(parameters?: {
1817
- directory?: string;
1818
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenHelpResponses, unknown, ThrowOnError, "fields">;
1819
- /**
1820
- * Open sessions dialog
1821
- *
1822
- * Open the session dialog
1823
- */
1824
- openSessions<ThrowOnError extends boolean = false>(parameters?: {
1825
- directory?: string;
1826
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenSessionsResponses, unknown, ThrowOnError, "fields">;
1827
- /**
1828
- * Open themes dialog
1829
- *
1830
- * Open the theme dialog
1831
- */
1832
- openThemes<ThrowOnError extends boolean = false>(parameters?: {
1833
- directory?: string;
1834
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenThemesResponses, unknown, ThrowOnError, "fields">;
1835
- /**
1836
- * Open models dialog
1837
- *
1838
- * Open the model dialog
1839
- */
1840
- openModels<ThrowOnError extends boolean = false>(parameters?: {
1841
- directory?: string;
1842
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenModelsResponses, unknown, ThrowOnError, "fields">;
1843
- /**
1844
- * Submit TUI prompt
1845
- *
1846
- * Submit the prompt
1847
- */
1848
- submitPrompt<ThrowOnError extends boolean = false>(parameters?: {
1849
- directory?: string;
1850
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiSubmitPromptResponses, unknown, ThrowOnError, "fields">;
1851
- /**
1852
- * Clear TUI prompt
1853
- *
1854
- * Clear the prompt
1855
- */
1856
- clearPrompt<ThrowOnError extends boolean = false>(parameters?: {
1857
- directory?: string;
1858
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiClearPromptResponses, unknown, ThrowOnError, "fields">;
1859
- /**
1860
- * Execute TUI command
1861
- *
1862
- * Execute a TUI command (e.g. agent_cycle)
1863
- */
1864
- executeCommand<ThrowOnError extends boolean = false>(parameters?: {
1865
- directory?: string;
1866
- command?: string;
1867
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiExecuteCommandResponses, TuiExecuteCommandErrors, ThrowOnError, "fields">;
1868
- /**
1869
- * Show TUI toast
1870
- *
1871
- * Show a toast notification in the TUI
1872
- */
1873
- showToast<ThrowOnError extends boolean = false>(parameters?: {
1874
- directory?: string;
1875
- title?: string;
1876
- message?: string;
1877
- variant?: "info" | "success" | "warning" | "error";
1878
- duration?: number;
1879
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiShowToastResponses, unknown, ThrowOnError, "fields">;
1880
- /**
1881
- * Publish TUI event
1882
- *
1883
- * Publish a TUI event
1884
- */
1885
- publish<ThrowOnError extends boolean = false>(parameters?: {
1886
- directory?: string;
1887
- body?: EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect;
1888
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiPublishResponses, TuiPublishErrors, ThrowOnError, "fields">;
1889
- /**
1890
- * Select session
1891
- *
1892
- * Navigate the TUI to display the specified session.
1893
- */
1894
- selectSession<ThrowOnError extends boolean = false>(parameters?: {
1895
- directory?: string;
1896
- sessionID?: string;
1897
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiSelectSessionResponses, TuiSelectSessionErrors, ThrowOnError, "fields">;
1898
- control: Control;
1899
- }
1900
1796
  export declare class Event extends HeyApiClient {
1901
1797
  /**
1902
1798
  * Subscribe to events
@@ -1945,7 +1841,6 @@ export declare class SynergyClient extends HeyApiClient {
1945
1841
  experimental: Experimental;
1946
1842
  lsp: Lsp;
1947
1843
  formatter: Formatter;
1948
- tui: Tui;
1949
1844
  auth: Auth;
1950
1845
  event: Event;
1951
1846
  }
@@ -2818,6 +2818,31 @@ export class Experience extends HeyApiClient {
2818
2818
  },
2819
2819
  });
2820
2820
  }
2821
+ /**
2822
+ * Page experiences
2823
+ *
2824
+ * List experience records with server-side filtering, sorting, and pagination.
2825
+ */
2826
+ page(parameters, options) {
2827
+ const params = buildClientParams([parameters], [
2828
+ {
2829
+ args: [
2830
+ { in: "query", key: "directory" },
2831
+ { in: "query", key: "scopeID" },
2832
+ { in: "query", key: "sessionID" },
2833
+ { in: "query", key: "filter" },
2834
+ { in: "query", key: "sort" },
2835
+ { in: "query", key: "limit" },
2836
+ { in: "query", key: "offset" },
2837
+ ],
2838
+ },
2839
+ ]);
2840
+ return (options?.client ?? this.client).get({
2841
+ url: "/engram/experience/page",
2842
+ ...options,
2843
+ ...params,
2844
+ });
2845
+ }
2821
2846
  /**
2822
2847
  * Delete experience
2823
2848
  *
@@ -3598,241 +3623,6 @@ export class Formatter extends HeyApiClient {
3598
3623
  });
3599
3624
  }
3600
3625
  }
3601
- export class Control extends HeyApiClient {
3602
- /**
3603
- * Get next TUI request
3604
- *
3605
- * Retrieve the next TUI (Terminal User Interface) request from the queue for processing.
3606
- */
3607
- next(parameters, options) {
3608
- const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
3609
- return (options?.client ?? this.client).get({
3610
- url: "/tui/control/next",
3611
- ...options,
3612
- ...params,
3613
- });
3614
- }
3615
- /**
3616
- * Submit TUI response
3617
- *
3618
- * Submit a response to the TUI request queue to complete a pending request.
3619
- */
3620
- response(parameters, options) {
3621
- const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }, { in: "body" }] }]);
3622
- return (options?.client ?? this.client).post({
3623
- url: "/tui/control/response",
3624
- ...options,
3625
- ...params,
3626
- headers: {
3627
- "Content-Type": "application/json",
3628
- ...options?.headers,
3629
- ...params.headers,
3630
- },
3631
- });
3632
- }
3633
- }
3634
- export class Tui extends HeyApiClient {
3635
- /**
3636
- * Append TUI prompt
3637
- *
3638
- * Append prompt to the TUI
3639
- */
3640
- appendPrompt(parameters, options) {
3641
- const params = buildClientParams([parameters], [
3642
- {
3643
- args: [
3644
- { in: "query", key: "directory" },
3645
- { in: "body", key: "text" },
3646
- ],
3647
- },
3648
- ]);
3649
- return (options?.client ?? this.client).post({
3650
- url: "/tui/append-prompt",
3651
- ...options,
3652
- ...params,
3653
- headers: {
3654
- "Content-Type": "application/json",
3655
- ...options?.headers,
3656
- ...params.headers,
3657
- },
3658
- });
3659
- }
3660
- /**
3661
- * Open help dialog
3662
- *
3663
- * Open the help dialog in the TUI to display user assistance information.
3664
- */
3665
- openHelp(parameters, options) {
3666
- const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
3667
- return (options?.client ?? this.client).post({
3668
- url: "/tui/open-help",
3669
- ...options,
3670
- ...params,
3671
- });
3672
- }
3673
- /**
3674
- * Open sessions dialog
3675
- *
3676
- * Open the session dialog
3677
- */
3678
- openSessions(parameters, options) {
3679
- const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
3680
- return (options?.client ?? this.client).post({
3681
- url: "/tui/open-sessions",
3682
- ...options,
3683
- ...params,
3684
- });
3685
- }
3686
- /**
3687
- * Open themes dialog
3688
- *
3689
- * Open the theme dialog
3690
- */
3691
- openThemes(parameters, options) {
3692
- const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
3693
- return (options?.client ?? this.client).post({
3694
- url: "/tui/open-themes",
3695
- ...options,
3696
- ...params,
3697
- });
3698
- }
3699
- /**
3700
- * Open models dialog
3701
- *
3702
- * Open the model dialog
3703
- */
3704
- openModels(parameters, options) {
3705
- const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
3706
- return (options?.client ?? this.client).post({
3707
- url: "/tui/open-models",
3708
- ...options,
3709
- ...params,
3710
- });
3711
- }
3712
- /**
3713
- * Submit TUI prompt
3714
- *
3715
- * Submit the prompt
3716
- */
3717
- submitPrompt(parameters, options) {
3718
- const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
3719
- return (options?.client ?? this.client).post({
3720
- url: "/tui/submit-prompt",
3721
- ...options,
3722
- ...params,
3723
- });
3724
- }
3725
- /**
3726
- * Clear TUI prompt
3727
- *
3728
- * Clear the prompt
3729
- */
3730
- clearPrompt(parameters, options) {
3731
- const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
3732
- return (options?.client ?? this.client).post({
3733
- url: "/tui/clear-prompt",
3734
- ...options,
3735
- ...params,
3736
- });
3737
- }
3738
- /**
3739
- * Execute TUI command
3740
- *
3741
- * Execute a TUI command (e.g. agent_cycle)
3742
- */
3743
- executeCommand(parameters, options) {
3744
- const params = buildClientParams([parameters], [
3745
- {
3746
- args: [
3747
- { in: "query", key: "directory" },
3748
- { in: "body", key: "command" },
3749
- ],
3750
- },
3751
- ]);
3752
- return (options?.client ?? this.client).post({
3753
- url: "/tui/execute-command",
3754
- ...options,
3755
- ...params,
3756
- headers: {
3757
- "Content-Type": "application/json",
3758
- ...options?.headers,
3759
- ...params.headers,
3760
- },
3761
- });
3762
- }
3763
- /**
3764
- * Show TUI toast
3765
- *
3766
- * Show a toast notification in the TUI
3767
- */
3768
- showToast(parameters, options) {
3769
- const params = buildClientParams([parameters], [
3770
- {
3771
- args: [
3772
- { in: "query", key: "directory" },
3773
- { in: "body", key: "title" },
3774
- { in: "body", key: "message" },
3775
- { in: "body", key: "variant" },
3776
- { in: "body", key: "duration" },
3777
- ],
3778
- },
3779
- ]);
3780
- return (options?.client ?? this.client).post({
3781
- url: "/tui/show-toast",
3782
- ...options,
3783
- ...params,
3784
- headers: {
3785
- "Content-Type": "application/json",
3786
- ...options?.headers,
3787
- ...params.headers,
3788
- },
3789
- });
3790
- }
3791
- /**
3792
- * Publish TUI event
3793
- *
3794
- * Publish a TUI event
3795
- */
3796
- publish(parameters, options) {
3797
- const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }, { in: "body" }] }]);
3798
- return (options?.client ?? this.client).post({
3799
- url: "/tui/publish",
3800
- ...options,
3801
- ...params,
3802
- headers: {
3803
- "Content-Type": "application/json",
3804
- ...options?.headers,
3805
- ...params.headers,
3806
- },
3807
- });
3808
- }
3809
- /**
3810
- * Select session
3811
- *
3812
- * Navigate the TUI to display the specified session.
3813
- */
3814
- selectSession(parameters, options) {
3815
- const params = buildClientParams([parameters], [
3816
- {
3817
- args: [
3818
- { in: "query", key: "directory" },
3819
- { in: "body", key: "sessionID" },
3820
- ],
3821
- },
3822
- ]);
3823
- return (options?.client ?? this.client).post({
3824
- url: "/tui/select-session",
3825
- ...options,
3826
- ...params,
3827
- headers: {
3828
- "Content-Type": "application/json",
3829
- ...options?.headers,
3830
- ...params.headers,
3831
- },
3832
- });
3833
- }
3834
- control = new Control({ client: this.client });
3835
- }
3836
3626
  export class Event extends HeyApiClient {
3837
3627
  /**
3838
3628
  * Subscribe to events
@@ -3886,7 +3676,6 @@ export class SynergyClient extends HeyApiClient {
3886
3676
  experimental = new Experimental({ client: this.client });
3887
3677
  lsp = new Lsp({ client: this.client });
3888
3678
  formatter = new Formatter({ client: this.client });
3889
- tui = new Tui({ client: this.client });
3890
3679
  auth = new Auth({ client: this.client });
3891
3680
  event = new Event({ client: this.client });
3892
3681
  }
@@ -2056,6 +2056,10 @@ export type IdentityConfig = {
2056
2056
  * Dual-mode evolution system: passive experience learning + active memory curation (default: true)
2057
2057
  */
2058
2058
  evolution?: boolean | EvolutionConfig;
2059
+ /**
2060
+ * Enable autonomous background routines like anima daily wake (default: true)
2061
+ */
2062
+ autonomy?: boolean;
2059
2063
  };
2060
2064
  export type McpLocalConfig = {
2061
2065
  /**
@@ -2287,7 +2291,7 @@ export type Config = {
2287
2291
  };
2288
2292
  server?: ServerConfig;
2289
2293
  /**
2290
- * Command configuration, see https://synergy.ai/docs/commands
2294
+ * Command configuration
2291
2295
  */
2292
2296
  command?: {
2293
2297
  [key: string]: {
@@ -2359,7 +2363,7 @@ export type Config = {
2359
2363
  */
2360
2364
  username?: string;
2361
2365
  /**
2362
- * Agent configuration, see https://synergy.ai/docs/agent
2366
+ * Agent configuration
2363
2367
  */
2364
2368
  agent?: {
2365
2369
  master?: AgentConfig;
@@ -2436,7 +2440,7 @@ export type Config = {
2436
2440
  */
2437
2441
  agora?: {
2438
2442
  /**
2439
- * Agora API base URL
2443
+ * Agora API base URL (defaults to https://agora.holosai.io)
2440
2444
  */
2441
2445
  url?: string;
2442
2446
  /**
@@ -2793,7 +2797,7 @@ export type ExperienceSearchResult = {
2793
2797
  rewards: RewardsInfo;
2794
2798
  createdAt: number;
2795
2799
  };
2796
- export type ExperienceDetailInfo = {
2800
+ export type ExperienceInfo = {
2797
2801
  id: string;
2798
2802
  sessionID: string;
2799
2803
  scopeID: string;
@@ -2806,17 +2810,25 @@ export type ExperienceDetailInfo = {
2806
2810
  qValues: RewardsInfo;
2807
2811
  qVisits: number;
2808
2812
  turnsRemaining: number | null;
2809
- script: string | null;
2810
- raw: string | null;
2811
- metadata: string;
2812
2813
  createdAt: number;
2813
2814
  updatedAt: number;
2814
2815
  };
2815
- export type ApplyRewardResult = {
2816
- compositeReward: number;
2817
- rewards: RewardsInfo;
2816
+ export type ExperienceListPage = {
2817
+ items: Array<ExperienceInfo>;
2818
+ total: number;
2819
+ limit: number;
2820
+ offset: number;
2821
+ hasMore: boolean;
2818
2822
  };
2819
- export type ExperienceInfo = {
2823
+ /**
2824
+ * List filter mode
2825
+ */
2826
+ export type ExperienceListFilter = "all" | "scope" | "session";
2827
+ /**
2828
+ * Sort order
2829
+ */
2830
+ export type ExperienceListSort = "newest" | "oldest" | "reward" | "qvalue" | "visits";
2831
+ export type ExperienceDetailInfo = {
2820
2832
  id: string;
2821
2833
  sessionID: string;
2822
2834
  scopeID: string;
@@ -2829,9 +2841,16 @@ export type ExperienceInfo = {
2829
2841
  qValues: RewardsInfo;
2830
2842
  qVisits: number;
2831
2843
  turnsRemaining: number | null;
2844
+ script: string | null;
2845
+ raw: string | null;
2846
+ metadata: string;
2832
2847
  createdAt: number;
2833
2848
  updatedAt: number;
2834
2849
  };
2850
+ export type ApplyRewardResult = {
2851
+ compositeReward: number;
2852
+ rewards: RewardsInfo;
2853
+ };
2835
2854
  export type MemoryStats = {
2836
2855
  memory: {
2837
2856
  count: number;
@@ -5640,6 +5659,46 @@ export type EngramExperienceSearchResponses = {
5640
5659
  200: Array<ExperienceSearchResult>;
5641
5660
  };
5642
5661
  export type EngramExperienceSearchResponse = EngramExperienceSearchResponses[keyof EngramExperienceSearchResponses];
5662
+ export type EngramExperiencePageData = {
5663
+ body?: never;
5664
+ path?: never;
5665
+ query?: {
5666
+ directory?: string;
5667
+ /**
5668
+ * Scope ID used by scope/session filters
5669
+ */
5670
+ scopeID?: string;
5671
+ /**
5672
+ * Session ID used by session filter
5673
+ */
5674
+ sessionID?: string;
5675
+ filter?: ExperienceListFilter;
5676
+ sort?: ExperienceListSort;
5677
+ /**
5678
+ * Page size
5679
+ */
5680
+ limit?: number;
5681
+ /**
5682
+ * Page offset
5683
+ */
5684
+ offset?: number;
5685
+ };
5686
+ url: "/engram/experience/page";
5687
+ };
5688
+ export type EngramExperiencePageErrors = {
5689
+ /**
5690
+ * Bad request
5691
+ */
5692
+ 400: BadRequestError;
5693
+ };
5694
+ export type EngramExperiencePageError = EngramExperiencePageErrors[keyof EngramExperiencePageErrors];
5695
+ export type EngramExperiencePageResponses = {
5696
+ /**
5697
+ * Paginated experience list
5698
+ */
5699
+ 200: ExperienceListPage;
5700
+ };
5701
+ export type EngramExperiencePageResponse = EngramExperiencePageResponses[keyof EngramExperiencePageResponses];
5643
5702
  export type EngramExperienceRemoveData = {
5644
5703
  body?: never;
5645
5704
  path: {
@@ -7415,253 +7474,6 @@ export type FormatterStatusResponses = {
7415
7474
  200: Array<FormatterStatus>;
7416
7475
  };
7417
7476
  export type FormatterStatusResponse = FormatterStatusResponses[keyof FormatterStatusResponses];
7418
- export type TuiAppendPromptData = {
7419
- body?: {
7420
- text: string;
7421
- };
7422
- path?: never;
7423
- query?: {
7424
- directory?: string;
7425
- };
7426
- url: "/tui/append-prompt";
7427
- };
7428
- export type TuiAppendPromptErrors = {
7429
- /**
7430
- * Bad request
7431
- */
7432
- 400: BadRequestError;
7433
- };
7434
- export type TuiAppendPromptError = TuiAppendPromptErrors[keyof TuiAppendPromptErrors];
7435
- export type TuiAppendPromptResponses = {
7436
- /**
7437
- * Prompt processed successfully
7438
- */
7439
- 200: boolean;
7440
- };
7441
- export type TuiAppendPromptResponse = TuiAppendPromptResponses[keyof TuiAppendPromptResponses];
7442
- export type TuiOpenHelpData = {
7443
- body?: never;
7444
- path?: never;
7445
- query?: {
7446
- directory?: string;
7447
- };
7448
- url: "/tui/open-help";
7449
- };
7450
- export type TuiOpenHelpResponses = {
7451
- /**
7452
- * Help dialog opened successfully
7453
- */
7454
- 200: boolean;
7455
- };
7456
- export type TuiOpenHelpResponse = TuiOpenHelpResponses[keyof TuiOpenHelpResponses];
7457
- export type TuiOpenSessionsData = {
7458
- body?: never;
7459
- path?: never;
7460
- query?: {
7461
- directory?: string;
7462
- };
7463
- url: "/tui/open-sessions";
7464
- };
7465
- export type TuiOpenSessionsResponses = {
7466
- /**
7467
- * Session dialog opened successfully
7468
- */
7469
- 200: boolean;
7470
- };
7471
- export type TuiOpenSessionsResponse = TuiOpenSessionsResponses[keyof TuiOpenSessionsResponses];
7472
- export type TuiOpenThemesData = {
7473
- body?: never;
7474
- path?: never;
7475
- query?: {
7476
- directory?: string;
7477
- };
7478
- url: "/tui/open-themes";
7479
- };
7480
- export type TuiOpenThemesResponses = {
7481
- /**
7482
- * Theme dialog opened successfully
7483
- */
7484
- 200: boolean;
7485
- };
7486
- export type TuiOpenThemesResponse = TuiOpenThemesResponses[keyof TuiOpenThemesResponses];
7487
- export type TuiOpenModelsData = {
7488
- body?: never;
7489
- path?: never;
7490
- query?: {
7491
- directory?: string;
7492
- };
7493
- url: "/tui/open-models";
7494
- };
7495
- export type TuiOpenModelsResponses = {
7496
- /**
7497
- * Model dialog opened successfully
7498
- */
7499
- 200: boolean;
7500
- };
7501
- export type TuiOpenModelsResponse = TuiOpenModelsResponses[keyof TuiOpenModelsResponses];
7502
- export type TuiSubmitPromptData = {
7503
- body?: never;
7504
- path?: never;
7505
- query?: {
7506
- directory?: string;
7507
- };
7508
- url: "/tui/submit-prompt";
7509
- };
7510
- export type TuiSubmitPromptResponses = {
7511
- /**
7512
- * Prompt submitted successfully
7513
- */
7514
- 200: boolean;
7515
- };
7516
- export type TuiSubmitPromptResponse = TuiSubmitPromptResponses[keyof TuiSubmitPromptResponses];
7517
- export type TuiClearPromptData = {
7518
- body?: never;
7519
- path?: never;
7520
- query?: {
7521
- directory?: string;
7522
- };
7523
- url: "/tui/clear-prompt";
7524
- };
7525
- export type TuiClearPromptResponses = {
7526
- /**
7527
- * Prompt cleared successfully
7528
- */
7529
- 200: boolean;
7530
- };
7531
- export type TuiClearPromptResponse = TuiClearPromptResponses[keyof TuiClearPromptResponses];
7532
- export type TuiExecuteCommandData = {
7533
- body?: {
7534
- command: string;
7535
- };
7536
- path?: never;
7537
- query?: {
7538
- directory?: string;
7539
- };
7540
- url: "/tui/execute-command";
7541
- };
7542
- export type TuiExecuteCommandErrors = {
7543
- /**
7544
- * Bad request
7545
- */
7546
- 400: BadRequestError;
7547
- };
7548
- export type TuiExecuteCommandError = TuiExecuteCommandErrors[keyof TuiExecuteCommandErrors];
7549
- export type TuiExecuteCommandResponses = {
7550
- /**
7551
- * Command executed successfully
7552
- */
7553
- 200: boolean;
7554
- };
7555
- export type TuiExecuteCommandResponse = TuiExecuteCommandResponses[keyof TuiExecuteCommandResponses];
7556
- export type TuiShowToastData = {
7557
- body?: {
7558
- title?: string;
7559
- message: string;
7560
- variant: "info" | "success" | "warning" | "error";
7561
- /**
7562
- * Duration in milliseconds
7563
- */
7564
- duration?: number;
7565
- };
7566
- path?: never;
7567
- query?: {
7568
- directory?: string;
7569
- };
7570
- url: "/tui/show-toast";
7571
- };
7572
- export type TuiShowToastResponses = {
7573
- /**
7574
- * Toast notification shown successfully
7575
- */
7576
- 200: boolean;
7577
- };
7578
- export type TuiShowToastResponse = TuiShowToastResponses[keyof TuiShowToastResponses];
7579
- export type TuiPublishData = {
7580
- body?: EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect;
7581
- path?: never;
7582
- query?: {
7583
- directory?: string;
7584
- };
7585
- url: "/tui/publish";
7586
- };
7587
- export type TuiPublishErrors = {
7588
- /**
7589
- * Bad request
7590
- */
7591
- 400: BadRequestError;
7592
- };
7593
- export type TuiPublishError = TuiPublishErrors[keyof TuiPublishErrors];
7594
- export type TuiPublishResponses = {
7595
- /**
7596
- * Event published successfully
7597
- */
7598
- 200: boolean;
7599
- };
7600
- export type TuiPublishResponse = TuiPublishResponses[keyof TuiPublishResponses];
7601
- export type TuiSelectSessionData = {
7602
- body?: {
7603
- /**
7604
- * Session ID to navigate to
7605
- */
7606
- sessionID: string;
7607
- };
7608
- path?: never;
7609
- query?: {
7610
- directory?: string;
7611
- };
7612
- url: "/tui/select-session";
7613
- };
7614
- export type TuiSelectSessionErrors = {
7615
- /**
7616
- * Bad request
7617
- */
7618
- 400: BadRequestError;
7619
- /**
7620
- * Not found
7621
- */
7622
- 404: NotFoundError;
7623
- };
7624
- export type TuiSelectSessionError = TuiSelectSessionErrors[keyof TuiSelectSessionErrors];
7625
- export type TuiSelectSessionResponses = {
7626
- /**
7627
- * Session selected successfully
7628
- */
7629
- 200: boolean;
7630
- };
7631
- export type TuiSelectSessionResponse = TuiSelectSessionResponses[keyof TuiSelectSessionResponses];
7632
- export type TuiControlNextData = {
7633
- body?: never;
7634
- path?: never;
7635
- query?: {
7636
- directory?: string;
7637
- };
7638
- url: "/tui/control/next";
7639
- };
7640
- export type TuiControlNextResponses = {
7641
- /**
7642
- * Next TUI request
7643
- */
7644
- 200: {
7645
- path: string;
7646
- body: unknown;
7647
- };
7648
- };
7649
- export type TuiControlNextResponse = TuiControlNextResponses[keyof TuiControlNextResponses];
7650
- export type TuiControlResponseData = {
7651
- body?: unknown;
7652
- path?: never;
7653
- query?: {
7654
- directory?: string;
7655
- };
7656
- url: "/tui/control/response";
7657
- };
7658
- export type TuiControlResponseResponses = {
7659
- /**
7660
- * Response submitted successfully
7661
- */
7662
- 200: boolean;
7663
- };
7664
- export type TuiControlResponseResponse = TuiControlResponseResponses[keyof TuiControlResponseResponses];
7665
7477
  export type AuthSetData = {
7666
7478
  body?: Auth;
7667
7479
  path: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@ericsanchezok/synergy-sdk",
4
- "version": "0.0.0-dev-202603260751",
4
+ "version": "0.0.0-dev-202603301142",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {