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