@ericsanchezok/synergy-sdk 1.1.20 → 1.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gen/sdk.gen.d.ts +10 -2
- package/dist/gen/sdk.gen.js +14 -1
- package/dist/gen/types.gen.d.ts +68 -8
- package/package.json +1 -1
package/dist/gen/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Client, type Options as Options2, type TDataShape } from "./client/index.js";
|
|
2
|
-
import type { AgendaActivateErrors, AgendaActivateResponses, AgendaCancelErrors, AgendaCancelResponses, AgendaCompleteErrors, AgendaCompleteResponses, AgendaCreateErrors, AgendaCreateInput, AgendaCreateResponses, AgendaGetErrors, AgendaGetResponses, AgendaPatchInput, AgendaPauseErrors, AgendaPauseResponses, AgendaRemoveErrors, AgendaRemoveResponses, AgendaRunsErrors, AgendaRunsResponses, AgendaSessionsErrors, AgendaSessionsResponses, AgendaTriggerErrors, AgendaTriggerResponses, AgendaUpdateErrors, AgendaUpdateResponses, AppAgentsResponses, AppLogErrors, AppLogResponses, AssetGetErrors, AssetGetResponses, AssetUploadErrors, AssetUploadResponses, Auth as Auth2, AuthSetErrors, AuthSetResponses, ChannelAppResetResponses, ChannelAppSessionResponses, ChannelDisconnectResponses, ChannelGenesisResetResponses, ChannelGenesisSessionResponses, ChannelStatusResponses, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigGlobalResponses, ConfigProvidersResponses, ConfigSetActivateErrors, ConfigSetActivateResponses, ConfigSetCreateErrors, ConfigSetCreateInput, ConfigSetCreateResponses, ConfigSetDeleteErrors, ConfigSetDeleteResponses, ConfigSetGetErrors, ConfigSetGetResponses, ConfigSetListResponses, ConfigSetName, ConfigSetRawGetErrors, ConfigSetRawGetResponses, ConfigSetRawSaveErrors, ConfigSetRawSaveInput, ConfigSetRawSaveResponses, ConfigSetRawValidateErrors, ConfigSetRawValidateInput, ConfigSetRawValidateResponses, ConfigSetUpdateErrors, ConfigSetUpdateResponses, ConfigUpdateErrors, ConfigUpdateResponses, CortexCancelErrors, CortexCancelResponses, CortexGetErrors, CortexGetResponses, CortexListErrors, CortexListResponses, CortexOutputErrors, CortexOutputResponses, DebugReportMode, EngramExperienceApplyRewardErrors, EngramExperienceApplyRewardResponses, EngramExperienceGetErrors, EngramExperienceGetResponses, EngramExperienceListResponses, EngramExperiencePageErrors, EngramExperiencePageResponses, EngramExperienceRemoveErrors, EngramExperienceRemoveResponses, EngramExperienceSearchErrors, EngramExperienceSearchResponses, EngramGetErrors, EngramGetResponses, EngramListResponses, EngramRemoveErrors, EngramRemoveResponses, EngramResetErrors, EngramResetResponses, EngramSearchErrors, EngramSearchResponses, EngramStatsResponses, EventSubscribeResponses, ExperienceListFilter, ExperienceListSort, ExperimentalResourceListResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindBrowseResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GitInitErrors, GitInitResponses, GlobalAgendaListErrors, GlobalAgendaListResponses, GlobalDisposeResponses, GlobalHealthResponses, HolosAgentsGetErrors, HolosAgentsGetResponses, HolosAgentsListResponses, HolosCallbackResponses, HolosContactAddErrors, HolosContactAddResponses, HolosContactGetErrors, HolosContactGetResponses, HolosContactListResponses, HolosContactRemoveResponses, HolosContactSendMessageErrors, HolosContactSendMessageResponses, HolosContactSessionErrors, HolosContactSessionResponses, HolosContactUpdateConfigErrors, HolosContactUpdateConfigResponses, HolosCredentialsErrors, HolosCredentialsResponses, HolosCredentialsStatusResponses, HolosFriendReplyListResponses, HolosFriendRequestCreateErrors, HolosFriendRequestCreateResponses, HolosFriendRequestListResponses, HolosFriendRequestRemoveResponses, HolosFriendRequestRespondErrors, HolosFriendRequestRespondResponses, HolosFriendRequestSendErrors, HolosFriendRequestSendResponses, HolosLoginResponses, HolosLogoutResponses, HolosPresenceResponses, HolosProfileAvatarErrors, HolosProfileAvatarResponses, HolosProfileGetResponses, HolosProfileResetResponses, HolosProfileSkipGenesisResponses, 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, SessionDebugReportEmailErrors, SessionDebugReportEmailResponses, SessionDebugReportEstimateErrors, SessionDebugReportEstimateResponses, SessionDebugReportExportErrors, SessionDebugReportExportResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionFeedbackDeleteErrors, SessionFeedbackDeleteResponses, SessionFeedbackGetErrors, SessionFeedbackGetResponses, SessionFeedbackListErrors, SessionFeedbackListResponses, SessionFeedbackSetErrors, SessionFeedbackSetResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUpdateErrors, SessionUpdateResponses, SkillImportErrors, SkillImportResponses, SkillImportUrlErrors, SkillImportUrlResponses, SkillListResponses, SkillReloadResponses, SkillRemoveErrors, SkillRemoveResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses } from "./types.gen.js";
|
|
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, AgendaWebhookErrors, AgendaWebhookResponses, AppAgentsResponses, AppLogErrors, AppLogResponses, AssetGetErrors, AssetGetResponses, AssetUploadErrors, AssetUploadResponses, Auth as Auth2, AuthSetErrors, AuthSetResponses, ChannelAppResetResponses, ChannelAppSessionResponses, ChannelDisconnectResponses, ChannelGenesisResetResponses, ChannelGenesisSessionResponses, ChannelStatusResponses, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigGlobalResponses, ConfigProvidersResponses, ConfigSetActivateErrors, ConfigSetActivateResponses, ConfigSetCreateErrors, ConfigSetCreateInput, ConfigSetCreateResponses, ConfigSetDeleteErrors, ConfigSetDeleteResponses, ConfigSetGetErrors, ConfigSetGetResponses, ConfigSetListResponses, ConfigSetName, ConfigSetRawGetErrors, ConfigSetRawGetResponses, ConfigSetRawSaveErrors, ConfigSetRawSaveInput, ConfigSetRawSaveResponses, ConfigSetRawValidateErrors, ConfigSetRawValidateInput, ConfigSetRawValidateResponses, ConfigSetUpdateErrors, ConfigSetUpdateResponses, ConfigUpdateErrors, ConfigUpdateResponses, CortexCancelErrors, CortexCancelResponses, CortexGetErrors, CortexGetResponses, CortexListErrors, CortexListResponses, CortexOutputErrors, CortexOutputResponses, DebugReportMode, EngramExperienceApplyRewardErrors, EngramExperienceApplyRewardResponses, EngramExperienceGetErrors, EngramExperienceGetResponses, EngramExperienceListResponses, EngramExperiencePageErrors, EngramExperiencePageResponses, EngramExperienceRemoveErrors, EngramExperienceRemoveResponses, EngramExperienceSearchErrors, EngramExperienceSearchResponses, EngramGetErrors, EngramGetResponses, EngramListResponses, EngramRemoveErrors, EngramRemoveResponses, EngramResetErrors, EngramResetResponses, EngramSearchErrors, EngramSearchResponses, EngramStatsResponses, EventSubscribeResponses, ExperienceListFilter, ExperienceListSort, ExperimentalResourceListResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindBrowseResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GitInitErrors, GitInitResponses, GlobalAgendaListErrors, GlobalAgendaListResponses, GlobalDisposeResponses, GlobalHealthResponses, HolosAgentsGetErrors, HolosAgentsGetResponses, HolosAgentsListResponses, HolosCallbackResponses, HolosContactAddErrors, HolosContactAddResponses, HolosContactGetErrors, HolosContactGetResponses, HolosContactListResponses, HolosContactRemoveResponses, HolosContactSendMessageErrors, HolosContactSendMessageResponses, HolosContactSessionErrors, HolosContactSessionResponses, HolosContactUpdateConfigErrors, HolosContactUpdateConfigResponses, HolosCredentialsErrors, HolosCredentialsResponses, HolosCredentialsStatusResponses, HolosFriendReplyListResponses, HolosFriendRequestCreateErrors, HolosFriendRequestCreateResponses, HolosFriendRequestListResponses, HolosFriendRequestRemoveResponses, HolosFriendRequestRespondErrors, HolosFriendRequestRespondResponses, HolosFriendRequestSendErrors, HolosFriendRequestSendResponses, HolosLoginResponses, HolosLogoutResponses, HolosPresenceResponses, HolosProfileAvatarErrors, HolosProfileAvatarResponses, HolosProfileGetResponses, HolosProfileResetResponses, HolosProfileSkipGenesisResponses, 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, SessionDebugReportEmailErrors, SessionDebugReportEmailResponses, SessionDebugReportEstimateErrors, SessionDebugReportEstimateResponses, SessionDebugReportExportErrors, SessionDebugReportExportResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionFeedbackDeleteErrors, SessionFeedbackDeleteResponses, SessionFeedbackGetErrors, SessionFeedbackGetResponses, SessionFeedbackListErrors, SessionFeedbackListResponses, SessionFeedbackSetErrors, SessionFeedbackSetResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUpdateErrors, SessionUpdateResponses, SkillImportErrors, SkillImportResponses, SkillImportUrlErrors, SkillImportUrlResponses, SkillListResponses, SkillReloadResponses, SkillRemoveErrors, SkillRemoveResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses } from "./types.gen.js";
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -32,6 +32,14 @@ export declare class Agenda extends HeyApiClient {
|
|
|
32
32
|
* List all agenda items from every scope, sorted by creation time descending.
|
|
33
33
|
*/
|
|
34
34
|
list<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalAgendaListResponses, GlobalAgendaListErrors, ThrowOnError, "fields">;
|
|
35
|
+
/**
|
|
36
|
+
* Fire agenda webhook
|
|
37
|
+
*
|
|
38
|
+
* Trigger an agenda item via its webhook token. The request body is passed as the signal payload.
|
|
39
|
+
*/
|
|
40
|
+
webhook<ThrowOnError extends boolean = false>(parameters: {
|
|
41
|
+
token: string;
|
|
42
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AgendaWebhookResponses, AgendaWebhookErrors, ThrowOnError, "fields">;
|
|
35
43
|
/**
|
|
36
44
|
* List sessions for agenda item
|
|
37
45
|
*
|
|
@@ -1859,6 +1867,7 @@ export declare class SynergyClient extends HeyApiClient {
|
|
|
1859
1867
|
});
|
|
1860
1868
|
global: Global;
|
|
1861
1869
|
holos: Holos;
|
|
1870
|
+
agenda: Agenda;
|
|
1862
1871
|
scope: Scope;
|
|
1863
1872
|
git: Git;
|
|
1864
1873
|
pty: Pty;
|
|
@@ -1880,7 +1889,6 @@ export declare class SynergyClient extends HeyApiClient {
|
|
|
1880
1889
|
find: Find;
|
|
1881
1890
|
file: File;
|
|
1882
1891
|
engram: Engram;
|
|
1883
|
-
agenda: Agenda;
|
|
1884
1892
|
note: Note;
|
|
1885
1893
|
asset: Asset;
|
|
1886
1894
|
app: App;
|
package/dist/gen/sdk.gen.js
CHANGED
|
@@ -33,6 +33,19 @@ export class Agenda extends HeyApiClient {
|
|
|
33
33
|
...options,
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* Fire agenda webhook
|
|
38
|
+
*
|
|
39
|
+
* Trigger an agenda item via its webhook token. The request body is passed as the signal payload.
|
|
40
|
+
*/
|
|
41
|
+
webhook(parameters, options) {
|
|
42
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "token" }] }]);
|
|
43
|
+
return (options?.client ?? this.client).post({
|
|
44
|
+
url: "/agenda/webhook/{token}",
|
|
45
|
+
...options,
|
|
46
|
+
...params,
|
|
47
|
+
});
|
|
48
|
+
}
|
|
36
49
|
/**
|
|
37
50
|
* List sessions for agenda item
|
|
38
51
|
*
|
|
@@ -3743,6 +3756,7 @@ export class SynergyClient extends HeyApiClient {
|
|
|
3743
3756
|
}
|
|
3744
3757
|
global = new Global({ client: this.client });
|
|
3745
3758
|
holos = new Holos({ client: this.client });
|
|
3759
|
+
agenda = new Agenda({ client: this.client });
|
|
3746
3760
|
scope = new Scope({ client: this.client });
|
|
3747
3761
|
git = new Git({ client: this.client });
|
|
3748
3762
|
pty = new Pty({ client: this.client });
|
|
@@ -3764,7 +3778,6 @@ export class SynergyClient extends HeyApiClient {
|
|
|
3764
3778
|
find = new Find({ client: this.client });
|
|
3765
3779
|
file = new File({ client: this.client });
|
|
3766
3780
|
engram = new Engram({ client: this.client });
|
|
3767
|
-
agenda = new Agenda({ client: this.client });
|
|
3768
3781
|
note = new Note({ client: this.client });
|
|
3769
3782
|
asset = new Asset({ client: this.client });
|
|
3770
3783
|
app = new App({ client: this.client });
|
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -86,9 +86,20 @@ export type AgendaTriggerWatch = {
|
|
|
86
86
|
* Specific file event to match. If omitted, triggers on any event
|
|
87
87
|
*/
|
|
88
88
|
event?: "add" | "change" | "unlink";
|
|
89
|
+
/**
|
|
90
|
+
* Debounce window before firing, e.g. '500ms', '2s'. Default: '500ms'
|
|
91
|
+
*/
|
|
92
|
+
debounce?: string;
|
|
89
93
|
};
|
|
90
94
|
};
|
|
91
|
-
export type
|
|
95
|
+
export type AgendaTriggerWebhook = {
|
|
96
|
+
type: "webhook";
|
|
97
|
+
/**
|
|
98
|
+
* Auto-generated secret token for the webhook URL
|
|
99
|
+
*/
|
|
100
|
+
token?: string;
|
|
101
|
+
};
|
|
102
|
+
export type AgendaTrigger = AgendaTriggerAt | AgendaTriggerCron | AgendaTriggerEvery | AgendaTriggerDelay | AgendaTriggerWatch | AgendaTriggerWebhook;
|
|
92
103
|
/**
|
|
93
104
|
* Scope where the item was created
|
|
94
105
|
*/
|
|
@@ -133,6 +144,14 @@ export type AgendaTask = {
|
|
|
133
144
|
* Execution timeout in milliseconds
|
|
134
145
|
*/
|
|
135
146
|
timeout?: number;
|
|
147
|
+
/**
|
|
148
|
+
* 'ephemeral' (default): create a new session per trigger. 'persistent': reuse the same session across triggers.
|
|
149
|
+
*/
|
|
150
|
+
sessionMode?: "ephemeral" | "persistent";
|
|
151
|
+
/**
|
|
152
|
+
* 'full' (default): inject complete agenda context XML. 'signal': inject only the signal payload. 'none': send only the task prompt.
|
|
153
|
+
*/
|
|
154
|
+
contextMode?: "full" | "signal" | "none";
|
|
136
155
|
};
|
|
137
156
|
/**
|
|
138
157
|
* Delivery configuration, defaults to { target: 'auto' }
|
|
@@ -188,6 +207,10 @@ export type AgendaItemState = {
|
|
|
188
207
|
* Session ID of the most recent execution
|
|
189
208
|
*/
|
|
190
209
|
lastRunSessionID?: string;
|
|
210
|
+
/**
|
|
211
|
+
* Reused session ID for persistent session mode
|
|
212
|
+
*/
|
|
213
|
+
persistentSessionID?: string;
|
|
191
214
|
/**
|
|
192
215
|
* Consecutive error count, reset on success
|
|
193
216
|
*/
|
|
@@ -220,6 +243,9 @@ export type AgendaItem = {
|
|
|
220
243
|
updated: number;
|
|
221
244
|
};
|
|
222
245
|
};
|
|
246
|
+
export type AgendaWebhookResult = {
|
|
247
|
+
accepted: boolean;
|
|
248
|
+
};
|
|
223
249
|
export type Scope = {
|
|
224
250
|
id: string;
|
|
225
251
|
worktree: string;
|
|
@@ -2677,6 +2703,19 @@ export type EventScopeRemoved = {
|
|
|
2677
2703
|
id: string;
|
|
2678
2704
|
};
|
|
2679
2705
|
};
|
|
2706
|
+
export type EventServerInstanceDisposed = {
|
|
2707
|
+
type: "server.instance.disposed";
|
|
2708
|
+
properties: {
|
|
2709
|
+
directory: string;
|
|
2710
|
+
};
|
|
2711
|
+
};
|
|
2712
|
+
export type EventRuntimeReloaded = {
|
|
2713
|
+
type: "runtime.reloaded";
|
|
2714
|
+
properties: {
|
|
2715
|
+
executed: Array<RuntimeReloadTarget>;
|
|
2716
|
+
cascaded: Array<RuntimeReloadTarget>;
|
|
2717
|
+
};
|
|
2718
|
+
};
|
|
2680
2719
|
export type EventConfigUpdated = {
|
|
2681
2720
|
type: "config.updated";
|
|
2682
2721
|
properties: {
|
|
@@ -2691,12 +2730,6 @@ export type EventConfigSetActivated = {
|
|
|
2691
2730
|
active: ConfigSetName;
|
|
2692
2731
|
};
|
|
2693
2732
|
};
|
|
2694
|
-
export type EventServerInstanceDisposed = {
|
|
2695
|
-
type: "server.instance.disposed";
|
|
2696
|
-
properties: {
|
|
2697
|
-
directory: string;
|
|
2698
|
-
};
|
|
2699
|
-
};
|
|
2700
2733
|
export type EventFileEdited = {
|
|
2701
2734
|
type: "file.edited";
|
|
2702
2735
|
properties: {
|
|
@@ -3115,7 +3148,7 @@ export type EventGlobalDisposed = {
|
|
|
3115
3148
|
[key: string]: unknown;
|
|
3116
3149
|
};
|
|
3117
3150
|
};
|
|
3118
|
-
export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventScopeUpdated | EventScopeRemoved |
|
|
3151
|
+
export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventScopeUpdated | EventScopeRemoved | EventServerInstanceDisposed | EventRuntimeReloaded | EventConfigUpdated | EventConfigSetActivated | EventFileEdited | EventLspClientDiagnostics | EventLspUpdated | EventFileWatcherUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventCommandExecuted | EventVcsBranchUpdated | EventPermissionAsked | EventPermissionReplied | EventPermissionAllowAllChanged | EventNoteCreated | EventNoteUpdated | EventNoteDeleted | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSessionStatus | EventSessionIdle | EventTodoUpdated | EventDagUpdated | EventHolosProfileUpdated | EventAppPush | EventHolosContactAdded | EventHolosContactRemoved | EventHolosContactUpdated | EventHolosContactConfigUpdated | EventHolosQueueEnqueued | EventHolosQueueDelivered | EventHolosQueueExpired | EventHolosFriendRequestCreated | EventHolosFriendRequestUpdated | EventHolosFriendRequestRemoved | EventHolosConnected | EventHolosPresence | EventSessionCompacted | EventAgendaItemCreated | EventAgendaItemUpdated | EventAgendaItemDeleted | EventFeedbackUpdated | EventFeedbackRemoved | EventCortexTaskCreated | EventCortexTaskCompleted | EventCortexTasksUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventServerConnected | EventGlobalDisposed;
|
|
3119
3152
|
export type GlobalHealthData = {
|
|
3120
3153
|
body?: never;
|
|
3121
3154
|
path?: never;
|
|
@@ -3253,6 +3286,33 @@ export type GlobalAgendaListResponses = {
|
|
|
3253
3286
|
200: Array<AgendaItem>;
|
|
3254
3287
|
};
|
|
3255
3288
|
export type GlobalAgendaListResponse = GlobalAgendaListResponses[keyof GlobalAgendaListResponses];
|
|
3289
|
+
export type AgendaWebhookData = {
|
|
3290
|
+
body?: never;
|
|
3291
|
+
path: {
|
|
3292
|
+
/**
|
|
3293
|
+
* Webhook secret token
|
|
3294
|
+
*/
|
|
3295
|
+
token: string;
|
|
3296
|
+
};
|
|
3297
|
+
query?: never;
|
|
3298
|
+
url: "/agenda/webhook/{token}";
|
|
3299
|
+
};
|
|
3300
|
+
export type AgendaWebhookErrors = {
|
|
3301
|
+
/**
|
|
3302
|
+
* Unknown webhook token
|
|
3303
|
+
*/
|
|
3304
|
+
404: {
|
|
3305
|
+
message: string;
|
|
3306
|
+
};
|
|
3307
|
+
};
|
|
3308
|
+
export type AgendaWebhookError = AgendaWebhookErrors[keyof AgendaWebhookErrors];
|
|
3309
|
+
export type AgendaWebhookResponses = {
|
|
3310
|
+
/**
|
|
3311
|
+
* Webhook accepted
|
|
3312
|
+
*/
|
|
3313
|
+
200: AgendaWebhookResult;
|
|
3314
|
+
};
|
|
3315
|
+
export type AgendaWebhookResponse = AgendaWebhookResponses[keyof AgendaWebhookResponses];
|
|
3256
3316
|
export type ScopeListData = {
|
|
3257
3317
|
body?: never;
|
|
3258
3318
|
path?: never;
|