@ericsanchezok/synergy-sdk 2.2.2 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { type Client, type Options as Options2, type TDataShape } from "./client/index.js";
2
- import type { AgendaActivateErrors, AgendaActivateResponses, AgendaActivityErrors, AgendaActivityResponses, AgendaCancelErrors, AgendaCancelResponses, AgendaCompleteErrors, AgendaCompleteResponses, AgendaCreateErrors, AgendaCreateInput, AgendaCreateResponses, AgendaGetErrors, AgendaGetResponses, AgendaPatchInput, AgendaPauseErrors, AgendaPauseResponses, AgendaRemoveErrors, AgendaRemoveResponses, AgendaRunsErrors, AgendaRunsResponses, AgendaSessionsErrors, AgendaSessionsResponses, AgendaTriggerErrors, AgendaTriggerResponses, AgendaUpdateErrors, AgendaUpdateResponses, AgendaWebhookErrors, AgendaWebhookResponses, ApiPluginsApproveInstallErrors, ApiPluginsApproveInstallResponses, ApiPluginsApproveUpdateErrors, ApiPluginsApproveUpdateResponses, ApiPluginsGetApprovalErrors, ApiPluginsGetApprovalResponses, ApiPluginsGetErrors, ApiPluginsGetResponses, ApiPluginsInstallFromRegistryErrors, ApiPluginsInstallFromRegistryResponses, ApiPluginsListResponses, ApiPluginsPermissionDiffErrors, ApiPluginsPermissionDiffResponses, ApiPluginsPreviewInstallErrors, ApiPluginsPreviewInstallResponses, ApiPluginsPreviewUpdateErrors, ApiPluginsPreviewUpdateResponses, ApiPluginsStatusErrors, ApiPluginsStatusResponses, ApiPluginsUpdateFromRegistryErrors, ApiPluginsUpdateFromRegistryResponses, AppAgentsResponses, AppLogErrors, AppLogResponses, AssetGetErrors, AssetGetResponses, AssetUploadErrors, AssetUploadResponses, Auth as Auth2, AuthSetErrors, AuthSetResponses, BlueprintLoopActivityErrors, BlueprintLoopActivityResponses, BlueprintLoopBindErrors, BlueprintLoopBindResponses, BlueprintLoopCancelErrors, BlueprintLoopCancelResponses, BlueprintLoopCompleteErrors, BlueprintLoopCompleteResponses, BlueprintLoopCreateErrors, BlueprintLoopCreateInput, BlueprintLoopCreateResponses, BlueprintLoopGetErrors, BlueprintLoopGetResponses, BlueprintLoopListErrors, BlueprintLoopListResponses, BlueprintLoopResumeErrors, BlueprintLoopResumeResponses, BlueprintLoopStartErrors, BlueprintLoopStartResponses, BlueprintLoopWaitErrors, BlueprintLoopWaitResponses, BlueprintSessionPlanModeErrors, BlueprintSessionPlanModeResponses, ChannelAppResetResponses, ChannelAppSessionResponses, ChannelDisconnectResponses, ChannelStartOneResponses, ChannelStartResponses, ChannelStatusResponses, ChannelStopOneResponses, ChannelStopResponses, CommandListResponses, Config as Config2, ConfigDomainGetErrors, ConfigDomainGetResponses, ConfigDomainImportPlanInput, ConfigDomainListResponses, ConfigDomainUpdateErrors, ConfigDomainUpdateInput, ConfigDomainUpdateResponses, ConfigGetResponses, ConfigGlobalResponses, ConfigImportApplyErrors, ConfigImportApplyResponses, ConfigImportPlanErrors, ConfigImportPlanResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, ControlProfileEffectiveErrors, ControlProfileEffectiveResponses, ControlProfileListResponses, CortexCancelErrors, CortexCancelResponses, CortexGetErrors, CortexGetResponses, CortexListErrors, CortexListResponses, CortexOutputErrors, CortexOutputResponses, EventSubscribeResponses, ExperienceListFilter, ExperienceListSort, ExperimentalResourceListResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalAgendaListErrors, GlobalAgendaListResponses, GlobalDisposeResponses, GlobalFilesystemBrowseResponses, GlobalGitInitErrors, GlobalGitInitResponses, GlobalHealthResponses, GlobalNavPinnedResponses, GlobalNavRecentResponses, GlobalPathsGetResponses, GlobalSessionSearchErrors, GlobalSessionSearchResponses, GlobalStatsGetErrors, GlobalStatsGetResponses, GlobalStatsProgressResponses, HolosAccountsListResponses, HolosAccountsRemoveErrors, HolosAccountsRemoveResponses, HolosAccountsSwitchErrors, HolosAccountsSwitchResponses, HolosAgentsGetErrors, HolosAgentsGetResponses, HolosAgentsListResponses, HolosCallbackResponses, HolosContactAddErrors, HolosContactAddResponses, HolosContactGetErrors, HolosContactGetResponses, HolosContactListResponses, HolosContactRemoveResponses, HolosContactToggleBlockErrors, HolosContactToggleBlockResponses, HolosCredentialsErrors, HolosCredentialsResponses, HolosCredentialsStatusResponses, HolosInboxListResponses, HolosLoginResponses, HolosLogoutResponses, HolosOutboxListResponses, HolosPresenceResponses, HolosReconnectErrors, HolosReconnectResponses, HolosSendResponses, HolosSendRetryErrors, HolosSendRetryResponses, HolosStateResponses, HolosStatusResponses, HolosThreadGetResponses, HolosVerifyResponses, LibraryExperienceApplyRewardErrors, LibraryExperienceApplyRewardResponses, LibraryExperienceGetErrors, LibraryExperienceGetResponses, LibraryExperienceListResponses, LibraryExperiencePageErrors, LibraryExperiencePageResponses, LibraryExperienceRemoveErrors, LibraryExperienceRemoveResponses, LibraryExperienceSearchErrors, LibraryExperienceSearchResponses, LibraryGetErrors, LibraryGetResponses, LibraryListResponses, LibraryRemoveErrors, LibraryRemoveResponses, LibraryResetErrors, LibraryResetResponses, LibrarySearchErrors, LibrarySearchResponses, LibraryStatsErrors, LibraryStatsResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpInspectErrors, McpInspectResponses, McpLocalConfig, McpRefreshErrors, McpRefreshResponses, McpRemoteConfig, McpRestartErrors, McpRestartResponses, McpStatusResponses, McpTestErrors, McpTestResponses, MemoryCategory, MemoryRecallMode, NoteCreateErrors, NoteCreateInput, NoteCreateResponses, NoteExportErrors, NoteExportResponses, NoteGetErrors, NoteGetResponses, NoteListAllErrors, NoteListAllResponses, NoteListErrors, NoteListMetaErrors, NoteListMetaResponses, NoteListResponses, NotePatchInput, NoteRemoveErrors, NoteRemoveResponses, NoteUpdateErrors, NoteUpdateResponses, ObservabilityDiagnosticsSummaryResponses, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PluginConfigSchemaErrors, PluginConfigSchemaResponses, PluginGetConfigErrors, PluginGetConfigResponses, PluginInteractErrors, PluginInteractResponses, PluginListUiContributionsErrors, PluginListUiContributionsResponses, PluginRuntimeLogsErrors, PluginRuntimeLogsResponses, PluginRuntimeStartErrors, PluginRuntimeStartResponses, PluginRuntimeStopErrors, PluginRuntimeStopResponses, PluginSandboxErrors, PluginSandboxResponses, PluginServeAssetErrors, PluginServeAssetResponses, PluginStatusErrors, PluginStatusResponses, PluginUpdateConfigErrors, PluginUpdateConfigResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, RegistryPluginsDownloadErrors, RegistryPluginsDownloadResponses, RegistryPluginsPublishErrors, RegistryPluginsPublishResponses, RegistryPluginsSearchErrors, RegistryPluginsSearchResponses, RegistryPluginsVersionErrors, RegistryPluginsVersionResponses, RegistryPluginsVersionsErrors, RegistryPluginsVersionsResponses, RegistryPublishInput, RewardsInfo, RuntimeReloadErrors, RuntimeReloadResponses, RuntimeReloadScope, RuntimeReloadTarget, SandboxReadinessResponses, SandboxStatusResponses, ScopeCurrentResponses, ScopeIndexResponses, ScopeListResponses, ScopeRemoveResponses, ScopeRuntimeDisposeResponses, ScopeUpdateErrors, ScopeUpdateResponses, SessionAbortErrors, SessionAbortResponses, SessionAgendaErrors, SessionAgendaResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDagErrors, SessionDagResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionExportDownloadErrors, SessionExportDownloadResponses, SessionExportEstimateErrors, SessionExportEstimateResponses, SessionExportMode, SessionFilesRestoreErrors, SessionFilesRestoreResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionIndexResponses, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRollbackErrors, SessionRollbackResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrollbackErrors, SessionUnrollbackResponses, SessionUpdateErrors, SessionUpdateResponses, SkillImportErrors, SkillImportResponses, SkillImportUrlErrors, SkillImportUrlResponses, SkillListResponses, SkillReloadResponses, SkillRemoveErrors, SkillRemoveResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses } from "./types.gen.js";
2
+ import type { AgendaActivateErrors, AgendaActivateResponses, AgendaActivityErrors, AgendaActivityResponses, AgendaCancelErrors, AgendaCancelResponses, AgendaCompleteErrors, AgendaCompleteResponses, AgendaCreateErrors, AgendaCreateInput, AgendaCreateResponses, AgendaGetErrors, AgendaGetResponses, AgendaPatchInput, AgendaPauseErrors, AgendaPauseResponses, AgendaRemoveErrors, AgendaRemoveResponses, AgendaRunsErrors, AgendaRunsResponses, AgendaSessionsErrors, AgendaSessionsResponses, AgendaTriggerErrors, AgendaTriggerResponses, AgendaUpdateErrors, AgendaUpdateResponses, AgendaWebhookErrors, AgendaWebhookResponses, ApiPluginsApproveInstallErrors, ApiPluginsApproveInstallResponses, ApiPluginsApproveUpdateErrors, ApiPluginsApproveUpdateResponses, ApiPluginsGetApprovalErrors, ApiPluginsGetApprovalResponses, ApiPluginsGetErrors, ApiPluginsGetResponses, ApiPluginsInstallFromRegistryErrors, ApiPluginsInstallFromRegistryResponses, ApiPluginsListResponses, ApiPluginsPermissionDiffErrors, ApiPluginsPermissionDiffResponses, ApiPluginsPreviewInstallErrors, ApiPluginsPreviewInstallResponses, ApiPluginsPreviewUpdateErrors, ApiPluginsPreviewUpdateResponses, ApiPluginsStatusErrors, ApiPluginsStatusResponses, ApiPluginsUpdateFromRegistryErrors, ApiPluginsUpdateFromRegistryResponses, AppAgentsResponses, AppLogErrors, AppLogResponses, AssetGetErrors, AssetGetResponses, AssetUploadErrors, AssetUploadResponses, Auth as Auth2, AuthSetErrors, AuthSetResponses, BlueprintLoopActivityErrors, BlueprintLoopActivityResponses, BlueprintLoopBindErrors, BlueprintLoopBindResponses, BlueprintLoopCancelErrors, BlueprintLoopCancelResponses, BlueprintLoopCompleteErrors, BlueprintLoopCompleteResponses, BlueprintLoopCreateErrors, BlueprintLoopCreateInput, BlueprintLoopCreateResponses, BlueprintLoopGetErrors, BlueprintLoopGetResponses, BlueprintLoopListErrors, BlueprintLoopListResponses, BlueprintLoopResumeErrors, BlueprintLoopResumeResponses, BlueprintLoopStartErrors, BlueprintLoopStartResponses, BlueprintLoopWaitErrors, BlueprintLoopWaitResponses, BlueprintSessionPlanModeErrors, BlueprintSessionPlanModeResponses, ChannelAppResetResponses, ChannelAppSessionResponses, ChannelDisconnectResponses, ChannelStartOneResponses, ChannelStartResponses, ChannelStatusResponses, ChannelStopOneResponses, ChannelStopResponses, CommandListResponses, Config as Config2, ConfigDomainGetErrors, ConfigDomainGetResponses, ConfigDomainImportPlanInput, ConfigDomainListResponses, ConfigDomainOpenErrors, ConfigDomainOpenResponses, ConfigDomainUpdateErrors, ConfigDomainUpdateInput, ConfigDomainUpdateResponses, ConfigGetResponses, ConfigGlobalResponses, ConfigImportApplyErrors, ConfigImportApplyResponses, ConfigImportPlanErrors, ConfigImportPlanResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, ControlProfileEffectiveErrors, ControlProfileEffectiveResponses, ControlProfileListResponses, CortexCancelErrors, CortexCancelResponses, CortexGetErrors, CortexGetResponses, CortexListErrors, CortexListResponses, CortexOutputErrors, CortexOutputResponses, EventSubscribeResponses, ExperienceListFilter, ExperienceListSort, ExperimentalResourceListResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalAgendaListErrors, GlobalAgendaListResponses, GlobalDisposeResponses, GlobalFilesystemBrowseResponses, GlobalGitInitErrors, GlobalGitInitResponses, GlobalHealthResponses, GlobalNavPinnedResponses, GlobalNavRecentResponses, GlobalPathsGetResponses, GlobalSessionSearchErrors, GlobalSessionSearchResponses, GlobalStatsGetErrors, GlobalStatsGetResponses, GlobalStatsProgressResponses, HolosAccountsListResponses, HolosAccountsRemoveErrors, HolosAccountsRemoveResponses, HolosAccountsSwitchErrors, HolosAccountsSwitchResponses, HolosAgentsGetErrors, HolosAgentsGetResponses, HolosAgentsListResponses, HolosCallbackResponses, HolosContactAddErrors, HolosContactAddResponses, HolosContactGetErrors, HolosContactGetResponses, HolosContactListResponses, HolosContactRemoveResponses, HolosContactToggleBlockErrors, HolosContactToggleBlockResponses, HolosCredentialsErrors, HolosCredentialsResponses, HolosCredentialsStatusResponses, HolosInboxListResponses, HolosLoginResponses, HolosLogoutResponses, HolosOutboxListResponses, HolosPresenceResponses, HolosReconnectErrors, HolosReconnectResponses, HolosSendResponses, HolosSendRetryErrors, HolosSendRetryResponses, HolosStateResponses, HolosStatusResponses, HolosThreadGetResponses, HolosVerifyResponses, LibraryExperienceApplyRewardErrors, LibraryExperienceApplyRewardResponses, LibraryExperienceGetErrors, LibraryExperienceGetResponses, LibraryExperienceListResponses, LibraryExperiencePageErrors, LibraryExperiencePageResponses, LibraryExperienceRemoveErrors, LibraryExperienceRemoveResponses, LibraryExperienceSearchErrors, LibraryExperienceSearchResponses, LibraryGetErrors, LibraryGetResponses, LibraryListResponses, LibraryRemoveErrors, LibraryRemoveResponses, LibraryResetErrors, LibraryResetResponses, LibrarySearchErrors, LibrarySearchResponses, LibraryStatsErrors, LibraryStatsResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpInspectErrors, McpInspectResponses, McpLocalConfig, McpRefreshErrors, McpRefreshResponses, McpRemoteConfig, McpRestartErrors, McpRestartResponses, McpStatusResponses, McpTestErrors, McpTestResponses, MemoryCategory, MemoryRecallMode, NoteCreateErrors, NoteCreateInput, NoteCreateResponses, NoteExportErrors, NoteExportResponses, NoteGetErrors, NoteGetResponses, NoteListAllErrors, NoteListAllResponses, NoteListErrors, NoteListMetaErrors, NoteListMetaResponses, NoteListResponses, NotePatchInput, NoteRemoveErrors, NoteRemoveResponses, NoteUpdateErrors, NoteUpdateResponses, ObservabilityDiagnosticsSummaryResponses, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PluginConfigSchemaErrors, PluginConfigSchemaResponses, PluginGetConfigErrors, PluginGetConfigResponses, PluginInteractErrors, PluginInteractResponses, PluginListUiContributionsErrors, PluginListUiContributionsResponses, PluginRuntimeLogsErrors, PluginRuntimeLogsResponses, PluginRuntimeStartErrors, PluginRuntimeStartResponses, PluginRuntimeStopErrors, PluginRuntimeStopResponses, PluginSandboxErrors, PluginSandboxResponses, PluginServeAssetErrors, PluginServeAssetResponses, PluginStatusErrors, PluginStatusResponses, PluginUpdateConfigErrors, PluginUpdateConfigResponses, ProviderAuthResponses, ProviderCredentialsImportCredentialsErrors, ProviderCredentialsImportCredentialsResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, ProviderUsageGetErrors, ProviderUsageGetResponses, ProviderUsageListResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, RegistryPluginsDownloadErrors, RegistryPluginsDownloadResponses, RegistryPluginsPublishErrors, RegistryPluginsPublishResponses, RegistryPluginsSearchErrors, RegistryPluginsSearchResponses, RegistryPluginsVersionErrors, RegistryPluginsVersionResponses, RegistryPluginsVersionsErrors, RegistryPluginsVersionsResponses, RegistryPublishInput, RewardsInfo, RuntimeReloadErrors, RuntimeReloadResponses, RuntimeReloadScope, RuntimeReloadTarget, SandboxReadinessResponses, SandboxStatusResponses, ScopeCurrentResponses, ScopeIndexResponses, ScopeListResponses, ScopeRemoveResponses, ScopeRuntimeDisposeResponses, ScopeUpdateErrors, ScopeUpdateResponses, SessionAbortErrors, SessionAbortResponses, SessionAgendaErrors, SessionAgendaResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDagErrors, SessionDagResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionExportDownloadErrors, SessionExportDownloadResponses, SessionExportEstimateErrors, SessionExportEstimateResponses, SessionExportMode, SessionFilesRestoreErrors, SessionFilesRestoreResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInboxErrors, SessionInboxGuideErrors, SessionInboxGuideResponses, SessionInboxRemoveErrors, SessionInboxRemoveResponses, SessionInboxResponses, SessionIndexResponses, SessionInitErrors, SessionInitResponses, SessionInputErrors, SessionInputResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRollbackErrors, SessionRollbackResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrollbackErrors, SessionUnrollbackResponses, SessionUpdateErrors, SessionUpdateResponses, SkillImportErrors, SkillImportResponses, SkillImportUrlErrors, SkillImportUrlResponses, SkillListResponses, SkillReloadResponses, SkillRemoveErrors, SkillRemoveResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses } from "./types.gen.js";
3
3
  export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
