@ericsanchezok/synergy-sdk 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gen/sdk.gen.d.ts +50 -121
- package/dist/gen/sdk.gen.js +108 -237
- package/dist/gen/types.gen.d.ts +172 -259
- package/package.json +1 -1
package/dist/gen/sdk.gen.d.ts
CHANGED
|
@@ -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, 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,
|
|
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
|
|
@@ -375,7 +375,9 @@ export declare class Holos extends HeyApiClient {
|
|
|
375
375
|
*
|
|
376
376
|
* Generate a Holos bind URL for browser-based login. Returns a URL to open in a popup.
|
|
377
377
|
*/
|
|
378
|
-
login<ThrowOnError extends boolean = false>(
|
|
378
|
+
login<ThrowOnError extends boolean = false>(parameters?: {
|
|
379
|
+
callbackUrl?: string;
|
|
380
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosLoginResponses, unknown, ThrowOnError, "fields">;
|
|
379
381
|
/**
|
|
380
382
|
* Holos login callback
|
|
381
383
|
*
|
|
@@ -553,6 +555,37 @@ export declare class Pty extends HeyApiClient {
|
|
|
553
555
|
directory?: string;
|
|
554
556
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyConnectResponses, PtyConnectErrors, ThrowOnError, "fields">;
|
|
555
557
|
}
|
|
558
|
+
export declare class Raw extends HeyApiClient {
|
|
559
|
+
/**
|
|
560
|
+
* Get Config Set raw
|
|
561
|
+
*
|
|
562
|
+
* Read a global Config Set raw JSONC source and parsed preview.
|
|
563
|
+
*/
|
|
564
|
+
get<ThrowOnError extends boolean = false>(parameters: {
|
|
565
|
+
name: ConfigSetName;
|
|
566
|
+
directory?: string;
|
|
567
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetRawGetResponses, ConfigSetRawGetErrors, ThrowOnError, "fields">;
|
|
568
|
+
/**
|
|
569
|
+
* Save Config Set raw
|
|
570
|
+
*
|
|
571
|
+
* Save raw JSONC for a global Config Set after validation and optionally reload runtime if active.
|
|
572
|
+
*/
|
|
573
|
+
save<ThrowOnError extends boolean = false>(parameters: {
|
|
574
|
+
name: ConfigSetName;
|
|
575
|
+
directory?: string;
|
|
576
|
+
configSetRawSaveInput?: ConfigSetRawSaveInput;
|
|
577
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetRawSaveResponses, ConfigSetRawSaveErrors, ThrowOnError, "fields">;
|
|
578
|
+
/**
|
|
579
|
+
* Validate Config Set raw
|
|
580
|
+
*
|
|
581
|
+
* Validate raw JSONC for a global Config Set without saving it.
|
|
582
|
+
*/
|
|
583
|
+
validate<ThrowOnError extends boolean = false>(parameters: {
|
|
584
|
+
name: ConfigSetName;
|
|
585
|
+
directory?: string;
|
|
586
|
+
configSetRawValidateInput?: ConfigSetRawValidateInput;
|
|
587
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetRawValidateResponses, ConfigSetRawValidateErrors, ThrowOnError, "fields">;
|
|
588
|
+
}
|
|
556
589
|
export declare class _Set extends HeyApiClient {
|
|
557
590
|
/**
|
|
558
591
|
* List Config Sets
|
|
@@ -608,6 +641,7 @@ export declare class _Set extends HeyApiClient {
|
|
|
608
641
|
name: ConfigSetName;
|
|
609
642
|
directory?: string;
|
|
610
643
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigSetActivateResponses, ConfigSetActivateErrors, ThrowOnError, "fields">;
|
|
644
|
+
raw: Raw;
|
|
611
645
|
}
|
|
612
646
|
export declare class Config extends HeyApiClient {
|
|
613
647
|
/**
|
|
@@ -1365,6 +1399,20 @@ export declare class Experience extends HeyApiClient {
|
|
|
1365
1399
|
scopeID?: string;
|
|
1366
1400
|
topK?: number;
|
|
1367
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">;
|
|
1368
1416
|
/**
|
|
1369
1417
|
* Delete experience
|
|
1370
1418
|
*
|
|
@@ -1745,124 +1793,6 @@ export declare class Formatter extends HeyApiClient {
|
|
|
1745
1793
|
directory?: string;
|
|
1746
1794
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FormatterStatusResponses, unknown, ThrowOnError, "fields">;
|
|
1747
1795
|
}
|
|
1748
|
-
export declare class Control extends HeyApiClient {
|
|
1749
|
-
/**
|
|
1750
|
-
* Get next TUI request
|
|
1751
|
-
*
|
|
1752
|
-
* Retrieve the next TUI (Terminal User Interface) request from the queue for processing.
|
|
1753
|
-
*/
|
|
1754
|
-
next<ThrowOnError extends boolean = false>(parameters?: {
|
|
1755
|
-
directory?: string;
|
|
1756
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiControlNextResponses, unknown, ThrowOnError, "fields">;
|
|
1757
|
-
/**
|
|
1758
|
-
* Submit TUI response
|
|
1759
|
-
*
|
|
1760
|
-
* Submit a response to the TUI request queue to complete a pending request.
|
|
1761
|
-
*/
|
|
1762
|
-
response<ThrowOnError extends boolean = false>(parameters?: {
|
|
1763
|
-
directory?: string;
|
|
1764
|
-
body?: unknown;
|
|
1765
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiControlResponseResponses, unknown, ThrowOnError, "fields">;
|
|
1766
|
-
}
|
|
1767
|
-
export declare class Tui extends HeyApiClient {
|
|
1768
|
-
/**
|
|
1769
|
-
* Append TUI prompt
|
|
1770
|
-
*
|
|
1771
|
-
* Append prompt to the TUI
|
|
1772
|
-
*/
|
|
1773
|
-
appendPrompt<ThrowOnError extends boolean = false>(parameters?: {
|
|
1774
|
-
directory?: string;
|
|
1775
|
-
text?: string;
|
|
1776
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiAppendPromptResponses, TuiAppendPromptErrors, ThrowOnError, "fields">;
|
|
1777
|
-
/**
|
|
1778
|
-
* Open help dialog
|
|
1779
|
-
*
|
|
1780
|
-
* Open the help dialog in the TUI to display user assistance information.
|
|
1781
|
-
*/
|
|
1782
|
-
openHelp<ThrowOnError extends boolean = false>(parameters?: {
|
|
1783
|
-
directory?: string;
|
|
1784
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenHelpResponses, unknown, ThrowOnError, "fields">;
|
|
1785
|
-
/**
|
|
1786
|
-
* Open sessions dialog
|
|
1787
|
-
*
|
|
1788
|
-
* Open the session dialog
|
|
1789
|
-
*/
|
|
1790
|
-
openSessions<ThrowOnError extends boolean = false>(parameters?: {
|
|
1791
|
-
directory?: string;
|
|
1792
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenSessionsResponses, unknown, ThrowOnError, "fields">;
|
|
1793
|
-
/**
|
|
1794
|
-
* Open themes dialog
|
|
1795
|
-
*
|
|
1796
|
-
* Open the theme dialog
|
|
1797
|
-
*/
|
|
1798
|
-
openThemes<ThrowOnError extends boolean = false>(parameters?: {
|
|
1799
|
-
directory?: string;
|
|
1800
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenThemesResponses, unknown, ThrowOnError, "fields">;
|
|
1801
|
-
/**
|
|
1802
|
-
* Open models dialog
|
|
1803
|
-
*
|
|
1804
|
-
* Open the model dialog
|
|
1805
|
-
*/
|
|
1806
|
-
openModels<ThrowOnError extends boolean = false>(parameters?: {
|
|
1807
|
-
directory?: string;
|
|
1808
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenModelsResponses, unknown, ThrowOnError, "fields">;
|
|
1809
|
-
/**
|
|
1810
|
-
* Submit TUI prompt
|
|
1811
|
-
*
|
|
1812
|
-
* Submit the prompt
|
|
1813
|
-
*/
|
|
1814
|
-
submitPrompt<ThrowOnError extends boolean = false>(parameters?: {
|
|
1815
|
-
directory?: string;
|
|
1816
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiSubmitPromptResponses, unknown, ThrowOnError, "fields">;
|
|
1817
|
-
/**
|
|
1818
|
-
* Clear TUI prompt
|
|
1819
|
-
*
|
|
1820
|
-
* Clear the prompt
|
|
1821
|
-
*/
|
|
1822
|
-
clearPrompt<ThrowOnError extends boolean = false>(parameters?: {
|
|
1823
|
-
directory?: string;
|
|
1824
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiClearPromptResponses, unknown, ThrowOnError, "fields">;
|
|
1825
|
-
/**
|
|
1826
|
-
* Execute TUI command
|
|
1827
|
-
*
|
|
1828
|
-
* Execute a TUI command (e.g. agent_cycle)
|
|
1829
|
-
*/
|
|
1830
|
-
executeCommand<ThrowOnError extends boolean = false>(parameters?: {
|
|
1831
|
-
directory?: string;
|
|
1832
|
-
command?: string;
|
|
1833
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiExecuteCommandResponses, TuiExecuteCommandErrors, ThrowOnError, "fields">;
|
|
1834
|
-
/**
|
|
1835
|
-
* Show TUI toast
|
|
1836
|
-
*
|
|
1837
|
-
* Show a toast notification in the TUI
|
|
1838
|
-
*/
|
|
1839
|
-
showToast<ThrowOnError extends boolean = false>(parameters?: {
|
|
1840
|
-
directory?: string;
|
|
1841
|
-
title?: string;
|
|
1842
|
-
message?: string;
|
|
1843
|
-
variant?: "info" | "success" | "warning" | "error";
|
|
1844
|
-
duration?: number;
|
|
1845
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiShowToastResponses, unknown, ThrowOnError, "fields">;
|
|
1846
|
-
/**
|
|
1847
|
-
* Publish TUI event
|
|
1848
|
-
*
|
|
1849
|
-
* Publish a TUI event
|
|
1850
|
-
*/
|
|
1851
|
-
publish<ThrowOnError extends boolean = false>(parameters?: {
|
|
1852
|
-
directory?: string;
|
|
1853
|
-
body?: EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect;
|
|
1854
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiPublishResponses, TuiPublishErrors, ThrowOnError, "fields">;
|
|
1855
|
-
/**
|
|
1856
|
-
* Select session
|
|
1857
|
-
*
|
|
1858
|
-
* Navigate the TUI to display the specified session.
|
|
1859
|
-
*/
|
|
1860
|
-
selectSession<ThrowOnError extends boolean = false>(parameters?: {
|
|
1861
|
-
directory?: string;
|
|
1862
|
-
sessionID?: string;
|
|
1863
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiSelectSessionResponses, TuiSelectSessionErrors, ThrowOnError, "fields">;
|
|
1864
|
-
control: Control;
|
|
1865
|
-
}
|
|
1866
1796
|
export declare class Event extends HeyApiClient {
|
|
1867
1797
|
/**
|
|
1868
1798
|
* Subscribe to events
|
|
@@ -1911,7 +1841,6 @@ export declare class SynergyClient extends HeyApiClient {
|
|
|
1911
1841
|
experimental: Experimental;
|
|
1912
1842
|
lsp: Lsp;
|
|
1913
1843
|
formatter: Formatter;
|
|
1914
|
-
tui: Tui;
|
|
1915
1844
|
auth: Auth;
|
|
1916
1845
|
event: Event;
|
|
1917
1846
|
}
|
package/dist/gen/sdk.gen.js
CHANGED
|
@@ -758,10 +758,17 @@ export class Holos extends HeyApiClient {
|
|
|
758
758
|
*
|
|
759
759
|
* Generate a Holos bind URL for browser-based login. Returns a URL to open in a popup.
|
|
760
760
|
*/
|
|
761
|
-
login(options) {
|
|
761
|
+
login(parameters, options) {
|
|
762
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "body", key: "callbackUrl" }] }]);
|
|
762
763
|
return (options?.client ?? this.client).post({
|
|
763
764
|
url: "/holos/login",
|
|
764
765
|
...options,
|
|
766
|
+
...params,
|
|
767
|
+
headers: {
|
|
768
|
+
"Content-Type": "application/json",
|
|
769
|
+
...options?.headers,
|
|
770
|
+
...params.headers,
|
|
771
|
+
},
|
|
765
772
|
});
|
|
766
773
|
}
|
|
767
774
|
/**
|
|
@@ -1110,6 +1117,80 @@ export class Pty extends HeyApiClient {
|
|
|
1110
1117
|
});
|
|
1111
1118
|
}
|
|
1112
1119
|
}
|
|
1120
|
+
export class Raw extends HeyApiClient {
|
|
1121
|
+
/**
|
|
1122
|
+
* Get Config Set raw
|
|
1123
|
+
*
|
|
1124
|
+
* Read a global Config Set raw JSONC source and parsed preview.
|
|
1125
|
+
*/
|
|
1126
|
+
get(parameters, options) {
|
|
1127
|
+
const params = buildClientParams([parameters], [
|
|
1128
|
+
{
|
|
1129
|
+
args: [
|
|
1130
|
+
{ in: "path", key: "name" },
|
|
1131
|
+
{ in: "query", key: "directory" },
|
|
1132
|
+
],
|
|
1133
|
+
},
|
|
1134
|
+
]);
|
|
1135
|
+
return (options?.client ?? this.client).get({
|
|
1136
|
+
url: "/config/sets/{name}/raw",
|
|
1137
|
+
...options,
|
|
1138
|
+
...params,
|
|
1139
|
+
});
|
|
1140
|
+
}
|
|
1141
|
+
/**
|
|
1142
|
+
* Save Config Set raw
|
|
1143
|
+
*
|
|
1144
|
+
* Save raw JSONC for a global Config Set after validation and optionally reload runtime if active.
|
|
1145
|
+
*/
|
|
1146
|
+
save(parameters, options) {
|
|
1147
|
+
const params = buildClientParams([parameters], [
|
|
1148
|
+
{
|
|
1149
|
+
args: [
|
|
1150
|
+
{ in: "path", key: "name" },
|
|
1151
|
+
{ in: "query", key: "directory" },
|
|
1152
|
+
{ key: "configSetRawSaveInput", map: "body" },
|
|
1153
|
+
],
|
|
1154
|
+
},
|
|
1155
|
+
]);
|
|
1156
|
+
return (options?.client ?? this.client).put({
|
|
1157
|
+
url: "/config/sets/{name}/raw",
|
|
1158
|
+
...options,
|
|
1159
|
+
...params,
|
|
1160
|
+
headers: {
|
|
1161
|
+
"Content-Type": "application/json",
|
|
1162
|
+
...options?.headers,
|
|
1163
|
+
...params.headers,
|
|
1164
|
+
},
|
|
1165
|
+
});
|
|
1166
|
+
}
|
|
1167
|
+
/**
|
|
1168
|
+
* Validate Config Set raw
|
|
1169
|
+
*
|
|
1170
|
+
* Validate raw JSONC for a global Config Set without saving it.
|
|
1171
|
+
*/
|
|
1172
|
+
validate(parameters, options) {
|
|
1173
|
+
const params = buildClientParams([parameters], [
|
|
1174
|
+
{
|
|
1175
|
+
args: [
|
|
1176
|
+
{ in: "path", key: "name" },
|
|
1177
|
+
{ in: "query", key: "directory" },
|
|
1178
|
+
{ key: "configSetRawValidateInput", map: "body" },
|
|
1179
|
+
],
|
|
1180
|
+
},
|
|
1181
|
+
]);
|
|
1182
|
+
return (options?.client ?? this.client).post({
|
|
1183
|
+
url: "/config/sets/{name}/raw/validate",
|
|
1184
|
+
...options,
|
|
1185
|
+
...params,
|
|
1186
|
+
headers: {
|
|
1187
|
+
"Content-Type": "application/json",
|
|
1188
|
+
...options?.headers,
|
|
1189
|
+
...params.headers,
|
|
1190
|
+
},
|
|
1191
|
+
});
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1113
1194
|
export class _Set extends HeyApiClient {
|
|
1114
1195
|
/**
|
|
1115
1196
|
* List Config Sets
|
|
@@ -1235,6 +1316,7 @@ export class _Set extends HeyApiClient {
|
|
|
1235
1316
|
...params,
|
|
1236
1317
|
});
|
|
1237
1318
|
}
|
|
1319
|
+
raw = new Raw({ client: this.client });
|
|
1238
1320
|
}
|
|
1239
1321
|
export class Config extends HeyApiClient {
|
|
1240
1322
|
/**
|
|
@@ -2736,6 +2818,31 @@ export class Experience extends HeyApiClient {
|
|
|
2736
2818
|
},
|
|
2737
2819
|
});
|
|
2738
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
|
+
}
|
|
2739
2846
|
/**
|
|
2740
2847
|
* Delete experience
|
|
2741
2848
|
*
|
|
@@ -3516,241 +3623,6 @@ export class Formatter extends HeyApiClient {
|
|
|
3516
3623
|
});
|
|
3517
3624
|
}
|
|
3518
3625
|
}
|
|
3519
|
-
export class Control extends HeyApiClient {
|
|
3520
|
-
/**
|
|
3521
|
-
* Get next TUI request
|
|
3522
|
-
*
|
|
3523
|
-
* Retrieve the next TUI (Terminal User Interface) request from the queue for processing.
|
|
3524
|
-
*/
|
|
3525
|
-
next(parameters, options) {
|
|
3526
|
-
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
|
|
3527
|
-
return (options?.client ?? this.client).get({
|
|
3528
|
-
url: "/tui/control/next",
|
|
3529
|
-
...options,
|
|
3530
|
-
...params,
|
|
3531
|
-
});
|
|
3532
|
-
}
|
|
3533
|
-
/**
|
|
3534
|
-
* Submit TUI response
|
|
3535
|
-
*
|
|
3536
|
-
* Submit a response to the TUI request queue to complete a pending request.
|
|
3537
|
-
*/
|
|
3538
|
-
response(parameters, options) {
|
|
3539
|
-
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }, { in: "body" }] }]);
|
|
3540
|
-
return (options?.client ?? this.client).post({
|
|
3541
|
-
url: "/tui/control/response",
|
|
3542
|
-
...options,
|
|
3543
|
-
...params,
|
|
3544
|
-
headers: {
|
|
3545
|
-
"Content-Type": "application/json",
|
|
3546
|
-
...options?.headers,
|
|
3547
|
-
...params.headers,
|
|
3548
|
-
},
|
|
3549
|
-
});
|
|
3550
|
-
}
|
|
3551
|
-
}
|
|
3552
|
-
export class Tui extends HeyApiClient {
|
|
3553
|
-
/**
|
|
3554
|
-
* Append TUI prompt
|
|
3555
|
-
*
|
|
3556
|
-
* Append prompt to the TUI
|
|
3557
|
-
*/
|
|
3558
|
-
appendPrompt(parameters, options) {
|
|
3559
|
-
const params = buildClientParams([parameters], [
|
|
3560
|
-
{
|
|
3561
|
-
args: [
|
|
3562
|
-
{ in: "query", key: "directory" },
|
|
3563
|
-
{ in: "body", key: "text" },
|
|
3564
|
-
],
|
|
3565
|
-
},
|
|
3566
|
-
]);
|
|
3567
|
-
return (options?.client ?? this.client).post({
|
|
3568
|
-
url: "/tui/append-prompt",
|
|
3569
|
-
...options,
|
|
3570
|
-
...params,
|
|
3571
|
-
headers: {
|
|
3572
|
-
"Content-Type": "application/json",
|
|
3573
|
-
...options?.headers,
|
|
3574
|
-
...params.headers,
|
|
3575
|
-
},
|
|
3576
|
-
});
|
|
3577
|
-
}
|
|
3578
|
-
/**
|
|
3579
|
-
* Open help dialog
|
|
3580
|
-
*
|
|
3581
|
-
* Open the help dialog in the TUI to display user assistance information.
|
|
3582
|
-
*/
|
|
3583
|
-
openHelp(parameters, options) {
|
|
3584
|
-
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
|
|
3585
|
-
return (options?.client ?? this.client).post({
|
|
3586
|
-
url: "/tui/open-help",
|
|
3587
|
-
...options,
|
|
3588
|
-
...params,
|
|
3589
|
-
});
|
|
3590
|
-
}
|
|
3591
|
-
/**
|
|
3592
|
-
* Open sessions dialog
|
|
3593
|
-
*
|
|
3594
|
-
* Open the session dialog
|
|
3595
|
-
*/
|
|
3596
|
-
openSessions(parameters, options) {
|
|
3597
|
-
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
|
|
3598
|
-
return (options?.client ?? this.client).post({
|
|
3599
|
-
url: "/tui/open-sessions",
|
|
3600
|
-
...options,
|
|
3601
|
-
...params,
|
|
3602
|
-
});
|
|
3603
|
-
}
|
|
3604
|
-
/**
|
|
3605
|
-
* Open themes dialog
|
|
3606
|
-
*
|
|
3607
|
-
* Open the theme dialog
|
|
3608
|
-
*/
|
|
3609
|
-
openThemes(parameters, options) {
|
|
3610
|
-
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
|
|
3611
|
-
return (options?.client ?? this.client).post({
|
|
3612
|
-
url: "/tui/open-themes",
|
|
3613
|
-
...options,
|
|
3614
|
-
...params,
|
|
3615
|
-
});
|
|
3616
|
-
}
|
|
3617
|
-
/**
|
|
3618
|
-
* Open models dialog
|
|
3619
|
-
*
|
|
3620
|
-
* Open the model dialog
|
|
3621
|
-
*/
|
|
3622
|
-
openModels(parameters, options) {
|
|
3623
|
-
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
|
|
3624
|
-
return (options?.client ?? this.client).post({
|
|
3625
|
-
url: "/tui/open-models",
|
|
3626
|
-
...options,
|
|
3627
|
-
...params,
|
|
3628
|
-
});
|
|
3629
|
-
}
|
|
3630
|
-
/**
|
|
3631
|
-
* Submit TUI prompt
|
|
3632
|
-
*
|
|
3633
|
-
* Submit the prompt
|
|
3634
|
-
*/
|
|
3635
|
-
submitPrompt(parameters, options) {
|
|
3636
|
-
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
|
|
3637
|
-
return (options?.client ?? this.client).post({
|
|
3638
|
-
url: "/tui/submit-prompt",
|
|
3639
|
-
...options,
|
|
3640
|
-
...params,
|
|
3641
|
-
});
|
|
3642
|
-
}
|
|
3643
|
-
/**
|
|
3644
|
-
* Clear TUI prompt
|
|
3645
|
-
*
|
|
3646
|
-
* Clear the prompt
|
|
3647
|
-
*/
|
|
3648
|
-
clearPrompt(parameters, options) {
|
|
3649
|
-
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
|
|
3650
|
-
return (options?.client ?? this.client).post({
|
|
3651
|
-
url: "/tui/clear-prompt",
|
|
3652
|
-
...options,
|
|
3653
|
-
...params,
|
|
3654
|
-
});
|
|
3655
|
-
}
|
|
3656
|
-
/**
|
|
3657
|
-
* Execute TUI command
|
|
3658
|
-
*
|
|
3659
|
-
* Execute a TUI command (e.g. agent_cycle)
|
|
3660
|
-
*/
|
|
3661
|
-
executeCommand(parameters, options) {
|
|
3662
|
-
const params = buildClientParams([parameters], [
|
|
3663
|
-
{
|
|
3664
|
-
args: [
|
|
3665
|
-
{ in: "query", key: "directory" },
|
|
3666
|
-
{ in: "body", key: "command" },
|
|
3667
|
-
],
|
|
3668
|
-
},
|
|
3669
|
-
]);
|
|
3670
|
-
return (options?.client ?? this.client).post({
|
|
3671
|
-
url: "/tui/execute-command",
|
|
3672
|
-
...options,
|
|
3673
|
-
...params,
|
|
3674
|
-
headers: {
|
|
3675
|
-
"Content-Type": "application/json",
|
|
3676
|
-
...options?.headers,
|
|
3677
|
-
...params.headers,
|
|
3678
|
-
},
|
|
3679
|
-
});
|
|
3680
|
-
}
|
|
3681
|
-
/**
|
|
3682
|
-
* Show TUI toast
|
|
3683
|
-
*
|
|
3684
|
-
* Show a toast notification in the TUI
|
|
3685
|
-
*/
|
|
3686
|
-
showToast(parameters, options) {
|
|
3687
|
-
const params = buildClientParams([parameters], [
|
|
3688
|
-
{
|
|
3689
|
-
args: [
|
|
3690
|
-
{ in: "query", key: "directory" },
|
|
3691
|
-
{ in: "body", key: "title" },
|
|
3692
|
-
{ in: "body", key: "message" },
|
|
3693
|
-
{ in: "body", key: "variant" },
|
|
3694
|
-
{ in: "body", key: "duration" },
|
|
3695
|
-
],
|
|
3696
|
-
},
|
|
3697
|
-
]);
|
|
3698
|
-
return (options?.client ?? this.client).post({
|
|
3699
|
-
url: "/tui/show-toast",
|
|
3700
|
-
...options,
|
|
3701
|
-
...params,
|
|
3702
|
-
headers: {
|
|
3703
|
-
"Content-Type": "application/json",
|
|
3704
|
-
...options?.headers,
|
|
3705
|
-
...params.headers,
|
|
3706
|
-
},
|
|
3707
|
-
});
|
|
3708
|
-
}
|
|
3709
|
-
/**
|
|
3710
|
-
* Publish TUI event
|
|
3711
|
-
*
|
|
3712
|
-
* Publish a TUI event
|
|
3713
|
-
*/
|
|
3714
|
-
publish(parameters, options) {
|
|
3715
|
-
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }, { in: "body" }] }]);
|
|
3716
|
-
return (options?.client ?? this.client).post({
|
|
3717
|
-
url: "/tui/publish",
|
|
3718
|
-
...options,
|
|
3719
|
-
...params,
|
|
3720
|
-
headers: {
|
|
3721
|
-
"Content-Type": "application/json",
|
|
3722
|
-
...options?.headers,
|
|
3723
|
-
...params.headers,
|
|
3724
|
-
},
|
|
3725
|
-
});
|
|
3726
|
-
}
|
|
3727
|
-
/**
|
|
3728
|
-
* Select session
|
|
3729
|
-
*
|
|
3730
|
-
* Navigate the TUI to display the specified session.
|
|
3731
|
-
*/
|
|
3732
|
-
selectSession(parameters, options) {
|
|
3733
|
-
const params = buildClientParams([parameters], [
|
|
3734
|
-
{
|
|
3735
|
-
args: [
|
|
3736
|
-
{ in: "query", key: "directory" },
|
|
3737
|
-
{ in: "body", key: "sessionID" },
|
|
3738
|
-
],
|
|
3739
|
-
},
|
|
3740
|
-
]);
|
|
3741
|
-
return (options?.client ?? this.client).post({
|
|
3742
|
-
url: "/tui/select-session",
|
|
3743
|
-
...options,
|
|
3744
|
-
...params,
|
|
3745
|
-
headers: {
|
|
3746
|
-
"Content-Type": "application/json",
|
|
3747
|
-
...options?.headers,
|
|
3748
|
-
...params.headers,
|
|
3749
|
-
},
|
|
3750
|
-
});
|
|
3751
|
-
}
|
|
3752
|
-
control = new Control({ client: this.client });
|
|
3753
|
-
}
|
|
3754
3626
|
export class Event extends HeyApiClient {
|
|
3755
3627
|
/**
|
|
3756
3628
|
* Subscribe to events
|
|
@@ -3804,7 +3676,6 @@ export class SynergyClient extends HeyApiClient {
|
|
|
3804
3676
|
experimental = new Experimental({ client: this.client });
|
|
3805
3677
|
lsp = new Lsp({ client: this.client });
|
|
3806
3678
|
formatter = new Formatter({ client: this.client });
|
|
3807
|
-
tui = new Tui({ client: this.client });
|
|
3808
3679
|
auth = new Auth({ client: this.client });
|
|
3809
3680
|
event = new Event({ client: this.client });
|
|
3810
3681
|
}
|
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
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
|
/**
|
|
@@ -2525,6 +2529,23 @@ export type ConfigSetCreateInput = {
|
|
|
2525
2529
|
name: ConfigSetName;
|
|
2526
2530
|
config?: Config;
|
|
2527
2531
|
};
|
|
2532
|
+
export type ConfigSetRaw = {
|
|
2533
|
+
name: ConfigSetName;
|
|
2534
|
+
path: string;
|
|
2535
|
+
raw: string;
|
|
2536
|
+
config?: Config;
|
|
2537
|
+
active: boolean;
|
|
2538
|
+
isDefault: boolean;
|
|
2539
|
+
};
|
|
2540
|
+
export type ConfigRawValidationResult = {
|
|
2541
|
+
valid: boolean;
|
|
2542
|
+
config?: Config;
|
|
2543
|
+
errors: Array<string>;
|
|
2544
|
+
warnings: Array<string>;
|
|
2545
|
+
};
|
|
2546
|
+
export type ConfigSetRawValidateInput = {
|
|
2547
|
+
raw: string;
|
|
2548
|
+
};
|
|
2528
2549
|
export type RuntimeReloadTarget = "config" | "skill" | "provider" | "agent" | "plugin" | "mcp" | "lsp" | "formatter" | "watcher" | "channel" | "command" | "tool_registry" | "all";
|
|
2529
2550
|
export type RuntimeReloadResult = {
|
|
2530
2551
|
success: true;
|
|
@@ -2536,6 +2557,16 @@ export type RuntimeReloadResult = {
|
|
|
2536
2557
|
liveApplied: Array<string>;
|
|
2537
2558
|
warnings: Array<string>;
|
|
2538
2559
|
};
|
|
2560
|
+
export type ConfigSetRawSaveResult = {
|
|
2561
|
+
configSet: ConfigSetRaw;
|
|
2562
|
+
validation: ConfigRawValidationResult;
|
|
2563
|
+
saved: boolean;
|
|
2564
|
+
runtimeReload?: RuntimeReloadResult;
|
|
2565
|
+
};
|
|
2566
|
+
export type ConfigSetRawSaveInput = {
|
|
2567
|
+
raw: string;
|
|
2568
|
+
reload?: boolean;
|
|
2569
|
+
};
|
|
2539
2570
|
export type ConfigSetActivateResult = {
|
|
2540
2571
|
previous: ConfigSetName;
|
|
2541
2572
|
active: ConfigSetName;
|
|
@@ -2766,7 +2797,7 @@ export type ExperienceSearchResult = {
|
|
|
2766
2797
|
rewards: RewardsInfo;
|
|
2767
2798
|
createdAt: number;
|
|
2768
2799
|
};
|
|
2769
|
-
export type
|
|
2800
|
+
export type ExperienceInfo = {
|
|
2770
2801
|
id: string;
|
|
2771
2802
|
sessionID: string;
|
|
2772
2803
|
scopeID: string;
|
|
@@ -2779,17 +2810,25 @@ export type ExperienceDetailInfo = {
|
|
|
2779
2810
|
qValues: RewardsInfo;
|
|
2780
2811
|
qVisits: number;
|
|
2781
2812
|
turnsRemaining: number | null;
|
|
2782
|
-
script: string | null;
|
|
2783
|
-
raw: string | null;
|
|
2784
|
-
metadata: string;
|
|
2785
2813
|
createdAt: number;
|
|
2786
2814
|
updatedAt: number;
|
|
2787
2815
|
};
|
|
2788
|
-
export type
|
|
2789
|
-
|
|
2790
|
-
|
|
2816
|
+
export type ExperienceListPage = {
|
|
2817
|
+
items: Array<ExperienceInfo>;
|
|
2818
|
+
total: number;
|
|
2819
|
+
limit: number;
|
|
2820
|
+
offset: number;
|
|
2821
|
+
hasMore: boolean;
|
|
2791
2822
|
};
|
|
2792
|
-
|
|
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 = {
|
|
2793
2832
|
id: string;
|
|
2794
2833
|
sessionID: string;
|
|
2795
2834
|
scopeID: string;
|
|
@@ -2802,9 +2841,16 @@ export type ExperienceInfo = {
|
|
|
2802
2841
|
qValues: RewardsInfo;
|
|
2803
2842
|
qVisits: number;
|
|
2804
2843
|
turnsRemaining: number | null;
|
|
2844
|
+
script: string | null;
|
|
2845
|
+
raw: string | null;
|
|
2846
|
+
metadata: string;
|
|
2805
2847
|
createdAt: number;
|
|
2806
2848
|
updatedAt: number;
|
|
2807
2849
|
};
|
|
2850
|
+
export type ApplyRewardResult = {
|
|
2851
|
+
compositeReward: number;
|
|
2852
|
+
rewards: RewardsInfo;
|
|
2853
|
+
};
|
|
2808
2854
|
export type MemoryStats = {
|
|
2809
2855
|
memory: {
|
|
2810
2856
|
count: number;
|
|
@@ -3102,7 +3148,9 @@ export type GlobalDisposeResponses = {
|
|
|
3102
3148
|
};
|
|
3103
3149
|
export type GlobalDisposeResponse = GlobalDisposeResponses[keyof GlobalDisposeResponses];
|
|
3104
3150
|
export type HolosLoginData = {
|
|
3105
|
-
body?:
|
|
3151
|
+
body?: {
|
|
3152
|
+
callbackUrl?: string;
|
|
3153
|
+
};
|
|
3106
3154
|
path?: never;
|
|
3107
3155
|
query?: never;
|
|
3108
3156
|
url: "/holos/login";
|
|
@@ -3626,6 +3674,78 @@ export type ConfigSetUpdateResponses = {
|
|
|
3626
3674
|
200: ConfigSetWithConfig;
|
|
3627
3675
|
};
|
|
3628
3676
|
export type ConfigSetUpdateResponse = ConfigSetUpdateResponses[keyof ConfigSetUpdateResponses];
|
|
3677
|
+
export type ConfigSetRawGetData = {
|
|
3678
|
+
body?: never;
|
|
3679
|
+
path: {
|
|
3680
|
+
name: ConfigSetName;
|
|
3681
|
+
};
|
|
3682
|
+
query?: {
|
|
3683
|
+
directory?: string;
|
|
3684
|
+
};
|
|
3685
|
+
url: "/config/sets/{name}/raw";
|
|
3686
|
+
};
|
|
3687
|
+
export type ConfigSetRawGetErrors = {
|
|
3688
|
+
/**
|
|
3689
|
+
* Bad request
|
|
3690
|
+
*/
|
|
3691
|
+
400: BadRequestError;
|
|
3692
|
+
};
|
|
3693
|
+
export type ConfigSetRawGetError = ConfigSetRawGetErrors[keyof ConfigSetRawGetErrors];
|
|
3694
|
+
export type ConfigSetRawGetResponses = {
|
|
3695
|
+
/**
|
|
3696
|
+
* Config Set raw source
|
|
3697
|
+
*/
|
|
3698
|
+
200: ConfigSetRaw;
|
|
3699
|
+
};
|
|
3700
|
+
export type ConfigSetRawGetResponse = ConfigSetRawGetResponses[keyof ConfigSetRawGetResponses];
|
|
3701
|
+
export type ConfigSetRawSaveData = {
|
|
3702
|
+
body?: ConfigSetRawSaveInput;
|
|
3703
|
+
path: {
|
|
3704
|
+
name: ConfigSetName;
|
|
3705
|
+
};
|
|
3706
|
+
query?: {
|
|
3707
|
+
directory?: string;
|
|
3708
|
+
};
|
|
3709
|
+
url: "/config/sets/{name}/raw";
|
|
3710
|
+
};
|
|
3711
|
+
export type ConfigSetRawSaveErrors = {
|
|
3712
|
+
/**
|
|
3713
|
+
* Bad request
|
|
3714
|
+
*/
|
|
3715
|
+
400: BadRequestError;
|
|
3716
|
+
};
|
|
3717
|
+
export type ConfigSetRawSaveError = ConfigSetRawSaveErrors[keyof ConfigSetRawSaveErrors];
|
|
3718
|
+
export type ConfigSetRawSaveResponses = {
|
|
3719
|
+
/**
|
|
3720
|
+
* Saved Config Set raw source
|
|
3721
|
+
*/
|
|
3722
|
+
200: ConfigSetRawSaveResult;
|
|
3723
|
+
};
|
|
3724
|
+
export type ConfigSetRawSaveResponse = ConfigSetRawSaveResponses[keyof ConfigSetRawSaveResponses];
|
|
3725
|
+
export type ConfigSetRawValidateData = {
|
|
3726
|
+
body?: ConfigSetRawValidateInput;
|
|
3727
|
+
path: {
|
|
3728
|
+
name: ConfigSetName;
|
|
3729
|
+
};
|
|
3730
|
+
query?: {
|
|
3731
|
+
directory?: string;
|
|
3732
|
+
};
|
|
3733
|
+
url: "/config/sets/{name}/raw/validate";
|
|
3734
|
+
};
|
|
3735
|
+
export type ConfigSetRawValidateErrors = {
|
|
3736
|
+
/**
|
|
3737
|
+
* Bad request
|
|
3738
|
+
*/
|
|
3739
|
+
400: BadRequestError;
|
|
3740
|
+
};
|
|
3741
|
+
export type ConfigSetRawValidateError = ConfigSetRawValidateErrors[keyof ConfigSetRawValidateErrors];
|
|
3742
|
+
export type ConfigSetRawValidateResponses = {
|
|
3743
|
+
/**
|
|
3744
|
+
* Validation result
|
|
3745
|
+
*/
|
|
3746
|
+
200: ConfigRawValidationResult;
|
|
3747
|
+
};
|
|
3748
|
+
export type ConfigSetRawValidateResponse = ConfigSetRawValidateResponses[keyof ConfigSetRawValidateResponses];
|
|
3629
3749
|
export type ConfigSetActivateData = {
|
|
3630
3750
|
body?: never;
|
|
3631
3751
|
path: {
|
|
@@ -5539,6 +5659,46 @@ export type EngramExperienceSearchResponses = {
|
|
|
5539
5659
|
200: Array<ExperienceSearchResult>;
|
|
5540
5660
|
};
|
|
5541
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];
|
|
5542
5702
|
export type EngramExperienceRemoveData = {
|
|
5543
5703
|
body?: never;
|
|
5544
5704
|
path: {
|
|
@@ -7314,253 +7474,6 @@ export type FormatterStatusResponses = {
|
|
|
7314
7474
|
200: Array<FormatterStatus>;
|
|
7315
7475
|
};
|
|
7316
7476
|
export type FormatterStatusResponse = FormatterStatusResponses[keyof FormatterStatusResponses];
|
|
7317
|
-
export type TuiAppendPromptData = {
|
|
7318
|
-
body?: {
|
|
7319
|
-
text: string;
|
|
7320
|
-
};
|
|
7321
|
-
path?: never;
|
|
7322
|
-
query?: {
|
|
7323
|
-
directory?: string;
|
|
7324
|
-
};
|
|
7325
|
-
url: "/tui/append-prompt";
|
|
7326
|
-
};
|
|
7327
|
-
export type TuiAppendPromptErrors = {
|
|
7328
|
-
/**
|
|
7329
|
-
* Bad request
|
|
7330
|
-
*/
|
|
7331
|
-
400: BadRequestError;
|
|
7332
|
-
};
|
|
7333
|
-
export type TuiAppendPromptError = TuiAppendPromptErrors[keyof TuiAppendPromptErrors];
|
|
7334
|
-
export type TuiAppendPromptResponses = {
|
|
7335
|
-
/**
|
|
7336
|
-
* Prompt processed successfully
|
|
7337
|
-
*/
|
|
7338
|
-
200: boolean;
|
|
7339
|
-
};
|
|
7340
|
-
export type TuiAppendPromptResponse = TuiAppendPromptResponses[keyof TuiAppendPromptResponses];
|
|
7341
|
-
export type TuiOpenHelpData = {
|
|
7342
|
-
body?: never;
|
|
7343
|
-
path?: never;
|
|
7344
|
-
query?: {
|
|
7345
|
-
directory?: string;
|
|
7346
|
-
};
|
|
7347
|
-
url: "/tui/open-help";
|
|
7348
|
-
};
|
|
7349
|
-
export type TuiOpenHelpResponses = {
|
|
7350
|
-
/**
|
|
7351
|
-
* Help dialog opened successfully
|
|
7352
|
-
*/
|
|
7353
|
-
200: boolean;
|
|
7354
|
-
};
|
|
7355
|
-
export type TuiOpenHelpResponse = TuiOpenHelpResponses[keyof TuiOpenHelpResponses];
|
|
7356
|
-
export type TuiOpenSessionsData = {
|
|
7357
|
-
body?: never;
|
|
7358
|
-
path?: never;
|
|
7359
|
-
query?: {
|
|
7360
|
-
directory?: string;
|
|
7361
|
-
};
|
|
7362
|
-
url: "/tui/open-sessions";
|
|
7363
|
-
};
|
|
7364
|
-
export type TuiOpenSessionsResponses = {
|
|
7365
|
-
/**
|
|
7366
|
-
* Session dialog opened successfully
|
|
7367
|
-
*/
|
|
7368
|
-
200: boolean;
|
|
7369
|
-
};
|
|
7370
|
-
export type TuiOpenSessionsResponse = TuiOpenSessionsResponses[keyof TuiOpenSessionsResponses];
|
|
7371
|
-
export type TuiOpenThemesData = {
|
|
7372
|
-
body?: never;
|
|
7373
|
-
path?: never;
|
|
7374
|
-
query?: {
|
|
7375
|
-
directory?: string;
|
|
7376
|
-
};
|
|
7377
|
-
url: "/tui/open-themes";
|
|
7378
|
-
};
|
|
7379
|
-
export type TuiOpenThemesResponses = {
|
|
7380
|
-
/**
|
|
7381
|
-
* Theme dialog opened successfully
|
|
7382
|
-
*/
|
|
7383
|
-
200: boolean;
|
|
7384
|
-
};
|
|
7385
|
-
export type TuiOpenThemesResponse = TuiOpenThemesResponses[keyof TuiOpenThemesResponses];
|
|
7386
|
-
export type TuiOpenModelsData = {
|
|
7387
|
-
body?: never;
|
|
7388
|
-
path?: never;
|
|
7389
|
-
query?: {
|
|
7390
|
-
directory?: string;
|
|
7391
|
-
};
|
|
7392
|
-
url: "/tui/open-models";
|
|
7393
|
-
};
|
|
7394
|
-
export type TuiOpenModelsResponses = {
|
|
7395
|
-
/**
|
|
7396
|
-
* Model dialog opened successfully
|
|
7397
|
-
*/
|
|
7398
|
-
200: boolean;
|
|
7399
|
-
};
|
|
7400
|
-
export type TuiOpenModelsResponse = TuiOpenModelsResponses[keyof TuiOpenModelsResponses];
|
|
7401
|
-
export type TuiSubmitPromptData = {
|
|
7402
|
-
body?: never;
|
|
7403
|
-
path?: never;
|
|
7404
|
-
query?: {
|
|
7405
|
-
directory?: string;
|
|
7406
|
-
};
|
|
7407
|
-
url: "/tui/submit-prompt";
|
|
7408
|
-
};
|
|
7409
|
-
export type TuiSubmitPromptResponses = {
|
|
7410
|
-
/**
|
|
7411
|
-
* Prompt submitted successfully
|
|
7412
|
-
*/
|
|
7413
|
-
200: boolean;
|
|
7414
|
-
};
|
|
7415
|
-
export type TuiSubmitPromptResponse = TuiSubmitPromptResponses[keyof TuiSubmitPromptResponses];
|
|
7416
|
-
export type TuiClearPromptData = {
|
|
7417
|
-
body?: never;
|
|
7418
|
-
path?: never;
|
|
7419
|
-
query?: {
|
|
7420
|
-
directory?: string;
|
|
7421
|
-
};
|
|
7422
|
-
url: "/tui/clear-prompt";
|
|
7423
|
-
};
|
|
7424
|
-
export type TuiClearPromptResponses = {
|
|
7425
|
-
/**
|
|
7426
|
-
* Prompt cleared successfully
|
|
7427
|
-
*/
|
|
7428
|
-
200: boolean;
|
|
7429
|
-
};
|
|
7430
|
-
export type TuiClearPromptResponse = TuiClearPromptResponses[keyof TuiClearPromptResponses];
|
|
7431
|
-
export type TuiExecuteCommandData = {
|
|
7432
|
-
body?: {
|
|
7433
|
-
command: string;
|
|
7434
|
-
};
|
|
7435
|
-
path?: never;
|
|
7436
|
-
query?: {
|
|
7437
|
-
directory?: string;
|
|
7438
|
-
};
|
|
7439
|
-
url: "/tui/execute-command";
|
|
7440
|
-
};
|
|
7441
|
-
export type TuiExecuteCommandErrors = {
|
|
7442
|
-
/**
|
|
7443
|
-
* Bad request
|
|
7444
|
-
*/
|
|
7445
|
-
400: BadRequestError;
|
|
7446
|
-
};
|
|
7447
|
-
export type TuiExecuteCommandError = TuiExecuteCommandErrors[keyof TuiExecuteCommandErrors];
|
|
7448
|
-
export type TuiExecuteCommandResponses = {
|
|
7449
|
-
/**
|
|
7450
|
-
* Command executed successfully
|
|
7451
|
-
*/
|
|
7452
|
-
200: boolean;
|
|
7453
|
-
};
|
|
7454
|
-
export type TuiExecuteCommandResponse = TuiExecuteCommandResponses[keyof TuiExecuteCommandResponses];
|
|
7455
|
-
export type TuiShowToastData = {
|
|
7456
|
-
body?: {
|
|
7457
|
-
title?: string;
|
|
7458
|
-
message: string;
|
|
7459
|
-
variant: "info" | "success" | "warning" | "error";
|
|
7460
|
-
/**
|
|
7461
|
-
* Duration in milliseconds
|
|
7462
|
-
*/
|
|
7463
|
-
duration?: number;
|
|
7464
|
-
};
|
|
7465
|
-
path?: never;
|
|
7466
|
-
query?: {
|
|
7467
|
-
directory?: string;
|
|
7468
|
-
};
|
|
7469
|
-
url: "/tui/show-toast";
|
|
7470
|
-
};
|
|
7471
|
-
export type TuiShowToastResponses = {
|
|
7472
|
-
/**
|
|
7473
|
-
* Toast notification shown successfully
|
|
7474
|
-
*/
|
|
7475
|
-
200: boolean;
|
|
7476
|
-
};
|
|
7477
|
-
export type TuiShowToastResponse = TuiShowToastResponses[keyof TuiShowToastResponses];
|
|
7478
|
-
export type TuiPublishData = {
|
|
7479
|
-
body?: EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect;
|
|
7480
|
-
path?: never;
|
|
7481
|
-
query?: {
|
|
7482
|
-
directory?: string;
|
|
7483
|
-
};
|
|
7484
|
-
url: "/tui/publish";
|
|
7485
|
-
};
|
|
7486
|
-
export type TuiPublishErrors = {
|
|
7487
|
-
/**
|
|
7488
|
-
* Bad request
|
|
7489
|
-
*/
|
|
7490
|
-
400: BadRequestError;
|
|
7491
|
-
};
|
|
7492
|
-
export type TuiPublishError = TuiPublishErrors[keyof TuiPublishErrors];
|
|
7493
|
-
export type TuiPublishResponses = {
|
|
7494
|
-
/**
|
|
7495
|
-
* Event published successfully
|
|
7496
|
-
*/
|
|
7497
|
-
200: boolean;
|
|
7498
|
-
};
|
|
7499
|
-
export type TuiPublishResponse = TuiPublishResponses[keyof TuiPublishResponses];
|
|
7500
|
-
export type TuiSelectSessionData = {
|
|
7501
|
-
body?: {
|
|
7502
|
-
/**
|
|
7503
|
-
* Session ID to navigate to
|
|
7504
|
-
*/
|
|
7505
|
-
sessionID: string;
|
|
7506
|
-
};
|
|
7507
|
-
path?: never;
|
|
7508
|
-
query?: {
|
|
7509
|
-
directory?: string;
|
|
7510
|
-
};
|
|
7511
|
-
url: "/tui/select-session";
|
|
7512
|
-
};
|
|
7513
|
-
export type TuiSelectSessionErrors = {
|
|
7514
|
-
/**
|
|
7515
|
-
* Bad request
|
|
7516
|
-
*/
|
|
7517
|
-
400: BadRequestError;
|
|
7518
|
-
/**
|
|
7519
|
-
* Not found
|
|
7520
|
-
*/
|
|
7521
|
-
404: NotFoundError;
|
|
7522
|
-
};
|
|
7523
|
-
export type TuiSelectSessionError = TuiSelectSessionErrors[keyof TuiSelectSessionErrors];
|
|
7524
|
-
export type TuiSelectSessionResponses = {
|
|
7525
|
-
/**
|
|
7526
|
-
* Session selected successfully
|
|
7527
|
-
*/
|
|
7528
|
-
200: boolean;
|
|
7529
|
-
};
|
|
7530
|
-
export type TuiSelectSessionResponse = TuiSelectSessionResponses[keyof TuiSelectSessionResponses];
|
|
7531
|
-
export type TuiControlNextData = {
|
|
7532
|
-
body?: never;
|
|
7533
|
-
path?: never;
|
|
7534
|
-
query?: {
|
|
7535
|
-
directory?: string;
|
|
7536
|
-
};
|
|
7537
|
-
url: "/tui/control/next";
|
|
7538
|
-
};
|
|
7539
|
-
export type TuiControlNextResponses = {
|
|
7540
|
-
/**
|
|
7541
|
-
* Next TUI request
|
|
7542
|
-
*/
|
|
7543
|
-
200: {
|
|
7544
|
-
path: string;
|
|
7545
|
-
body: unknown;
|
|
7546
|
-
};
|
|
7547
|
-
};
|
|
7548
|
-
export type TuiControlNextResponse = TuiControlNextResponses[keyof TuiControlNextResponses];
|
|
7549
|
-
export type TuiControlResponseData = {
|
|
7550
|
-
body?: unknown;
|
|
7551
|
-
path?: never;
|
|
7552
|
-
query?: {
|
|
7553
|
-
directory?: string;
|
|
7554
|
-
};
|
|
7555
|
-
url: "/tui/control/response";
|
|
7556
|
-
};
|
|
7557
|
-
export type TuiControlResponseResponses = {
|
|
7558
|
-
/**
|
|
7559
|
-
* Response submitted successfully
|
|
7560
|
-
*/
|
|
7561
|
-
200: boolean;
|
|
7562
|
-
};
|
|
7563
|
-
export type TuiControlResponseResponse = TuiControlResponseResponses[keyof TuiControlResponseResponses];
|
|
7564
7477
|
export type AuthSetData = {
|
|
7565
7478
|
body?: Auth;
|
|
7566
7479
|
path: {
|