@ericsanchezok/synergy-sdk 2.4.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.
@@ -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 Find extends HeyApiClient {
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
- find: Find;
2695
- file: File;
2702
+ workspace: Workspace;
2696
2703
  library: Library;
2697
2704
  note: Note;
2698
2705
  blueprint: Blueprint;
@@ -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 Find extends HeyApiClient {
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
- find = new Find({ client: this.client });
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 });
@@ -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;
@@ -3168,6 +3184,26 @@ export type Command = {
3168
3184
  template?: string;
3169
3185
  hints: Array<string>;
3170
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
+ };
3171
3207
  export type ProviderAuthHealth = {
3172
3208
  providerID: string;
3173
3209
  status: "connected" | "not_configured" | "expired" | "exhausted" | "dead";
@@ -3244,47 +3280,128 @@ export type SkillList = {
3244
3280
  message: string;
3245
3281
  }>;
3246
3282
  };
3247
- export type Symbol = {
3283
+ export type WorkspaceFileNode = {
3284
+ path: string;
3248
3285
  name: string;
3249
- kind: number;
3250
- location: {
3251
- uri: string;
3252
- range: Range;
3253
- };
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";
3254
3296
  };
3255
- export type FileNode = {
3256
- name: string;
3297
+ export type WorkspaceFileChildrenResponse = {
3257
3298
  path: string;
3258
- absolute: string;
3259
- type: "file" | "directory";
3260
- ignored: boolean;
3299
+ parent?: WorkspaceFileNode;
3300
+ children: Array<WorkspaceFileNode>;
3301
+ nextCursor?: string;
3302
+ truncated: boolean;
3261
3303
  };
3262
- export type FileContent = {
3263
- type: "text";
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;
3264
3314
  content: string;
3265
- diff?: string;
3266
- patch?: {
3267
- oldFileName: string;
3268
- newFileName: string;
3269
- oldHeader?: string;
3270
- newHeader?: string;
3271
- hunks: Array<{
3272
- oldStart: number;
3273
- oldLines: number;
3274
- newStart: number;
3275
- newLines: number;
3276
- lines: Array<string>;
3277
- }>;
3278
- index?: string;
3279
- };
3280
- encoding?: "base64";
3281
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;
3282
3351
  };
3283
- export type File = {
3352
+ export type WorkspaceContentSearchItem = {
3353
+ kind: "content";
3284
3354
  path: string;
3285
- added: number;
3286
- removed: number;
3287
- status: "added" | "deleted" | "modified";
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
+ }>;
3288
3405
  };
3289
3406
  export type RewardsInfo = {
3290
3407
  outcome?: number;
@@ -3906,6 +4023,14 @@ export type PluginRuntimeLogEntry = {
3906
4023
  level: string;
3907
4024
  message: string;
3908
4025
  };
4026
+ export type RegistryPluginIcon = {
4027
+ type: "lucide";
4028
+ name: string;
4029
+ } | {
4030
+ type: "image";
4031
+ url: string;
4032
+ alt?: string;
4033
+ };
3909
4034
  export type RegistryPluginSummary = {
3910
4035
  id: string;
3911
4036
  name: string;
@@ -3916,6 +4041,7 @@ export type RegistryPluginSummary = {
3916
4041
  email?: string;
3917
4042
  url?: string;
3918
4043
  };
4044
+ icon?: RegistryPluginIcon;
3919
4045
  verified: boolean;
3920
4046
  official: boolean;
3921
4047
  keywords: Array<string>;
@@ -3975,6 +4101,7 @@ export type RegistryPluginEntry = {
3975
4101
  email?: string;
3976
4102
  url?: string;
3977
4103
  };
4104
+ icon?: RegistryPluginIcon;
3978
4105
  verified: boolean;
3979
4106
  official: boolean;
3980
4107
  keywords: Array<string>;
@@ -4009,6 +4136,7 @@ export type RegistryPublishInput = {
4009
4136
  email?: string;
4010
4137
  url?: string;
4011
4138
  };
4139
+ icon?: RegistryPluginIcon;
4012
4140
  verified: boolean;
4013
4141
  official: boolean;
4014
4142
  keywords: Array<string>;
@@ -4054,6 +4182,9 @@ export type Agent = {
4054
4182
  modelID: string;
4055
4183
  providerID: string;
4056
4184
  };
4185
+ modelRole?: ModelRole;
4186
+ modelSource?: "role" | "explicit";
4187
+ source?: "builtin" | "config" | "plugin" | "external";
4057
4188
  prompt?: string;
4058
4189
  options: {
4059
4190
  [key: string]: unknown;
@@ -4061,6 +4192,40 @@ export type Agent = {
4061
4192
  steps?: number;
4062
4193
  external?: ExternalAgentInfo;
4063
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
+ };
4064
4229
  export type McpStatusUninitialized = {
4065
4230
  status: "uninitialized";
4066
4231
  };
@@ -4230,19 +4395,6 @@ export type EventMcpFailed = {
4230
4395
  error: string;
4231
4396
  };
4232
4397
  };
4233
- export type EventLspClientDiagnostics = {
4234
- type: "lsp.client.diagnostics";
4235
- properties: {
4236
- serverID: string;
4237
- path: string;
4238
- };
4239
- };
4240
- export type EventLspUpdated = {
4241
- type: "lsp.updated";
4242
- properties: {
4243
- [key: string]: unknown;
4244
- };
4245
- };
4246
4398
  export type EventMessageUpdated = {
4247
4399
  type: "message.updated";
4248
4400
  properties: {
@@ -4361,6 +4513,19 @@ export type EventSessionCompacted = {
4361
4513
  sessionID: string;
4362
4514
  };
4363
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
+ };
4364
4529
  export type EventFileEdited = {
4365
4530
  type: "file.edited";
4366
4531
  properties: {
@@ -4503,7 +4668,12 @@ export type EventFileWatcherUpdated = {
4503
4668
  type: "file.watcher.updated";
4504
4669
  properties: {
4505
4670
  file: string;
4506
- event: "add" | "change" | "unlink";
4671
+ event: "added" | "changed" | "deleted" | "renamed";
4672
+ absolute?: string;
4673
+ oldPath?: string;
4674
+ oldAbsolute?: string;
4675
+ parent?: string;
4676
+ node?: unknown;
4507
4677
  };
4508
4678
  };
4509
4679
  export type EventVcsBranchUpdated = {
@@ -4621,7 +4791,7 @@ export type EventGlobalDisposed = {
4621
4791
  [key: string]: unknown;
4622
4792
  };
4623
4793
  };
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;
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;
4625
4795
  export type GlobalHealthData = {
4626
4796
  body?: never;
4627
4797
  path?: never;
@@ -7377,6 +7547,20 @@ export type ProviderListResponses = {
7377
7547
  all: Array<{
7378
7548
  api?: string;
7379
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
+ };
7380
7564
  env: Array<string>;
7381
7565
  id: string;
7382
7566
  npm?: string;
@@ -7438,6 +7622,9 @@ export type ProviderListResponses = {
7438
7622
  connected: Array<string>;
7439
7623
  configProviders: Array<string>;
7440
7624
  catalogProviders: Array<string>;
7625
+ profiles: {
7626
+ [key: string]: ProviderProfileMetadata;
7627
+ };
7441
7628
  authHealth: {
7442
7629
  [key: string]: ProviderAuthHealth;
7443
7630
  };
@@ -7733,77 +7920,49 @@ export type SkillImportUrlResponses = {
7733
7920
  };
7734
7921
  };
7735
7922
  export type SkillImportUrlResponse = SkillImportUrlResponses[keyof SkillImportUrlResponses];
7736
- export type FindTextData = {
7923
+ export type WorkspaceFilesChildrenData = {
7737
7924
  body?: never;
7738
7925
  path?: never;
7739
- query: {
7740
- directory?: string;
7741
- scopeID?: string;
7742
- pattern: string;
7743
- };
7744
- url: "/find";
7745
- };
7746
- export type FindTextResponses = {
7747
- /**
7748
- * Matches
7749
- */
7750
- 200: Array<{
7751
- path: {
7752
- text: string;
7753
- };
7754
- lines: {
7755
- text: string;
7756
- };
7757
- line_number: number;
7758
- absolute_offset: number;
7759
- submatches: Array<{
7760
- match: {
7761
- text: string;
7762
- };
7763
- start: number;
7764
- end: number;
7765
- }>;
7766
- }>;
7767
- };
7768
- export type FindTextResponse = FindTextResponses[keyof FindTextResponses];
7769
- export type FindFilesData = {
7770
- body?: never;
7771
- path?: never;
7772
- query: {
7926
+ query?: {
7773
7927
  directory?: string;
7774
7928
  scopeID?: string;
7775
- query: string;
7776
- dirs?: "true" | "false";
7777
- type?: "file" | "directory";
7929
+ path?: string;
7778
7930
  limit?: number;
7931
+ cursor?: string;
7932
+ showHidden?: "true" | "false";
7933
+ showIgnored?: "true" | "false";
7779
7934
  };
7780
- url: "/find/file";
7935
+ url: "/workspace/files/children";
7781
7936
  };
7782
- export type FindFilesResponses = {
7937
+ export type WorkspaceFilesChildrenResponses = {
7783
7938
  /**
7784
- * File paths
7939
+ * Workspace file children
7785
7940
  */
7786
- 200: Array<string>;
7941
+ 200: WorkspaceFileChildrenResponse;
7787
7942
  };
7788
- export type FindFilesResponse = FindFilesResponses[keyof FindFilesResponses];
7789
- export type FindSymbolsData = {
7943
+ export type WorkspaceFilesChildrenResponse = WorkspaceFilesChildrenResponses[keyof WorkspaceFilesChildrenResponses];
7944
+ export type WorkspaceFilesReadData = {
7790
7945
  body?: never;
7791
7946
  path?: never;
7792
7947
  query: {
7793
7948
  directory?: string;
7794
7949
  scopeID?: string;
7795
- query: string;
7950
+ path: string;
7951
+ range?: string;
7952
+ offset?: number;
7953
+ limit?: number;
7954
+ preview?: "true" | "false";
7796
7955
  };
7797
- url: "/find/symbol";
7956
+ url: "/workspace/files/read";
7798
7957
  };
7799
- export type FindSymbolsResponses = {
7958
+ export type WorkspaceFilesReadResponses = {
7800
7959
  /**
7801
- * Symbols
7960
+ * Workspace file read result
7802
7961
  */
7803
- 200: Array<Symbol>;
7962
+ 200: WorkspaceFileReadResult;
7804
7963
  };
7805
- export type FindSymbolsResponse = FindSymbolsResponses[keyof FindSymbolsResponses];
7806
- export type FileListData = {
7964
+ export type WorkspaceFilesReadResponse = WorkspaceFilesReadResponses[keyof WorkspaceFilesReadResponses];
7965
+ export type WorkspaceFilesStatData = {
7807
7966
  body?: never;
7808
7967
  path?: never;
7809
7968
  query: {
@@ -7811,48 +7970,53 @@ export type FileListData = {
7811
7970
  scopeID?: string;
7812
7971
  path: string;
7813
7972
  };
7814
- url: "/file";
7973
+ url: "/workspace/files/stat";
7815
7974
  };
7816
- export type FileListResponses = {
7975
+ export type WorkspaceFilesStatResponses = {
7817
7976
  /**
7818
- * Files and directories
7977
+ * Workspace file node
7819
7978
  */
7820
- 200: Array<FileNode>;
7979
+ 200: WorkspaceFileNode;
7821
7980
  };
7822
- export type FileListResponse = FileListResponses[keyof FileListResponses];
7823
- export type FileReadData = {
7981
+ export type WorkspaceFilesStatResponse = WorkspaceFilesStatResponses[keyof WorkspaceFilesStatResponses];
7982
+ export type WorkspaceFilesSearchData = {
7824
7983
  body?: never;
7825
7984
  path?: never;
7826
7985
  query: {
7827
7986
  directory?: string;
7828
7987
  scopeID?: string;
7829
- path: string;
7988
+ query: string;
7989
+ kind?: "files" | "content" | "symbol";
7990
+ limit?: number;
7991
+ cursor?: string;
7992
+ include?: string;
7993
+ exclude?: string;
7830
7994
  };
7831
- url: "/file/content";
7995
+ url: "/workspace/files/search";
7832
7996
  };
7833
- export type FileReadResponses = {
7997
+ export type WorkspaceFilesSearchResponses = {
7834
7998
  /**
7835
- * File content
7999
+ * Workspace search response
7836
8000
  */
7837
- 200: FileContent;
8001
+ 200: WorkspaceFileSearchResponse;
7838
8002
  };
7839
- export type FileReadResponse = FileReadResponses[keyof FileReadResponses];
7840
- export type FileStatusData = {
8003
+ export type WorkspaceFilesSearchResponse = WorkspaceFilesSearchResponses[keyof WorkspaceFilesSearchResponses];
8004
+ export type WorkspaceFilesStatusData = {
7841
8005
  body?: never;
7842
8006
  path?: never;
7843
8007
  query?: {
7844
8008
  directory?: string;
7845
8009
  scopeID?: string;
7846
8010
  };
7847
- url: "/file/status";
8011
+ url: "/workspace/files/status";
7848
8012
  };
7849
- export type FileStatusResponses = {
8013
+ export type WorkspaceFilesStatusResponses = {
7850
8014
  /**
7851
- * File status
8015
+ * Workspace file status
7852
8016
  */
7853
- 200: Array<File>;
8017
+ 200: WorkspaceFileStatusSummary;
7854
8018
  };
7855
- export type FileStatusResponse = FileStatusResponses[keyof FileStatusResponses];
8019
+ export type WorkspaceFilesStatusResponse = WorkspaceFilesStatusResponses[keyof WorkspaceFilesStatusResponses];
7856
8020
  export type LibraryExperienceSearchData = {
7857
8021
  body?: {
7858
8022
  /**
@@ -10519,6 +10683,22 @@ export type AppAgentsResponses = {
10519
10683
  200: Array<Agent>;
10520
10684
  };
10521
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];
10522
10702
  export type McpStatusData = {
10523
10703
  body?: never;
10524
10704
  path?: never;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@ericsanchezok/synergy-sdk",
4
- "version": "2.4.0",
4
+ "version": "2.4.1",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {