@ericsanchezok/synergy-sdk 2.2.2 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gen/sdk.gen.d.ts +106 -1
- package/dist/gen/sdk.gen.js +194 -0
- package/dist/gen/types.gen.d.ts +565 -113
- 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, AgendaActivityErrors, AgendaActivityResponses, AgendaCancelErrors, AgendaCancelResponses, AgendaCompleteErrors, AgendaCompleteResponses, AgendaCreateErrors, AgendaCreateInput, AgendaCreateResponses, AgendaGetErrors, AgendaGetResponses, AgendaPatchInput, AgendaPauseErrors, AgendaPauseResponses, AgendaRemoveErrors, AgendaRemoveResponses, AgendaRunsErrors, AgendaRunsResponses, AgendaSessionsErrors, AgendaSessionsResponses, AgendaTriggerErrors, AgendaTriggerResponses, AgendaUpdateErrors, AgendaUpdateResponses, AgendaWebhookErrors, AgendaWebhookResponses, ApiPluginsApproveInstallErrors, ApiPluginsApproveInstallResponses, ApiPluginsApproveUpdateErrors, ApiPluginsApproveUpdateResponses, ApiPluginsGetApprovalErrors, ApiPluginsGetApprovalResponses, ApiPluginsGetErrors, ApiPluginsGetResponses, ApiPluginsInstallFromRegistryErrors, ApiPluginsInstallFromRegistryResponses, ApiPluginsListResponses, ApiPluginsPermissionDiffErrors, ApiPluginsPermissionDiffResponses, ApiPluginsPreviewInstallErrors, ApiPluginsPreviewInstallResponses, ApiPluginsPreviewUpdateErrors, ApiPluginsPreviewUpdateResponses, ApiPluginsStatusErrors, ApiPluginsStatusResponses, ApiPluginsUpdateFromRegistryErrors, ApiPluginsUpdateFromRegistryResponses, AppAgentsResponses, AppLogErrors, AppLogResponses, AssetGetErrors, AssetGetResponses, AssetUploadErrors, AssetUploadResponses, Auth as Auth2, AuthSetErrors, AuthSetResponses, BlueprintLoopActivityErrors, BlueprintLoopActivityResponses, BlueprintLoopBindErrors, BlueprintLoopBindResponses, BlueprintLoopCancelErrors, BlueprintLoopCancelResponses, BlueprintLoopCompleteErrors, BlueprintLoopCompleteResponses, BlueprintLoopCreateErrors, BlueprintLoopCreateInput, BlueprintLoopCreateResponses, BlueprintLoopGetErrors, BlueprintLoopGetResponses, BlueprintLoopListErrors, BlueprintLoopListResponses, BlueprintLoopResumeErrors, BlueprintLoopResumeResponses, BlueprintLoopStartErrors, BlueprintLoopStartResponses, BlueprintLoopWaitErrors, BlueprintLoopWaitResponses, BlueprintSessionPlanModeErrors, BlueprintSessionPlanModeResponses, ChannelAppResetResponses, ChannelAppSessionResponses, ChannelDisconnectResponses, ChannelStartOneResponses, ChannelStartResponses, ChannelStatusResponses, ChannelStopOneResponses, ChannelStopResponses, CommandListResponses, Config as Config2, ConfigDomainGetErrors, ConfigDomainGetResponses, ConfigDomainImportPlanInput, ConfigDomainListResponses, ConfigDomainUpdateErrors, ConfigDomainUpdateInput, ConfigDomainUpdateResponses, ConfigGetResponses, ConfigGlobalResponses, ConfigImportApplyErrors, ConfigImportApplyResponses, ConfigImportPlanErrors, ConfigImportPlanResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, ControlProfileEffectiveErrors, ControlProfileEffectiveResponses, ControlProfileListResponses, CortexCancelErrors, CortexCancelResponses, CortexGetErrors, CortexGetResponses, CortexListErrors, CortexListResponses, CortexOutputErrors, CortexOutputResponses, EventSubscribeResponses, ExperienceListFilter, ExperienceListSort, ExperimentalResourceListResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalAgendaListErrors, GlobalAgendaListResponses, GlobalDisposeResponses, GlobalFilesystemBrowseResponses, GlobalGitInitErrors, GlobalGitInitResponses, GlobalHealthResponses, GlobalNavPinnedResponses, GlobalNavRecentResponses, GlobalPathsGetResponses, GlobalSessionSearchErrors, GlobalSessionSearchResponses, GlobalStatsGetErrors, GlobalStatsGetResponses, GlobalStatsProgressResponses, HolosAccountsListResponses, HolosAccountsRemoveErrors, HolosAccountsRemoveResponses, HolosAccountsSwitchErrors, HolosAccountsSwitchResponses, HolosAgentsGetErrors, HolosAgentsGetResponses, HolosAgentsListResponses, HolosCallbackResponses, HolosContactAddErrors, HolosContactAddResponses, HolosContactGetErrors, HolosContactGetResponses, HolosContactListResponses, HolosContactRemoveResponses, HolosContactToggleBlockErrors, HolosContactToggleBlockResponses, HolosCredentialsErrors, HolosCredentialsResponses, HolosCredentialsStatusResponses, HolosInboxListResponses, HolosLoginResponses, HolosLogoutResponses, HolosOutboxListResponses, HolosPresenceResponses, HolosReconnectErrors, HolosReconnectResponses, HolosSendResponses, HolosSendRetryErrors, HolosSendRetryResponses, HolosStateResponses, HolosStatusResponses, HolosThreadGetResponses, HolosVerifyResponses, LibraryExperienceApplyRewardErrors, LibraryExperienceApplyRewardResponses, LibraryExperienceGetErrors, LibraryExperienceGetResponses, LibraryExperienceListResponses, LibraryExperiencePageErrors, LibraryExperiencePageResponses, LibraryExperienceRemoveErrors, LibraryExperienceRemoveResponses, LibraryExperienceSearchErrors, LibraryExperienceSearchResponses, LibraryGetErrors, LibraryGetResponses, LibraryListResponses, LibraryRemoveErrors, LibraryRemoveResponses, LibraryResetErrors, LibraryResetResponses, LibrarySearchErrors, LibrarySearchResponses, LibraryStatsErrors, LibraryStatsResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpInspectErrors, McpInspectResponses, McpLocalConfig, McpRefreshErrors, McpRefreshResponses, McpRemoteConfig, McpRestartErrors, McpRestartResponses, McpStatusResponses, McpTestErrors, McpTestResponses, MemoryCategory, MemoryRecallMode, NoteCreateErrors, NoteCreateInput, NoteCreateResponses, NoteExportErrors, NoteExportResponses, NoteGetErrors, NoteGetResponses, NoteListAllErrors, NoteListAllResponses, NoteListErrors, NoteListMetaErrors, NoteListMetaResponses, NoteListResponses, NotePatchInput, NoteRemoveErrors, NoteRemoveResponses, NoteUpdateErrors, NoteUpdateResponses, ObservabilityDiagnosticsSummaryResponses, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PluginConfigSchemaErrors, PluginConfigSchemaResponses, PluginGetConfigErrors, PluginGetConfigResponses, PluginInteractErrors, PluginInteractResponses, PluginListUiContributionsErrors, PluginListUiContributionsResponses, PluginRuntimeLogsErrors, PluginRuntimeLogsResponses, PluginRuntimeStartErrors, PluginRuntimeStartResponses, PluginRuntimeStopErrors, PluginRuntimeStopResponses, PluginSandboxErrors, PluginSandboxResponses, PluginServeAssetErrors, PluginServeAssetResponses, PluginStatusErrors, PluginStatusResponses, PluginUpdateConfigErrors, PluginUpdateConfigResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, RegistryPluginsDownloadErrors, RegistryPluginsDownloadResponses, RegistryPluginsPublishErrors, RegistryPluginsPublishResponses, RegistryPluginsSearchErrors, RegistryPluginsSearchResponses, RegistryPluginsVersionErrors, RegistryPluginsVersionResponses, RegistryPluginsVersionsErrors, RegistryPluginsVersionsResponses, RegistryPublishInput, RewardsInfo, RuntimeReloadErrors, RuntimeReloadResponses, RuntimeReloadScope, RuntimeReloadTarget, SandboxReadinessResponses, SandboxStatusResponses, ScopeCurrentResponses, ScopeIndexResponses, ScopeListResponses, ScopeRemoveResponses, ScopeRuntimeDisposeResponses, ScopeUpdateErrors, ScopeUpdateResponses, SessionAbortErrors, SessionAbortResponses, SessionAgendaErrors, SessionAgendaResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDagErrors, SessionDagResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionExportDownloadErrors, SessionExportDownloadResponses, SessionExportEstimateErrors, SessionExportEstimateResponses, SessionExportMode, SessionFilesRestoreErrors, SessionFilesRestoreResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionIndexResponses, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRollbackErrors, SessionRollbackResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrollbackErrors, SessionUnrollbackResponses, SessionUpdateErrors, SessionUpdateResponses, SkillImportErrors, SkillImportResponses, SkillImportUrlErrors, SkillImportUrlResponses, SkillListResponses, SkillReloadResponses, SkillRemoveErrors, SkillRemoveResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses } from "./types.gen.js";
|
|
2
|
+
import type { AgendaActivateErrors, AgendaActivateResponses, AgendaActivityErrors, AgendaActivityResponses, AgendaCancelErrors, AgendaCancelResponses, AgendaCompleteErrors, AgendaCompleteResponses, AgendaCreateErrors, AgendaCreateInput, AgendaCreateResponses, AgendaGetErrors, AgendaGetResponses, AgendaPatchInput, AgendaPauseErrors, AgendaPauseResponses, AgendaRemoveErrors, AgendaRemoveResponses, AgendaRunsErrors, AgendaRunsResponses, AgendaSessionsErrors, AgendaSessionsResponses, AgendaTriggerErrors, AgendaTriggerResponses, AgendaUpdateErrors, AgendaUpdateResponses, AgendaWebhookErrors, AgendaWebhookResponses, ApiPluginsApproveInstallErrors, ApiPluginsApproveInstallResponses, ApiPluginsApproveUpdateErrors, ApiPluginsApproveUpdateResponses, ApiPluginsGetApprovalErrors, ApiPluginsGetApprovalResponses, ApiPluginsGetErrors, ApiPluginsGetResponses, ApiPluginsInstallFromRegistryErrors, ApiPluginsInstallFromRegistryResponses, ApiPluginsListResponses, ApiPluginsPermissionDiffErrors, ApiPluginsPermissionDiffResponses, ApiPluginsPreviewInstallErrors, ApiPluginsPreviewInstallResponses, ApiPluginsPreviewUpdateErrors, ApiPluginsPreviewUpdateResponses, ApiPluginsStatusErrors, ApiPluginsStatusResponses, ApiPluginsUpdateFromRegistryErrors, ApiPluginsUpdateFromRegistryResponses, AppAgentsResponses, AppLogErrors, AppLogResponses, AssetGetErrors, AssetGetResponses, AssetUploadErrors, AssetUploadResponses, Auth as Auth2, AuthSetErrors, AuthSetResponses, BlueprintLoopActivityErrors, BlueprintLoopActivityResponses, BlueprintLoopBindErrors, BlueprintLoopBindResponses, BlueprintLoopCancelErrors, BlueprintLoopCancelResponses, BlueprintLoopCompleteErrors, BlueprintLoopCompleteResponses, BlueprintLoopCreateErrors, BlueprintLoopCreateInput, BlueprintLoopCreateResponses, BlueprintLoopGetErrors, BlueprintLoopGetResponses, BlueprintLoopListErrors, BlueprintLoopListResponses, BlueprintLoopResumeErrors, BlueprintLoopResumeResponses, BlueprintLoopStartErrors, BlueprintLoopStartResponses, BlueprintLoopWaitErrors, BlueprintLoopWaitResponses, BlueprintSessionPlanModeErrors, BlueprintSessionPlanModeResponses, ChannelAppResetResponses, ChannelAppSessionResponses, ChannelDisconnectResponses, ChannelStartOneResponses, ChannelStartResponses, ChannelStatusResponses, ChannelStopOneResponses, ChannelStopResponses, CommandListResponses, Config as Config2, ConfigDomainGetErrors, ConfigDomainGetResponses, ConfigDomainImportPlanInput, ConfigDomainListResponses, ConfigDomainOpenErrors, ConfigDomainOpenResponses, ConfigDomainUpdateErrors, ConfigDomainUpdateInput, ConfigDomainUpdateResponses, ConfigGetResponses, ConfigGlobalResponses, ConfigImportApplyErrors, ConfigImportApplyResponses, ConfigImportPlanErrors, ConfigImportPlanResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, ControlProfileEffectiveErrors, ControlProfileEffectiveResponses, ControlProfileListResponses, CortexCancelErrors, CortexCancelResponses, CortexGetErrors, CortexGetResponses, CortexListErrors, CortexListResponses, CortexOutputErrors, CortexOutputResponses, EventSubscribeResponses, ExperienceListFilter, ExperienceListSort, ExperimentalResourceListResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalAgendaListErrors, GlobalAgendaListResponses, GlobalDisposeResponses, GlobalFilesystemBrowseResponses, GlobalGitInitErrors, GlobalGitInitResponses, GlobalHealthResponses, GlobalNavPinnedResponses, GlobalNavRecentResponses, GlobalPathsGetResponses, GlobalSessionSearchErrors, GlobalSessionSearchResponses, GlobalStatsGetErrors, GlobalStatsGetResponses, GlobalStatsProgressResponses, HolosAccountsListResponses, HolosAccountsRemoveErrors, HolosAccountsRemoveResponses, HolosAccountsSwitchErrors, HolosAccountsSwitchResponses, HolosAgentsGetErrors, HolosAgentsGetResponses, HolosAgentsListResponses, HolosCallbackResponses, HolosContactAddErrors, HolosContactAddResponses, HolosContactGetErrors, HolosContactGetResponses, HolosContactListResponses, HolosContactRemoveResponses, HolosContactToggleBlockErrors, HolosContactToggleBlockResponses, HolosCredentialsErrors, HolosCredentialsResponses, HolosCredentialsStatusResponses, HolosInboxListResponses, HolosLoginResponses, HolosLogoutResponses, HolosOutboxListResponses, HolosPresenceResponses, HolosReconnectErrors, HolosReconnectResponses, HolosSendResponses, HolosSendRetryErrors, HolosSendRetryResponses, HolosStateResponses, HolosStatusResponses, HolosThreadGetResponses, HolosVerifyResponses, LibraryExperienceApplyRewardErrors, LibraryExperienceApplyRewardResponses, LibraryExperienceGetErrors, LibraryExperienceGetResponses, LibraryExperienceListResponses, LibraryExperiencePageErrors, LibraryExperiencePageResponses, LibraryExperienceRemoveErrors, LibraryExperienceRemoveResponses, LibraryExperienceSearchErrors, LibraryExperienceSearchResponses, LibraryGetErrors, LibraryGetResponses, LibraryListResponses, LibraryRemoveErrors, LibraryRemoveResponses, LibraryResetErrors, LibraryResetResponses, LibrarySearchErrors, LibrarySearchResponses, LibraryStatsErrors, LibraryStatsResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpInspectErrors, McpInspectResponses, McpLocalConfig, McpRefreshErrors, McpRefreshResponses, McpRemoteConfig, McpRestartErrors, McpRestartResponses, McpStatusResponses, McpTestErrors, McpTestResponses, MemoryCategory, MemoryRecallMode, NoteCreateErrors, NoteCreateInput, NoteCreateResponses, NoteExportErrors, NoteExportResponses, NoteGetErrors, NoteGetResponses, NoteListAllErrors, NoteListAllResponses, NoteListErrors, NoteListMetaErrors, NoteListMetaResponses, NoteListResponses, NotePatchInput, NoteRemoveErrors, NoteRemoveResponses, NoteUpdateErrors, NoteUpdateResponses, ObservabilityDiagnosticsSummaryResponses, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PluginConfigSchemaErrors, PluginConfigSchemaResponses, PluginGetConfigErrors, PluginGetConfigResponses, PluginInteractErrors, PluginInteractResponses, PluginListUiContributionsErrors, PluginListUiContributionsResponses, PluginRuntimeLogsErrors, PluginRuntimeLogsResponses, PluginRuntimeStartErrors, PluginRuntimeStartResponses, PluginRuntimeStopErrors, PluginRuntimeStopResponses, PluginSandboxErrors, PluginSandboxResponses, PluginServeAssetErrors, PluginServeAssetResponses, PluginStatusErrors, PluginStatusResponses, PluginUpdateConfigErrors, PluginUpdateConfigResponses, ProviderAuthResponses, ProviderCredentialsImportCredentialsErrors, ProviderCredentialsImportCredentialsResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, ProviderUsageGetErrors, ProviderUsageGetResponses, ProviderUsageListResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, RegistryPluginsDownloadErrors, RegistryPluginsDownloadResponses, RegistryPluginsPublishErrors, RegistryPluginsPublishResponses, RegistryPluginsSearchErrors, RegistryPluginsSearchResponses, RegistryPluginsVersionErrors, RegistryPluginsVersionResponses, RegistryPluginsVersionsErrors, RegistryPluginsVersionsResponses, RegistryPublishInput, RewardsInfo, RuntimeReloadErrors, RuntimeReloadResponses, RuntimeReloadScope, RuntimeReloadTarget, SandboxReadinessResponses, SandboxStatusResponses, ScopeCurrentResponses, ScopeIndexResponses, ScopeListResponses, ScopeRemoveResponses, ScopeRuntimeDisposeResponses, ScopeUpdateErrors, ScopeUpdateResponses, SessionAbortErrors, SessionAbortResponses, SessionAgendaErrors, SessionAgendaResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDagErrors, SessionDagResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionExportDownloadErrors, SessionExportDownloadResponses, SessionExportEstimateErrors, SessionExportEstimateResponses, SessionExportMode, SessionFilesRestoreErrors, SessionFilesRestoreResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInboxErrors, SessionInboxGuideErrors, SessionInboxGuideResponses, SessionInboxRemoveErrors, SessionInboxRemoveResponses, SessionInboxResponses, SessionIndexResponses, SessionInitErrors, SessionInitResponses, SessionInputErrors, SessionInputResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRollbackErrors, SessionRollbackResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrollbackErrors, SessionUnrollbackResponses, SessionUpdateErrors, SessionUpdateResponses, SkillImportErrors, SkillImportResponses, SkillImportUrlErrors, SkillImportUrlResponses, SkillListResponses, SkillReloadResponses, SkillRemoveErrors, SkillRemoveResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses } from "./types.gen.js";
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -450,6 +450,67 @@ export declare class Session extends HeyApiClient {
|
|
|
450
450
|
directory?: string;
|
|
451
451
|
scopeID?: string;
|
|
452
452
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionAbortResponses, SessionAbortErrors, ThrowOnError, "fields">;
|
|
453
|
+
/**
|
|
454
|
+
* List session inbox items
|
|
455
|
+
*
|
|
456
|
+
* Get active queued user messages and agent updates for a session.
|
|
457
|
+
*/
|
|
458
|
+
inbox<ThrowOnError extends boolean = false>(parameters: {
|
|
459
|
+
sessionID: string;
|
|
460
|
+
directory?: string;
|
|
461
|
+
scopeID?: string;
|
|
462
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionInboxResponses, SessionInboxErrors, ThrowOnError, "fields">;
|
|
463
|
+
/**
|
|
464
|
+
* Submit session input
|
|
465
|
+
*
|
|
466
|
+
* Submit user input to a session. If the session is running, the input is queued in the session inbox; otherwise a new turn starts immediately.
|
|
467
|
+
*/
|
|
468
|
+
input<ThrowOnError extends boolean = false>(parameters: {
|
|
469
|
+
sessionID: string;
|
|
470
|
+
directory?: string;
|
|
471
|
+
scopeID?: string;
|
|
472
|
+
messageID?: string;
|
|
473
|
+
model?: {
|
|
474
|
+
providerID: string;
|
|
475
|
+
modelID: string;
|
|
476
|
+
};
|
|
477
|
+
agent?: string;
|
|
478
|
+
noReply?: boolean;
|
|
479
|
+
metadata?: {
|
|
480
|
+
[key: string]: unknown;
|
|
481
|
+
};
|
|
482
|
+
summary?: {
|
|
483
|
+
title?: string;
|
|
484
|
+
};
|
|
485
|
+
tools?: {
|
|
486
|
+
[key: string]: boolean;
|
|
487
|
+
};
|
|
488
|
+
system?: string;
|
|
489
|
+
variant?: string;
|
|
490
|
+
parts?: Array<TextPartInput | FilePartInput>;
|
|
491
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionInputResponses, SessionInputErrors, ThrowOnError, "fields">;
|
|
492
|
+
/**
|
|
493
|
+
* Guide current run with inbox item
|
|
494
|
+
*
|
|
495
|
+
* Promote a queued user message so it is added before the next model request in the current run.
|
|
496
|
+
*/
|
|
497
|
+
inboxGuide<ThrowOnError extends boolean = false>(parameters: {
|
|
498
|
+
sessionID: string;
|
|
499
|
+
itemID: string;
|
|
500
|
+
directory?: string;
|
|
501
|
+
scopeID?: string;
|
|
502
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionInboxGuideResponses, SessionInboxGuideErrors, ThrowOnError, "fields">;
|
|
503
|
+
/**
|
|
504
|
+
* Remove inbox item
|
|
505
|
+
*
|
|
506
|
+
* Remove a queued user message from the session inbox.
|
|
507
|
+
*/
|
|
508
|
+
inboxRemove<ThrowOnError extends boolean = false>(parameters: {
|
|
509
|
+
sessionID: string;
|
|
510
|
+
itemID: string;
|
|
511
|
+
directory?: string;
|
|
512
|
+
scopeID?: string;
|
|
513
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionInboxRemoveResponses, SessionInboxRemoveErrors, ThrowOnError, "fields">;
|
|
453
514
|
/**
|
|
454
515
|
* Summarize session
|
|
455
516
|
*
|
|
@@ -689,6 +750,17 @@ export declare class Observability extends HeyApiClient {
|
|
|
689
750
|
diagnostics: Diagnostics;
|
|
690
751
|
}
|
|
691
752
|
export declare class Credentials extends HeyApiClient {
|
|
753
|
+
/**
|
|
754
|
+
* Import provider credentials
|
|
755
|
+
*
|
|
756
|
+
* Import credentials from a local provider-specific credential source.
|
|
757
|
+
*/
|
|
758
|
+
importCredentials<ThrowOnError extends boolean = false>(parameters: {
|
|
759
|
+
providerID: string;
|
|
760
|
+
directory?: string;
|
|
761
|
+
scopeID?: string;
|
|
762
|
+
method?: number;
|
|
763
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderCredentialsImportCredentialsResponses, ProviderCredentialsImportCredentialsErrors, ThrowOnError, "fields">;
|
|
692
764
|
/**
|
|
693
765
|
* Check local credential status
|
|
694
766
|
*
|
|
@@ -1159,6 +1231,16 @@ export declare class Domain extends HeyApiClient {
|
|
|
1159
1231
|
scopeID?: string;
|
|
1160
1232
|
configDomainUpdateInput?: ConfigDomainUpdateInput;
|
|
1161
1233
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigDomainUpdateResponses, ConfigDomainUpdateErrors, ThrowOnError, "fields">;
|
|
1234
|
+
/**
|
|
1235
|
+
* Open config domain file
|
|
1236
|
+
*
|
|
1237
|
+
* Materialize and open one canonical global config domain file with the operating system default.
|
|
1238
|
+
*/
|
|
1239
|
+
open<ThrowOnError extends boolean = false>(parameters: {
|
|
1240
|
+
domain: "general" | "models" | "providers" | "library" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime";
|
|
1241
|
+
directory?: string;
|
|
1242
|
+
scopeID?: string;
|
|
1243
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigDomainOpenResponses, ConfigDomainOpenErrors, ThrowOnError, "fields">;
|
|
1162
1244
|
}
|
|
1163
1245
|
export declare class Import extends HeyApiClient {
|
|
1164
1246
|
/**
|
|
@@ -1477,6 +1559,27 @@ export declare class Command extends HeyApiClient {
|
|
|
1477
1559
|
scopeID?: string;
|
|
1478
1560
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CommandListResponses, unknown, ThrowOnError, "fields">;
|
|
1479
1561
|
}
|
|
1562
|
+
export declare class Usage extends HeyApiClient {
|
|
1563
|
+
/**
|
|
1564
|
+
* List provider account usage
|
|
1565
|
+
*
|
|
1566
|
+
* Retrieve account usage snapshots for connected providers that expose usage information.
|
|
1567
|
+
*/
|
|
1568
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1569
|
+
directory?: string;
|
|
1570
|
+
scopeID?: string;
|
|
1571
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderUsageListResponses, unknown, ThrowOnError, "fields">;
|
|
1572
|
+
/**
|
|
1573
|
+
* Get provider account usage
|
|
1574
|
+
*
|
|
1575
|
+
* Retrieve account usage and quota windows for a provider.
|
|
1576
|
+
*/
|
|
1577
|
+
get<ThrowOnError extends boolean = false>(parameters: {
|
|
1578
|
+
providerID: string;
|
|
1579
|
+
directory?: string;
|
|
1580
|
+
scopeID?: string;
|
|
1581
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderUsageGetResponses, ProviderUsageGetErrors, ThrowOnError, "fields">;
|
|
1582
|
+
}
|
|
1480
1583
|
export declare class Oauth extends HeyApiClient {
|
|
1481
1584
|
/**
|
|
1482
1585
|
* OAuth authorize
|
|
@@ -1521,7 +1624,9 @@ export declare class Provider extends HeyApiClient {
|
|
|
1521
1624
|
directory?: string;
|
|
1522
1625
|
scopeID?: string;
|
|
1523
1626
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderAuthResponses, unknown, ThrowOnError, "fields">;
|
|
1627
|
+
usage: Usage;
|
|
1524
1628
|
oauth: Oauth;
|
|
1629
|
+
credentials: Credentials;
|
|
1525
1630
|
}
|
|
1526
1631
|
export declare class Skill extends HeyApiClient {
|
|
1527
1632
|
/**
|
package/dist/gen/sdk.gen.js
CHANGED
|
@@ -840,6 +840,107 @@ export class Session extends HeyApiClient {
|
|
|
840
840
|
...params,
|
|
841
841
|
});
|
|
842
842
|
}
|
|
843
|
+
/**
|
|
844
|
+
* List session inbox items
|
|
845
|
+
*
|
|
846
|
+
* Get active queued user messages and agent updates for a session.
|
|
847
|
+
*/
|
|
848
|
+
inbox(parameters, options) {
|
|
849
|
+
const params = buildClientParams([parameters], [
|
|
850
|
+
{
|
|
851
|
+
args: [
|
|
852
|
+
{ in: "path", key: "sessionID" },
|
|
853
|
+
{ in: "query", key: "directory" },
|
|
854
|
+
{ in: "query", key: "scopeID" },
|
|
855
|
+
],
|
|
856
|
+
},
|
|
857
|
+
]);
|
|
858
|
+
return (options?.client ?? this.client).get({
|
|
859
|
+
url: "/session/{sessionID}/inbox",
|
|
860
|
+
...options,
|
|
861
|
+
...params,
|
|
862
|
+
});
|
|
863
|
+
}
|
|
864
|
+
/**
|
|
865
|
+
* Submit session input
|
|
866
|
+
*
|
|
867
|
+
* Submit user input to a session. If the session is running, the input is queued in the session inbox; otherwise a new turn starts immediately.
|
|
868
|
+
*/
|
|
869
|
+
input(parameters, options) {
|
|
870
|
+
const params = buildClientParams([parameters], [
|
|
871
|
+
{
|
|
872
|
+
args: [
|
|
873
|
+
{ in: "path", key: "sessionID" },
|
|
874
|
+
{ in: "query", key: "directory" },
|
|
875
|
+
{ in: "query", key: "scopeID" },
|
|
876
|
+
{ in: "body", key: "messageID" },
|
|
877
|
+
{ in: "body", key: "model" },
|
|
878
|
+
{ in: "body", key: "agent" },
|
|
879
|
+
{ in: "body", key: "noReply" },
|
|
880
|
+
{ in: "body", key: "metadata" },
|
|
881
|
+
{ in: "body", key: "summary" },
|
|
882
|
+
{ in: "body", key: "tools" },
|
|
883
|
+
{ in: "body", key: "system" },
|
|
884
|
+
{ in: "body", key: "variant" },
|
|
885
|
+
{ in: "body", key: "parts" },
|
|
886
|
+
],
|
|
887
|
+
},
|
|
888
|
+
]);
|
|
889
|
+
return (options?.client ?? this.client).post({
|
|
890
|
+
url: "/session/{sessionID}/input",
|
|
891
|
+
...options,
|
|
892
|
+
...params,
|
|
893
|
+
headers: {
|
|
894
|
+
"Content-Type": "application/json",
|
|
895
|
+
...options?.headers,
|
|
896
|
+
...params.headers,
|
|
897
|
+
},
|
|
898
|
+
});
|
|
899
|
+
}
|
|
900
|
+
/**
|
|
901
|
+
* Guide current run with inbox item
|
|
902
|
+
*
|
|
903
|
+
* Promote a queued user message so it is added before the next model request in the current run.
|
|
904
|
+
*/
|
|
905
|
+
inboxGuide(parameters, options) {
|
|
906
|
+
const params = buildClientParams([parameters], [
|
|
907
|
+
{
|
|
908
|
+
args: [
|
|
909
|
+
{ in: "path", key: "sessionID" },
|
|
910
|
+
{ in: "path", key: "itemID" },
|
|
911
|
+
{ in: "query", key: "directory" },
|
|
912
|
+
{ in: "query", key: "scopeID" },
|
|
913
|
+
],
|
|
914
|
+
},
|
|
915
|
+
]);
|
|
916
|
+
return (options?.client ?? this.client).post({
|
|
917
|
+
url: "/session/{sessionID}/inbox/{itemID}/guide",
|
|
918
|
+
...options,
|
|
919
|
+
...params,
|
|
920
|
+
});
|
|
921
|
+
}
|
|
922
|
+
/**
|
|
923
|
+
* Remove inbox item
|
|
924
|
+
*
|
|
925
|
+
* Remove a queued user message from the session inbox.
|
|
926
|
+
*/
|
|
927
|
+
inboxRemove(parameters, options) {
|
|
928
|
+
const params = buildClientParams([parameters], [
|
|
929
|
+
{
|
|
930
|
+
args: [
|
|
931
|
+
{ in: "path", key: "sessionID" },
|
|
932
|
+
{ in: "path", key: "itemID" },
|
|
933
|
+
{ in: "query", key: "directory" },
|
|
934
|
+
{ in: "query", key: "scopeID" },
|
|
935
|
+
],
|
|
936
|
+
},
|
|
937
|
+
]);
|
|
938
|
+
return (options?.client ?? this.client).delete({
|
|
939
|
+
url: "/session/{sessionID}/inbox/{itemID}",
|
|
940
|
+
...options,
|
|
941
|
+
...params,
|
|
942
|
+
});
|
|
943
|
+
}
|
|
843
944
|
/**
|
|
844
945
|
* Summarize session
|
|
845
946
|
*
|
|
@@ -1234,6 +1335,33 @@ export class Observability extends HeyApiClient {
|
|
|
1234
1335
|
diagnostics = new Diagnostics({ client: this.client });
|
|
1235
1336
|
}
|
|
1236
1337
|
export class Credentials extends HeyApiClient {
|
|
1338
|
+
/**
|
|
1339
|
+
* Import provider credentials
|
|
1340
|
+
*
|
|
1341
|
+
* Import credentials from a local provider-specific credential source.
|
|
1342
|
+
*/
|
|
1343
|
+
importCredentials(parameters, options) {
|
|
1344
|
+
const params = buildClientParams([parameters], [
|
|
1345
|
+
{
|
|
1346
|
+
args: [
|
|
1347
|
+
{ in: "path", key: "providerID" },
|
|
1348
|
+
{ in: "query", key: "directory" },
|
|
1349
|
+
{ in: "query", key: "scopeID" },
|
|
1350
|
+
{ in: "body", key: "method" },
|
|
1351
|
+
],
|
|
1352
|
+
},
|
|
1353
|
+
]);
|
|
1354
|
+
return (options?.client ?? this.client).post({
|
|
1355
|
+
url: "/provider/{providerID}/import",
|
|
1356
|
+
...options,
|
|
1357
|
+
...params,
|
|
1358
|
+
headers: {
|
|
1359
|
+
"Content-Type": "application/json",
|
|
1360
|
+
...options?.headers,
|
|
1361
|
+
...params.headers,
|
|
1362
|
+
},
|
|
1363
|
+
});
|
|
1364
|
+
}
|
|
1237
1365
|
/**
|
|
1238
1366
|
* Check local credential status
|
|
1239
1367
|
*
|
|
@@ -2227,6 +2355,27 @@ export class Domain extends HeyApiClient {
|
|
|
2227
2355
|
},
|
|
2228
2356
|
});
|
|
2229
2357
|
}
|
|
2358
|
+
/**
|
|
2359
|
+
* Open config domain file
|
|
2360
|
+
*
|
|
2361
|
+
* Materialize and open one canonical global config domain file with the operating system default.
|
|
2362
|
+
*/
|
|
2363
|
+
open(parameters, options) {
|
|
2364
|
+
const params = buildClientParams([parameters], [
|
|
2365
|
+
{
|
|
2366
|
+
args: [
|
|
2367
|
+
{ in: "path", key: "domain" },
|
|
2368
|
+
{ in: "query", key: "directory" },
|
|
2369
|
+
{ in: "query", key: "scopeID" },
|
|
2370
|
+
],
|
|
2371
|
+
},
|
|
2372
|
+
]);
|
|
2373
|
+
return (options?.client ?? this.client).post({
|
|
2374
|
+
url: "/config/domains/{domain}/open",
|
|
2375
|
+
...options,
|
|
2376
|
+
...params,
|
|
2377
|
+
});
|
|
2378
|
+
}
|
|
2230
2379
|
}
|
|
2231
2380
|
export class Import extends HeyApiClient {
|
|
2232
2381
|
/**
|
|
@@ -2904,6 +3053,49 @@ export class Command extends HeyApiClient {
|
|
|
2904
3053
|
});
|
|
2905
3054
|
}
|
|
2906
3055
|
}
|
|
3056
|
+
export class Usage extends HeyApiClient {
|
|
3057
|
+
/**
|
|
3058
|
+
* List provider account usage
|
|
3059
|
+
*
|
|
3060
|
+
* Retrieve account usage snapshots for connected providers that expose usage information.
|
|
3061
|
+
*/
|
|
3062
|
+
list(parameters, options) {
|
|
3063
|
+
const params = buildClientParams([parameters], [
|
|
3064
|
+
{
|
|
3065
|
+
args: [
|
|
3066
|
+
{ in: "query", key: "directory" },
|
|
3067
|
+
{ in: "query", key: "scopeID" },
|
|
3068
|
+
],
|
|
3069
|
+
},
|
|
3070
|
+
]);
|
|
3071
|
+
return (options?.client ?? this.client).get({
|
|
3072
|
+
url: "/provider/usage",
|
|
3073
|
+
...options,
|
|
3074
|
+
...params,
|
|
3075
|
+
});
|
|
3076
|
+
}
|
|
3077
|
+
/**
|
|
3078
|
+
* Get provider account usage
|
|
3079
|
+
*
|
|
3080
|
+
* Retrieve account usage and quota windows for a provider.
|
|
3081
|
+
*/
|
|
3082
|
+
get(parameters, options) {
|
|
3083
|
+
const params = buildClientParams([parameters], [
|
|
3084
|
+
{
|
|
3085
|
+
args: [
|
|
3086
|
+
{ in: "path", key: "providerID" },
|
|
3087
|
+
{ in: "query", key: "directory" },
|
|
3088
|
+
{ in: "query", key: "scopeID" },
|
|
3089
|
+
],
|
|
3090
|
+
},
|
|
3091
|
+
]);
|
|
3092
|
+
return (options?.client ?? this.client).get({
|
|
3093
|
+
url: "/provider/{providerID}/usage",
|
|
3094
|
+
...options,
|
|
3095
|
+
...params,
|
|
3096
|
+
});
|
|
3097
|
+
}
|
|
3098
|
+
}
|
|
2907
3099
|
export class Oauth extends HeyApiClient {
|
|
2908
3100
|
/**
|
|
2909
3101
|
* OAuth authorize
|
|
@@ -3002,7 +3194,9 @@ export class Provider extends HeyApiClient {
|
|
|
3002
3194
|
...params,
|
|
3003
3195
|
});
|
|
3004
3196
|
}
|
|
3197
|
+
usage = new Usage({ client: this.client });
|
|
3005
3198
|
oauth = new Oauth({ client: this.client });
|
|
3199
|
+
credentials = new Credentials({ client: this.client });
|
|
3006
3200
|
}
|
|
3007
3201
|
export class Skill extends HeyApiClient {
|
|
3008
3202
|
/**
|
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -887,6 +887,31 @@ export type PluginMarketplaceConfig = {
|
|
|
887
887
|
*/
|
|
888
888
|
offlineCache?: boolean;
|
|
889
889
|
};
|
|
890
|
+
/**
|
|
891
|
+
* Signed remote provider catalog configuration
|
|
892
|
+
*/
|
|
893
|
+
export type ProviderCatalogConfig = {
|
|
894
|
+
/**
|
|
895
|
+
* Enable signed remote provider catalog updates
|
|
896
|
+
*/
|
|
897
|
+
enabled?: boolean;
|
|
898
|
+
/**
|
|
899
|
+
* Signed provider catalog URL. The signature is fetched from the same URL plus .sig.
|
|
900
|
+
*/
|
|
901
|
+
registryUrl?: string;
|
|
902
|
+
/**
|
|
903
|
+
* Base64 Ed25519 public key used to verify provider catalog signatures
|
|
904
|
+
*/
|
|
905
|
+
publicKey?: string;
|
|
906
|
+
/**
|
|
907
|
+
* Provider catalog cache TTL in milliseconds
|
|
908
|
+
*/
|
|
909
|
+
cacheTtlMs?: number;
|
|
910
|
+
/**
|
|
911
|
+
* Use the last verified provider catalog when offline
|
|
912
|
+
*/
|
|
913
|
+
offlineCache?: boolean;
|
|
914
|
+
};
|
|
890
915
|
export type PermissionActionConfig = "ask" | "allow" | "deny";
|
|
891
916
|
export type PermissionObjectConfig = {
|
|
892
917
|
[key: string]: PermissionActionConfig;
|
|
@@ -1843,6 +1868,7 @@ export type Config = {
|
|
|
1843
1868
|
* When set, ONLY these providers will be enabled. All other providers will be ignored
|
|
1844
1869
|
*/
|
|
1845
1870
|
enabled_providers?: Array<string>;
|
|
1871
|
+
providerCatalog?: ProviderCatalogConfig;
|
|
1846
1872
|
/**
|
|
1847
1873
|
* Default model in the format of provider/model, eg anthropic/claude-sonnet-4-5
|
|
1848
1874
|
*/
|
|
@@ -1961,6 +1987,14 @@ export type Config = {
|
|
|
1961
1987
|
* Additional instruction files or patterns to include
|
|
1962
1988
|
*/
|
|
1963
1989
|
instructions?: Array<string>;
|
|
1990
|
+
/**
|
|
1991
|
+
* Ordered fallback instruction filenames to try when AGENTS.md is missing in a directory
|
|
1992
|
+
*/
|
|
1993
|
+
project_doc_fallback_filenames?: Array<string>;
|
|
1994
|
+
/**
|
|
1995
|
+
* Maximum bytes to include from each automatically discovered instruction file (default: 32768; 0 disables automatic discovery)
|
|
1996
|
+
*/
|
|
1997
|
+
project_doc_max_bytes?: number;
|
|
1964
1998
|
layout?: LayoutConfig;
|
|
1965
1999
|
permission?: PermissionConfig;
|
|
1966
2000
|
/**
|
|
@@ -2068,6 +2102,16 @@ export type ConfigDomainUpdateInput = {
|
|
|
2068
2102
|
config: Config;
|
|
2069
2103
|
mode?: "merge" | "replace-domain" | "append";
|
|
2070
2104
|
};
|
|
2105
|
+
export type ConfigDomainOpenResponse = {
|
|
2106
|
+
success: true;
|
|
2107
|
+
path: string;
|
|
2108
|
+
};
|
|
2109
|
+
export type ConfigDomainOpenError = {
|
|
2110
|
+
success: false;
|
|
2111
|
+
error: string;
|
|
2112
|
+
message: string;
|
|
2113
|
+
path?: string;
|
|
2114
|
+
};
|
|
2071
2115
|
export type ConfigDomainImportChange = {
|
|
2072
2116
|
key: string;
|
|
2073
2117
|
before?: unknown;
|
|
@@ -2340,6 +2384,12 @@ export type SessionCortexDelegation = {
|
|
|
2340
2384
|
};
|
|
2341
2385
|
result?: string;
|
|
2342
2386
|
error?: string;
|
|
2387
|
+
visibility?: "visible" | "hidden";
|
|
2388
|
+
tools?: {
|
|
2389
|
+
[key: string]: boolean;
|
|
2390
|
+
};
|
|
2391
|
+
output?: unknown;
|
|
2392
|
+
outputResult?: unknown;
|
|
2343
2393
|
};
|
|
2344
2394
|
export type SessionWorkingInfo = {
|
|
2345
2395
|
status: "busy";
|
|
@@ -2390,6 +2440,10 @@ export type Session = {
|
|
|
2390
2440
|
* Tool names pre-authorized by the user via system scheduling (e.g. agenda wake). Bypasses the ask gate for these tools within this session only.
|
|
2391
2441
|
*/
|
|
2392
2442
|
preAuthorizedActions?: Array<string>;
|
|
2443
|
+
toolState?: {
|
|
2444
|
+
expandedGroups?: Array<string>;
|
|
2445
|
+
activatedTools?: Array<string>;
|
|
2446
|
+
};
|
|
2393
2447
|
pendingReply?: boolean;
|
|
2394
2448
|
interaction?: SessionInteraction;
|
|
2395
2449
|
agenda?: {
|
|
@@ -2526,6 +2580,101 @@ export type SessionAgendaResponse = {
|
|
|
2526
2580
|
total: number;
|
|
2527
2581
|
hasMore: boolean;
|
|
2528
2582
|
};
|
|
2583
|
+
export type SessionInboxItemSource = {
|
|
2584
|
+
type: string;
|
|
2585
|
+
label?: string;
|
|
2586
|
+
[key: string]: unknown | string | undefined;
|
|
2587
|
+
};
|
|
2588
|
+
export type SessionInboxItem = {
|
|
2589
|
+
id: string;
|
|
2590
|
+
sessionID: string;
|
|
2591
|
+
kind: "queued_user" | "guiding" | "agent_update";
|
|
2592
|
+
state: "queued" | "guiding";
|
|
2593
|
+
deliveryTarget: "after_turn" | "next_model_call";
|
|
2594
|
+
summary: {
|
|
2595
|
+
title: string;
|
|
2596
|
+
preview?: string;
|
|
2597
|
+
};
|
|
2598
|
+
detail?: {
|
|
2599
|
+
text?: string;
|
|
2600
|
+
attachments?: Array<string>;
|
|
2601
|
+
};
|
|
2602
|
+
source: SessionInboxItemSource;
|
|
2603
|
+
time: {
|
|
2604
|
+
created: number;
|
|
2605
|
+
updated?: number;
|
|
2606
|
+
};
|
|
2607
|
+
orderKey: string;
|
|
2608
|
+
messageID?: string;
|
|
2609
|
+
};
|
|
2610
|
+
export type SessionInputResult = {
|
|
2611
|
+
status: "started";
|
|
2612
|
+
messageID: string;
|
|
2613
|
+
} | {
|
|
2614
|
+
status: "queued";
|
|
2615
|
+
item: SessionInboxItem;
|
|
2616
|
+
};
|
|
2617
|
+
export type TextPartInput = {
|
|
2618
|
+
id?: string;
|
|
2619
|
+
type: "text";
|
|
2620
|
+
text: string;
|
|
2621
|
+
synthetic?: boolean;
|
|
2622
|
+
ignored?: boolean;
|
|
2623
|
+
time?: {
|
|
2624
|
+
start: number;
|
|
2625
|
+
end?: number;
|
|
2626
|
+
};
|
|
2627
|
+
metadata?: {
|
|
2628
|
+
[key: string]: unknown;
|
|
2629
|
+
};
|
|
2630
|
+
};
|
|
2631
|
+
export type FilePartSourceText = {
|
|
2632
|
+
value: string;
|
|
2633
|
+
start: number;
|
|
2634
|
+
end: number;
|
|
2635
|
+
};
|
|
2636
|
+
export type FileSource = {
|
|
2637
|
+
text: FilePartSourceText;
|
|
2638
|
+
type: "file";
|
|
2639
|
+
path: string;
|
|
2640
|
+
};
|
|
2641
|
+
export type Range = {
|
|
2642
|
+
start: {
|
|
2643
|
+
line: number;
|
|
2644
|
+
character: number;
|
|
2645
|
+
};
|
|
2646
|
+
end: {
|
|
2647
|
+
line: number;
|
|
2648
|
+
character: number;
|
|
2649
|
+
};
|
|
2650
|
+
};
|
|
2651
|
+
export type SymbolSource = {
|
|
2652
|
+
text: FilePartSourceText;
|
|
2653
|
+
type: "symbol";
|
|
2654
|
+
path: string;
|
|
2655
|
+
range: Range;
|
|
2656
|
+
name: string;
|
|
2657
|
+
kind: number;
|
|
2658
|
+
};
|
|
2659
|
+
export type ResourceSource = {
|
|
2660
|
+
text: FilePartSourceText;
|
|
2661
|
+
type: "resource";
|
|
2662
|
+
clientName: string;
|
|
2663
|
+
uri: string;
|
|
2664
|
+
};
|
|
2665
|
+
export type FilePartSource = FileSource | SymbolSource | ResourceSource;
|
|
2666
|
+
export type FilePartInput = {
|
|
2667
|
+
id?: string;
|
|
2668
|
+
type: "file";
|
|
2669
|
+
mime: string;
|
|
2670
|
+
filename?: string;
|
|
2671
|
+
url: string;
|
|
2672
|
+
localPath?: string;
|
|
2673
|
+
source?: FilePartSource;
|
|
2674
|
+
metadata?: {
|
|
2675
|
+
[key: string]: unknown;
|
|
2676
|
+
};
|
|
2677
|
+
};
|
|
2529
2678
|
export type UserMessage = {
|
|
2530
2679
|
id: string;
|
|
2531
2680
|
sessionID: string;
|
|
@@ -2657,41 +2806,6 @@ export type ReasoningPart = {
|
|
|
2657
2806
|
end?: number;
|
|
2658
2807
|
};
|
|
2659
2808
|
};
|
|
2660
|
-
export type FilePartSourceText = {
|
|
2661
|
-
value: string;
|
|
2662
|
-
start: number;
|
|
2663
|
-
end: number;
|
|
2664
|
-
};
|
|
2665
|
-
export type FileSource = {
|
|
2666
|
-
text: FilePartSourceText;
|
|
2667
|
-
type: "file";
|
|
2668
|
-
path: string;
|
|
2669
|
-
};
|
|
2670
|
-
export type Range = {
|
|
2671
|
-
start: {
|
|
2672
|
-
line: number;
|
|
2673
|
-
character: number;
|
|
2674
|
-
};
|
|
2675
|
-
end: {
|
|
2676
|
-
line: number;
|
|
2677
|
-
character: number;
|
|
2678
|
-
};
|
|
2679
|
-
};
|
|
2680
|
-
export type SymbolSource = {
|
|
2681
|
-
text: FilePartSourceText;
|
|
2682
|
-
type: "symbol";
|
|
2683
|
-
path: string;
|
|
2684
|
-
range: Range;
|
|
2685
|
-
name: string;
|
|
2686
|
-
kind: number;
|
|
2687
|
-
};
|
|
2688
|
-
export type ResourceSource = {
|
|
2689
|
-
text: FilePartSourceText;
|
|
2690
|
-
type: "resource";
|
|
2691
|
-
clientName: string;
|
|
2692
|
-
uri: string;
|
|
2693
|
-
};
|
|
2694
|
-
export type FilePartSource = FileSource | SymbolSource | ResourceSource;
|
|
2695
2809
|
export type FilePart = {
|
|
2696
2810
|
id: string;
|
|
2697
2811
|
sessionID: string;
|
|
@@ -2837,32 +2951,6 @@ export type CompactionPart = {
|
|
|
2837
2951
|
auto: boolean;
|
|
2838
2952
|
};
|
|
2839
2953
|
export type Part = TextPart | ReasoningPart | FilePart | ToolPart | StepStartPart | StepFinishPart | SnapshotPart | PatchPart | RetryPart | CompactionPart;
|
|
2840
|
-
export type TextPartInput = {
|
|
2841
|
-
id?: string;
|
|
2842
|
-
type: "text";
|
|
2843
|
-
text: string;
|
|
2844
|
-
synthetic?: boolean;
|
|
2845
|
-
ignored?: boolean;
|
|
2846
|
-
time?: {
|
|
2847
|
-
start: number;
|
|
2848
|
-
end?: number;
|
|
2849
|
-
};
|
|
2850
|
-
metadata?: {
|
|
2851
|
-
[key: string]: unknown;
|
|
2852
|
-
};
|
|
2853
|
-
};
|
|
2854
|
-
export type FilePartInput = {
|
|
2855
|
-
id?: string;
|
|
2856
|
-
type: "file";
|
|
2857
|
-
mime: string;
|
|
2858
|
-
filename?: string;
|
|
2859
|
-
url: string;
|
|
2860
|
-
localPath?: string;
|
|
2861
|
-
source?: FilePartSource;
|
|
2862
|
-
metadata?: {
|
|
2863
|
-
[key: string]: unknown;
|
|
2864
|
-
};
|
|
2865
|
-
};
|
|
2866
2954
|
export type SessionRollbackEvent = {
|
|
2867
2955
|
id: string;
|
|
2868
2956
|
sessionID: string;
|
|
@@ -3037,6 +3125,34 @@ export type CortexTask = {
|
|
|
3037
3125
|
}>;
|
|
3038
3126
|
};
|
|
3039
3127
|
notifyParentOnComplete?: boolean;
|
|
3128
|
+
visibility?: "visible" | "hidden";
|
|
3129
|
+
tools?: {
|
|
3130
|
+
[key: string]: boolean;
|
|
3131
|
+
};
|
|
3132
|
+
output?: {
|
|
3133
|
+
mode?: "summary";
|
|
3134
|
+
} | {
|
|
3135
|
+
mode: "final_response";
|
|
3136
|
+
} | {
|
|
3137
|
+
mode: "structured";
|
|
3138
|
+
schema: {
|
|
3139
|
+
[key: string]: unknown;
|
|
3140
|
+
};
|
|
3141
|
+
maxRepairTurns?: 0 | 1 | 2 | 3;
|
|
3142
|
+
};
|
|
3143
|
+
outputResult?: {
|
|
3144
|
+
mode: "final_response";
|
|
3145
|
+
text: string;
|
|
3146
|
+
} | {
|
|
3147
|
+
mode: "structured";
|
|
3148
|
+
status: "valid" | "invalid";
|
|
3149
|
+
source?: "structured_tool" | "final_response";
|
|
3150
|
+
data?: unknown;
|
|
3151
|
+
text?: string;
|
|
3152
|
+
repairTurns: number;
|
|
3153
|
+
error?: string;
|
|
3154
|
+
validationErrors?: Array<string>;
|
|
3155
|
+
};
|
|
3040
3156
|
};
|
|
3041
3157
|
export type Command = {
|
|
3042
3158
|
name: string;
|
|
@@ -3052,8 +3168,51 @@ export type Command = {
|
|
|
3052
3168
|
template?: string;
|
|
3053
3169
|
hints: Array<string>;
|
|
3054
3170
|
};
|
|
3171
|
+
export type ProviderAuthHealth = {
|
|
3172
|
+
providerID: string;
|
|
3173
|
+
status: "connected" | "not_configured" | "expired" | "exhausted" | "dead";
|
|
3174
|
+
authKind?: string;
|
|
3175
|
+
source?: string;
|
|
3176
|
+
updatedAt?: number;
|
|
3177
|
+
reloginRequired?: boolean;
|
|
3178
|
+
cooldownUntil?: number;
|
|
3179
|
+
resetAt?: number;
|
|
3180
|
+
failureCode?: string;
|
|
3181
|
+
};
|
|
3182
|
+
export type ProviderRuntimeAvailability = {
|
|
3183
|
+
providerID: string;
|
|
3184
|
+
available: boolean;
|
|
3185
|
+
reason?: "connected" | "not_connected" | "disabled" | "no_models";
|
|
3186
|
+
healthCheck?: "models" | "none";
|
|
3187
|
+
modelCount: number;
|
|
3188
|
+
};
|
|
3189
|
+
export type AccountUsageWindow = {
|
|
3190
|
+
label: string;
|
|
3191
|
+
usedPercent?: number;
|
|
3192
|
+
remainingPercent?: number;
|
|
3193
|
+
resetAt?: string;
|
|
3194
|
+
detail?: string;
|
|
3195
|
+
};
|
|
3196
|
+
export type AccountUsageCredits = {
|
|
3197
|
+
hasCredits?: boolean;
|
|
3198
|
+
balance?: number;
|
|
3199
|
+
unlimited?: boolean;
|
|
3200
|
+
currency?: string;
|
|
3201
|
+
};
|
|
3202
|
+
export type AccountUsageSnapshot = {
|
|
3203
|
+
providerID: string;
|
|
3204
|
+
status: "available" | "unavailable" | "error";
|
|
3205
|
+
source?: string;
|
|
3206
|
+
fetchedAt: string;
|
|
3207
|
+
plan?: string;
|
|
3208
|
+
windows: Array<AccountUsageWindow>;
|
|
3209
|
+
details: Array<string>;
|
|
3210
|
+
credits?: AccountUsageCredits;
|
|
3211
|
+
reloginRequired?: boolean;
|
|
3212
|
+
unavailableReason?: string;
|
|
3213
|
+
};
|
|
3055
3214
|
export type ProviderAuthMethod = {
|
|
3056
|
-
type: "oauth" | "api";
|
|
3215
|
+
type: "oauth" | "api" | "import";
|
|
3057
3216
|
label: string;
|
|
3058
3217
|
};
|
|
3059
3218
|
export type ProviderAuthAuthorization = {
|
|
@@ -3976,20 +4135,32 @@ export type OAuth = {
|
|
|
3976
4135
|
access: string;
|
|
3977
4136
|
expires: number;
|
|
3978
4137
|
enterpriseUrl?: string;
|
|
4138
|
+
metadata?: {
|
|
4139
|
+
[key: string]: unknown;
|
|
4140
|
+
};
|
|
3979
4141
|
};
|
|
3980
4142
|
export type ApiAuth = {
|
|
3981
4143
|
type: "api";
|
|
3982
4144
|
key: string;
|
|
4145
|
+
metadata?: {
|
|
4146
|
+
[key: string]: unknown;
|
|
4147
|
+
};
|
|
3983
4148
|
};
|
|
3984
4149
|
export type WellKnownAuth = {
|
|
3985
4150
|
type: "wellknown";
|
|
3986
4151
|
key: string;
|
|
3987
4152
|
token: string;
|
|
4153
|
+
metadata?: {
|
|
4154
|
+
[key: string]: unknown;
|
|
4155
|
+
};
|
|
3988
4156
|
};
|
|
3989
4157
|
export type HolosAuth = {
|
|
3990
4158
|
type: "holos";
|
|
3991
4159
|
agentId: string;
|
|
3992
4160
|
agentSecret: string;
|
|
4161
|
+
metadata?: {
|
|
4162
|
+
[key: string]: unknown;
|
|
4163
|
+
};
|
|
3993
4164
|
};
|
|
3994
4165
|
export type Auth = OAuth | ApiAuth | WellKnownAuth | HolosAuth;
|
|
3995
4166
|
export type EventScopeUpdated = {
|
|
@@ -4059,28 +4230,6 @@ export type EventMcpFailed = {
|
|
|
4059
4230
|
error: string;
|
|
4060
4231
|
};
|
|
4061
4232
|
};
|
|
4062
|
-
export type EventCommandExecuted = {
|
|
4063
|
-
type: "command.executed";
|
|
4064
|
-
properties: {
|
|
4065
|
-
name: string;
|
|
4066
|
-
sessionID: string;
|
|
4067
|
-
arguments: string;
|
|
4068
|
-
messageID: string;
|
|
4069
|
-
};
|
|
4070
|
-
};
|
|
4071
|
-
export type EventFileEdited = {
|
|
4072
|
-
type: "file.edited";
|
|
4073
|
-
properties: {
|
|
4074
|
-
file: string;
|
|
4075
|
-
};
|
|
4076
|
-
};
|
|
4077
|
-
export type EventFileWatcherUpdated = {
|
|
4078
|
-
type: "file.watcher.updated";
|
|
4079
|
-
properties: {
|
|
4080
|
-
file: string;
|
|
4081
|
-
event: "add" | "change" | "unlink";
|
|
4082
|
-
};
|
|
4083
|
-
};
|
|
4084
4233
|
export type EventLspClientDiagnostics = {
|
|
4085
4234
|
type: "lsp.client.diagnostics";
|
|
4086
4235
|
properties: {
|
|
@@ -4094,12 +4243,6 @@ export type EventLspUpdated = {
|
|
|
4094
4243
|
[key: string]: unknown;
|
|
4095
4244
|
};
|
|
4096
4245
|
};
|
|
4097
|
-
export type EventVcsBranchUpdated = {
|
|
4098
|
-
type: "vcs.branch.updated";
|
|
4099
|
-
properties: {
|
|
4100
|
-
branch?: string;
|
|
4101
|
-
};
|
|
4102
|
-
};
|
|
4103
4246
|
export type EventMessageUpdated = {
|
|
4104
4247
|
type: "message.updated";
|
|
4105
4248
|
properties: {
|
|
@@ -4179,23 +4322,11 @@ export type EventSessionIdle = {
|
|
|
4179
4322
|
sessionID: string;
|
|
4180
4323
|
};
|
|
4181
4324
|
};
|
|
4182
|
-
export type
|
|
4183
|
-
type: "
|
|
4184
|
-
properties: {
|
|
4185
|
-
note: NoteInfo;
|
|
4186
|
-
};
|
|
4187
|
-
};
|
|
4188
|
-
export type EventNoteUpdated = {
|
|
4189
|
-
type: "note.updated";
|
|
4325
|
+
export type EventSessionInboxUpdated = {
|
|
4326
|
+
type: "session.inbox.updated";
|
|
4190
4327
|
properties: {
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
};
|
|
4194
|
-
export type EventNoteDeleted = {
|
|
4195
|
-
type: "note.deleted";
|
|
4196
|
-
properties: {
|
|
4197
|
-
id: string;
|
|
4198
|
-
scopeID: string;
|
|
4328
|
+
sessionID: string;
|
|
4329
|
+
items: Array<SessionInboxItem>;
|
|
4199
4330
|
};
|
|
4200
4331
|
};
|
|
4201
4332
|
export type EventQuestionAsked = {
|
|
@@ -4224,6 +4355,18 @@ export type EventQuestionTimedOut = {
|
|
|
4224
4355
|
requestID: string;
|
|
4225
4356
|
};
|
|
4226
4357
|
};
|
|
4358
|
+
export type EventSessionCompacted = {
|
|
4359
|
+
type: "session.compacted";
|
|
4360
|
+
properties: {
|
|
4361
|
+
sessionID: string;
|
|
4362
|
+
};
|
|
4363
|
+
};
|
|
4364
|
+
export type EventFileEdited = {
|
|
4365
|
+
type: "file.edited";
|
|
4366
|
+
properties: {
|
|
4367
|
+
file: string;
|
|
4368
|
+
};
|
|
4369
|
+
};
|
|
4227
4370
|
export type EventRuntimeReloaded = {
|
|
4228
4371
|
type: "runtime.reloaded";
|
|
4229
4372
|
properties: {
|
|
@@ -4247,6 +4390,25 @@ export type EventTodoUpdated = {
|
|
|
4247
4390
|
todos: Array<Todo>;
|
|
4248
4391
|
};
|
|
4249
4392
|
};
|
|
4393
|
+
export type EventNoteCreated = {
|
|
4394
|
+
type: "note.created";
|
|
4395
|
+
properties: {
|
|
4396
|
+
note: NoteInfo;
|
|
4397
|
+
};
|
|
4398
|
+
};
|
|
4399
|
+
export type EventNoteUpdated = {
|
|
4400
|
+
type: "note.updated";
|
|
4401
|
+
properties: {
|
|
4402
|
+
note: NoteInfo;
|
|
4403
|
+
};
|
|
4404
|
+
};
|
|
4405
|
+
export type EventNoteDeleted = {
|
|
4406
|
+
type: "note.deleted";
|
|
4407
|
+
properties: {
|
|
4408
|
+
id: string;
|
|
4409
|
+
scopeID: string;
|
|
4410
|
+
};
|
|
4411
|
+
};
|
|
4250
4412
|
export type EventBlueprintLoopCreated = {
|
|
4251
4413
|
type: "blueprint_loop.created";
|
|
4252
4414
|
properties: {
|
|
@@ -4291,12 +4453,6 @@ export type EventBlueprintLoopRestarted = {
|
|
|
4291
4453
|
reason: string;
|
|
4292
4454
|
};
|
|
4293
4455
|
};
|
|
4294
|
-
export type EventSessionCompacted = {
|
|
4295
|
-
type: "session.compacted";
|
|
4296
|
-
properties: {
|
|
4297
|
-
sessionID: string;
|
|
4298
|
-
};
|
|
4299
|
-
};
|
|
4300
4456
|
export type EventAgendaItemCreated = {
|
|
4301
4457
|
type: "agenda.item.created";
|
|
4302
4458
|
properties: {
|
|
@@ -4334,6 +4490,28 @@ export type EventCortexTasksUpdated = {
|
|
|
4334
4490
|
tasks: Array<CortexTask>;
|
|
4335
4491
|
};
|
|
4336
4492
|
};
|
|
4493
|
+
export type EventCommandExecuted = {
|
|
4494
|
+
type: "command.executed";
|
|
4495
|
+
properties: {
|
|
4496
|
+
name: string;
|
|
4497
|
+
sessionID: string;
|
|
4498
|
+
arguments: string;
|
|
4499
|
+
messageID: string;
|
|
4500
|
+
};
|
|
4501
|
+
};
|
|
4502
|
+
export type EventFileWatcherUpdated = {
|
|
4503
|
+
type: "file.watcher.updated";
|
|
4504
|
+
properties: {
|
|
4505
|
+
file: string;
|
|
4506
|
+
event: "add" | "change" | "unlink";
|
|
4507
|
+
};
|
|
4508
|
+
};
|
|
4509
|
+
export type EventVcsBranchUpdated = {
|
|
4510
|
+
type: "vcs.branch.updated";
|
|
4511
|
+
properties: {
|
|
4512
|
+
branch?: string;
|
|
4513
|
+
};
|
|
4514
|
+
};
|
|
4337
4515
|
export type EventPtyCreated = {
|
|
4338
4516
|
type: "pty.created";
|
|
4339
4517
|
properties: {
|
|
@@ -4443,7 +4621,7 @@ export type EventGlobalDisposed = {
|
|
|
4443
4621
|
[key: string]: unknown;
|
|
4444
4622
|
};
|
|
4445
4623
|
};
|
|
4446
|
-
export type Event = EventScopeUpdated | EventScopeRemoved | EventScopeRuntimeDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventConfigUpdated | EventMcpToolsChanged | EventMcpPromptsChanged | EventMcpResourcesChanged | EventMcpReady | EventMcpFailed |
|
|
4624
|
+
export type Event = EventScopeUpdated | EventScopeRemoved | EventScopeRuntimeDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventConfigUpdated | EventMcpToolsChanged | EventMcpPromptsChanged | EventMcpResourcesChanged | EventMcpReady | EventMcpFailed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSessionStatus | EventSessionIdle | EventSessionInboxUpdated | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventQuestionTimedOut | EventSessionCompacted | EventFileEdited | EventRuntimeReloaded | EventDagUpdated | EventTodoUpdated | EventNoteCreated | EventNoteUpdated | EventNoteDeleted | EventBlueprintLoopCreated | EventBlueprintLoopUpdated | EventBlueprintLoopCompleted | EventBlueprintLoopFailed | EventBlueprintLoopCancelled | EventBlueprintLoopAuditing | EventBlueprintLoopRestarted | EventAgendaItemCreated | EventAgendaItemUpdated | EventAgendaItemDeleted | EventCortexTaskCreated | EventCortexTaskCompleted | EventCortexTasksUpdated | EventCommandExecuted | EventFileWatcherUpdated | EventVcsBranchUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventChannelCommandExecuted | EventChannelConnected | EventChannelDisconnected | EventChannelMessageReceived | EventHolosContactAdded | EventHolosContactRemoved | EventHolosContactUpdated | EventHolosConnected | EventHolosConnectionStatusChanged | EventHolosPresence | EventServerConnected | EventGlobalDisposed;
|
|
4447
4625
|
export type GlobalHealthData = {
|
|
4448
4626
|
body?: never;
|
|
4449
4627
|
path?: never;
|
|
@@ -5356,6 +5534,35 @@ export type ConfigDomainUpdateResponses = {
|
|
|
5356
5534
|
200: Config;
|
|
5357
5535
|
};
|
|
5358
5536
|
export type ConfigDomainUpdateResponse = ConfigDomainUpdateResponses[keyof ConfigDomainUpdateResponses];
|
|
5537
|
+
export type ConfigDomainOpenData = {
|
|
5538
|
+
body?: never;
|
|
5539
|
+
path: {
|
|
5540
|
+
domain: "general" | "models" | "providers" | "library" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime";
|
|
5541
|
+
};
|
|
5542
|
+
query?: {
|
|
5543
|
+
directory?: string;
|
|
5544
|
+
scopeID?: string;
|
|
5545
|
+
};
|
|
5546
|
+
url: "/config/domains/{domain}/open";
|
|
5547
|
+
};
|
|
5548
|
+
export type ConfigDomainOpenErrors = {
|
|
5549
|
+
/**
|
|
5550
|
+
* Unsupported platform
|
|
5551
|
+
*/
|
|
5552
|
+
400: ConfigDomainOpenError;
|
|
5553
|
+
/**
|
|
5554
|
+
* Failed to open config domain file
|
|
5555
|
+
*/
|
|
5556
|
+
500: ConfigDomainOpenError;
|
|
5557
|
+
};
|
|
5558
|
+
export type ConfigDomainOpenError2 = ConfigDomainOpenErrors[keyof ConfigDomainOpenErrors];
|
|
5559
|
+
export type ConfigDomainOpenResponses = {
|
|
5560
|
+
/**
|
|
5561
|
+
* Opened config domain file
|
|
5562
|
+
*/
|
|
5563
|
+
200: ConfigDomainOpenResponse;
|
|
5564
|
+
};
|
|
5565
|
+
export type ConfigDomainOpenResponse2 = ConfigDomainOpenResponses[keyof ConfigDomainOpenResponses];
|
|
5359
5566
|
export type ConfigImportPlanData = {
|
|
5360
5567
|
body?: ConfigDomainImportPlanInput;
|
|
5361
5568
|
path?: never;
|
|
@@ -6115,6 +6322,165 @@ export type SessionAbortResponses = {
|
|
|
6115
6322
|
200: boolean;
|
|
6116
6323
|
};
|
|
6117
6324
|
export type SessionAbortResponse = SessionAbortResponses[keyof SessionAbortResponses];
|
|
6325
|
+
export type SessionInboxData = {
|
|
6326
|
+
body?: never;
|
|
6327
|
+
path: {
|
|
6328
|
+
/**
|
|
6329
|
+
* Session ID
|
|
6330
|
+
*/
|
|
6331
|
+
sessionID: string;
|
|
6332
|
+
};
|
|
6333
|
+
query?: {
|
|
6334
|
+
directory?: string;
|
|
6335
|
+
scopeID?: string;
|
|
6336
|
+
};
|
|
6337
|
+
url: "/session/{sessionID}/inbox";
|
|
6338
|
+
};
|
|
6339
|
+
export type SessionInboxErrors = {
|
|
6340
|
+
/**
|
|
6341
|
+
* Bad request
|
|
6342
|
+
*/
|
|
6343
|
+
400: BadRequestError;
|
|
6344
|
+
/**
|
|
6345
|
+
* Not found
|
|
6346
|
+
*/
|
|
6347
|
+
404: NotFoundError;
|
|
6348
|
+
};
|
|
6349
|
+
export type SessionInboxError = SessionInboxErrors[keyof SessionInboxErrors];
|
|
6350
|
+
export type SessionInboxResponses = {
|
|
6351
|
+
/**
|
|
6352
|
+
* Session inbox items
|
|
6353
|
+
*/
|
|
6354
|
+
200: Array<SessionInboxItem>;
|
|
6355
|
+
};
|
|
6356
|
+
export type SessionInboxResponse = SessionInboxResponses[keyof SessionInboxResponses];
|
|
6357
|
+
export type SessionInputData = {
|
|
6358
|
+
body?: {
|
|
6359
|
+
messageID?: string;
|
|
6360
|
+
model?: {
|
|
6361
|
+
providerID: string;
|
|
6362
|
+
modelID: string;
|
|
6363
|
+
};
|
|
6364
|
+
agent?: string;
|
|
6365
|
+
noReply?: boolean;
|
|
6366
|
+
metadata?: {
|
|
6367
|
+
[key: string]: unknown;
|
|
6368
|
+
};
|
|
6369
|
+
summary?: {
|
|
6370
|
+
title?: string;
|
|
6371
|
+
};
|
|
6372
|
+
/**
|
|
6373
|
+
* Per-prompt tool visibility toggle. Does not affect session permissions.
|
|
6374
|
+
*/
|
|
6375
|
+
tools?: {
|
|
6376
|
+
[key: string]: boolean;
|
|
6377
|
+
};
|
|
6378
|
+
system?: string;
|
|
6379
|
+
variant?: string;
|
|
6380
|
+
parts: Array<TextPartInput | FilePartInput>;
|
|
6381
|
+
};
|
|
6382
|
+
path: {
|
|
6383
|
+
/**
|
|
6384
|
+
* Session ID
|
|
6385
|
+
*/
|
|
6386
|
+
sessionID: string;
|
|
6387
|
+
};
|
|
6388
|
+
query?: {
|
|
6389
|
+
directory?: string;
|
|
6390
|
+
scopeID?: string;
|
|
6391
|
+
};
|
|
6392
|
+
url: "/session/{sessionID}/input";
|
|
6393
|
+
};
|
|
6394
|
+
export type SessionInputErrors = {
|
|
6395
|
+
/**
|
|
6396
|
+
* Bad request
|
|
6397
|
+
*/
|
|
6398
|
+
400: BadRequestError;
|
|
6399
|
+
/**
|
|
6400
|
+
* Not found
|
|
6401
|
+
*/
|
|
6402
|
+
404: NotFoundError;
|
|
6403
|
+
};
|
|
6404
|
+
export type SessionInputError = SessionInputErrors[keyof SessionInputErrors];
|
|
6405
|
+
export type SessionInputResponses = {
|
|
6406
|
+
/**
|
|
6407
|
+
* Input accepted
|
|
6408
|
+
*/
|
|
6409
|
+
200: SessionInputResult;
|
|
6410
|
+
};
|
|
6411
|
+
export type SessionInputResponse = SessionInputResponses[keyof SessionInputResponses];
|
|
6412
|
+
export type SessionInboxGuideData = {
|
|
6413
|
+
body?: never;
|
|
6414
|
+
path: {
|
|
6415
|
+
/**
|
|
6416
|
+
* Session ID
|
|
6417
|
+
*/
|
|
6418
|
+
sessionID: string;
|
|
6419
|
+
/**
|
|
6420
|
+
* Inbox item ID
|
|
6421
|
+
*/
|
|
6422
|
+
itemID: string;
|
|
6423
|
+
};
|
|
6424
|
+
query?: {
|
|
6425
|
+
directory?: string;
|
|
6426
|
+
scopeID?: string;
|
|
6427
|
+
};
|
|
6428
|
+
url: "/session/{sessionID}/inbox/{itemID}/guide";
|
|
6429
|
+
};
|
|
6430
|
+
export type SessionInboxGuideErrors = {
|
|
6431
|
+
/**
|
|
6432
|
+
* Bad request
|
|
6433
|
+
*/
|
|
6434
|
+
400: BadRequestError;
|
|
6435
|
+
/**
|
|
6436
|
+
* Not found
|
|
6437
|
+
*/
|
|
6438
|
+
404: NotFoundError;
|
|
6439
|
+
};
|
|
6440
|
+
export type SessionInboxGuideError = SessionInboxGuideErrors[keyof SessionInboxGuideErrors];
|
|
6441
|
+
export type SessionInboxGuideResponses = {
|
|
6442
|
+
/**
|
|
6443
|
+
* Promoted inbox item
|
|
6444
|
+
*/
|
|
6445
|
+
200: SessionInboxItem;
|
|
6446
|
+
};
|
|
6447
|
+
export type SessionInboxGuideResponse = SessionInboxGuideResponses[keyof SessionInboxGuideResponses];
|
|
6448
|
+
export type SessionInboxRemoveData = {
|
|
6449
|
+
body?: never;
|
|
6450
|
+
path: {
|
|
6451
|
+
/**
|
|
6452
|
+
* Session ID
|
|
6453
|
+
*/
|
|
6454
|
+
sessionID: string;
|
|
6455
|
+
/**
|
|
6456
|
+
* Inbox item ID
|
|
6457
|
+
*/
|
|
6458
|
+
itemID: string;
|
|
6459
|
+
};
|
|
6460
|
+
query?: {
|
|
6461
|
+
directory?: string;
|
|
6462
|
+
scopeID?: string;
|
|
6463
|
+
};
|
|
6464
|
+
url: "/session/{sessionID}/inbox/{itemID}";
|
|
6465
|
+
};
|
|
6466
|
+
export type SessionInboxRemoveErrors = {
|
|
6467
|
+
/**
|
|
6468
|
+
* Bad request
|
|
6469
|
+
*/
|
|
6470
|
+
400: BadRequestError;
|
|
6471
|
+
/**
|
|
6472
|
+
* Not found
|
|
6473
|
+
*/
|
|
6474
|
+
404: NotFoundError;
|
|
6475
|
+
};
|
|
6476
|
+
export type SessionInboxRemoveError = SessionInboxRemoveErrors[keyof SessionInboxRemoveErrors];
|
|
6477
|
+
export type SessionInboxRemoveResponses = {
|
|
6478
|
+
/**
|
|
6479
|
+
* Inbox item removed
|
|
6480
|
+
*/
|
|
6481
|
+
204: void;
|
|
6482
|
+
};
|
|
6483
|
+
export type SessionInboxRemoveResponse = SessionInboxRemoveResponses[keyof SessionInboxRemoveResponses];
|
|
6118
6484
|
export type SessionSummarizeData = {
|
|
6119
6485
|
body?: {
|
|
6120
6486
|
providerID: string;
|
|
@@ -7071,9 +7437,62 @@ export type ProviderListResponses = {
|
|
|
7071
7437
|
};
|
|
7072
7438
|
connected: Array<string>;
|
|
7073
7439
|
configProviders: Array<string>;
|
|
7440
|
+
catalogProviders: Array<string>;
|
|
7441
|
+
authHealth: {
|
|
7442
|
+
[key: string]: ProviderAuthHealth;
|
|
7443
|
+
};
|
|
7444
|
+
runtimeAvailability: {
|
|
7445
|
+
[key: string]: ProviderRuntimeAvailability;
|
|
7446
|
+
};
|
|
7074
7447
|
};
|
|
7075
7448
|
};
|
|
7076
7449
|
export type ProviderListResponse = ProviderListResponses[keyof ProviderListResponses];
|
|
7450
|
+
export type ProviderUsageListData = {
|
|
7451
|
+
body?: never;
|
|
7452
|
+
path?: never;
|
|
7453
|
+
query?: {
|
|
7454
|
+
directory?: string;
|
|
7455
|
+
scopeID?: string;
|
|
7456
|
+
};
|
|
7457
|
+
url: "/provider/usage";
|
|
7458
|
+
};
|
|
7459
|
+
export type ProviderUsageListResponses = {
|
|
7460
|
+
/**
|
|
7461
|
+
* Provider account usage snapshots
|
|
7462
|
+
*/
|
|
7463
|
+
200: {
|
|
7464
|
+
[key: string]: AccountUsageSnapshot;
|
|
7465
|
+
};
|
|
7466
|
+
};
|
|
7467
|
+
export type ProviderUsageListResponse = ProviderUsageListResponses[keyof ProviderUsageListResponses];
|
|
7468
|
+
export type ProviderUsageGetData = {
|
|
7469
|
+
body?: never;
|
|
7470
|
+
path: {
|
|
7471
|
+
/**
|
|
7472
|
+
* Provider ID
|
|
7473
|
+
*/
|
|
7474
|
+
providerID: string;
|
|
7475
|
+
};
|
|
7476
|
+
query?: {
|
|
7477
|
+
directory?: string;
|
|
7478
|
+
scopeID?: string;
|
|
7479
|
+
};
|
|
7480
|
+
url: "/provider/{providerID}/usage";
|
|
7481
|
+
};
|
|
7482
|
+
export type ProviderUsageGetErrors = {
|
|
7483
|
+
/**
|
|
7484
|
+
* Bad request
|
|
7485
|
+
*/
|
|
7486
|
+
400: BadRequestError;
|
|
7487
|
+
};
|
|
7488
|
+
export type ProviderUsageGetError = ProviderUsageGetErrors[keyof ProviderUsageGetErrors];
|
|
7489
|
+
export type ProviderUsageGetResponses = {
|
|
7490
|
+
/**
|
|
7491
|
+
* Provider account usage snapshot
|
|
7492
|
+
*/
|
|
7493
|
+
200: AccountUsageSnapshot;
|
|
7494
|
+
};
|
|
7495
|
+
export type ProviderUsageGetResponse = ProviderUsageGetResponses[keyof ProviderUsageGetResponses];
|
|
7077
7496
|
export type ProviderAuthData = {
|
|
7078
7497
|
body?: never;
|
|
7079
7498
|
path?: never;
|
|
@@ -7162,6 +7581,39 @@ export type ProviderOauthCallbackResponses = {
|
|
|
7162
7581
|
200: boolean;
|
|
7163
7582
|
};
|
|
7164
7583
|
export type ProviderOauthCallbackResponse = ProviderOauthCallbackResponses[keyof ProviderOauthCallbackResponses];
|
|
7584
|
+
export type ProviderCredentialsImportCredentialsData = {
|
|
7585
|
+
body?: {
|
|
7586
|
+
/**
|
|
7587
|
+
* Auth method index
|
|
7588
|
+
*/
|
|
7589
|
+
method: number;
|
|
7590
|
+
};
|
|
7591
|
+
path: {
|
|
7592
|
+
/**
|
|
7593
|
+
* Provider ID
|
|
7594
|
+
*/
|
|
7595
|
+
providerID: string;
|
|
7596
|
+
};
|
|
7597
|
+
query?: {
|
|
7598
|
+
directory?: string;
|
|
7599
|
+
scopeID?: string;
|
|
7600
|
+
};
|
|
7601
|
+
url: "/provider/{providerID}/import";
|
|
7602
|
+
};
|
|
7603
|
+
export type ProviderCredentialsImportCredentialsErrors = {
|
|
7604
|
+
/**
|
|
7605
|
+
* Bad request
|
|
7606
|
+
*/
|
|
7607
|
+
400: BadRequestError;
|
|
7608
|
+
};
|
|
7609
|
+
export type ProviderCredentialsImportCredentialsError = ProviderCredentialsImportCredentialsErrors[keyof ProviderCredentialsImportCredentialsErrors];
|
|
7610
|
+
export type ProviderCredentialsImportCredentialsResponses = {
|
|
7611
|
+
/**
|
|
7612
|
+
* Credentials imported successfully
|
|
7613
|
+
*/
|
|
7614
|
+
200: boolean;
|
|
7615
|
+
};
|
|
7616
|
+
export type ProviderCredentialsImportCredentialsResponse = ProviderCredentialsImportCredentialsResponses[keyof ProviderCredentialsImportCredentialsResponses];
|
|
7165
7617
|
export type SkillListData = {
|
|
7166
7618
|
body?: never;
|
|
7167
7619
|
path?: never;
|