@ericsanchezok/synergy-sdk 2.3.0 → 2.4.1
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 +75 -68
- package/dist/gen/sdk.gen.js +140 -133
- package/dist/gen/types.gen.d.ts +384 -170
- 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, 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";
|
|
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, AppAgentModelRolesResponses, 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, FilePartInput, FilePartSource, 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, WorkspaceFilesChildrenResponses, WorkspaceFilesReadResponses, WorkspaceFilesSearchResponses, WorkspaceFilesStatResponses, WorkspaceFilesStatusResponses, 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
|
|
@@ -228,6 +228,68 @@ export declare class Files extends HeyApiClient {
|
|
|
228
228
|
partID?: string;
|
|
229
229
|
files?: Array<string>;
|
|
230
230
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionFilesRestoreResponses, SessionFilesRestoreErrors, ThrowOnError, "fields">;
|
|
231
|
+
/**
|
|
232
|
+
* List workspace file children
|
|
233
|
+
*
|
|
234
|
+
* List direct children for a workspace directory with lazy-loading friendly pagination.
|
|
235
|
+
*/
|
|
236
|
+
children<ThrowOnError extends boolean = false>(parameters?: {
|
|
237
|
+
directory?: string;
|
|
238
|
+
scopeID?: string;
|
|
239
|
+
path?: string;
|
|
240
|
+
limit?: number;
|
|
241
|
+
cursor?: string;
|
|
242
|
+
showHidden?: "true" | "false";
|
|
243
|
+
showIgnored?: "true" | "false";
|
|
244
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorkspaceFilesChildrenResponses, unknown, ThrowOnError, "fields">;
|
|
245
|
+
/**
|
|
246
|
+
* Read workspace file
|
|
247
|
+
*
|
|
248
|
+
* Read a workspace file as text, image preview, or binary metadata.
|
|
249
|
+
*/
|
|
250
|
+
read<ThrowOnError extends boolean = false>(parameters: {
|
|
251
|
+
directory?: string;
|
|
252
|
+
scopeID?: string;
|
|
253
|
+
path: string;
|
|
254
|
+
range?: string;
|
|
255
|
+
offset?: number;
|
|
256
|
+
limit?: number;
|
|
257
|
+
preview?: "true" | "false";
|
|
258
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorkspaceFilesReadResponses, unknown, ThrowOnError, "fields">;
|
|
259
|
+
/**
|
|
260
|
+
* Stat workspace file
|
|
261
|
+
*
|
|
262
|
+
* Return metadata for a workspace file or directory.
|
|
263
|
+
*/
|
|
264
|
+
stat<ThrowOnError extends boolean = false>(parameters: {
|
|
265
|
+
directory?: string;
|
|
266
|
+
scopeID?: string;
|
|
267
|
+
path: string;
|
|
268
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorkspaceFilesStatResponses, unknown, ThrowOnError, "fields">;
|
|
269
|
+
/**
|
|
270
|
+
* Search workspace files
|
|
271
|
+
*
|
|
272
|
+
* Search workspace files, content, or active LSP symbols.
|
|
273
|
+
*/
|
|
274
|
+
search<ThrowOnError extends boolean = false>(parameters: {
|
|
275
|
+
directory?: string;
|
|
276
|
+
scopeID?: string;
|
|
277
|
+
query: string;
|
|
278
|
+
kind?: "files" | "content" | "symbol";
|
|
279
|
+
limit?: number;
|
|
280
|
+
cursor?: string;
|
|
281
|
+
include?: string;
|
|
282
|
+
exclude?: string;
|
|
283
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorkspaceFilesSearchResponses, unknown, ThrowOnError, "fields">;
|
|
284
|
+
/**
|
|
285
|
+
* Get workspace file status
|
|
286
|
+
*
|
|
287
|
+
* Return git-backed file status for the current workspace.
|
|
288
|
+
*/
|
|
289
|
+
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
290
|
+
directory?: string;
|
|
291
|
+
scopeID?: string;
|
|
292
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorkspaceFilesStatusResponses, unknown, ThrowOnError, "fields">;
|
|
231
293
|
}
|
|
232
294
|
export declare class Export extends HeyApiClient {
|
|
233
295
|
/**
|
|
@@ -1680,71 +1742,8 @@ export declare class Skill extends HeyApiClient {
|
|
|
1680
1742
|
scope?: "project" | "global";
|
|
1681
1743
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SkillImportUrlResponses, SkillImportUrlErrors, ThrowOnError, "fields">;
|
|
1682
1744
|
}
|
|
1683
|
-
export declare class
|
|
1684
|
-
|
|
1685
|
-
* Find text
|
|
1686
|
-
*
|
|
1687
|
-
* Search for text patterns across files in the project using ripgrep.
|
|
1688
|
-
*/
|
|
1689
|
-
text<ThrowOnError extends boolean = false>(parameters: {
|
|
1690
|
-
directory?: string;
|
|
1691
|
-
scopeID?: string;
|
|
1692
|
-
pattern: string;
|
|
1693
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindTextResponses, unknown, ThrowOnError, "fields">;
|
|
1694
|
-
/**
|
|
1695
|
-
* Find files
|
|
1696
|
-
*
|
|
1697
|
-
* Search for files or directories by name or pattern in the project directory.
|
|
1698
|
-
*/
|
|
1699
|
-
files<ThrowOnError extends boolean = false>(parameters: {
|
|
1700
|
-
directory?: string;
|
|
1701
|
-
scopeID?: string;
|
|
1702
|
-
query: string;
|
|
1703
|
-
dirs?: "true" | "false";
|
|
1704
|
-
type?: "file" | "directory";
|
|
1705
|
-
limit?: number;
|
|
1706
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindFilesResponses, unknown, ThrowOnError, "fields">;
|
|
1707
|
-
/**
|
|
1708
|
-
* Find symbols
|
|
1709
|
-
*
|
|
1710
|
-
* Search for workspace symbols like functions, classes, and variables using LSP.
|
|
1711
|
-
*/
|
|
1712
|
-
symbols<ThrowOnError extends boolean = false>(parameters: {
|
|
1713
|
-
directory?: string;
|
|
1714
|
-
scopeID?: string;
|
|
1715
|
-
query: string;
|
|
1716
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindSymbolsResponses, unknown, ThrowOnError, "fields">;
|
|
1717
|
-
}
|
|
1718
|
-
export declare class File extends HeyApiClient {
|
|
1719
|
-
/**
|
|
1720
|
-
* List files
|
|
1721
|
-
*
|
|
1722
|
-
* List files and directories in a specified path.
|
|
1723
|
-
*/
|
|
1724
|
-
list<ThrowOnError extends boolean = false>(parameters: {
|
|
1725
|
-
directory?: string;
|
|
1726
|
-
scopeID?: string;
|
|
1727
|
-
path: string;
|
|
1728
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileListResponses, unknown, ThrowOnError, "fields">;
|
|
1729
|
-
/**
|
|
1730
|
-
* Read file
|
|
1731
|
-
*
|
|
1732
|
-
* Read the content of a specified file.
|
|
1733
|
-
*/
|
|
1734
|
-
read<ThrowOnError extends boolean = false>(parameters: {
|
|
1735
|
-
directory?: string;
|
|
1736
|
-
scopeID?: string;
|
|
1737
|
-
path: string;
|
|
1738
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileReadResponses, unknown, ThrowOnError, "fields">;
|
|
1739
|
-
/**
|
|
1740
|
-
* Get file status
|
|
1741
|
-
*
|
|
1742
|
-
* Get the git status of all files in the project.
|
|
1743
|
-
*/
|
|
1744
|
-
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
1745
|
-
directory?: string;
|
|
1746
|
-
scopeID?: string;
|
|
1747
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileStatusResponses, unknown, ThrowOnError, "fields">;
|
|
1745
|
+
export declare class Workspace extends HeyApiClient {
|
|
1746
|
+
files: Files;
|
|
1748
1747
|
}
|
|
1749
1748
|
export declare class Experience extends HeyApiClient {
|
|
1750
1749
|
/**
|
|
@@ -2401,6 +2400,15 @@ export declare class App extends HeyApiClient {
|
|
|
2401
2400
|
directory?: string;
|
|
2402
2401
|
scopeID?: string;
|
|
2403
2402
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppAgentsResponses, unknown, ThrowOnError, "fields">;
|
|
2403
|
+
/**
|
|
2404
|
+
* List model role summaries
|
|
2405
|
+
*
|
|
2406
|
+
* Get model role configuration, fallback, and usage metadata for the settings UI.
|
|
2407
|
+
*/
|
|
2408
|
+
agentModelRoles<ThrowOnError extends boolean = false>(parameters?: {
|
|
2409
|
+
directory?: string;
|
|
2410
|
+
scopeID?: string;
|
|
2411
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppAgentModelRolesResponses, unknown, ThrowOnError, "fields">;
|
|
2404
2412
|
/**
|
|
2405
2413
|
* Get or create app channel session
|
|
2406
2414
|
*
|
|
@@ -2691,8 +2699,7 @@ export declare class SynergyClient extends HeyApiClient {
|
|
|
2691
2699
|
command: Command;
|
|
2692
2700
|
provider: Provider;
|
|
2693
2701
|
skill: Skill;
|
|
2694
|
-
|
|
2695
|
-
file: File;
|
|
2702
|
+
workspace: Workspace;
|
|
2696
2703
|
library: Library;
|
|
2697
2704
|
note: Note;
|
|
2698
2705
|
blueprint: Blueprint;
|
package/dist/gen/sdk.gen.js
CHANGED
|
@@ -428,6 +428,123 @@ export class Files extends HeyApiClient {
|
|
|
428
428
|
},
|
|
429
429
|
});
|
|
430
430
|
}
|
|
431
|
+
/**
|
|
432
|
+
* List workspace file children
|
|
433
|
+
*
|
|
434
|
+
* List direct children for a workspace directory with lazy-loading friendly pagination.
|
|
435
|
+
*/
|
|
436
|
+
children(parameters, options) {
|
|
437
|
+
const params = buildClientParams([parameters], [
|
|
438
|
+
{
|
|
439
|
+
args: [
|
|
440
|
+
{ in: "query", key: "directory" },
|
|
441
|
+
{ in: "query", key: "scopeID" },
|
|
442
|
+
{ in: "query", key: "path" },
|
|
443
|
+
{ in: "query", key: "limit" },
|
|
444
|
+
{ in: "query", key: "cursor" },
|
|
445
|
+
{ in: "query", key: "showHidden" },
|
|
446
|
+
{ in: "query", key: "showIgnored" },
|
|
447
|
+
],
|
|
448
|
+
},
|
|
449
|
+
]);
|
|
450
|
+
return (options?.client ?? this.client).get({
|
|
451
|
+
url: "/workspace/files/children",
|
|
452
|
+
...options,
|
|
453
|
+
...params,
|
|
454
|
+
});
|
|
455
|
+
}
|
|
456
|
+
/**
|
|
457
|
+
* Read workspace file
|
|
458
|
+
*
|
|
459
|
+
* Read a workspace file as text, image preview, or binary metadata.
|
|
460
|
+
*/
|
|
461
|
+
read(parameters, options) {
|
|
462
|
+
const params = buildClientParams([parameters], [
|
|
463
|
+
{
|
|
464
|
+
args: [
|
|
465
|
+
{ in: "query", key: "directory" },
|
|
466
|
+
{ in: "query", key: "scopeID" },
|
|
467
|
+
{ in: "query", key: "path" },
|
|
468
|
+
{ in: "query", key: "range" },
|
|
469
|
+
{ in: "query", key: "offset" },
|
|
470
|
+
{ in: "query", key: "limit" },
|
|
471
|
+
{ in: "query", key: "preview" },
|
|
472
|
+
],
|
|
473
|
+
},
|
|
474
|
+
]);
|
|
475
|
+
return (options?.client ?? this.client).get({
|
|
476
|
+
url: "/workspace/files/read",
|
|
477
|
+
...options,
|
|
478
|
+
...params,
|
|
479
|
+
});
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* Stat workspace file
|
|
483
|
+
*
|
|
484
|
+
* Return metadata for a workspace file or directory.
|
|
485
|
+
*/
|
|
486
|
+
stat(parameters, options) {
|
|
487
|
+
const params = buildClientParams([parameters], [
|
|
488
|
+
{
|
|
489
|
+
args: [
|
|
490
|
+
{ in: "query", key: "directory" },
|
|
491
|
+
{ in: "query", key: "scopeID" },
|
|
492
|
+
{ in: "query", key: "path" },
|
|
493
|
+
],
|
|
494
|
+
},
|
|
495
|
+
]);
|
|
496
|
+
return (options?.client ?? this.client).get({
|
|
497
|
+
url: "/workspace/files/stat",
|
|
498
|
+
...options,
|
|
499
|
+
...params,
|
|
500
|
+
});
|
|
501
|
+
}
|
|
502
|
+
/**
|
|
503
|
+
* Search workspace files
|
|
504
|
+
*
|
|
505
|
+
* Search workspace files, content, or active LSP symbols.
|
|
506
|
+
*/
|
|
507
|
+
search(parameters, options) {
|
|
508
|
+
const params = buildClientParams([parameters], [
|
|
509
|
+
{
|
|
510
|
+
args: [
|
|
511
|
+
{ in: "query", key: "directory" },
|
|
512
|
+
{ in: "query", key: "scopeID" },
|
|
513
|
+
{ in: "query", key: "query" },
|
|
514
|
+
{ in: "query", key: "kind" },
|
|
515
|
+
{ in: "query", key: "limit" },
|
|
516
|
+
{ in: "query", key: "cursor" },
|
|
517
|
+
{ in: "query", key: "include" },
|
|
518
|
+
{ in: "query", key: "exclude" },
|
|
519
|
+
],
|
|
520
|
+
},
|
|
521
|
+
]);
|
|
522
|
+
return (options?.client ?? this.client).get({
|
|
523
|
+
url: "/workspace/files/search",
|
|
524
|
+
...options,
|
|
525
|
+
...params,
|
|
526
|
+
});
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
* Get workspace file status
|
|
530
|
+
*
|
|
531
|
+
* Return git-backed file status for the current workspace.
|
|
532
|
+
*/
|
|
533
|
+
status(parameters, options) {
|
|
534
|
+
const params = buildClientParams([parameters], [
|
|
535
|
+
{
|
|
536
|
+
args: [
|
|
537
|
+
{ in: "query", key: "directory" },
|
|
538
|
+
{ in: "query", key: "scopeID" },
|
|
539
|
+
],
|
|
540
|
+
},
|
|
541
|
+
]);
|
|
542
|
+
return (options?.client ?? this.client).get({
|
|
543
|
+
url: "/workspace/files/status",
|
|
544
|
+
...options,
|
|
545
|
+
...params,
|
|
546
|
+
});
|
|
547
|
+
}
|
|
431
548
|
}
|
|
432
549
|
export class Export extends HeyApiClient {
|
|
433
550
|
/**
|
|
@@ -3316,137 +3433,8 @@ export class Skill extends HeyApiClient {
|
|
|
3316
3433
|
});
|
|
3317
3434
|
}
|
|
3318
3435
|
}
|
|
3319
|
-
export class
|
|
3320
|
-
|
|
3321
|
-
* Find text
|
|
3322
|
-
*
|
|
3323
|
-
* Search for text patterns across files in the project using ripgrep.
|
|
3324
|
-
*/
|
|
3325
|
-
text(parameters, options) {
|
|
3326
|
-
const params = buildClientParams([parameters], [
|
|
3327
|
-
{
|
|
3328
|
-
args: [
|
|
3329
|
-
{ in: "query", key: "directory" },
|
|
3330
|
-
{ in: "query", key: "scopeID" },
|
|
3331
|
-
{ in: "query", key: "pattern" },
|
|
3332
|
-
],
|
|
3333
|
-
},
|
|
3334
|
-
]);
|
|
3335
|
-
return (options?.client ?? this.client).get({
|
|
3336
|
-
url: "/find",
|
|
3337
|
-
...options,
|
|
3338
|
-
...params,
|
|
3339
|
-
});
|
|
3340
|
-
}
|
|
3341
|
-
/**
|
|
3342
|
-
* Find files
|
|
3343
|
-
*
|
|
3344
|
-
* Search for files or directories by name or pattern in the project directory.
|
|
3345
|
-
*/
|
|
3346
|
-
files(parameters, options) {
|
|
3347
|
-
const params = buildClientParams([parameters], [
|
|
3348
|
-
{
|
|
3349
|
-
args: [
|
|
3350
|
-
{ in: "query", key: "directory" },
|
|
3351
|
-
{ in: "query", key: "scopeID" },
|
|
3352
|
-
{ in: "query", key: "query" },
|
|
3353
|
-
{ in: "query", key: "dirs" },
|
|
3354
|
-
{ in: "query", key: "type" },
|
|
3355
|
-
{ in: "query", key: "limit" },
|
|
3356
|
-
],
|
|
3357
|
-
},
|
|
3358
|
-
]);
|
|
3359
|
-
return (options?.client ?? this.client).get({
|
|
3360
|
-
url: "/find/file",
|
|
3361
|
-
...options,
|
|
3362
|
-
...params,
|
|
3363
|
-
});
|
|
3364
|
-
}
|
|
3365
|
-
/**
|
|
3366
|
-
* Find symbols
|
|
3367
|
-
*
|
|
3368
|
-
* Search for workspace symbols like functions, classes, and variables using LSP.
|
|
3369
|
-
*/
|
|
3370
|
-
symbols(parameters, options) {
|
|
3371
|
-
const params = buildClientParams([parameters], [
|
|
3372
|
-
{
|
|
3373
|
-
args: [
|
|
3374
|
-
{ in: "query", key: "directory" },
|
|
3375
|
-
{ in: "query", key: "scopeID" },
|
|
3376
|
-
{ in: "query", key: "query" },
|
|
3377
|
-
],
|
|
3378
|
-
},
|
|
3379
|
-
]);
|
|
3380
|
-
return (options?.client ?? this.client).get({
|
|
3381
|
-
url: "/find/symbol",
|
|
3382
|
-
...options,
|
|
3383
|
-
...params,
|
|
3384
|
-
});
|
|
3385
|
-
}
|
|
3386
|
-
}
|
|
3387
|
-
export class File extends HeyApiClient {
|
|
3388
|
-
/**
|
|
3389
|
-
* List files
|
|
3390
|
-
*
|
|
3391
|
-
* List files and directories in a specified path.
|
|
3392
|
-
*/
|
|
3393
|
-
list(parameters, options) {
|
|
3394
|
-
const params = buildClientParams([parameters], [
|
|
3395
|
-
{
|
|
3396
|
-
args: [
|
|
3397
|
-
{ in: "query", key: "directory" },
|
|
3398
|
-
{ in: "query", key: "scopeID" },
|
|
3399
|
-
{ in: "query", key: "path" },
|
|
3400
|
-
],
|
|
3401
|
-
},
|
|
3402
|
-
]);
|
|
3403
|
-
return (options?.client ?? this.client).get({
|
|
3404
|
-
url: "/file",
|
|
3405
|
-
...options,
|
|
3406
|
-
...params,
|
|
3407
|
-
});
|
|
3408
|
-
}
|
|
3409
|
-
/**
|
|
3410
|
-
* Read file
|
|
3411
|
-
*
|
|
3412
|
-
* Read the content of a specified file.
|
|
3413
|
-
*/
|
|
3414
|
-
read(parameters, options) {
|
|
3415
|
-
const params = buildClientParams([parameters], [
|
|
3416
|
-
{
|
|
3417
|
-
args: [
|
|
3418
|
-
{ in: "query", key: "directory" },
|
|
3419
|
-
{ in: "query", key: "scopeID" },
|
|
3420
|
-
{ in: "query", key: "path" },
|
|
3421
|
-
],
|
|
3422
|
-
},
|
|
3423
|
-
]);
|
|
3424
|
-
return (options?.client ?? this.client).get({
|
|
3425
|
-
url: "/file/content",
|
|
3426
|
-
...options,
|
|
3427
|
-
...params,
|
|
3428
|
-
});
|
|
3429
|
-
}
|
|
3430
|
-
/**
|
|
3431
|
-
* Get file status
|
|
3432
|
-
*
|
|
3433
|
-
* Get the git status of all files in the project.
|
|
3434
|
-
*/
|
|
3435
|
-
status(parameters, options) {
|
|
3436
|
-
const params = buildClientParams([parameters], [
|
|
3437
|
-
{
|
|
3438
|
-
args: [
|
|
3439
|
-
{ in: "query", key: "directory" },
|
|
3440
|
-
{ in: "query", key: "scopeID" },
|
|
3441
|
-
],
|
|
3442
|
-
},
|
|
3443
|
-
]);
|
|
3444
|
-
return (options?.client ?? this.client).get({
|
|
3445
|
-
url: "/file/status",
|
|
3446
|
-
...options,
|
|
3447
|
-
...params,
|
|
3448
|
-
});
|
|
3449
|
-
}
|
|
3436
|
+
export class Workspace extends HeyApiClient {
|
|
3437
|
+
files = new Files({ client: this.client });
|
|
3450
3438
|
}
|
|
3451
3439
|
export class Experience extends HeyApiClient {
|
|
3452
3440
|
/**
|
|
@@ -4846,6 +4834,26 @@ export class App extends HeyApiClient {
|
|
|
4846
4834
|
...params,
|
|
4847
4835
|
});
|
|
4848
4836
|
}
|
|
4837
|
+
/**
|
|
4838
|
+
* List model role summaries
|
|
4839
|
+
*
|
|
4840
|
+
* Get model role configuration, fallback, and usage metadata for the settings UI.
|
|
4841
|
+
*/
|
|
4842
|
+
agentModelRoles(parameters, options) {
|
|
4843
|
+
const params = buildClientParams([parameters], [
|
|
4844
|
+
{
|
|
4845
|
+
args: [
|
|
4846
|
+
{ in: "query", key: "directory" },
|
|
4847
|
+
{ in: "query", key: "scopeID" },
|
|
4848
|
+
],
|
|
4849
|
+
},
|
|
4850
|
+
]);
|
|
4851
|
+
return (options?.client ?? this.client).get({
|
|
4852
|
+
url: "/agent/model-roles",
|
|
4853
|
+
...options,
|
|
4854
|
+
...params,
|
|
4855
|
+
});
|
|
4856
|
+
}
|
|
4849
4857
|
/**
|
|
4850
4858
|
* Get or create app channel session
|
|
4851
4859
|
*
|
|
@@ -5426,8 +5434,7 @@ export class SynergyClient extends HeyApiClient {
|
|
|
5426
5434
|
command = new Command({ client: this.client });
|
|
5427
5435
|
provider = new Provider({ client: this.client });
|
|
5428
5436
|
skill = new Skill({ client: this.client });
|
|
5429
|
-
|
|
5430
|
-
file = new File({ client: this.client });
|
|
5437
|
+
workspace = new Workspace({ client: this.client });
|
|
5431
5438
|
library = new Library({ client: this.client });
|
|
5432
5439
|
note = new Note({ client: this.client });
|
|
5433
5440
|
blueprint = new Blueprint({ client: this.client });
|
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -912,6 +912,7 @@ export type ProviderCatalogConfig = {
|
|
|
912
912
|
*/
|
|
913
913
|
offlineCache?: boolean;
|
|
914
914
|
};
|
|
915
|
+
export type ModelRole = "vision" | "nano" | "mini" | "mid" | "thinking" | "long" | "creative";
|
|
915
916
|
export type PermissionActionConfig = "ask" | "allow" | "deny";
|
|
916
917
|
export type PermissionObjectConfig = {
|
|
917
918
|
[key: string]: PermissionActionConfig;
|
|
@@ -945,6 +946,7 @@ export type PermissionConfig = {
|
|
|
945
946
|
export type ControlProfileId = "guarded" | "autonomous" | "full_access";
|
|
946
947
|
export type AgentConfig = {
|
|
947
948
|
model?: string;
|
|
949
|
+
modelRole?: ModelRole;
|
|
948
950
|
temperature?: number;
|
|
949
951
|
top_p?: number;
|
|
950
952
|
prompt?: string;
|
|
@@ -981,7 +983,7 @@ export type AgentConfig = {
|
|
|
981
983
|
maxSteps?: number;
|
|
982
984
|
permission?: PermissionConfig;
|
|
983
985
|
controlProfile?: ControlProfileId;
|
|
984
|
-
[key: string]: unknown | string | number | {
|
|
986
|
+
[key: string]: unknown | string | ModelRole | number | {
|
|
985
987
|
[key: string]: boolean;
|
|
986
988
|
} | boolean | "subagent" | "primary" | "all" | {
|
|
987
989
|
[key: string]: unknown;
|
|
@@ -1009,6 +1011,20 @@ export type ExternalAgentConfig = {
|
|
|
1009
1011
|
export type ProviderConfig = {
|
|
1010
1012
|
api?: string;
|
|
1011
1013
|
name?: string;
|
|
1014
|
+
description?: string;
|
|
1015
|
+
signupUrl?: string;
|
|
1016
|
+
recommendation?: {
|
|
1017
|
+
level: "featured" | "recommended" | "standard";
|
|
1018
|
+
rank?: number;
|
|
1019
|
+
headline?: string;
|
|
1020
|
+
reason?: string;
|
|
1021
|
+
cta?: {
|
|
1022
|
+
kind: "external";
|
|
1023
|
+
label: string;
|
|
1024
|
+
url: string;
|
|
1025
|
+
};
|
|
1026
|
+
defaultModel?: string;
|
|
1027
|
+
};
|
|
1012
1028
|
env?: Array<string>;
|
|
1013
1029
|
id?: string;
|
|
1014
1030
|
npm?: string;
|
|
@@ -2384,6 +2400,12 @@ export type SessionCortexDelegation = {
|
|
|
2384
2400
|
};
|
|
2385
2401
|
result?: string;
|
|
2386
2402
|
error?: string;
|
|
2403
|
+
visibility?: "visible" | "hidden";
|
|
2404
|
+
tools?: {
|
|
2405
|
+
[key: string]: boolean;
|
|
2406
|
+
};
|
|
2407
|
+
output?: unknown;
|
|
2408
|
+
outputResult?: unknown;
|
|
2387
2409
|
};
|
|
2388
2410
|
export type SessionWorkingInfo = {
|
|
2389
2411
|
status: "busy";
|
|
@@ -3119,6 +3141,34 @@ export type CortexTask = {
|
|
|
3119
3141
|
}>;
|
|
3120
3142
|
};
|
|
3121
3143
|
notifyParentOnComplete?: boolean;
|
|
3144
|
+
visibility?: "visible" | "hidden";
|
|
3145
|
+
tools?: {
|
|
3146
|
+
[key: string]: boolean;
|
|
3147
|
+
};
|
|
3148
|
+
output?: {
|
|
3149
|
+
mode?: "summary";
|
|
3150
|
+
} | {
|
|
3151
|
+
mode: "final_response";
|
|
3152
|
+
} | {
|
|
3153
|
+
mode: "structured";
|
|
3154
|
+
schema: {
|
|
3155
|
+
[key: string]: unknown;
|
|
3156
|
+
};
|
|
3157
|
+
maxRepairTurns?: 0 | 1 | 2 | 3;
|
|
3158
|
+
};
|
|
3159
|
+
outputResult?: {
|
|
3160
|
+
mode: "final_response";
|
|
3161
|
+
text: string;
|
|
3162
|
+
} | {
|
|
3163
|
+
mode: "structured";
|
|
3164
|
+
status: "valid" | "invalid";
|
|
3165
|
+
source?: "structured_tool" | "final_response";
|
|
3166
|
+
data?: unknown;
|
|
3167
|
+
text?: string;
|
|
3168
|
+
repairTurns: number;
|
|
3169
|
+
error?: string;
|
|
3170
|
+
validationErrors?: Array<string>;
|
|
3171
|
+
};
|
|
3122
3172
|
};
|
|
3123
3173
|
export type Command = {
|
|
3124
3174
|
name: string;
|
|
@@ -3134,6 +3184,26 @@ export type Command = {
|
|
|
3134
3184
|
template?: string;
|
|
3135
3185
|
hints: Array<string>;
|
|
3136
3186
|
};
|
|
3187
|
+
export type ProviderRecommendation = {
|
|
3188
|
+
level: "featured" | "recommended" | "standard";
|
|
3189
|
+
rank?: number;
|
|
3190
|
+
headline?: string;
|
|
3191
|
+
reason?: string;
|
|
3192
|
+
cta?: {
|
|
3193
|
+
kind: "external";
|
|
3194
|
+
label: string;
|
|
3195
|
+
url: string;
|
|
3196
|
+
};
|
|
3197
|
+
defaultModel?: string;
|
|
3198
|
+
};
|
|
3199
|
+
export type ProviderProfileMetadata = {
|
|
3200
|
+
id: string;
|
|
3201
|
+
name: string;
|
|
3202
|
+
displayName?: string;
|
|
3203
|
+
description?: string;
|
|
3204
|
+
signupUrl?: string;
|
|
3205
|
+
recommendation?: ProviderRecommendation;
|
|
3206
|
+
};
|
|
3137
3207
|
export type ProviderAuthHealth = {
|
|
3138
3208
|
providerID: string;
|
|
3139
3209
|
status: "connected" | "not_configured" | "expired" | "exhausted" | "dead";
|
|
@@ -3210,47 +3280,128 @@ export type SkillList = {
|
|
|
3210
3280
|
message: string;
|
|
3211
3281
|
}>;
|
|
3212
3282
|
};
|
|
3213
|
-
export type
|
|
3283
|
+
export type WorkspaceFileNode = {
|
|
3284
|
+
path: string;
|
|
3214
3285
|
name: string;
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3286
|
+
type: "file" | "directory" | "symlink" | "unknown";
|
|
3287
|
+
size: number;
|
|
3288
|
+
mtime: number;
|
|
3289
|
+
ctime: number;
|
|
3290
|
+
ignored: boolean;
|
|
3291
|
+
hidden: boolean;
|
|
3292
|
+
readonly: boolean;
|
|
3293
|
+
symlink: boolean;
|
|
3294
|
+
binary: boolean;
|
|
3295
|
+
gitStatus?: "added" | "deleted" | "modified" | "renamed" | "untracked";
|
|
3220
3296
|
};
|
|
3221
|
-
export type
|
|
3222
|
-
name: string;
|
|
3297
|
+
export type WorkspaceFileChildrenResponse = {
|
|
3223
3298
|
path: string;
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3299
|
+
parent?: WorkspaceFileNode;
|
|
3300
|
+
children: Array<WorkspaceFileNode>;
|
|
3301
|
+
nextCursor?: string;
|
|
3302
|
+
truncated: boolean;
|
|
3227
3303
|
};
|
|
3228
|
-
export type
|
|
3229
|
-
|
|
3304
|
+
export type WorkspaceFileTextRange = {
|
|
3305
|
+
offset: number;
|
|
3306
|
+
limit: number;
|
|
3307
|
+
startLine: number;
|
|
3308
|
+
endLine: number;
|
|
3309
|
+
};
|
|
3310
|
+
export type WorkspaceFileReadText = {
|
|
3311
|
+
kind: "text";
|
|
3312
|
+
path: string;
|
|
3313
|
+
node: WorkspaceFileNode;
|
|
3230
3314
|
content: string;
|
|
3231
|
-
diff?: string;
|
|
3232
|
-
patch?: {
|
|
3233
|
-
oldFileName: string;
|
|
3234
|
-
newFileName: string;
|
|
3235
|
-
oldHeader?: string;
|
|
3236
|
-
newHeader?: string;
|
|
3237
|
-
hunks: Array<{
|
|
3238
|
-
oldStart: number;
|
|
3239
|
-
oldLines: number;
|
|
3240
|
-
newStart: number;
|
|
3241
|
-
newLines: number;
|
|
3242
|
-
lines: Array<string>;
|
|
3243
|
-
}>;
|
|
3244
|
-
index?: string;
|
|
3245
|
-
};
|
|
3246
|
-
encoding?: "base64";
|
|
3247
3315
|
mimeType?: string;
|
|
3316
|
+
encoding: "utf-8";
|
|
3317
|
+
range: WorkspaceFileTextRange;
|
|
3318
|
+
totalBytes: number;
|
|
3319
|
+
lineCount?: number;
|
|
3320
|
+
truncated: boolean;
|
|
3321
|
+
nextRange?: WorkspaceFileTextRange;
|
|
3322
|
+
};
|
|
3323
|
+
export type WorkspaceFileReadImage = {
|
|
3324
|
+
kind: "image";
|
|
3325
|
+
path: string;
|
|
3326
|
+
node: WorkspaceFileNode;
|
|
3327
|
+
content: string;
|
|
3328
|
+
mimeType: string;
|
|
3329
|
+
encoding: "base64";
|
|
3330
|
+
totalBytes: number;
|
|
3331
|
+
truncated: boolean;
|
|
3332
|
+
};
|
|
3333
|
+
export type WorkspaceFileReadBinary = {
|
|
3334
|
+
kind: "binary";
|
|
3335
|
+
path: string;
|
|
3336
|
+
node: WorkspaceFileNode;
|
|
3337
|
+
mimeType?: string;
|
|
3338
|
+
totalBytes: number;
|
|
3339
|
+
truncated: boolean;
|
|
3340
|
+
unsupportedReason: string;
|
|
3341
|
+
};
|
|
3342
|
+
export type WorkspaceFileReadResult = WorkspaceFileReadText | WorkspaceFileReadImage | WorkspaceFileReadBinary;
|
|
3343
|
+
export type WorkspaceFileSearchItem = {
|
|
3344
|
+
kind: "file";
|
|
3345
|
+
path: string;
|
|
3346
|
+
name: string;
|
|
3347
|
+
type: "file" | "directory";
|
|
3348
|
+
score: number;
|
|
3349
|
+
indices: Array<number>;
|
|
3350
|
+
node?: WorkspaceFileNode;
|
|
3248
3351
|
};
|
|
3249
|
-
export type
|
|
3352
|
+
export type WorkspaceContentSearchItem = {
|
|
3353
|
+
kind: "content";
|
|
3250
3354
|
path: string;
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3355
|
+
lineNumber: number;
|
|
3356
|
+
column: number;
|
|
3357
|
+
line: string;
|
|
3358
|
+
score: number;
|
|
3359
|
+
submatches: Array<{
|
|
3360
|
+
text: string;
|
|
3361
|
+
start: number;
|
|
3362
|
+
end: number;
|
|
3363
|
+
}>;
|
|
3364
|
+
previewRanges: Array<{
|
|
3365
|
+
start: number;
|
|
3366
|
+
end: number;
|
|
3367
|
+
}>;
|
|
3368
|
+
};
|
|
3369
|
+
export type WorkspaceSymbolSearchItem = {
|
|
3370
|
+
kind: "symbol";
|
|
3371
|
+
name: string;
|
|
3372
|
+
symbolKind: number;
|
|
3373
|
+
path: string;
|
|
3374
|
+
range: {
|
|
3375
|
+
start: {
|
|
3376
|
+
line: number;
|
|
3377
|
+
character: number;
|
|
3378
|
+
};
|
|
3379
|
+
end: {
|
|
3380
|
+
line: number;
|
|
3381
|
+
character: number;
|
|
3382
|
+
};
|
|
3383
|
+
};
|
|
3384
|
+
score: number;
|
|
3385
|
+
};
|
|
3386
|
+
export type WorkspaceSearchCapability = {
|
|
3387
|
+
available: boolean;
|
|
3388
|
+
reason?: string;
|
|
3389
|
+
};
|
|
3390
|
+
export type WorkspaceFileSearchResponse = {
|
|
3391
|
+
kind: "files" | "content" | "symbol";
|
|
3392
|
+
query: string;
|
|
3393
|
+
items: Array<WorkspaceFileSearchItem | WorkspaceContentSearchItem | WorkspaceSymbolSearchItem>;
|
|
3394
|
+
nextCursor?: string;
|
|
3395
|
+
truncated: boolean;
|
|
3396
|
+
capability?: WorkspaceSearchCapability;
|
|
3397
|
+
};
|
|
3398
|
+
export type WorkspaceFileStatusSummary = {
|
|
3399
|
+
files: Array<{
|
|
3400
|
+
path: string;
|
|
3401
|
+
status: "added" | "deleted" | "modified" | "renamed" | "untracked";
|
|
3402
|
+
added?: number;
|
|
3403
|
+
removed?: number;
|
|
3404
|
+
}>;
|
|
3254
3405
|
};
|
|
3255
3406
|
export type RewardsInfo = {
|
|
3256
3407
|
outcome?: number;
|
|
@@ -3872,6 +4023,14 @@ export type PluginRuntimeLogEntry = {
|
|
|
3872
4023
|
level: string;
|
|
3873
4024
|
message: string;
|
|
3874
4025
|
};
|
|
4026
|
+
export type RegistryPluginIcon = {
|
|
4027
|
+
type: "lucide";
|
|
4028
|
+
name: string;
|
|
4029
|
+
} | {
|
|
4030
|
+
type: "image";
|
|
4031
|
+
url: string;
|
|
4032
|
+
alt?: string;
|
|
4033
|
+
};
|
|
3875
4034
|
export type RegistryPluginSummary = {
|
|
3876
4035
|
id: string;
|
|
3877
4036
|
name: string;
|
|
@@ -3882,6 +4041,7 @@ export type RegistryPluginSummary = {
|
|
|
3882
4041
|
email?: string;
|
|
3883
4042
|
url?: string;
|
|
3884
4043
|
};
|
|
4044
|
+
icon?: RegistryPluginIcon;
|
|
3885
4045
|
verified: boolean;
|
|
3886
4046
|
official: boolean;
|
|
3887
4047
|
keywords: Array<string>;
|
|
@@ -3941,6 +4101,7 @@ export type RegistryPluginEntry = {
|
|
|
3941
4101
|
email?: string;
|
|
3942
4102
|
url?: string;
|
|
3943
4103
|
};
|
|
4104
|
+
icon?: RegistryPluginIcon;
|
|
3944
4105
|
verified: boolean;
|
|
3945
4106
|
official: boolean;
|
|
3946
4107
|
keywords: Array<string>;
|
|
@@ -3975,6 +4136,7 @@ export type RegistryPublishInput = {
|
|
|
3975
4136
|
email?: string;
|
|
3976
4137
|
url?: string;
|
|
3977
4138
|
};
|
|
4139
|
+
icon?: RegistryPluginIcon;
|
|
3978
4140
|
verified: boolean;
|
|
3979
4141
|
official: boolean;
|
|
3980
4142
|
keywords: Array<string>;
|
|
@@ -4020,6 +4182,9 @@ export type Agent = {
|
|
|
4020
4182
|
modelID: string;
|
|
4021
4183
|
providerID: string;
|
|
4022
4184
|
};
|
|
4185
|
+
modelRole?: ModelRole;
|
|
4186
|
+
modelSource?: "role" | "explicit";
|
|
4187
|
+
source?: "builtin" | "config" | "plugin" | "external";
|
|
4023
4188
|
prompt?: string;
|
|
4024
4189
|
options: {
|
|
4025
4190
|
[key: string]: unknown;
|
|
@@ -4027,6 +4192,40 @@ export type Agent = {
|
|
|
4027
4192
|
steps?: number;
|
|
4028
4193
|
external?: ExternalAgentInfo;
|
|
4029
4194
|
};
|
|
4195
|
+
export type ModelRoleUsage = {
|
|
4196
|
+
name: string;
|
|
4197
|
+
description?: string;
|
|
4198
|
+
mode: "subagent" | "primary" | "all";
|
|
4199
|
+
hidden?: boolean;
|
|
4200
|
+
visibleTo?: Array<string>;
|
|
4201
|
+
native?: boolean;
|
|
4202
|
+
source?: "builtin" | "config" | "plugin" | "external";
|
|
4203
|
+
modelSource?: "role" | "explicit";
|
|
4204
|
+
model?: {
|
|
4205
|
+
providerID: string;
|
|
4206
|
+
modelID: string;
|
|
4207
|
+
};
|
|
4208
|
+
};
|
|
4209
|
+
export type ModelRoleSummary = {
|
|
4210
|
+
id: "default" | "vision" | "nano" | "mini" | "mid" | "thinking" | "long" | "creative";
|
|
4211
|
+
role?: ModelRole;
|
|
4212
|
+
field: "model" | "nano_model" | "mini_model" | "mid_model" | "thinking_model" | "long_context_model" | "creative_model" | "vision_model";
|
|
4213
|
+
label: string;
|
|
4214
|
+
summary: string;
|
|
4215
|
+
fallbackChain: Array<"model" | "nano_model" | "mini_model" | "mid_model" | "thinking_model" | "long_context_model" | "creative_model" | "vision_model">;
|
|
4216
|
+
configuredModel?: {
|
|
4217
|
+
providerID: string;
|
|
4218
|
+
modelID: string;
|
|
4219
|
+
};
|
|
4220
|
+
resolvedModel?: {
|
|
4221
|
+
providerID: string;
|
|
4222
|
+
modelID: string;
|
|
4223
|
+
via: "model" | "nano_model" | "mini_model" | "mid_model" | "thinking_model" | "long_context_model" | "creative_model" | "vision_model";
|
|
4224
|
+
};
|
|
4225
|
+
usedBy: Array<ModelRoleUsage>;
|
|
4226
|
+
requiresExplicitModel?: boolean;
|
|
4227
|
+
disabledReason?: string;
|
|
4228
|
+
};
|
|
4030
4229
|
export type McpStatusUninitialized = {
|
|
4031
4230
|
status: "uninitialized";
|
|
4032
4231
|
};
|
|
@@ -4196,47 +4395,6 @@ export type EventMcpFailed = {
|
|
|
4196
4395
|
error: string;
|
|
4197
4396
|
};
|
|
4198
4397
|
};
|
|
4199
|
-
export type EventCommandExecuted = {
|
|
4200
|
-
type: "command.executed";
|
|
4201
|
-
properties: {
|
|
4202
|
-
name: string;
|
|
4203
|
-
sessionID: string;
|
|
4204
|
-
arguments: string;
|
|
4205
|
-
messageID: string;
|
|
4206
|
-
};
|
|
4207
|
-
};
|
|
4208
|
-
export type EventFileEdited = {
|
|
4209
|
-
type: "file.edited";
|
|
4210
|
-
properties: {
|
|
4211
|
-
file: string;
|
|
4212
|
-
};
|
|
4213
|
-
};
|
|
4214
|
-
export type EventFileWatcherUpdated = {
|
|
4215
|
-
type: "file.watcher.updated";
|
|
4216
|
-
properties: {
|
|
4217
|
-
file: string;
|
|
4218
|
-
event: "add" | "change" | "unlink";
|
|
4219
|
-
};
|
|
4220
|
-
};
|
|
4221
|
-
export type EventLspClientDiagnostics = {
|
|
4222
|
-
type: "lsp.client.diagnostics";
|
|
4223
|
-
properties: {
|
|
4224
|
-
serverID: string;
|
|
4225
|
-
path: string;
|
|
4226
|
-
};
|
|
4227
|
-
};
|
|
4228
|
-
export type EventLspUpdated = {
|
|
4229
|
-
type: "lsp.updated";
|
|
4230
|
-
properties: {
|
|
4231
|
-
[key: string]: unknown;
|
|
4232
|
-
};
|
|
4233
|
-
};
|
|
4234
|
-
export type EventVcsBranchUpdated = {
|
|
4235
|
-
type: "vcs.branch.updated";
|
|
4236
|
-
properties: {
|
|
4237
|
-
branch?: string;
|
|
4238
|
-
};
|
|
4239
|
-
};
|
|
4240
4398
|
export type EventMessageUpdated = {
|
|
4241
4399
|
type: "message.updated";
|
|
4242
4400
|
properties: {
|
|
@@ -4323,25 +4481,6 @@ export type EventSessionInboxUpdated = {
|
|
|
4323
4481
|
items: Array<SessionInboxItem>;
|
|
4324
4482
|
};
|
|
4325
4483
|
};
|
|
4326
|
-
export type EventNoteCreated = {
|
|
4327
|
-
type: "note.created";
|
|
4328
|
-
properties: {
|
|
4329
|
-
note: NoteInfo;
|
|
4330
|
-
};
|
|
4331
|
-
};
|
|
4332
|
-
export type EventNoteUpdated = {
|
|
4333
|
-
type: "note.updated";
|
|
4334
|
-
properties: {
|
|
4335
|
-
note: NoteInfo;
|
|
4336
|
-
};
|
|
4337
|
-
};
|
|
4338
|
-
export type EventNoteDeleted = {
|
|
4339
|
-
type: "note.deleted";
|
|
4340
|
-
properties: {
|
|
4341
|
-
id: string;
|
|
4342
|
-
scopeID: string;
|
|
4343
|
-
};
|
|
4344
|
-
};
|
|
4345
4484
|
export type EventQuestionAsked = {
|
|
4346
4485
|
type: "question.asked";
|
|
4347
4486
|
properties: QuestionRequest;
|
|
@@ -4368,6 +4507,31 @@ export type EventQuestionTimedOut = {
|
|
|
4368
4507
|
requestID: string;
|
|
4369
4508
|
};
|
|
4370
4509
|
};
|
|
4510
|
+
export type EventSessionCompacted = {
|
|
4511
|
+
type: "session.compacted";
|
|
4512
|
+
properties: {
|
|
4513
|
+
sessionID: string;
|
|
4514
|
+
};
|
|
4515
|
+
};
|
|
4516
|
+
export type EventLspClientDiagnostics = {
|
|
4517
|
+
type: "lsp.client.diagnostics";
|
|
4518
|
+
properties: {
|
|
4519
|
+
serverID: string;
|
|
4520
|
+
path: string;
|
|
4521
|
+
};
|
|
4522
|
+
};
|
|
4523
|
+
export type EventLspUpdated = {
|
|
4524
|
+
type: "lsp.updated";
|
|
4525
|
+
properties: {
|
|
4526
|
+
[key: string]: unknown;
|
|
4527
|
+
};
|
|
4528
|
+
};
|
|
4529
|
+
export type EventFileEdited = {
|
|
4530
|
+
type: "file.edited";
|
|
4531
|
+
properties: {
|
|
4532
|
+
file: string;
|
|
4533
|
+
};
|
|
4534
|
+
};
|
|
4371
4535
|
export type EventRuntimeReloaded = {
|
|
4372
4536
|
type: "runtime.reloaded";
|
|
4373
4537
|
properties: {
|
|
@@ -4391,6 +4555,25 @@ export type EventTodoUpdated = {
|
|
|
4391
4555
|
todos: Array<Todo>;
|
|
4392
4556
|
};
|
|
4393
4557
|
};
|
|
4558
|
+
export type EventNoteCreated = {
|
|
4559
|
+
type: "note.created";
|
|
4560
|
+
properties: {
|
|
4561
|
+
note: NoteInfo;
|
|
4562
|
+
};
|
|
4563
|
+
};
|
|
4564
|
+
export type EventNoteUpdated = {
|
|
4565
|
+
type: "note.updated";
|
|
4566
|
+
properties: {
|
|
4567
|
+
note: NoteInfo;
|
|
4568
|
+
};
|
|
4569
|
+
};
|
|
4570
|
+
export type EventNoteDeleted = {
|
|
4571
|
+
type: "note.deleted";
|
|
4572
|
+
properties: {
|
|
4573
|
+
id: string;
|
|
4574
|
+
scopeID: string;
|
|
4575
|
+
};
|
|
4576
|
+
};
|
|
4394
4577
|
export type EventBlueprintLoopCreated = {
|
|
4395
4578
|
type: "blueprint_loop.created";
|
|
4396
4579
|
properties: {
|
|
@@ -4435,12 +4618,6 @@ export type EventBlueprintLoopRestarted = {
|
|
|
4435
4618
|
reason: string;
|
|
4436
4619
|
};
|
|
4437
4620
|
};
|
|
4438
|
-
export type EventSessionCompacted = {
|
|
4439
|
-
type: "session.compacted";
|
|
4440
|
-
properties: {
|
|
4441
|
-
sessionID: string;
|
|
4442
|
-
};
|
|
4443
|
-
};
|
|
4444
4621
|
export type EventAgendaItemCreated = {
|
|
4445
4622
|
type: "agenda.item.created";
|
|
4446
4623
|
properties: {
|
|
@@ -4478,6 +4655,33 @@ export type EventCortexTasksUpdated = {
|
|
|
4478
4655
|
tasks: Array<CortexTask>;
|
|
4479
4656
|
};
|
|
4480
4657
|
};
|
|
4658
|
+
export type EventCommandExecuted = {
|
|
4659
|
+
type: "command.executed";
|
|
4660
|
+
properties: {
|
|
4661
|
+
name: string;
|
|
4662
|
+
sessionID: string;
|
|
4663
|
+
arguments: string;
|
|
4664
|
+
messageID: string;
|
|
4665
|
+
};
|
|
4666
|
+
};
|
|
4667
|
+
export type EventFileWatcherUpdated = {
|
|
4668
|
+
type: "file.watcher.updated";
|
|
4669
|
+
properties: {
|
|
4670
|
+
file: string;
|
|
4671
|
+
event: "added" | "changed" | "deleted" | "renamed";
|
|
4672
|
+
absolute?: string;
|
|
4673
|
+
oldPath?: string;
|
|
4674
|
+
oldAbsolute?: string;
|
|
4675
|
+
parent?: string;
|
|
4676
|
+
node?: unknown;
|
|
4677
|
+
};
|
|
4678
|
+
};
|
|
4679
|
+
export type EventVcsBranchUpdated = {
|
|
4680
|
+
type: "vcs.branch.updated";
|
|
4681
|
+
properties: {
|
|
4682
|
+
branch?: string;
|
|
4683
|
+
};
|
|
4684
|
+
};
|
|
4481
4685
|
export type EventPtyCreated = {
|
|
4482
4686
|
type: "pty.created";
|
|
4483
4687
|
properties: {
|
|
@@ -4587,7 +4791,7 @@ export type EventGlobalDisposed = {
|
|
|
4587
4791
|
[key: string]: unknown;
|
|
4588
4792
|
};
|
|
4589
4793
|
};
|
|
4590
|
-
export type Event = EventScopeUpdated | EventScopeRemoved | EventScopeRuntimeDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventConfigUpdated | EventMcpToolsChanged | EventMcpPromptsChanged | EventMcpResourcesChanged | EventMcpReady | EventMcpFailed |
|
|
4794
|
+
export type Event = EventScopeUpdated | EventScopeRemoved | EventScopeRuntimeDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventConfigUpdated | EventMcpToolsChanged | EventMcpPromptsChanged | EventMcpResourcesChanged | EventMcpReady | EventMcpFailed | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSessionStatus | EventSessionIdle | EventSessionInboxUpdated | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventQuestionTimedOut | EventSessionCompacted | EventLspClientDiagnostics | EventLspUpdated | 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;
|
|
4591
4795
|
export type GlobalHealthData = {
|
|
4592
4796
|
body?: never;
|
|
4593
4797
|
path?: never;
|
|
@@ -7343,6 +7547,20 @@ export type ProviderListResponses = {
|
|
|
7343
7547
|
all: Array<{
|
|
7344
7548
|
api?: string;
|
|
7345
7549
|
name: string;
|
|
7550
|
+
description?: string;
|
|
7551
|
+
signupUrl?: string;
|
|
7552
|
+
recommendation?: {
|
|
7553
|
+
level: "featured" | "recommended" | "standard";
|
|
7554
|
+
rank?: number;
|
|
7555
|
+
headline?: string;
|
|
7556
|
+
reason?: string;
|
|
7557
|
+
cta?: {
|
|
7558
|
+
kind: "external";
|
|
7559
|
+
label: string;
|
|
7560
|
+
url: string;
|
|
7561
|
+
};
|
|
7562
|
+
defaultModel?: string;
|
|
7563
|
+
};
|
|
7346
7564
|
env: Array<string>;
|
|
7347
7565
|
id: string;
|
|
7348
7566
|
npm?: string;
|
|
@@ -7404,6 +7622,9 @@ export type ProviderListResponses = {
|
|
|
7404
7622
|
connected: Array<string>;
|
|
7405
7623
|
configProviders: Array<string>;
|
|
7406
7624
|
catalogProviders: Array<string>;
|
|
7625
|
+
profiles: {
|
|
7626
|
+
[key: string]: ProviderProfileMetadata;
|
|
7627
|
+
};
|
|
7407
7628
|
authHealth: {
|
|
7408
7629
|
[key: string]: ProviderAuthHealth;
|
|
7409
7630
|
};
|
|
@@ -7699,77 +7920,49 @@ export type SkillImportUrlResponses = {
|
|
|
7699
7920
|
};
|
|
7700
7921
|
};
|
|
7701
7922
|
export type SkillImportUrlResponse = SkillImportUrlResponses[keyof SkillImportUrlResponses];
|
|
7702
|
-
export type
|
|
7703
|
-
body?: never;
|
|
7704
|
-
path?: never;
|
|
7705
|
-
query: {
|
|
7706
|
-
directory?: string;
|
|
7707
|
-
scopeID?: string;
|
|
7708
|
-
pattern: string;
|
|
7709
|
-
};
|
|
7710
|
-
url: "/find";
|
|
7711
|
-
};
|
|
7712
|
-
export type FindTextResponses = {
|
|
7713
|
-
/**
|
|
7714
|
-
* Matches
|
|
7715
|
-
*/
|
|
7716
|
-
200: Array<{
|
|
7717
|
-
path: {
|
|
7718
|
-
text: string;
|
|
7719
|
-
};
|
|
7720
|
-
lines: {
|
|
7721
|
-
text: string;
|
|
7722
|
-
};
|
|
7723
|
-
line_number: number;
|
|
7724
|
-
absolute_offset: number;
|
|
7725
|
-
submatches: Array<{
|
|
7726
|
-
match: {
|
|
7727
|
-
text: string;
|
|
7728
|
-
};
|
|
7729
|
-
start: number;
|
|
7730
|
-
end: number;
|
|
7731
|
-
}>;
|
|
7732
|
-
}>;
|
|
7733
|
-
};
|
|
7734
|
-
export type FindTextResponse = FindTextResponses[keyof FindTextResponses];
|
|
7735
|
-
export type FindFilesData = {
|
|
7923
|
+
export type WorkspaceFilesChildrenData = {
|
|
7736
7924
|
body?: never;
|
|
7737
7925
|
path?: never;
|
|
7738
|
-
query
|
|
7926
|
+
query?: {
|
|
7739
7927
|
directory?: string;
|
|
7740
7928
|
scopeID?: string;
|
|
7741
|
-
|
|
7742
|
-
dirs?: "true" | "false";
|
|
7743
|
-
type?: "file" | "directory";
|
|
7929
|
+
path?: string;
|
|
7744
7930
|
limit?: number;
|
|
7931
|
+
cursor?: string;
|
|
7932
|
+
showHidden?: "true" | "false";
|
|
7933
|
+
showIgnored?: "true" | "false";
|
|
7745
7934
|
};
|
|
7746
|
-
url: "/
|
|
7935
|
+
url: "/workspace/files/children";
|
|
7747
7936
|
};
|
|
7748
|
-
export type
|
|
7937
|
+
export type WorkspaceFilesChildrenResponses = {
|
|
7749
7938
|
/**
|
|
7750
|
-
*
|
|
7939
|
+
* Workspace file children
|
|
7751
7940
|
*/
|
|
7752
|
-
200:
|
|
7941
|
+
200: WorkspaceFileChildrenResponse;
|
|
7753
7942
|
};
|
|
7754
|
-
export type
|
|
7755
|
-
export type
|
|
7943
|
+
export type WorkspaceFilesChildrenResponse = WorkspaceFilesChildrenResponses[keyof WorkspaceFilesChildrenResponses];
|
|
7944
|
+
export type WorkspaceFilesReadData = {
|
|
7756
7945
|
body?: never;
|
|
7757
7946
|
path?: never;
|
|
7758
7947
|
query: {
|
|
7759
7948
|
directory?: string;
|
|
7760
7949
|
scopeID?: string;
|
|
7761
|
-
|
|
7950
|
+
path: string;
|
|
7951
|
+
range?: string;
|
|
7952
|
+
offset?: number;
|
|
7953
|
+
limit?: number;
|
|
7954
|
+
preview?: "true" | "false";
|
|
7762
7955
|
};
|
|
7763
|
-
url: "/
|
|
7956
|
+
url: "/workspace/files/read";
|
|
7764
7957
|
};
|
|
7765
|
-
export type
|
|
7958
|
+
export type WorkspaceFilesReadResponses = {
|
|
7766
7959
|
/**
|
|
7767
|
-
*
|
|
7960
|
+
* Workspace file read result
|
|
7768
7961
|
*/
|
|
7769
|
-
200:
|
|
7962
|
+
200: WorkspaceFileReadResult;
|
|
7770
7963
|
};
|
|
7771
|
-
export type
|
|
7772
|
-
export type
|
|
7964
|
+
export type WorkspaceFilesReadResponse = WorkspaceFilesReadResponses[keyof WorkspaceFilesReadResponses];
|
|
7965
|
+
export type WorkspaceFilesStatData = {
|
|
7773
7966
|
body?: never;
|
|
7774
7967
|
path?: never;
|
|
7775
7968
|
query: {
|
|
@@ -7777,48 +7970,53 @@ export type FileListData = {
|
|
|
7777
7970
|
scopeID?: string;
|
|
7778
7971
|
path: string;
|
|
7779
7972
|
};
|
|
7780
|
-
url: "/
|
|
7973
|
+
url: "/workspace/files/stat";
|
|
7781
7974
|
};
|
|
7782
|
-
export type
|
|
7975
|
+
export type WorkspaceFilesStatResponses = {
|
|
7783
7976
|
/**
|
|
7784
|
-
*
|
|
7977
|
+
* Workspace file node
|
|
7785
7978
|
*/
|
|
7786
|
-
200:
|
|
7979
|
+
200: WorkspaceFileNode;
|
|
7787
7980
|
};
|
|
7788
|
-
export type
|
|
7789
|
-
export type
|
|
7981
|
+
export type WorkspaceFilesStatResponse = WorkspaceFilesStatResponses[keyof WorkspaceFilesStatResponses];
|
|
7982
|
+
export type WorkspaceFilesSearchData = {
|
|
7790
7983
|
body?: never;
|
|
7791
7984
|
path?: never;
|
|
7792
7985
|
query: {
|
|
7793
7986
|
directory?: string;
|
|
7794
7987
|
scopeID?: string;
|
|
7795
|
-
|
|
7988
|
+
query: string;
|
|
7989
|
+
kind?: "files" | "content" | "symbol";
|
|
7990
|
+
limit?: number;
|
|
7991
|
+
cursor?: string;
|
|
7992
|
+
include?: string;
|
|
7993
|
+
exclude?: string;
|
|
7796
7994
|
};
|
|
7797
|
-
url: "/
|
|
7995
|
+
url: "/workspace/files/search";
|
|
7798
7996
|
};
|
|
7799
|
-
export type
|
|
7997
|
+
export type WorkspaceFilesSearchResponses = {
|
|
7800
7998
|
/**
|
|
7801
|
-
*
|
|
7999
|
+
* Workspace search response
|
|
7802
8000
|
*/
|
|
7803
|
-
200:
|
|
8001
|
+
200: WorkspaceFileSearchResponse;
|
|
7804
8002
|
};
|
|
7805
|
-
export type
|
|
7806
|
-
export type
|
|
8003
|
+
export type WorkspaceFilesSearchResponse = WorkspaceFilesSearchResponses[keyof WorkspaceFilesSearchResponses];
|
|
8004
|
+
export type WorkspaceFilesStatusData = {
|
|
7807
8005
|
body?: never;
|
|
7808
8006
|
path?: never;
|
|
7809
8007
|
query?: {
|
|
7810
8008
|
directory?: string;
|
|
7811
8009
|
scopeID?: string;
|
|
7812
8010
|
};
|
|
7813
|
-
url: "/
|
|
8011
|
+
url: "/workspace/files/status";
|
|
7814
8012
|
};
|
|
7815
|
-
export type
|
|
8013
|
+
export type WorkspaceFilesStatusResponses = {
|
|
7816
8014
|
/**
|
|
7817
|
-
*
|
|
8015
|
+
* Workspace file status
|
|
7818
8016
|
*/
|
|
7819
|
-
200:
|
|
8017
|
+
200: WorkspaceFileStatusSummary;
|
|
7820
8018
|
};
|
|
7821
|
-
export type
|
|
8019
|
+
export type WorkspaceFilesStatusResponse = WorkspaceFilesStatusResponses[keyof WorkspaceFilesStatusResponses];
|
|
7822
8020
|
export type LibraryExperienceSearchData = {
|
|
7823
8021
|
body?: {
|
|
7824
8022
|
/**
|
|
@@ -10485,6 +10683,22 @@ export type AppAgentsResponses = {
|
|
|
10485
10683
|
200: Array<Agent>;
|
|
10486
10684
|
};
|
|
10487
10685
|
export type AppAgentsResponse = AppAgentsResponses[keyof AppAgentsResponses];
|
|
10686
|
+
export type AppAgentModelRolesData = {
|
|
10687
|
+
body?: never;
|
|
10688
|
+
path?: never;
|
|
10689
|
+
query?: {
|
|
10690
|
+
directory?: string;
|
|
10691
|
+
scopeID?: string;
|
|
10692
|
+
};
|
|
10693
|
+
url: "/agent/model-roles";
|
|
10694
|
+
};
|
|
10695
|
+
export type AppAgentModelRolesResponses = {
|
|
10696
|
+
/**
|
|
10697
|
+
* List of model role summaries
|
|
10698
|
+
*/
|
|
10699
|
+
200: Array<ModelRoleSummary>;
|
|
10700
|
+
};
|
|
10701
|
+
export type AppAgentModelRolesResponse = AppAgentModelRolesResponses[keyof AppAgentModelRolesResponses];
|
|
10488
10702
|
export type McpStatusData = {
|
|
10489
10703
|
body?: never;
|
|
10490
10704
|
path?: never;
|