@nikcli-ai/sdk 1.188.0 → 1.189.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 ClientMeta, type Options as Options2, type RequestResult, type ServerSentEventsResult, type TDataShape } from "./client/index.js";
2
- import type { AgentPartInput, AnalyticsDailyResponses, AnalyticsGlobalResponses, AnalyticsLeaderboardResponses, AnalyticsSessionErrors, AnalyticsSessionResponses, AnalyticsSessionsResponses, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillCreateErrors, AppSkillCreateResponses, AppSkillDeleteErrors, AppSkillDeleteResponses, AppSkillsResponses, Auth as Auth7, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, BrainStatusResponses, BrainTriggerErrors, BrainTriggerInput, BrainTriggerResponses, CommandListResponses, Config as Config3, ConfigGetResponses, ConfigProvidersResponses, ConfigReloadResponses, ConfigUpdateErrors, ConfigUpdateResponses, ConnectorsAuthRemoveErrors, ConnectorsAuthRemoveResponses, ConnectorsAuthSetErrors, ConnectorsAuthSetResponses, ConnectorsInvalidateResponses, ConnectorsStatusResponses, DeleteConfigMcpNameResponses, DoctorRunResponses, EventSubscribeResponse, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalResourceListResponses, ExperimentalWorkspaceAdaptorListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceEventsErrors, ExperimentalWorkspaceEventsResponses, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, ExperimentalWorkspaceRestoreErrors, ExperimentalWorkspaceRestoreResponses, ExperimentalWorkspaceSessionRestoreErrors, ExperimentalWorkspaceSessionRestoreResponses, ExperimentalWorkspaceSessionWarpErrors, ExperimentalWorkspaceSessionWarpResponses, ExperimentalWorkspaceStatusResponses, ExperimentalWorkspaceSyncListResponses, ExperimentalWorkspaceWarpErrors, ExperimentalWorkspaceWarpResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FileWriteResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GetApiShareShareIdDataResponses, GetApiShareShareIdResponses, GetShareShareIdResponses, GetSShareIdResponses, GlobalDisposeResponses, GlobalEventResponse, GlobalEventResponses, GlobalHealthResponses, InstanceDisposeResponses, LoopAbortErrors, LoopAbortResponses, LoopDeleteErrors, LoopDeleteResponses, LoopGenerateErrors, LoopGenerateResponses, LoopGetErrors, LoopGetResponses, LoopListErrors, LoopListResponses, LoopPauseResponses, LoopRecentRunsResponses, LoopResumeErrors, LoopResumeResponses, LoopRunErrors, LoopRunResponses, LoopRunsResponses, LoopTemplatesResponses, LoopToggleErrors, LoopToggleResponses, LoopUpdateErrors, LoopUpdateResponses, LoopUpsertErrors, LoopUpsertResponses, LspStatusResponses, ManagedWorktreeAncestorsErrors, ManagedWorktreeAncestorsResponses, ManagedWorktreeChildrenErrors, ManagedWorktreeChildrenResponses, ManagedWorktreeCreateErrors, ManagedWorktreeCreateInput, ManagedWorktreeCreateResponses, ManagedWorktreeLinkErrors, ManagedWorktreeLinkInput, ManagedWorktreeLinkResponses, ManagedWorktreeListErrors, ManagedWorktreeListResponses, ManagedWorktreeRemoveErrors, ManagedWorktreeRemoveInput, ManagedWorktreeRemoveResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, McpToggleErrors, McpToggleResponses, Message, MissionCancelErrors, MissionCancelResponses, MissionDeleteErrors, MissionDeleteResponses, MissionExecsResponses, MissionFeatureMutateErrors, MissionFeatureMutateResponses, MissionGenerateErrors, MissionGenerateResponses, MissionGetErrors, MissionGetResponses, MissionListResponses, MissionPauseErrors, MissionPauseResponses, MissionRecentExecsResponses, MissionStartErrors, MissionStartResponses, MissionTemplatesResponses, MissionUpdateErrors, MissionUpdateResponses, MissionUpsertErrors, MissionUpsertResponses, MobileAuthTokenCreateResponses, MobileAuthTokenListResponses, MobileAuthTokenRevokeResponses, MobileBootstrapResponses, MobileCommandListResponses, MobileGitBranchesResponses, MobileGitCheckoutErrors, MobileGitCheckoutResponses, MobileGitCommitErrors, MobileGitCommitResponses, MobileGitCommitsResponses, MobileGitDiffResponses, MobileGitDiscardResponses, MobileGithubAuthRemoveResponses, MobileGithubAuthSetErrors, MobileGithubAuthSetResponses, MobileGithubBranchesResponses, MobileGithubDeviceAuthPollInput, MobileGithubImportErrors, MobileGithubImportRequest, MobileGithubImportResponses, MobileGithubImportsResponses, MobileGithubOauthClientIdSetErrors, MobileGithubOauthClientIdSetResponses, MobileGithubOauthDevicePollErrors, MobileGithubOauthDevicePollResponses, MobileGithubOauthDeviceStartErrors, MobileGithubOauthDeviceStartResponses, MobileGithubPublishInput, MobileGithubReposResponses, MobileGithubSessionCleanupErrors, MobileGithubSessionCleanupResponses, MobileGithubSessionCreateErrors, MobileGithubSessionCreateInput, MobileGithubSessionCreateResponses, MobileGithubSessionPublishErrors, MobileGithubSessionPublishResponses, MobileGitPullErrors, MobileGitPullResponses, MobileGitPushErrors, MobileGitPushResponses, MobileGitStageResponses, MobileGitStatusResponses, MobileGitUnstageResponses, MobileLoopAbortErrors, MobileLoopAbortResponses, MobileLoopCreateErrors, MobileLoopCreateResponses, MobileLoopDeleteErrors, MobileLoopDeleteResponses, MobileLoopGenerateErrors, MobileLoopGenerateInput, MobileLoopGenerateResponses, MobileLoopGetErrors, MobileLoopGetResponses, MobileLoopListErrors, MobileLoopListResponses, MobileLoopPauseErrors, MobileLoopPauseResponses, MobileLoopResumeErrors, MobileLoopResumeResponses, MobileLoopRunErrors, MobileLoopRunResponses, MobileLoopRunsErrors, MobileLoopRunsRecentErrors, MobileLoopRunsRecentResponses, MobileLoopRunsResponses, MobileLoopTemplatesResponses, MobileLoopToggleErrors, MobileLoopToggleResponses, MobileLoopUpdateErrors, MobileLoopUpdateResponses, MobileLoopWriteInput, MobileMemoryHistoryResponses, MobileMemorySearchResponses, MobileMemoryStashCreateErrors, MobileMemoryStashCreateResponses, MobileMemoryStashDeleteErrors, MobileMemoryStashDeleteResponses, MobileMemoryStashListResponses, MobilePermissionRespondResponses, MobileProjectListResponses, MobilePromptStashCreateInput, MobilePtyConnectErrors, MobilePtyConnectResponses, MobilePtyCreateErrors, MobilePtyCreateResponses, MobilePtyGetErrors, MobilePtyGetResponses, MobilePtyListResponses, MobilePtyRemoveErrors, MobilePtyRemoveResponses, MobilePtyUpdateErrors, MobilePtyUpdateResponses, MobileQuestionRejectResponses, MobileQuestionRespondResponses, MobileRoutineCreateErrors, MobileRoutineCreateInput, MobileRoutineCreateResponses, MobileRoutineDeleteErrors, MobileRoutineDeleteResponses, MobileRoutineGetErrors, MobileRoutineGetResponses, MobileRoutineListErrors, MobileRoutineListResponses, MobileRoutinePauseErrors, MobileRoutinePauseResponses, MobileRoutineResumeErrors, MobileRoutineResumeResponses, MobileRoutineRunErrors, MobileRoutineRunInput, MobileRoutineRunResponses, MobileRoutineTriggerErrors, MobileRoutineTriggerInput, MobileRoutineTriggerResponses, MobileRoutineUpdateErrors, MobileRoutineUpdateInput, MobileRoutineUpdateResponses, MobileSessionAbortResponses, MobileSessionCommandErrors, MobileSessionCommandInput, MobileSessionCommandListErrors, MobileSessionCommandListResponses, MobileSessionCommandResponses, MobileSessionCreateErrors, MobileSessionCreateInput, MobileSessionCreateResponses, MobileSessionDeleteErrors, MobileSessionDeleteResponses, MobileSessionDetailErrors, MobileSessionDetailResponses, MobileSessionDiffResponses, MobileSessionListResponses, MobileSessionMessageErrors, MobileSessionMessageResponses, MobileSessionRenameResponses, MobileSessionStreamResponses, MobileSessionTeleportErrors, MobileSessionTeleportOutErrors, MobileSessionTeleportOutResponses, MobileSessionTeleportResponses, MobileSessionTeleportUploadBeginResponses, MobileSessionTeleportUploadChunkErrors, MobileSessionTeleportUploadChunkResponses, MobileWorktreeCreateErrors, MobileWorktreeCreateResponses, MobileWorktreeRemoveResponses, MobileWorktreeResetResponses, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PatchConfigMcpNameResponses, PatchUserIdResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PostConfigMcpResponses, PostConfigProfilesActivateNameResponses, PostConfigProfilesResponses, PostUserLoginResponses, PostUserRegisterResponses, ProjectCurrentResponses, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, ProviderApiSetErrors, ProviderApiSetResponses, ProviderAuthRemoveResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, SessionAbortErrors, SessionAbortResponses, SessionBackgroundCancelErrors, SessionBackgroundCancelResponses, SessionBackgroundErrors, SessionBackgroundInspectErrors, SessionBackgroundInspectResponses, SessionBackgroundReadErrors, SessionBackgroundReadResponses, SessionBackgroundResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionContextErrors, SessionContextResponses, SessionContextToggleErrors, SessionContextToggleResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionGithub, SessionGoalErrors, SessionGoalResponses, SessionInstructionsErrors, SessionInstructionsResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionMonitorCancelErrors, SessionMonitorCancelResponses, SessionMonitorErrors, SessionMonitorLogErrors, SessionMonitorLogResponses, SessionMonitorResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShareErrors, SessionShareResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUnshareErrors, SessionUnshareResponses, SessionUpdateErrors, SessionUpdateResponses, SessionV2EntriesErrors, SessionV2EntriesResponses, SessionV2EventsErrors, SessionV2EventsResponses, SessionV2StateErrors, SessionV2StateResponses, SessionWorktree, SubtaskPartInput, SyncConfigSetErrors, SyncConfigSetResponses, SyncConnectResponses, SyncDisconnectResponses, SyncDrainResponses, SyncEventPushErrors, SyncEventPushResponses, SyncEventStreamResponses, SyncOutboxListResponses, SyncSnapshotGetErrors, SyncSnapshotGetResponses, SyncStatsResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptResponses, TuiControlNextResponses, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpResponses, TuiOpenModelsResponses, TuiOpenSessionsResponses, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastResponses, TuiSubmitPromptResponses, VcsApplyErrors, VcsApplyInput, VcsApplyResponses, VcsDiffRawResponses, VcsGetResponses, VcsStatusResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
2
+ import type { AgentPartInput, AnalyticsDailyResponses, AnalyticsGlobalResponses, AnalyticsLeaderboardResponses, AnalyticsSessionErrors, AnalyticsSessionResponses, AnalyticsSessionsResponses, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillCreateErrors, AppSkillCreateResponses, AppSkillDeleteErrors, AppSkillDeleteResponses, AppSkillsResponses, Auth as Auth7, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, BrainStatusResponses, BrainTriggerErrors, BrainTriggerInput, BrainTriggerResponses, CommandListResponses, Config as Config3, ConfigGetResponses, ConfigProvidersResponses, ConfigReloadResponses, ConfigUpdateErrors, ConfigUpdateResponses, ConnectorsAuthRemoveErrors, ConnectorsAuthRemoveResponses, ConnectorsAuthSetErrors, ConnectorsAuthSetResponses, ConnectorsInvalidateResponses, ConnectorsStatusResponses, DeleteConfigMcpNameResponses, DeleteNativeUiSurfacesIdResponses, DoctorRunResponses, EventSubscribeResponse, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalResourceListResponses, ExperimentalWorkspaceAdaptorListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceEventsErrors, ExperimentalWorkspaceEventsResponses, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, ExperimentalWorkspaceRestoreErrors, ExperimentalWorkspaceRestoreResponses, ExperimentalWorkspaceSessionRestoreErrors, ExperimentalWorkspaceSessionRestoreResponses, ExperimentalWorkspaceSessionWarpErrors, ExperimentalWorkspaceSessionWarpResponses, ExperimentalWorkspaceStatusResponses, ExperimentalWorkspaceSyncListResponses, ExperimentalWorkspaceWarpErrors, ExperimentalWorkspaceWarpResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FileWriteResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GetApiShareShareIdDataResponses, GetApiShareShareIdResponses, GetShareShareIdResponses, GetSShareIdResponses, GlobalDisposeResponses, GlobalEventResponse, GlobalEventResponses, GlobalHealthResponses, InstanceDisposeResponses, LoopAbortErrors, LoopAbortResponses, LoopDeleteErrors, LoopDeleteResponses, LoopGenerateErrors, LoopGenerateResponses, LoopGetErrors, LoopGetResponses, LoopListErrors, LoopListResponses, LoopPauseResponses, LoopRecentRunsResponses, LoopResumeErrors, LoopResumeResponses, LoopRunErrors, LoopRunResponses, LoopRunsResponses, LoopTemplatesResponses, LoopToggleErrors, LoopToggleResponses, LoopUpdateErrors, LoopUpdateResponses, LoopUpsertErrors, LoopUpsertResponses, LspStatusResponses, ManagedWorktreeAncestorsErrors, ManagedWorktreeAncestorsResponses, ManagedWorktreeChildrenErrors, ManagedWorktreeChildrenResponses, ManagedWorktreeCreateErrors, ManagedWorktreeCreateInput, ManagedWorktreeCreateResponses, ManagedWorktreeLinkErrors, ManagedWorktreeLinkInput, ManagedWorktreeLinkResponses, ManagedWorktreeListErrors, ManagedWorktreeListResponses, ManagedWorktreeRemoveErrors, ManagedWorktreeRemoveInput, ManagedWorktreeRemoveResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, McpToggleErrors, McpToggleResponses, Message, MissionCancelErrors, MissionCancelResponses, MissionDeleteErrors, MissionDeleteResponses, MissionExecsResponses, MissionFeatureMutateErrors, MissionFeatureMutateResponses, MissionGenerateErrors, MissionGenerateResponses, MissionGetErrors, MissionGetResponses, MissionListResponses, MissionPauseErrors, MissionPauseResponses, MissionRecentExecsResponses, MissionStartErrors, MissionStartResponses, MissionTemplatesResponses, MissionUpdateErrors, MissionUpdateResponses, MissionUpsertErrors, MissionUpsertResponses, MobileAuthTokenCreateResponses, MobileAuthTokenListResponses, MobileAuthTokenRevokeResponses, MobileBootstrapResponses, MobileCommandListResponses, MobileGitBranchesResponses, MobileGitCheckoutErrors, MobileGitCheckoutResponses, MobileGitCommitErrors, MobileGitCommitResponses, MobileGitCommitsResponses, MobileGitDiffResponses, MobileGitDiscardResponses, MobileGithubAuthRemoveResponses, MobileGithubAuthSetErrors, MobileGithubAuthSetResponses, MobileGithubBranchesResponses, MobileGithubDeviceAuthPollInput, MobileGithubImportErrors, MobileGithubImportRequest, MobileGithubImportResponses, MobileGithubImportsResponses, MobileGithubOauthClientIdSetErrors, MobileGithubOauthClientIdSetResponses, MobileGithubOauthDevicePollErrors, MobileGithubOauthDevicePollResponses, MobileGithubOauthDeviceStartErrors, MobileGithubOauthDeviceStartResponses, MobileGithubPublishInput, MobileGithubReposResponses, MobileGithubSessionCleanupErrors, MobileGithubSessionCleanupResponses, MobileGithubSessionCreateErrors, MobileGithubSessionCreateInput, MobileGithubSessionCreateResponses, MobileGithubSessionPublishErrors, MobileGithubSessionPublishResponses, MobileGitPullErrors, MobileGitPullResponses, MobileGitPushErrors, MobileGitPushResponses, MobileGitStageResponses, MobileGitStatusResponses, MobileGitUnstageResponses, MobileLoopAbortErrors, MobileLoopAbortResponses, MobileLoopCreateErrors, MobileLoopCreateResponses, MobileLoopDeleteErrors, MobileLoopDeleteResponses, MobileLoopGenerateErrors, MobileLoopGenerateInput, MobileLoopGenerateResponses, MobileLoopGetErrors, MobileLoopGetResponses, MobileLoopListErrors, MobileLoopListResponses, MobileLoopPauseErrors, MobileLoopPauseResponses, MobileLoopResumeErrors, MobileLoopResumeResponses, MobileLoopRunErrors, MobileLoopRunResponses, MobileLoopRunsErrors, MobileLoopRunsRecentErrors, MobileLoopRunsRecentResponses, MobileLoopRunsResponses, MobileLoopTemplatesResponses, MobileLoopToggleErrors, MobileLoopToggleResponses, MobileLoopUpdateErrors, MobileLoopUpdateResponses, MobileLoopWriteInput, MobileMemoryHistoryResponses, MobileMemorySearchResponses, MobileMemoryStashCreateErrors, MobileMemoryStashCreateResponses, MobileMemoryStashDeleteErrors, MobileMemoryStashDeleteResponses, MobileMemoryStashListResponses, MobilePermissionRespondResponses, MobileProjectListResponses, MobilePromptStashCreateInput, MobilePtyConnectErrors, MobilePtyConnectResponses, MobilePtyCreateErrors, MobilePtyCreateResponses, MobilePtyGetErrors, MobilePtyGetResponses, MobilePtyListResponses, MobilePtyRemoveErrors, MobilePtyRemoveResponses, MobilePtyUpdateErrors, MobilePtyUpdateResponses, MobileQuestionRejectResponses, MobileQuestionRespondResponses, MobileRoutineCreateErrors, MobileRoutineCreateInput, MobileRoutineCreateResponses, MobileRoutineDeleteErrors, MobileRoutineDeleteResponses, MobileRoutineGetErrors, MobileRoutineGetResponses, MobileRoutineListErrors, MobileRoutineListResponses, MobileRoutinePauseErrors, MobileRoutinePauseResponses, MobileRoutineResumeErrors, MobileRoutineResumeResponses, MobileRoutineRunErrors, MobileRoutineRunInput, MobileRoutineRunResponses, MobileRoutineTriggerErrors, MobileRoutineTriggerInput, MobileRoutineTriggerResponses, MobileRoutineUpdateErrors, MobileRoutineUpdateInput, MobileRoutineUpdateResponses, MobileSessionAbortResponses, MobileSessionCommandErrors, MobileSessionCommandInput, MobileSessionCommandListErrors, MobileSessionCommandListResponses, MobileSessionCommandResponses, MobileSessionCreateErrors, MobileSessionCreateInput, MobileSessionCreateResponses, MobileSessionDeleteErrors, MobileSessionDeleteResponses, MobileSessionDetailErrors, MobileSessionDetailResponses, MobileSessionDiffResponses, MobileSessionListResponses, MobileSessionMessageErrors, MobileSessionMessageResponses, MobileSessionRenameResponses, MobileSessionStreamResponses, MobileSessionTeleportErrors, MobileSessionTeleportOutErrors, MobileSessionTeleportOutResponses, MobileSessionTeleportResponses, MobileSessionTeleportUploadBeginResponses, MobileSessionTeleportUploadChunkErrors, MobileSessionTeleportUploadChunkResponses, MobileWorktreeCreateErrors, MobileWorktreeCreateResponses, MobileWorktreeRemoveResponses, MobileWorktreeResetResponses, NativeUiCapabilitiesResponses, NativeUiListResponses, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PatchConfigMcpNameResponses, PatchUserIdResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PostConfigMcpResponses, PostConfigProfilesActivateNameResponses, PostConfigProfilesResponses, PostNativeUiEventsResponses, PostNativeUiSurfacesResponses, PostUserLoginResponses, PostUserRegisterResponses, ProjectCurrentResponses, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, ProviderApiSetErrors, ProviderApiSetResponses, ProviderAuthRemoveResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, PutNativeUiSurfacesIdResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, SessionAbortErrors, SessionAbortResponses, SessionBackgroundCancelErrors, SessionBackgroundCancelResponses, SessionBackgroundErrors, SessionBackgroundInspectErrors, SessionBackgroundInspectResponses, SessionBackgroundReadErrors, SessionBackgroundReadResponses, SessionBackgroundResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionContextErrors, SessionContextResponses, SessionContextToggleErrors, SessionContextToggleResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionGithub, SessionGoalErrors, SessionGoalResponses, SessionInstructionsErrors, SessionInstructionsResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionMonitorCancelErrors, SessionMonitorCancelResponses, SessionMonitorErrors, SessionMonitorLogErrors, SessionMonitorLogResponses, SessionMonitorResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShareErrors, SessionShareResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUnshareErrors, SessionUnshareResponses, SessionUpdateErrors, SessionUpdateResponses, SessionV2EntriesErrors, SessionV2EntriesResponses, SessionV2EventsErrors, SessionV2EventsResponses, SessionV2StateErrors, SessionV2StateResponses, SessionWorktree, SubtaskPartInput, SyncConfigSetErrors, SyncConfigSetResponses, SyncConnectResponses, SyncDisconnectResponses, SyncDrainResponses, SyncEventPushErrors, SyncEventPushResponses, SyncEventStreamResponses, SyncOutboxListResponses, SyncSnapshotGetErrors, SyncSnapshotGetResponses, SyncStatsResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptResponses, TuiControlNextResponses, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpResponses, TuiOpenModelsResponses, TuiOpenSessionsResponses, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastResponses, TuiSubmitPromptResponses, VcsApplyErrors, VcsApplyInput, VcsApplyResponses, VcsDiffRawResponses, VcsGetResponses, VcsStatusResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
3
3
  export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
4
4
  /**
5
5
  * You can provide a client instance returned by `createClient()` instead of
@@ -3001,6 +3001,22 @@ export declare class Doctor extends HeyApiClient {
3001
3001
  workspace?: string;
3002
3002
  }, options?: Options<never, ThrowOnError>): RequestResult<DoctorRunResponses, unknown, ThrowOnError>;
3003
3003
  }
3004
+ export declare class NativeUi extends HeyApiClient {
3005
+ /**
3006
+ * Get native UI capabilities
3007
+ */
3008
+ capabilities<ThrowOnError extends boolean = false>(parameters?: {
3009
+ directory?: string;
3010
+ workspace?: string;
3011
+ }, options?: Options<never, ThrowOnError>): RequestResult<NativeUiCapabilitiesResponses, unknown, ThrowOnError>;
3012
+ /**
3013
+ * List native UI surfaces
3014
+ */
3015
+ list<ThrowOnError extends boolean = false>(parameters?: {
3016
+ directory?: string;
3017
+ workspace?: string;
3018
+ }, options?: Options<never, ThrowOnError>): RequestResult<NativeUiListResponses, unknown, ThrowOnError>;
3019
+ }
3004
3020
  export declare class Instance extends HeyApiClient {
3005
3021
  /**
3006
3022
  * Dispose instance
@@ -3266,6 +3282,1064 @@ export declare class NikcliClient extends HeyApiClient {
3266
3282
  password?: string;
3267
3283
  role?: "admin" | "user";
3268
3284
  }, options?: Options<never, ThrowOnError>): RequestResult<PatchUserIdResponses, unknown, ThrowOnError>;
3285
+ postNativeUiSurfaces<ThrowOnError extends boolean = false>(parameters?: {
3286
+ directory?: string;
3287
+ workspace?: string;
3288
+ body?: {
3289
+ id: string;
3290
+ title: string;
3291
+ body?: string;
3292
+ controls?: Array<{
3293
+ type: "button";
3294
+ id: string;
3295
+ label: string;
3296
+ action: string;
3297
+ disabled?: boolean;
3298
+ destructive?: boolean;
3299
+ } | {
3300
+ type: "link";
3301
+ id: string;
3302
+ label: string;
3303
+ url: string;
3304
+ disabled?: boolean;
3305
+ } | {
3306
+ type: "text-input";
3307
+ id: string;
3308
+ label?: string;
3309
+ value?: string;
3310
+ placeholder?: string;
3311
+ secure?: boolean;
3312
+ multiline?: boolean;
3313
+ required?: boolean;
3314
+ } | {
3315
+ type: "select";
3316
+ id: string;
3317
+ label: string;
3318
+ value?: string;
3319
+ options: Array<{
3320
+ id: string;
3321
+ label: string;
3322
+ disabled?: boolean;
3323
+ }>;
3324
+ } | {
3325
+ type: "checkbox";
3326
+ id: string;
3327
+ label: string;
3328
+ checked: boolean;
3329
+ disabled?: boolean;
3330
+ } | {
3331
+ type: "progress";
3332
+ id: string;
3333
+ label?: string;
3334
+ value: number;
3335
+ detail?: string;
3336
+ indeterminate?: boolean;
3337
+ } | {
3338
+ type: "separator";
3339
+ id?: string;
3340
+ }>;
3341
+ dismissible?: boolean;
3342
+ metadata?: {
3343
+ [key: string]: unknown;
3344
+ };
3345
+ kind: "dialog";
3346
+ modal?: boolean;
3347
+ width?: "small" | "medium" | "large";
3348
+ } | {
3349
+ id: string;
3350
+ title: string;
3351
+ body?: string;
3352
+ controls?: Array<{
3353
+ type: "button";
3354
+ id: string;
3355
+ label: string;
3356
+ action: string;
3357
+ disabled?: boolean;
3358
+ destructive?: boolean;
3359
+ } | {
3360
+ type: "link";
3361
+ id: string;
3362
+ label: string;
3363
+ url: string;
3364
+ disabled?: boolean;
3365
+ } | {
3366
+ type: "text-input";
3367
+ id: string;
3368
+ label?: string;
3369
+ value?: string;
3370
+ placeholder?: string;
3371
+ secure?: boolean;
3372
+ multiline?: boolean;
3373
+ required?: boolean;
3374
+ } | {
3375
+ type: "select";
3376
+ id: string;
3377
+ label: string;
3378
+ value?: string;
3379
+ options: Array<{
3380
+ id: string;
3381
+ label: string;
3382
+ disabled?: boolean;
3383
+ }>;
3384
+ } | {
3385
+ type: "checkbox";
3386
+ id: string;
3387
+ label: string;
3388
+ checked: boolean;
3389
+ disabled?: boolean;
3390
+ } | {
3391
+ type: "progress";
3392
+ id: string;
3393
+ label?: string;
3394
+ value: number;
3395
+ detail?: string;
3396
+ indeterminate?: boolean;
3397
+ } | {
3398
+ type: "separator";
3399
+ id?: string;
3400
+ }>;
3401
+ dismissible?: boolean;
3402
+ metadata?: {
3403
+ [key: string]: unknown;
3404
+ };
3405
+ kind: "popover";
3406
+ anchor: {
3407
+ x: number;
3408
+ y: number;
3409
+ width: number;
3410
+ height: number;
3411
+ };
3412
+ placement?: "top" | "right" | "bottom" | "left";
3413
+ } | {
3414
+ id: string;
3415
+ title: string;
3416
+ body?: string;
3417
+ controls?: Array<{
3418
+ type: "button";
3419
+ id: string;
3420
+ label: string;
3421
+ action: string;
3422
+ disabled?: boolean;
3423
+ destructive?: boolean;
3424
+ } | {
3425
+ type: "link";
3426
+ id: string;
3427
+ label: string;
3428
+ url: string;
3429
+ disabled?: boolean;
3430
+ } | {
3431
+ type: "text-input";
3432
+ id: string;
3433
+ label?: string;
3434
+ value?: string;
3435
+ placeholder?: string;
3436
+ secure?: boolean;
3437
+ multiline?: boolean;
3438
+ required?: boolean;
3439
+ } | {
3440
+ type: "select";
3441
+ id: string;
3442
+ label: string;
3443
+ value?: string;
3444
+ options: Array<{
3445
+ id: string;
3446
+ label: string;
3447
+ disabled?: boolean;
3448
+ }>;
3449
+ } | {
3450
+ type: "checkbox";
3451
+ id: string;
3452
+ label: string;
3453
+ checked: boolean;
3454
+ disabled?: boolean;
3455
+ } | {
3456
+ type: "progress";
3457
+ id: string;
3458
+ label?: string;
3459
+ value: number;
3460
+ detail?: string;
3461
+ indeterminate?: boolean;
3462
+ } | {
3463
+ type: "separator";
3464
+ id?: string;
3465
+ }>;
3466
+ dismissible?: boolean;
3467
+ metadata?: {
3468
+ [key: string]: unknown;
3469
+ };
3470
+ kind: "notification";
3471
+ severity?: "info" | "success" | "warning" | "error";
3472
+ durationMs?: number;
3473
+ } | {
3474
+ id: string;
3475
+ title: string;
3476
+ body?: string;
3477
+ controls?: Array<{
3478
+ type: "button";
3479
+ id: string;
3480
+ label: string;
3481
+ action: string;
3482
+ disabled?: boolean;
3483
+ destructive?: boolean;
3484
+ } | {
3485
+ type: "link";
3486
+ id: string;
3487
+ label: string;
3488
+ url: string;
3489
+ disabled?: boolean;
3490
+ } | {
3491
+ type: "text-input";
3492
+ id: string;
3493
+ label?: string;
3494
+ value?: string;
3495
+ placeholder?: string;
3496
+ secure?: boolean;
3497
+ multiline?: boolean;
3498
+ required?: boolean;
3499
+ } | {
3500
+ type: "select";
3501
+ id: string;
3502
+ label: string;
3503
+ value?: string;
3504
+ options: Array<{
3505
+ id: string;
3506
+ label: string;
3507
+ disabled?: boolean;
3508
+ }>;
3509
+ } | {
3510
+ type: "checkbox";
3511
+ id: string;
3512
+ label: string;
3513
+ checked: boolean;
3514
+ disabled?: boolean;
3515
+ } | {
3516
+ type: "progress";
3517
+ id: string;
3518
+ label?: string;
3519
+ value: number;
3520
+ detail?: string;
3521
+ indeterminate?: boolean;
3522
+ } | {
3523
+ type: "separator";
3524
+ id?: string;
3525
+ }>;
3526
+ dismissible?: boolean;
3527
+ metadata?: {
3528
+ [key: string]: unknown;
3529
+ };
3530
+ kind: "menu";
3531
+ items: Array<{
3532
+ id: string;
3533
+ label: string;
3534
+ action?: string;
3535
+ disabled?: boolean;
3536
+ checked?: boolean;
3537
+ }>;
3538
+ };
3539
+ }, options?: Options<never, ThrowOnError>): RequestResult<PostNativeUiSurfacesResponses, unknown, ThrowOnError>;
3540
+ deleteNativeUiSurfacesId<ThrowOnError extends boolean = false>(parameters: {
3541
+ id: string;
3542
+ directory?: string;
3543
+ workspace?: string;
3544
+ }, options?: Options<never, ThrowOnError>): RequestResult<DeleteNativeUiSurfacesIdResponses, unknown, ThrowOnError>;
3545
+ putNativeUiSurfacesId<ThrowOnError extends boolean = false>(parameters: {
3546
+ id: string;
3547
+ directory?: string;
3548
+ workspace?: string;
3549
+ body?: {
3550
+ id: string;
3551
+ title: string;
3552
+ body?: string;
3553
+ controls?: Array<{
3554
+ type: "button";
3555
+ id: string;
3556
+ label: string;
3557
+ action: string;
3558
+ disabled?: boolean;
3559
+ destructive?: boolean;
3560
+ } | {
3561
+ type: "link";
3562
+ id: string;
3563
+ label: string;
3564
+ url: string;
3565
+ disabled?: boolean;
3566
+ } | {
3567
+ type: "text-input";
3568
+ id: string;
3569
+ label?: string;
3570
+ value?: string;
3571
+ placeholder?: string;
3572
+ secure?: boolean;
3573
+ multiline?: boolean;
3574
+ required?: boolean;
3575
+ } | {
3576
+ type: "select";
3577
+ id: string;
3578
+ label: string;
3579
+ value?: string;
3580
+ options: Array<{
3581
+ id: string;
3582
+ label: string;
3583
+ disabled?: boolean;
3584
+ }>;
3585
+ } | {
3586
+ type: "checkbox";
3587
+ id: string;
3588
+ label: string;
3589
+ checked: boolean;
3590
+ disabled?: boolean;
3591
+ } | {
3592
+ type: "progress";
3593
+ id: string;
3594
+ label?: string;
3595
+ value: number;
3596
+ detail?: string;
3597
+ indeterminate?: boolean;
3598
+ } | {
3599
+ type: "separator";
3600
+ id?: string;
3601
+ }>;
3602
+ dismissible?: boolean;
3603
+ metadata?: {
3604
+ [key: string]: unknown;
3605
+ };
3606
+ kind: "dialog";
3607
+ modal?: boolean;
3608
+ width?: "small" | "medium" | "large";
3609
+ } | {
3610
+ id: string;
3611
+ title: string;
3612
+ body?: string;
3613
+ controls?: Array<{
3614
+ type: "button";
3615
+ id: string;
3616
+ label: string;
3617
+ action: string;
3618
+ disabled?: boolean;
3619
+ destructive?: boolean;
3620
+ } | {
3621
+ type: "link";
3622
+ id: string;
3623
+ label: string;
3624
+ url: string;
3625
+ disabled?: boolean;
3626
+ } | {
3627
+ type: "text-input";
3628
+ id: string;
3629
+ label?: string;
3630
+ value?: string;
3631
+ placeholder?: string;
3632
+ secure?: boolean;
3633
+ multiline?: boolean;
3634
+ required?: boolean;
3635
+ } | {
3636
+ type: "select";
3637
+ id: string;
3638
+ label: string;
3639
+ value?: string;
3640
+ options: Array<{
3641
+ id: string;
3642
+ label: string;
3643
+ disabled?: boolean;
3644
+ }>;
3645
+ } | {
3646
+ type: "checkbox";
3647
+ id: string;
3648
+ label: string;
3649
+ checked: boolean;
3650
+ disabled?: boolean;
3651
+ } | {
3652
+ type: "progress";
3653
+ id: string;
3654
+ label?: string;
3655
+ value: number;
3656
+ detail?: string;
3657
+ indeterminate?: boolean;
3658
+ } | {
3659
+ type: "separator";
3660
+ id?: string;
3661
+ }>;
3662
+ dismissible?: boolean;
3663
+ metadata?: {
3664
+ [key: string]: unknown;
3665
+ };
3666
+ kind: "popover";
3667
+ anchor: {
3668
+ x: number;
3669
+ y: number;
3670
+ width: number;
3671
+ height: number;
3672
+ };
3673
+ placement?: "top" | "right" | "bottom" | "left";
3674
+ } | {
3675
+ id: string;
3676
+ title: string;
3677
+ body?: string;
3678
+ controls?: Array<{
3679
+ type: "button";
3680
+ id: string;
3681
+ label: string;
3682
+ action: string;
3683
+ disabled?: boolean;
3684
+ destructive?: boolean;
3685
+ } | {
3686
+ type: "link";
3687
+ id: string;
3688
+ label: string;
3689
+ url: string;
3690
+ disabled?: boolean;
3691
+ } | {
3692
+ type: "text-input";
3693
+ id: string;
3694
+ label?: string;
3695
+ value?: string;
3696
+ placeholder?: string;
3697
+ secure?: boolean;
3698
+ multiline?: boolean;
3699
+ required?: boolean;
3700
+ } | {
3701
+ type: "select";
3702
+ id: string;
3703
+ label: string;
3704
+ value?: string;
3705
+ options: Array<{
3706
+ id: string;
3707
+ label: string;
3708
+ disabled?: boolean;
3709
+ }>;
3710
+ } | {
3711
+ type: "checkbox";
3712
+ id: string;
3713
+ label: string;
3714
+ checked: boolean;
3715
+ disabled?: boolean;
3716
+ } | {
3717
+ type: "progress";
3718
+ id: string;
3719
+ label?: string;
3720
+ value: number;
3721
+ detail?: string;
3722
+ indeterminate?: boolean;
3723
+ } | {
3724
+ type: "separator";
3725
+ id?: string;
3726
+ }>;
3727
+ dismissible?: boolean;
3728
+ metadata?: {
3729
+ [key: string]: unknown;
3730
+ };
3731
+ kind: "notification";
3732
+ severity?: "info" | "success" | "warning" | "error";
3733
+ durationMs?: number;
3734
+ } | {
3735
+ id: string;
3736
+ title: string;
3737
+ body?: string;
3738
+ controls?: Array<{
3739
+ type: "button";
3740
+ id: string;
3741
+ label: string;
3742
+ action: string;
3743
+ disabled?: boolean;
3744
+ destructive?: boolean;
3745
+ } | {
3746
+ type: "link";
3747
+ id: string;
3748
+ label: string;
3749
+ url: string;
3750
+ disabled?: boolean;
3751
+ } | {
3752
+ type: "text-input";
3753
+ id: string;
3754
+ label?: string;
3755
+ value?: string;
3756
+ placeholder?: string;
3757
+ secure?: boolean;
3758
+ multiline?: boolean;
3759
+ required?: boolean;
3760
+ } | {
3761
+ type: "select";
3762
+ id: string;
3763
+ label: string;
3764
+ value?: string;
3765
+ options: Array<{
3766
+ id: string;
3767
+ label: string;
3768
+ disabled?: boolean;
3769
+ }>;
3770
+ } | {
3771
+ type: "checkbox";
3772
+ id: string;
3773
+ label: string;
3774
+ checked: boolean;
3775
+ disabled?: boolean;
3776
+ } | {
3777
+ type: "progress";
3778
+ id: string;
3779
+ label?: string;
3780
+ value: number;
3781
+ detail?: string;
3782
+ indeterminate?: boolean;
3783
+ } | {
3784
+ type: "separator";
3785
+ id?: string;
3786
+ }>;
3787
+ dismissible?: boolean;
3788
+ metadata?: {
3789
+ [key: string]: unknown;
3790
+ };
3791
+ kind: "menu";
3792
+ items: Array<{
3793
+ id: string;
3794
+ label: string;
3795
+ action?: string;
3796
+ disabled?: boolean;
3797
+ checked?: boolean;
3798
+ }>;
3799
+ };
3800
+ }, options?: Options<never, ThrowOnError>): RequestResult<PutNativeUiSurfacesIdResponses, unknown, ThrowOnError>;
3801
+ postNativeUiEvents<ThrowOnError extends boolean = false>(parameters?: {
3802
+ directory?: string;
3803
+ workspace?: string;
3804
+ body?: {
3805
+ type: "surface-opened";
3806
+ surface: {
3807
+ id: string;
3808
+ title: string;
3809
+ body?: string;
3810
+ controls?: Array<{
3811
+ type: "button";
3812
+ id: string;
3813
+ label: string;
3814
+ action: string;
3815
+ disabled?: boolean;
3816
+ destructive?: boolean;
3817
+ } | {
3818
+ type: "link";
3819
+ id: string;
3820
+ label: string;
3821
+ url: string;
3822
+ disabled?: boolean;
3823
+ } | {
3824
+ type: "text-input";
3825
+ id: string;
3826
+ label?: string;
3827
+ value?: string;
3828
+ placeholder?: string;
3829
+ secure?: boolean;
3830
+ multiline?: boolean;
3831
+ required?: boolean;
3832
+ } | {
3833
+ type: "select";
3834
+ id: string;
3835
+ label: string;
3836
+ value?: string;
3837
+ options: Array<{
3838
+ id: string;
3839
+ label: string;
3840
+ disabled?: boolean;
3841
+ }>;
3842
+ } | {
3843
+ type: "checkbox";
3844
+ id: string;
3845
+ label: string;
3846
+ checked: boolean;
3847
+ disabled?: boolean;
3848
+ } | {
3849
+ type: "progress";
3850
+ id: string;
3851
+ label?: string;
3852
+ value: number;
3853
+ detail?: string;
3854
+ indeterminate?: boolean;
3855
+ } | {
3856
+ type: "separator";
3857
+ id?: string;
3858
+ }>;
3859
+ dismissible?: boolean;
3860
+ metadata?: {
3861
+ [key: string]: unknown;
3862
+ };
3863
+ kind: "dialog";
3864
+ modal?: boolean;
3865
+ width?: "small" | "medium" | "large";
3866
+ } | {
3867
+ id: string;
3868
+ title: string;
3869
+ body?: string;
3870
+ controls?: Array<{
3871
+ type: "button";
3872
+ id: string;
3873
+ label: string;
3874
+ action: string;
3875
+ disabled?: boolean;
3876
+ destructive?: boolean;
3877
+ } | {
3878
+ type: "link";
3879
+ id: string;
3880
+ label: string;
3881
+ url: string;
3882
+ disabled?: boolean;
3883
+ } | {
3884
+ type: "text-input";
3885
+ id: string;
3886
+ label?: string;
3887
+ value?: string;
3888
+ placeholder?: string;
3889
+ secure?: boolean;
3890
+ multiline?: boolean;
3891
+ required?: boolean;
3892
+ } | {
3893
+ type: "select";
3894
+ id: string;
3895
+ label: string;
3896
+ value?: string;
3897
+ options: Array<{
3898
+ id: string;
3899
+ label: string;
3900
+ disabled?: boolean;
3901
+ }>;
3902
+ } | {
3903
+ type: "checkbox";
3904
+ id: string;
3905
+ label: string;
3906
+ checked: boolean;
3907
+ disabled?: boolean;
3908
+ } | {
3909
+ type: "progress";
3910
+ id: string;
3911
+ label?: string;
3912
+ value: number;
3913
+ detail?: string;
3914
+ indeterminate?: boolean;
3915
+ } | {
3916
+ type: "separator";
3917
+ id?: string;
3918
+ }>;
3919
+ dismissible?: boolean;
3920
+ metadata?: {
3921
+ [key: string]: unknown;
3922
+ };
3923
+ kind: "popover";
3924
+ anchor: {
3925
+ x: number;
3926
+ y: number;
3927
+ width: number;
3928
+ height: number;
3929
+ };
3930
+ placement?: "top" | "right" | "bottom" | "left";
3931
+ } | {
3932
+ id: string;
3933
+ title: string;
3934
+ body?: string;
3935
+ controls?: Array<{
3936
+ type: "button";
3937
+ id: string;
3938
+ label: string;
3939
+ action: string;
3940
+ disabled?: boolean;
3941
+ destructive?: boolean;
3942
+ } | {
3943
+ type: "link";
3944
+ id: string;
3945
+ label: string;
3946
+ url: string;
3947
+ disabled?: boolean;
3948
+ } | {
3949
+ type: "text-input";
3950
+ id: string;
3951
+ label?: string;
3952
+ value?: string;
3953
+ placeholder?: string;
3954
+ secure?: boolean;
3955
+ multiline?: boolean;
3956
+ required?: boolean;
3957
+ } | {
3958
+ type: "select";
3959
+ id: string;
3960
+ label: string;
3961
+ value?: string;
3962
+ options: Array<{
3963
+ id: string;
3964
+ label: string;
3965
+ disabled?: boolean;
3966
+ }>;
3967
+ } | {
3968
+ type: "checkbox";
3969
+ id: string;
3970
+ label: string;
3971
+ checked: boolean;
3972
+ disabled?: boolean;
3973
+ } | {
3974
+ type: "progress";
3975
+ id: string;
3976
+ label?: string;
3977
+ value: number;
3978
+ detail?: string;
3979
+ indeterminate?: boolean;
3980
+ } | {
3981
+ type: "separator";
3982
+ id?: string;
3983
+ }>;
3984
+ dismissible?: boolean;
3985
+ metadata?: {
3986
+ [key: string]: unknown;
3987
+ };
3988
+ kind: "notification";
3989
+ severity?: "info" | "success" | "warning" | "error";
3990
+ durationMs?: number;
3991
+ } | {
3992
+ id: string;
3993
+ title: string;
3994
+ body?: string;
3995
+ controls?: Array<{
3996
+ type: "button";
3997
+ id: string;
3998
+ label: string;
3999
+ action: string;
4000
+ disabled?: boolean;
4001
+ destructive?: boolean;
4002
+ } | {
4003
+ type: "link";
4004
+ id: string;
4005
+ label: string;
4006
+ url: string;
4007
+ disabled?: boolean;
4008
+ } | {
4009
+ type: "text-input";
4010
+ id: string;
4011
+ label?: string;
4012
+ value?: string;
4013
+ placeholder?: string;
4014
+ secure?: boolean;
4015
+ multiline?: boolean;
4016
+ required?: boolean;
4017
+ } | {
4018
+ type: "select";
4019
+ id: string;
4020
+ label: string;
4021
+ value?: string;
4022
+ options: Array<{
4023
+ id: string;
4024
+ label: string;
4025
+ disabled?: boolean;
4026
+ }>;
4027
+ } | {
4028
+ type: "checkbox";
4029
+ id: string;
4030
+ label: string;
4031
+ checked: boolean;
4032
+ disabled?: boolean;
4033
+ } | {
4034
+ type: "progress";
4035
+ id: string;
4036
+ label?: string;
4037
+ value: number;
4038
+ detail?: string;
4039
+ indeterminate?: boolean;
4040
+ } | {
4041
+ type: "separator";
4042
+ id?: string;
4043
+ }>;
4044
+ dismissible?: boolean;
4045
+ metadata?: {
4046
+ [key: string]: unknown;
4047
+ };
4048
+ kind: "menu";
4049
+ items: Array<{
4050
+ id: string;
4051
+ label: string;
4052
+ action?: string;
4053
+ disabled?: boolean;
4054
+ checked?: boolean;
4055
+ }>;
4056
+ };
4057
+ } | {
4058
+ type: "surface-updated";
4059
+ surface: {
4060
+ id: string;
4061
+ title: string;
4062
+ body?: string;
4063
+ controls?: Array<{
4064
+ type: "button";
4065
+ id: string;
4066
+ label: string;
4067
+ action: string;
4068
+ disabled?: boolean;
4069
+ destructive?: boolean;
4070
+ } | {
4071
+ type: "link";
4072
+ id: string;
4073
+ label: string;
4074
+ url: string;
4075
+ disabled?: boolean;
4076
+ } | {
4077
+ type: "text-input";
4078
+ id: string;
4079
+ label?: string;
4080
+ value?: string;
4081
+ placeholder?: string;
4082
+ secure?: boolean;
4083
+ multiline?: boolean;
4084
+ required?: boolean;
4085
+ } | {
4086
+ type: "select";
4087
+ id: string;
4088
+ label: string;
4089
+ value?: string;
4090
+ options: Array<{
4091
+ id: string;
4092
+ label: string;
4093
+ disabled?: boolean;
4094
+ }>;
4095
+ } | {
4096
+ type: "checkbox";
4097
+ id: string;
4098
+ label: string;
4099
+ checked: boolean;
4100
+ disabled?: boolean;
4101
+ } | {
4102
+ type: "progress";
4103
+ id: string;
4104
+ label?: string;
4105
+ value: number;
4106
+ detail?: string;
4107
+ indeterminate?: boolean;
4108
+ } | {
4109
+ type: "separator";
4110
+ id?: string;
4111
+ }>;
4112
+ dismissible?: boolean;
4113
+ metadata?: {
4114
+ [key: string]: unknown;
4115
+ };
4116
+ kind: "dialog";
4117
+ modal?: boolean;
4118
+ width?: "small" | "medium" | "large";
4119
+ } | {
4120
+ id: string;
4121
+ title: string;
4122
+ body?: string;
4123
+ controls?: Array<{
4124
+ type: "button";
4125
+ id: string;
4126
+ label: string;
4127
+ action: string;
4128
+ disabled?: boolean;
4129
+ destructive?: boolean;
4130
+ } | {
4131
+ type: "link";
4132
+ id: string;
4133
+ label: string;
4134
+ url: string;
4135
+ disabled?: boolean;
4136
+ } | {
4137
+ type: "text-input";
4138
+ id: string;
4139
+ label?: string;
4140
+ value?: string;
4141
+ placeholder?: string;
4142
+ secure?: boolean;
4143
+ multiline?: boolean;
4144
+ required?: boolean;
4145
+ } | {
4146
+ type: "select";
4147
+ id: string;
4148
+ label: string;
4149
+ value?: string;
4150
+ options: Array<{
4151
+ id: string;
4152
+ label: string;
4153
+ disabled?: boolean;
4154
+ }>;
4155
+ } | {
4156
+ type: "checkbox";
4157
+ id: string;
4158
+ label: string;
4159
+ checked: boolean;
4160
+ disabled?: boolean;
4161
+ } | {
4162
+ type: "progress";
4163
+ id: string;
4164
+ label?: string;
4165
+ value: number;
4166
+ detail?: string;
4167
+ indeterminate?: boolean;
4168
+ } | {
4169
+ type: "separator";
4170
+ id?: string;
4171
+ }>;
4172
+ dismissible?: boolean;
4173
+ metadata?: {
4174
+ [key: string]: unknown;
4175
+ };
4176
+ kind: "popover";
4177
+ anchor: {
4178
+ x: number;
4179
+ y: number;
4180
+ width: number;
4181
+ height: number;
4182
+ };
4183
+ placement?: "top" | "right" | "bottom" | "left";
4184
+ } | {
4185
+ id: string;
4186
+ title: string;
4187
+ body?: string;
4188
+ controls?: Array<{
4189
+ type: "button";
4190
+ id: string;
4191
+ label: string;
4192
+ action: string;
4193
+ disabled?: boolean;
4194
+ destructive?: boolean;
4195
+ } | {
4196
+ type: "link";
4197
+ id: string;
4198
+ label: string;
4199
+ url: string;
4200
+ disabled?: boolean;
4201
+ } | {
4202
+ type: "text-input";
4203
+ id: string;
4204
+ label?: string;
4205
+ value?: string;
4206
+ placeholder?: string;
4207
+ secure?: boolean;
4208
+ multiline?: boolean;
4209
+ required?: boolean;
4210
+ } | {
4211
+ type: "select";
4212
+ id: string;
4213
+ label: string;
4214
+ value?: string;
4215
+ options: Array<{
4216
+ id: string;
4217
+ label: string;
4218
+ disabled?: boolean;
4219
+ }>;
4220
+ } | {
4221
+ type: "checkbox";
4222
+ id: string;
4223
+ label: string;
4224
+ checked: boolean;
4225
+ disabled?: boolean;
4226
+ } | {
4227
+ type: "progress";
4228
+ id: string;
4229
+ label?: string;
4230
+ value: number;
4231
+ detail?: string;
4232
+ indeterminate?: boolean;
4233
+ } | {
4234
+ type: "separator";
4235
+ id?: string;
4236
+ }>;
4237
+ dismissible?: boolean;
4238
+ metadata?: {
4239
+ [key: string]: unknown;
4240
+ };
4241
+ kind: "notification";
4242
+ severity?: "info" | "success" | "warning" | "error";
4243
+ durationMs?: number;
4244
+ } | {
4245
+ id: string;
4246
+ title: string;
4247
+ body?: string;
4248
+ controls?: Array<{
4249
+ type: "button";
4250
+ id: string;
4251
+ label: string;
4252
+ action: string;
4253
+ disabled?: boolean;
4254
+ destructive?: boolean;
4255
+ } | {
4256
+ type: "link";
4257
+ id: string;
4258
+ label: string;
4259
+ url: string;
4260
+ disabled?: boolean;
4261
+ } | {
4262
+ type: "text-input";
4263
+ id: string;
4264
+ label?: string;
4265
+ value?: string;
4266
+ placeholder?: string;
4267
+ secure?: boolean;
4268
+ multiline?: boolean;
4269
+ required?: boolean;
4270
+ } | {
4271
+ type: "select";
4272
+ id: string;
4273
+ label: string;
4274
+ value?: string;
4275
+ options: Array<{
4276
+ id: string;
4277
+ label: string;
4278
+ disabled?: boolean;
4279
+ }>;
4280
+ } | {
4281
+ type: "checkbox";
4282
+ id: string;
4283
+ label: string;
4284
+ checked: boolean;
4285
+ disabled?: boolean;
4286
+ } | {
4287
+ type: "progress";
4288
+ id: string;
4289
+ label?: string;
4290
+ value: number;
4291
+ detail?: string;
4292
+ indeterminate?: boolean;
4293
+ } | {
4294
+ type: "separator";
4295
+ id?: string;
4296
+ }>;
4297
+ dismissible?: boolean;
4298
+ metadata?: {
4299
+ [key: string]: unknown;
4300
+ };
4301
+ kind: "menu";
4302
+ items: Array<{
4303
+ id: string;
4304
+ label: string;
4305
+ action?: string;
4306
+ disabled?: boolean;
4307
+ checked?: boolean;
4308
+ }>;
4309
+ };
4310
+ } | {
4311
+ type: "surface-closed";
4312
+ surfaceId: string;
4313
+ reason: "dismissed" | "action" | "replaced" | "system";
4314
+ } | {
4315
+ type: "control-activated";
4316
+ surfaceId: string;
4317
+ controlId: string;
4318
+ action: {
4319
+ type: "dismiss-surface";
4320
+ surfaceId: string;
4321
+ } | {
4322
+ type: "invoke";
4323
+ action: string;
4324
+ payload?: {
4325
+ [key: string]: unknown;
4326
+ };
4327
+ } | {
4328
+ type: "open-url";
4329
+ url: string;
4330
+ } | {
4331
+ type: "update-control";
4332
+ surfaceId: string;
4333
+ controlId: string;
4334
+ value: unknown;
4335
+ };
4336
+ } | {
4337
+ type: "control-changed";
4338
+ surfaceId: string;
4339
+ controlId: string;
4340
+ value: unknown;
4341
+ };
4342
+ }, options?: Options<never, ThrowOnError>): RequestResult<PostNativeUiEventsResponses, unknown, ThrowOnError>;
3269
4343
  private _global?;
3270
4344
  get global(): Global;
3271
4345
  private _project?;
@@ -3316,6 +4390,8 @@ export declare class NikcliClient extends HeyApiClient {
3316
4390
  get brain(): Brain;
3317
4391
  private _doctor?;
3318
4392
  get doctor(): Doctor;
4393
+ private _nativeUi?;
4394
+ get nativeUi(): NativeUi;
3319
4395
  private _instance?;
3320
4396
  get instance(): Instance;
3321
4397
  private _path?;