4
4
  /**
5
5
  * You can provide a client instance returned by `createClient()` instead of
@@ -450,6 +450,67 @@ export declare class Session extends HeyApiClient {
450
450
  directory?: string;
451
451
  scopeID?: string;
452
452
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionAbortResponses, SessionAbortErrors, ThrowOnError, "fields">;
453
+ /**
454
+ * List session inbox items
455
+ *
456
+ * Get active queued user messages and agent updates for a session.
457
+ */
458
+ inbox<ThrowOnError extends boolean = false>(parameters: {
459
+ sessionID: string;
460
+ directory?: string;
461
+ scopeID?: string;
462
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionInboxResponses, SessionInboxErrors, ThrowOnError, "fields">;
463
+ /**
464
+ * Submit session input
465
+ *
466
+ * Submit user input to a session. If the session is running, the input is queued in the session inbox; otherwise a new turn starts immediately.
467
+ */
468
+ input<ThrowOnError extends boolean = false>(parameters: {
469
+ sessionID: string;
470
+ directory?: string;
471
+ scopeID?: string;
472
+ messageID?: string;
473
+ model?: {
474
+ providerID: string;
475
+ modelID: string;
476
+ };
477
+ agent?: string;
478
+ noReply?: boolean;
479
+ metadata?: {
480
+ [key: string]: unknown;
481
+ };
482
+ summary?: {
483
+ title?: string;
484
+ };
485
+ tools?: {
486
+ [key: string]: boolean;
487
+ };
488
+ system?: string;
489
+ variant?: string;
490
+ parts?: Array<TextPartInput | FilePartInput>;
491
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionInputResponses, SessionInputErrors, ThrowOnError, "fields">;
492
+ /**
493
+ * Guide current run with inbox item
494
+ *
495
+ * Promote a queued user message so it is added before the next model request in the current run.
496
+ */
497
+ inboxGuide<ThrowOnError extends boolean = false>(parameters: {
498
+ sessionID: string;
499
+ itemID: string;
500
+ directory?: string;
501
+ scopeID?: string;
502
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionInboxGuideResponses, SessionInboxGuideErrors, ThrowOnError, "fields">;
503
+ /**
504
+ * Remove inbox item
505
+ *
506
+ * Remove a queued user message from the session inbox.
507
+ */
508
+ inboxRemove<ThrowOnError extends boolean = false>(parameters: {
509
+ sessionID: string;
510
+ itemID: string;
511
+ directory?: string;
512
+ scopeID?: string;
513
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionInboxRemoveResponses, SessionInboxRemoveErrors, ThrowOnError, "fields">;
453
514
  /**
454
515
  * Summarize session
455
516
  *
@@ -689,6 +750,17 @@ export declare class Observability extends HeyApiClient {
689
750
  diagnostics: Diagnostics;
690
751
  }
691
752
  export declare class Credentials extends HeyApiClient {
753
+ /**
754
+ * Import provider credentials
755
+ *
756
+ * Import credentials from a local provider-specific credential source.
757
+ */
758
+ importCredentials<ThrowOnError extends boolean = false>(parameters: {
759
+ providerID: string;
760
+ directory?: string;
761
+ scopeID?: string;
762
+ method?: number;
763
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderCredentialsImportCredentialsResponses, ProviderCredentialsImportCredentialsErrors, ThrowOnError, "fields">;
692
764
  /**
693
765
  * Check local credential status
694
766
  *
@@ -1159,6 +1231,16 @@ export declare class Domain extends HeyApiClient {
1159
1231
  scopeID?: string;
1160
1232
  configDomainUpdateInput?: ConfigDomainUpdateInput;
1161
1233
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigDomainUpdateResponses, ConfigDomainUpdateErrors, ThrowOnError, "fields">;
1234
+ /**
1235
+ * Open config domain file
1236
+ *
1237
+ * Materialize and open one canonical global config domain file with the operating system default.
1238
+ */
1239
+ open<ThrowOnError extends boolean = false>(parameters: {
1240
+ domain: "general" | "models" | "providers" | "library" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime";
1241
+ directory?: string;
1242
+ scopeID?: string;
1243
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigDomainOpenResponses, ConfigDomainOpenErrors, ThrowOnError, "fields">;
1162
1244
  }
1163
1245
  export declare class Import extends HeyApiClient {
1164
1246
  /**
@@ -1477,6 +1559,27 @@ export declare class Command extends HeyApiClient {
1477
1559
  scopeID?: string;
1478
1560
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CommandListResponses, unknown, ThrowOnError, "fields">;
1479
1561
  }
1562
+ export declare class Usage extends HeyApiClient {
1563
+ /**
1564
+ * List provider account usage
1565
+ *
1566
+ * Retrieve account usage snapshots for connected providers that expose usage information.
1567
+ */
1568
+ list<ThrowOnError extends boolean = false>(parameters?: {
1569
+ directory?: string;
1570
+ scopeID?: string;
1571
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderUsageListResponses, unknown, ThrowOnError, "fields">;
1572
+ /**
1573
+ * Get provider account usage
1574
+ *
1575
+ * Retrieve account usage and quota windows for a provider.
1576
+ */
1577
+ get<ThrowOnError extends boolean = false>(parameters: {
1578
+ providerID: string;
1579
+ directory?: string;
1580
+ scopeID?: string;
1581
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderUsageGetResponses, ProviderUsageGetErrors, ThrowOnError, "fields">;
1582
+ }
1480
1583
  export declare class Oauth extends HeyApiClient {
1481
1584
  /**
1482
1585
  * OAuth authorize
@@ -1521,7 +1624,9 @@ export declare class Provider extends HeyApiClient {
1521
1624
  directory?: string;
1522
1625
  scopeID?: string;
1523
1626
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderAuthResponses, unknown, ThrowOnError, "fields">;
1627
+ usage: Usage;
1524
1628
  oauth: Oauth;
1629
+ credentials: Credentials;
1525
1630
  }
1526
1631
  export declare class Skill extends HeyApiClient {
1527
1632
  /**
@@ -840,6 +840,107 @@ export class Session extends HeyApiClient {
840
840
  ...params,
841
841
  });
842
842
  }
843
+ /**
844
+ * List session inbox items
845
+ *
846
+ * Get active queued user messages and agent updates for a session.
847
+ */
848
+ inbox(parameters, options) {
849
+ const params = buildClientParams([parameters], [
850
+ {
851
+ args: [
852
+ { in: "path", key: "sessionID" },
853
+ { in: "query", key: "directory" },
854
+ { in: "query", key: "scopeID" },
855
+ ],
856
+ },
857
+ ]);
858
+ return (options?.client ?? this.client).get({
859
+ url: "/session/{sessionID}/inbox",
860
+ ...options,
861
+ ...params,
862
+ });
863
+ }
864
+ /**
865
+ * Submit session input
866
+ *
867
+ * Submit user input to a session. If the session is running, the input is queued in the session inbox; otherwise a new turn starts immediately.
868
+ */
869
+ input(parameters, options) {
870
+ const params = buildClientParams([parameters], [
871
+ {
872
+ args: [
873
+ { in: "path", key: "sessionID" },
874
+ { in: "query", key: "directory" },
875
+ { in: "query", key: "scopeID" },
876
+ { in: "body", key: "messageID" },
877
+ { in: "body", key: "model" },
878
+ { in: "body", key: "agent" },
879
+ { in: "body", key: "noReply" },
880
+ { in: "body", key: "metadata" },
881
+ { in: "body", key: "summary" },
882
+ { in: "body", key: "tools" },
883
+ { in: "body", key: "system" },
884
+ { in: "body", key: "variant" },
885
+ { in: "body", key: "parts" },
886
+ ],
887
+ },
888
+ ]);
889
+ return (options?.client ?? this.client).post({
890
+ url: "/session/{sessionID}/input",
891
+ ...options,
892
+ ...params,
893
+ headers: {
894
+ "Content-Type": "application/json",
895
+ ...options?.headers,
896
+ ...params.headers,
897
+ },
898
+ });
899
+ }
900
+ /**
901
+ * Guide current run with inbox item
902
+ *
903
+ * Promote a queued user message so it is added before the next model request in the current run.
904
+ */
905
+ inboxGuide(parameters, options) {
906
+ const params = buildClientParams([parameters], [
907
+ {
908
+ args: [
909
+ { in: "path", key: "sessionID" },
910
+ { in: "path", key: "itemID" },
911
+ { in: "query", key: "directory" },
912
+ { in: "query", key: "scopeID" },
913
+ ],
914
+ },
915
+ ]);
916
+ return (options?.client ?? this.client).post({
917
+ url: "/session/{sessionID}/inbox/{itemID}/guide",
918
+ ...options,
919
+ ...params,
920
+ });
921
+ }
922
+ /**
923
+ * Remove inbox item
924
+ *
925
+ * Remove a queued user message from the session inbox.
926
+ */
927
+ inboxRemove(parameters, options) {
928
+ const params = buildClientParams([parameters], [
929
+ {
930
+ args: [
931
+ { in: "path", key: "sessionID" },
932
+ { in: "path", key: "itemID" },
933
+ { in: "query", key: "directory" },
934
+ { in: "query", key: "scopeID" },
935
+ ],
936
+ },
937
+ ]);
938
+ return (options?.client ?? this.client).delete({
939
+ url: "/session/{sessionID}/inbox/{itemID}",
940
+ ...options,
941
+ ...params,
942
+ });
943
+ }
843
944
  /**
844
945
  * Summarize session
845
946
  *
@@ -1234,6 +1335,33 @@ export class Observability extends HeyApiClient {
1234
1335
  diagnostics = new Diagnostics({ client: this.client });
1235
1336
  }
1236
1337
  export class Credentials extends HeyApiClient {
1338
+ /**
1339
+ * Import provider credentials
1340
+ *
1341
+ * Import credentials from a local provider-specific credential source.
1342
+ */
1343
+ importCredentials(parameters, options) {
1344
+ const params = buildClientParams([parameters], [
1345
+ {
1346
+ args: [
1347
+ { in: "path", key: "providerID" },
1348
+ { in: "query", key: "directory" },
1349
+ { in: "query", key: "scopeID" },
1350
+ { in: "body", key: "method" },
1351
+ ],
1352
+ },
1353
+ ]);
1354
+ return (options?.client ?? this.client).post({
1355
+ url: "/provider/{providerID}/import",
1356
+ ...options,
1357
+ ...params,
1358
+ headers: {
1359
+ "Content-Type": "application/json",
1360
+ ...options?.headers,
1361
+ ...params.headers,
1362
+ },
1363
+ });
1364
+ }
1237
1365
  /**
1238
1366
  * Check local credential status
1239
1367
  *
@@ -2227,6 +2355,27 @@ export class Domain extends HeyApiClient {
2227
2355
  },
2228
2356
  });
2229
2357
  }
2358
+ /**
2359
+ * Open config domain file
2360
+ *
2361
+ * Materialize and open one canonical global config domain file with the operating system default.
2362
+ */
2363
+ open(parameters, options) {
2364
+ const params = buildClientParams([parameters], [
2365
+ {
2366
+ args: [
2367
+ { in: "path", key: "domain" },
2368
+ { in: "query", key: "directory" },
2369
+ { in: "query", key: "scopeID" },
2370
+ ],
2371
+ },
2372
+ ]);
2373
+ return (options?.client ?? this.client).post({
2374
+ url: "/config/domains/{domain}/open",
2375
+ ...options,
2376
+ ...params,
2377
+ });
2378
+ }
2230
2379
  }
2231
2380
  export class Import extends HeyApiClient {
2232
2381
  /**
@@ -2904,6 +3053,49 @@ export class Command extends HeyApiClient {
2904
3053
  });
2905
3054
  }
2906
3055
  }
3056
+ export class Usage extends HeyApiClient {
3057
+ /**
3058
+ * List provider account usage
3059
+ *
3060
+ * Retrieve account usage snapshots for connected providers that expose usage information.
3061
+ */
3062
+ list(parameters, options) {
3063
+ const params = buildClientParams([parameters], [
3064
+ {
3065
+ args: [
3066
+ { in: "query", key: "directory" },
3067
+ { in: "query", key: "scopeID" },
3068
+ ],
3069
+ },
3070
+ ]);
3071
+ return (options?.client ?? this.client).get({
3072
+ url: "/provider/usage",
3073
+ ...options,
3074
+ ...params,
3075
+ });
3076
+ }
3077
+ /**
3078
+ * Get provider account usage
3079
+ *
3080
+ * Retrieve account usage and quota windows for a provider.
3081
+ */
3082
+ get(parameters, options) {
3083
+ const params = buildClientParams([parameters], [
3084
+ {
3085
+ args: [
3086
+ { in: "path", key: "providerID" },
3087
+ { in: "query", key: "directory" },
3088
+ { in: "query", key: "scopeID" },
3089
+ ],
3090
+ },
3091
+ ]);
3092
+ return (options?.client ?? this.client).get({
3093
+ url: "/provider/{providerID}/usage",
3094
+ ...options,
3095
+ ...params,
3096
+ });
3097
+ }
3098
+ }
2907
3099
  export class Oauth extends HeyApiClient {
2908
3100
  /**
2909
3101
  * OAuth authorize
@@ -3002,7 +3194,9 @@ export class Provider extends HeyApiClient {
3002
3194
  ...params,
3003
3195
  });
3004
3196
  }
3197
+ usage = new Usage({ client: this.client });
3005
3198
  oauth = new Oauth({ client: this.client });
3199
+ credentials = new Credentials({ client: this.client });
3006
3200
  }
3007
3201
  export class Skill extends HeyApiClient {
3008
3202
  /**
@@ -887,6 +887,31 @@ export type PluginMarketplaceConfig = {
887
887
  */
888
888
  offlineCache?: boolean;
889
889
  };
890
+ /**
891
+ * Signed remote provider catalog configuration
892
+ */
893
+ export type ProviderCatalogConfig = {
894
+ /**
895
+ * Enable signed remote provider catalog updates
896
+ */
897
+ enabled?: boolean;
898
+ /**
899
+ * Signed provider catalog URL. The signature is fetched from the same URL plus .sig.
900
+ */
901
+ registryUrl?: string;
902
+ /**
903
+ * Base64 Ed25519 public key used to verify provider catalog signatures
904
+ */
905
+ publicKey?: string;
906
+ /**
907
+ * Provider catalog cache TTL in milliseconds
908
+ */
909
+ cacheTtlMs?: number;
910
+ /**
911
+ * Use the last verified provider catalog when offline
912
+ */
913
+ offlineCache?: boolean;
914
+ };
890
915
  export type PermissionActionConfig = "ask" | "allow" | "deny";
891
916
  export type PermissionObjectConfig = {
892
917
  [key: string]: PermissionActionConfig;
@@ -1843,6 +1868,7 @@ export type Config = {
1843
1868
  * When set, ONLY these providers will be enabled. All other providers will be ignored
1844
1869
  */
1845
1870
  enabled_providers?: Array<string>;
1871
+ providerCatalog?: ProviderCatalogConfig;
1846
1872
  /**
1847
1873
  * Default model in the format of provider/model, eg anthropic/claude-sonnet-4-5
1848
1874
  */
@@ -1961,6 +1987,14 @@ export type Config = {
1961
1987
  * Additional instruction files or patterns to include
1962
1988
  */
1963
1989
  instructions?: Array<string>;
1990
+ /**
1991
+ * Ordered fallback instruction filenames to try when AGENTS.md is missing in a directory
1992
+ */
1993
+ project_doc_fallback_filenames?: Array<string>;
1994
+ /**
1995
+ * Maximum bytes to include from each automatically discovered instruction file (default: 32768; 0 disables automatic discovery)
1996
+ */
1997
+ project_doc_max_bytes?: number;
1964
1998
  layout?: LayoutConfig;
1965
1999
  permission?: PermissionConfig;
1966
2000
  /**
@@ -2068,6 +2102,16 @@ export type ConfigDomainUpdateInput = {
2068
2102
  config: Config;
2069
2103
  mode?: "merge" | "replace-domain" | "append";
2070
2104
  };
2105
+ export type ConfigDomainOpenResponse = {
2106
+ success: true;
2107
+ path: string;
2108
+ };
2109
+ export type ConfigDomainOpenError = {
2110
+ success: false;
2111
+ error: string;
2112
+ message: string;
2113
+ path?: string;
2114
+ };
2071
2115
  export type ConfigDomainImportChange = {
2072
2116
  key: string;
2073
2117
  before?: unknown;
@@ -2390,6 +2434,10 @@ export type Session = {
2390
2434
  * Tool names pre-authorized by the user via system scheduling (e.g. agenda wake). Bypasses the ask gate for these tools within this session only.
2391
2435
  */
2392
2436
  preAuthorizedActions?: Array<string>;
2437
+ toolState?: {
2438
+ expandedGroups?: Array<string>;
2439
+ activatedTools?: Array<string>;
2440
+ };
2393
2441
  pendingReply?: boolean;
2394
2442
  interaction?: SessionInteraction;
2395
2443
  agenda?: {
@@ -2526,6 +2574,101 @@ export type SessionAgendaResponse = {
2526
2574
  total: number;
2527
2575
  hasMore: boolean;
2528
2576
  };
2577
+ export type SessionInboxItemSource = {
2578
+ type: string;
2579
+ label?: string;
2580
+ [key: string]: unknown | string | undefined;
2581
+ };
2582
+ export type SessionInboxItem = {
2583
+ id: string;
2584
+ sessionID: string;
2585
+ kind: "queued_user" | "guiding" | "agent_update";
2586
+ state: "queued" | "guiding";
2587
+ deliveryTarget: "after_turn" | "next_model_call";
2588
+ summary: {
2589
+ title: string;
2590
+ preview?: string;
2591
+ };
2592
+ detail?: {
2593
+ text?: string;
2594
+ attachments?: Array<string>;
2595
+ };
2596
+ source: SessionInboxItemSource;
2597
+ time: {
2598
+ created: number;
2599
+ updated?: number;
2600
+ };
2601
+ orderKey: string;
2602
+ messageID?: string;
2603
+ };
2604
+ export type SessionInputResult = {
2605
+ status: "started";
2606
+ messageID: string;
2607
+ } | {
2608
+ status: "queued";
2609
+ item: SessionInboxItem;
2610
+ };
2611
+ export type TextPartInput = {
2612
+ id?: string;
2613
+ type: "text";
2614
+ text: string;
2615
+ synthetic?: boolean;
2616
+ ignored?: boolean;
2617
+ time?: {
2618
+ start: number;
2619
+ end?: number;
2620
+ };
2621
+ metadata?: {
2622
+ [key: string]: unknown;
2623
+ };
2624
+ };
2625
+ export type FilePartSourceText = {
2626
+ value: string;
2627
+ start: number;
2628
+ end: number;
2629
+ };
2630
+ export type FileSource = {
2631
+ text: FilePartSourceText;
2632
+ type: "file";
2633
+ path: string;
2634
+ };
2635
+ export type Range = {
2636
+ start: {
2637
+ line: number;
2638
+ character: number;
2639
+ };
2640
+ end: {
2641
+ line: number;
2642
+ character: number;
2643
+ };
2644
+ };
2645
+ export type SymbolSource = {
2646
+ text: FilePartSourceText;
2647
+ type: "symbol";
2648
+ path: string;
2649
+ range: Range;
2650
+ name: string;
2651
+ kind: number;
2652
+ };
2653
+ export type ResourceSource = {
2654
+ text: FilePartSourceText;
2655
+ type: "resource";
2656
+ clientName: string;
2657
+ uri: string;
2658
+ };
2659
+ export type FilePartSource = FileSource | SymbolSource | ResourceSource;
2660
+ export type FilePartInput = {
2661
+ id?: string;
2662
+ type: "file";
2663
+ mime: string;
2664
+ filename?: string;
2665
+ url: string;
2666
+ localPath?: string;
2667
+ source?: FilePartSource;
2668
+ metadata?: {
2669
+ [key: string]: unknown;
2670
+ };
2671
+ };
2529
2672
  export type UserMessage = {
2530
2673
  id: string;
2531
2674
  sessionID: string;
@@ -2657,41 +2800,6 @@ export type ReasoningPart = {
2657
2800
  end?: number;
2658
2801
  };
2659
2802
  };
2660
- export type FilePartSourceText = {
2661
- value: string;
2662
- start: number;
2663
- end: number;
2664
- };
2665
- export type FileSource = {
2666
- text: FilePartSourceText;
2667
- type: "file";
2668
- path: string;
2669
- };
2670
- export type Range = {
2671
- start: {
2672
- line: number;
2673
- character: number;
2674
- };
2675
- end: {
2676
- line: number;
2677
- character: number;
2678
- };
2679
- };
2680
- export type SymbolSource = {
2681
- text: FilePartSourceText;
2682
- type: "symbol";
2683
- path: string;
2684
- range: Range;
2685
- name: string;
2686
- kind: number;
2687
- };
2688
- export type ResourceSource = {
2689
- text: FilePartSourceText;
2690
- type: "resource";
2691
- clientName: string;
2692
- uri: string;
2693
- };
2694
- export type FilePartSource = FileSource | SymbolSource | ResourceSource;
2695
2803
  export type FilePart = {
2696
2804
  id: string;
2697
2805
  sessionID: string;
@@ -2837,32 +2945,6 @@ export type CompactionPart = {
2837
2945
  auto: boolean;
2838
2946
  };
2839
2947
  export type Part = TextPart | ReasoningPart | FilePart | ToolPart | StepStartPart | StepFinishPart | SnapshotPart | PatchPart | RetryPart | CompactionPart;
2840
- export type TextPartInput = {
2841
- id?: string;
2842
- type: "text";
2843
- text: string;
2844
- synthetic?: boolean;
2845
- ignored?: boolean;
2846
- time?: {
2847
- start: number;
2848
- end?: number;
2849
- };
2850
- metadata?: {
2851
- [key: string]: unknown;
2852
- };
2853
- };
2854
- export type FilePartInput = {
2855
- id?: string;
2856
- type: "file";
2857
- mime: string;
2858
- filename?: string;
2859
- url: string;
2860
- localPath?: string;
2861
- source?: FilePartSource;
2862
- metadata?: {
2863
- [key: string]: unknown;
2864
- };
2865
- };
2866
2948
  export type SessionRollbackEvent = {
2867
2949
  id: string;
2868
2950
  sessionID: string;
@@ -3052,8 +3134,51 @@ export type Command = {
3052
3134
  template?: string;
3053
3135
  hints: Array<string>;
3054
3136
  };
3137
+ export type ProviderAuthHealth = {
3138
+ providerID: string;
3139
+ status: "connected" | "not_configured" | "expired" | "exhausted" | "dead";
3140
+ authKind?: string;
3141
+ source?: string;
3142
+ updatedAt?: number;
3143
+ reloginRequired?: boolean;
3144
+ cooldownUntil?: number;
3145
+ resetAt?: number;
3146
+ failureCode?: string;
3147
+ };
3148
+ export type ProviderRuntimeAvailability = {
3149
+ providerID: string;
3150
+ available: boolean;
3151
+ reason?: "connected" | "not_connected" | "disabled" | "no_models";
3152
+ healthCheck?: "models" | "none";
3153
+ modelCount: number;
3154
+ };
3155
+ export type AccountUsageWindow = {
3156
+ label: string;
3157
+ usedPercent?: number;
3158
+ remainingPercent?: number;
3159
+ resetAt?: string;
3160
+ detail?: string;
3161
+ };
3162
+ export type AccountUsageCredits = {
3163
+ hasCredits?: boolean;
3164
+ balance?: number;
3165
+ unlimited?: boolean;
3166
+ currency?: string;
3167
+ };
3168
+ export type AccountUsageSnapshot = {
3169
+ providerID: string;
3170
+ status: "available" | "unavailable" | "error";
3171
+ source?: string;
3172
+ fetchedAt: string;
3173
+ plan?: string;
3174
+ windows: Array<AccountUsageWindow>;
3175
+ details: Array<string>;
3176
+ credits?: AccountUsageCredits;
3177
+ reloginRequired?: boolean;
3178
+ unavailableReason?: string;
3179
+ };
3055
3180
  export type ProviderAuthMethod = {
3056
- type: "oauth" | "api";
3181
+ type: "oauth" | "api" | "import";
3057
3182
  label: string;
3058
3183
  };
3059
3184
  export type ProviderAuthAuthorization = {
@@ -3976,20 +4101,32 @@ export type OAuth = {
3976
4101
  access: string;
3977
4102
  expires: number;
3978
4103
  enterpriseUrl?: string;
4104
+ metadata?: {
4105
+ [key: string]: unknown;
4106
+ };
3979
4107
  };
3980
4108
  export type ApiAuth = {
3981
4109
  type: "api";
3982
4110
  key: string;
4111
+ metadata?: {
4112
+ [key: string]: unknown;
4113
+ };
3983
4114
  };
3984
4115
  export type WellKnownAuth = {
3985
4116
  type: "wellknown";
3986
4117
  key: string;
3987
4118
  token: string;
4119
+ metadata?: {
4120
+ [key: string]: unknown;
4121
+ };
3988
4122
  };
3989
4123
  export type HolosAuth = {
3990
4124
  type: "holos";
3991
4125
  agentId: string;
3992
4126
  agentSecret: string;
4127
+ metadata?: {
4128
+ [key: string]: unknown;
4129
+ };
3993
4130
  };
3994
4131
  export type Auth = OAuth | ApiAuth | WellKnownAuth | HolosAuth;
3995
4132
  export type EventScopeUpdated = {
@@ -4179,6 +4316,13 @@ export type EventSessionIdle = {
4179
4316
  sessionID: string;
4180
4317
  };
4181
4318
  };
4319
+ export type EventSessionInboxUpdated = {
4320
+ type: "session.inbox.updated";
4321
+ properties: {
4322
+ sessionID: string;
4323
+ items: Array<SessionInboxItem>;
4324
+ };
4325
+ };
4182
4326
  export type EventNoteCreated = {
4183
4327
  type: "note.created";
4184
4328
  properties: {
@@ -4443,7 +4587,7 @@ export type EventGlobalDisposed = {
4443
4587
  [key: string]: unknown;
4444
4588
  };
4445
4589
  };
4446
- export type Event = EventScopeUpdated | EventScopeRemoved | EventScopeRuntimeDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventConfigUpdated | EventMcpToolsChanged | EventMcpPromptsChanged | EventMcpResourcesChanged | EventMcpReady | EventMcpFailed | EventCommandExecuted | EventFileEdited | EventFileWatcherUpdated | EventLspClientDiagnostics | EventLspUpdated | EventVcsBranchUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSessionStatus | EventSessionIdle | EventNoteCreated | EventNoteUpdated | EventNoteDeleted | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventQuestionTimedOut | EventRuntimeReloaded | EventDagUpdated | EventTodoUpdated | EventBlueprintLoopCreated | EventBlueprintLoopUpdated | EventBlueprintLoopCompleted | EventBlueprintLoopFailed | EventBlueprintLoopCancelled | EventBlueprintLoopAuditing | EventBlueprintLoopRestarted | EventSessionCompacted | EventAgendaItemCreated | EventAgendaItemUpdated | EventAgendaItemDeleted | EventCortexTaskCreated | EventCortexTaskCompleted | EventCortexTasksUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventChannelCommandExecuted | EventChannelConnected | EventChannelDisconnected | EventChannelMessageReceived | EventHolosContactAdded | EventHolosContactRemoved | EventHolosContactUpdated | EventHolosConnected | EventHolosConnectionStatusChanged | EventHolosPresence | EventServerConnected | EventGlobalDisposed;
4590
+ export type Event = EventScopeUpdated | EventScopeRemoved | EventScopeRuntimeDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventConfigUpdated | EventMcpToolsChanged | EventMcpPromptsChanged | EventMcpResourcesChanged | EventMcpReady | EventMcpFailed | EventCommandExecuted | EventFileEdited | EventFileWatcherUpdated | EventLspClientDiagnostics | EventLspUpdated | EventVcsBranchUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSessionStatus | EventSessionIdle | EventSessionInboxUpdated | EventNoteCreated | EventNoteUpdated | EventNoteDeleted | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventQuestionTimedOut | EventRuntimeReloaded | EventDagUpdated | EventTodoUpdated | EventBlueprintLoopCreated | EventBlueprintLoopUpdated | EventBlueprintLoopCompleted | EventBlueprintLoopFailed | EventBlueprintLoopCancelled | EventBlueprintLoopAuditing | EventBlueprintLoopRestarted | EventSessionCompacted | EventAgendaItemCreated | EventAgendaItemUpdated | EventAgendaItemDeleted | EventCortexTaskCreated | EventCortexTaskCompleted | EventCortexTasksUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventChannelCommandExecuted | EventChannelConnected | EventChannelDisconnected | EventChannelMessageReceived | EventHolosContactAdded | EventHolosContactRemoved | EventHolosContactUpdated | EventHolosConnected | EventHolosConnectionStatusChanged | EventHolosPresence | EventServerConnected | EventGlobalDisposed;
4447
4591
  export type GlobalHealthData = {
4448
4592
  body?: never;
4449
4593
  path?: never;
@@ -5356,6 +5500,35 @@ export type ConfigDomainUpdateResponses = {
5356
5500
  200: Config;
5357
5501
  };
5358
5502
  export type ConfigDomainUpdateResponse = ConfigDomainUpdateResponses[keyof ConfigDomainUpdateResponses];
5503
+ export type ConfigDomainOpenData = {
5504
+ body?: never;
5505
+ path: {
5506
+ domain: "general" | "models" | "providers" | "library" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime";
5507
+ };
5508
+ query?: {
5509
+ directory?: string;
5510
+ scopeID?: string;
5511
+ };
5512
+ url: "/config/domains/{domain}/open";
5513
+ };
5514
+ export type ConfigDomainOpenErrors = {
5515
+ /**
5516
+ * Unsupported platform
5517
+ */
5518
+ 400: ConfigDomainOpenError;
5519
+ /**
5520
+ * Failed to open config domain file
5521
+ */
5522
+ 500: ConfigDomainOpenError;
5523
+ };
5524
+ export type ConfigDomainOpenError2 = ConfigDomainOpenErrors[keyof ConfigDomainOpenErrors];
5525
+ export type ConfigDomainOpenResponses = {
5526
+ /**
5527
+ * Opened config domain file
5528
+ */
5529
+ 200: ConfigDomainOpenResponse;
5530
+ };
5531
+ export type ConfigDomainOpenResponse2 = ConfigDomainOpenResponses[keyof ConfigDomainOpenResponses];
5359
5532
  export type ConfigImportPlanData = {
5360
5533
  body?: ConfigDomainImportPlanInput;
5361
5534
  path?: never;
@@ -6115,6 +6288,165 @@ export type SessionAbortResponses = {
6115
6288
  200: boolean;
6116
6289
  };
6117
6290
  export type SessionAbortResponse = SessionAbortResponses[keyof SessionAbortResponses];
6291
+ export type SessionInboxData = {
6292
+ body?: never;
6293
+ path: {
6294
+ /**
6295
+ * Session ID
6296
+ */
6297
+ sessionID: string;
6298
+ };
6299
+ query?: {
6300
+ directory?: string;
6301
+ scopeID?: string;
6302
+ };
6303
+ url: "/session/{sessionID}/inbox";
6304
+ };
6305
+ export type SessionInboxErrors = {
6306
+ /**
6307
+ * Bad request
6308
+ */
6309
+ 400: BadRequestError;
6310
+ /**
6311
+ * Not found
6312
+ */
6313
+ 404: NotFoundError;
6314
+ };
6315
+ export type SessionInboxError = SessionInboxErrors[keyof SessionInboxErrors];
6316
+ export type SessionInboxResponses = {
6317
+ /**
6318
+ * Session inbox items
6319
+ */
6320
+ 200: Array<SessionInboxItem>;
6321
+ };
6322
+ export type SessionInboxResponse = SessionInboxResponses[keyof SessionInboxResponses];
6323
+ export type SessionInputData = {
6324
+ body?: {
6325
+ messageID?: string;
6326
+ model?: {
6327
+ providerID: string;
6328
+ modelID: string;
6329
+ };
6330
+ agent?: string;
6331
+ noReply?: boolean;
6332
+ metadata?: {
6333
+ [key: string]: unknown;
6334
+ };
6335
+ summary?: {
6336
+ title?: string;
6337
+ };
6338
+ /**
6339
+ * Per-prompt tool visibility toggle. Does not affect session permissions.
6340
+ */
6341
+ tools?: {
6342
+ [key: string]: boolean;
6343
+ };
6344
+ system?: string;
6345
+ variant?: string;
6346
+ parts: Array<TextPartInput | FilePartInput>;
6347
+ };
6348
+ path: {
6349
+ /**
6350
+ * Session ID
6351
+ */
6352
+ sessionID: string;
6353
+ };
6354
+ query?: {
6355
+ directory?: string;
6356
+ scopeID?: string;
6357
+ };
6358
+ url: "/session/{sessionID}/input";
6359
+ };
6360
+ export type SessionInputErrors = {
6361
+ /**
6362
+ * Bad request
6363
+ */
6364
+ 400: BadRequestError;
6365
+ /**
6366
+ * Not found
6367
+ */
6368
+ 404: NotFoundError;
6369
+ };
6370
+ export type SessionInputError = SessionInputErrors[keyof SessionInputErrors];
6371
+ export type SessionInputResponses = {
6372
+ /**
6373
+ * Input accepted
6374
+ */
6375
+ 200: SessionInputResult;
6376
+ };
6377
+ export type SessionInputResponse = SessionInputResponses[keyof SessionInputResponses];
6378
+ export type SessionInboxGuideData = {
6379
+ body?: never;
6380
+ path: {
6381
+ /**
6382
+ * Session ID
6383
+ */
6384
+ sessionID: string;
6385
+ /**
6386
+ * Inbox item ID
6387
+ */
6388
+ itemID: string;
6389
+ };
6390
+ query?: {
6391
+ directory?: string;
6392
+ scopeID?: string;
6393
+ };
6394
+ url: "/session/{sessionID}/inbox/{itemID}/guide";
6395
+ };
6396
+ export type SessionInboxGuideErrors = {
6397
+ /**
6398
+ * Bad request
6399
+ */
6400
+ 400: BadRequestError;
6401
+ /**
6402
+ * Not found
6403
+ */
6404
+ 404: NotFoundError;
6405
+ };
6406
+ export type SessionInboxGuideError = SessionInboxGuideErrors[keyof SessionInboxGuideErrors];
6407
+ export type SessionInboxGuideResponses = {
6408
+ /**
6409
+ * Promoted inbox item
6410
+ */
6411
+ 200: SessionInboxItem;
6412
+ };
6413
+ export type SessionInboxGuideResponse = SessionInboxGuideResponses[keyof SessionInboxGuideResponses];
6414
+ export type SessionInboxRemoveData = {
6415
+ body?: never;
6416
+ path: {
6417
+ /**
6418
+ * Session ID
6419
+ */
6420
+ sessionID: string;
6421
+ /**
6422
+ * Inbox item ID
6423
+ */
6424
+ itemID: string;
6425
+ };
6426
+ query?: {
6427
+ directory?: string;
6428
+ scopeID?: string;
6429
+ };
6430
+ url: "/session/{sessionID}/inbox/{itemID}";
6431
+ };
6432
+ export type SessionInboxRemoveErrors = {
6433
+ /**
6434
+ * Bad request
6435
+ */
6436
+ 400: BadRequestError;
6437
+ /**
6438
+ * Not found
6439
+ */
6440
+ 404: NotFoundError;
6441
+ };
6442
+ export type SessionInboxRemoveError = SessionInboxRemoveErrors[keyof SessionInboxRemoveErrors];
6443
+ export type SessionInboxRemoveResponses = {
6444
+ /**
6445
+ * Inbox item removed
6446
+ */
6447
+ 204: void;
6448
+ };
6449
+ export type SessionInboxRemoveResponse = SessionInboxRemoveResponses[keyof SessionInboxRemoveResponses];
6118
6450
  export type SessionSummarizeData = {
6119
6451
  body?: {
6120
6452
  providerID: string;
@@ -7071,9 +7403,62 @@ export type ProviderListResponses = {
7071
7403
  };
7072
7404
  connected: Array<string>;
7073
7405
  configProviders: Array<string>;
7406
+ catalogProviders: Array<string>;
7407
+ authHealth: {
7408
+ [key: string]: ProviderAuthHealth;
7409
+ };
7410
+ runtimeAvailability: {
7411
+ [key: string]: ProviderRuntimeAvailability;
7412
+ };
7074
7413
  };
7075
7414
  };
7076
7415
  export type ProviderListResponse = ProviderListResponses[keyof ProviderListResponses];
7416
+ export type ProviderUsageListData = {
7417
+ body?: never;
7418
+ path?: never;
7419
+ query?: {
7420
+ directory?: string;
7421
+ scopeID?: string;
7422
+ };
7423
+ url: "/provider/usage";
7424
+ };
7425
+ export type ProviderUsageListResponses = {
7426
+ /**
7427
+ * Provider account usage snapshots
7428
+ */
7429
+ 200: {
7430
+ [key: string]: AccountUsageSnapshot;
7431
+ };
7432
+ };
7433
+ export type ProviderUsageListResponse = ProviderUsageListResponses[keyof ProviderUsageListResponses];
7434
+ export type ProviderUsageGetData = {
7435
+ body?: never;
7436
+ path: {
7437
+ /**
7438
+ * Provider ID
7439
+ */
7440
+ providerID: string;
7441
+ };
7442
+ query?: {
7443
+ directory?: string;
7444
+ scopeID?: string;
7445
+ };
7446
+ url: "/provider/{providerID}/usage";
7447
+ };
7448
+ export type ProviderUsageGetErrors = {
7449
+ /**
7450
+ * Bad request
7451
+ */
7452
+ 400: BadRequestError;
7453
+ };
7454
+ export type ProviderUsageGetError = ProviderUsageGetErrors[keyof ProviderUsageGetErrors];
7455
+ export type ProviderUsageGetResponses = {
7456
+ /**
7457
+ * Provider account usage snapshot
7458
+ */
7459
+ 200: AccountUsageSnapshot;
7460
+ };
7461
+ export type ProviderUsageGetResponse = ProviderUsageGetResponses[keyof ProviderUsageGetResponses];
7077
7462
  export type ProviderAuthData = {
7078
7463
  body?: never;
7079
7464
  path?: never;
@@ -7162,6 +7547,39 @@ export type ProviderOauthCallbackResponses = {
7162
7547
  200: boolean;
7163
7548
  };
7164
7549
  export type ProviderOauthCallbackResponse = ProviderOauthCallbackResponses[keyof ProviderOauthCallbackResponses];
7550
+ export type ProviderCredentialsImportCredentialsData = {
7551
+ body?: {
7552
+ /**
7553
+ * Auth method index
7554
+ */
7555
+ method: number;
7556
+ };
7557
+ path: {
7558
+ /**
7559
+ * Provider ID
7560
+ */
7561
+ providerID: string;
7562
+ };
7563
+ query?: {
7564
+ directory?: string;
7565
+ scopeID?: string;
7566
+ };
7567
+ url: "/provider/{providerID}/import";
7568
+ };
7569
+ export type ProviderCredentialsImportCredentialsErrors = {
7570
+ /**
7571
+ * Bad request
7572
+ */
7573
+ 400: BadRequestError;
7574
+ };
7575
+ export type ProviderCredentialsImportCredentialsError = ProviderCredentialsImportCredentialsErrors[keyof ProviderCredentialsImportCredentialsErrors];
7576
+ export type ProviderCredentialsImportCredentialsResponses = {
7577
+ /**
7578
+ * Credentials imported successfully
7579
+ */
7580
+ 200: boolean;
7581
+ };
7582
+ export type ProviderCredentialsImportCredentialsResponse = ProviderCredentialsImportCredentialsResponses[keyof ProviderCredentialsImportCredentialsResponses];
7165
7583
  export type SkillListData = {
7166
7584
  body?: never;
7167
7585
  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.2.2",
4
+ "version": "2.3.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {