@nikcli-ai/sdk 1.188.0 → 1.190.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,1276 @@ 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: "metric";
3339
+ id: string;
3340
+ label: string;
3341
+ value: string;
3342
+ detail?: string;
3343
+ trend?: string;
3344
+ tone?: "neutral" | "info" | "success" | "warning" | "error";
3345
+ } | {
3346
+ type: "section";
3347
+ id: string;
3348
+ label: string;
3349
+ detail?: string;
3350
+ } | {
3351
+ type: "separator";
3352
+ id?: string;
3353
+ }>;
3354
+ dismissible?: boolean;
3355
+ metadata?: {
3356
+ [key: string]: unknown;
3357
+ };
3358
+ kind: "dialog";
3359
+ modal?: boolean;
3360
+ width?: "small" | "medium" | "large";
3361
+ layout?: "stack" | "dashboard";
3362
+ } | {
3363
+ id: string;
3364
+ title: string;
3365
+ body?: string;
3366
+ controls?: Array<{
3367
+ type: "button";
3368
+ id: string;
3369
+ label: string;
3370
+ action: string;
3371
+ disabled?: boolean;
3372
+ destructive?: boolean;
3373
+ } | {
3374
+ type: "link";
3375
+ id: string;
3376
+ label: string;
3377
+ url: string;
3378
+ disabled?: boolean;
3379
+ } | {
3380
+ type: "text-input";
3381
+ id: string;
3382
+ label?: string;
3383
+ value?: string;
3384
+ placeholder?: string;
3385
+ secure?: boolean;
3386
+ multiline?: boolean;
3387
+ required?: boolean;
3388
+ } | {
3389
+ type: "select";
3390
+ id: string;
3391
+ label: string;
3392
+ value?: string;
3393
+ options: Array<{
3394
+ id: string;
3395
+ label: string;
3396
+ disabled?: boolean;
3397
+ }>;
3398
+ } | {
3399
+ type: "checkbox";
3400
+ id: string;
3401
+ label: string;
3402
+ checked: boolean;
3403
+ disabled?: boolean;
3404
+ } | {
3405
+ type: "progress";
3406
+ id: string;
3407
+ label?: string;
3408
+ value: number;
3409
+ detail?: string;
3410
+ indeterminate?: boolean;
3411
+ } | {
3412
+ type: "metric";
3413
+ id: string;
3414
+ label: string;
3415
+ value: string;
3416
+ detail?: string;
3417
+ trend?: string;
3418
+ tone?: "neutral" | "info" | "success" | "warning" | "error";
3419
+ } | {
3420
+ type: "section";
3421
+ id: string;
3422
+ label: string;
3423
+ detail?: string;
3424
+ } | {
3425
+ type: "separator";
3426
+ id?: string;
3427
+ }>;
3428
+ dismissible?: boolean;
3429
+ metadata?: {
3430
+ [key: string]: unknown;
3431
+ };
3432
+ kind: "popover";
3433
+ anchor: {
3434
+ x: number;
3435
+ y: number;
3436
+ width: number;
3437
+ height: number;
3438
+ };
3439
+ placement?: "top" | "right" | "bottom" | "left";
3440
+ } | {
3441
+ id: string;
3442
+ title: string;
3443
+ body?: string;
3444
+ controls?: Array<{
3445
+ type: "button";
3446
+ id: string;
3447
+ label: string;
3448
+ action: string;
3449
+ disabled?: boolean;
3450
+ destructive?: boolean;
3451
+ } | {
3452
+ type: "link";
3453
+ id: string;
3454
+ label: string;
3455
+ url: string;
3456
+ disabled?: boolean;
3457
+ } | {
3458
+ type: "text-input";
3459
+ id: string;
3460
+ label?: string;
3461
+ value?: string;
3462
+ placeholder?: string;
3463
+ secure?: boolean;
3464
+ multiline?: boolean;
3465
+ required?: boolean;
3466
+ } | {
3467
+ type: "select";
3468
+ id: string;
3469
+ label: string;
3470
+ value?: string;
3471
+ options: Array<{
3472
+ id: string;
3473
+ label: string;
3474
+ disabled?: boolean;
3475
+ }>;
3476
+ } | {
3477
+ type: "checkbox";
3478
+ id: string;
3479
+ label: string;
3480
+ checked: boolean;
3481
+ disabled?: boolean;
3482
+ } | {
3483
+ type: "progress";
3484
+ id: string;
3485
+ label?: string;
3486
+ value: number;
3487
+ detail?: string;
3488
+ indeterminate?: boolean;
3489
+ } | {
3490
+ type: "metric";
3491
+ id: string;
3492
+ label: string;
3493
+ value: string;
3494
+ detail?: string;
3495
+ trend?: string;
3496
+ tone?: "neutral" | "info" | "success" | "warning" | "error";
3497
+ } | {
3498
+ type: "section";
3499
+ id: string;
3500
+ label: string;
3501
+ detail?: string;
3502
+ } | {
3503
+ type: "separator";
3504
+ id?: string;
3505
+ }>;
3506
+ dismissible?: boolean;
3507
+ metadata?: {
3508
+ [key: string]: unknown;
3509
+ };
3510
+ kind: "notification";
3511
+ severity?: "info" | "success" | "warning" | "error";
3512
+ durationMs?: number;
3513
+ } | {
3514
+ id: string;
3515
+ title: string;
3516
+ body?: string;
3517
+ controls?: Array<{
3518
+ type: "button";
3519
+ id: string;
3520
+ label: string;
3521
+ action: string;
3522
+ disabled?: boolean;
3523
+ destructive?: boolean;
3524
+ } | {
3525
+ type: "link";
3526
+ id: string;
3527
+ label: string;
3528
+ url: string;
3529
+ disabled?: boolean;
3530
+ } | {
3531
+ type: "text-input";
3532
+ id: string;
3533
+ label?: string;
3534
+ value?: string;
3535
+ placeholder?: string;
3536
+ secure?: boolean;
3537
+ multiline?: boolean;
3538
+ required?: boolean;
3539
+ } | {
3540
+ type: "select";
3541
+ id: string;
3542
+ label: string;
3543
+ value?: string;
3544
+ options: Array<{
3545
+ id: string;
3546
+ label: string;
3547
+ disabled?: boolean;
3548
+ }>;
3549
+ } | {
3550
+ type: "checkbox";
3551
+ id: string;
3552
+ label: string;
3553
+ checked: boolean;
3554
+ disabled?: boolean;
3555
+ } | {
3556
+ type: "progress";
3557
+ id: string;
3558
+ label?: string;
3559
+ value: number;
3560
+ detail?: string;
3561
+ indeterminate?: boolean;
3562
+ } | {
3563
+ type: "metric";
3564
+ id: string;
3565
+ label: string;
3566
+ value: string;
3567
+ detail?: string;
3568
+ trend?: string;
3569
+ tone?: "neutral" | "info" | "success" | "warning" | "error";
3570
+ } | {
3571
+ type: "section";
3572
+ id: string;
3573
+ label: string;
3574
+ detail?: string;
3575
+ } | {
3576
+ type: "separator";
3577
+ id?: string;
3578
+ }>;
3579
+ dismissible?: boolean;
3580
+ metadata?: {
3581
+ [key: string]: unknown;
3582
+ };
3583
+ kind: "menu";
3584
+ items: Array<{
3585
+ id: string;
3586
+ label: string;
3587
+ action?: string;
3588
+ disabled?: boolean;
3589
+ checked?: boolean;
3590
+ }>;
3591
+ };
3592
+ }, options?: Options<never, ThrowOnError>): RequestResult<PostNativeUiSurfacesResponses, unknown, ThrowOnError>;
3593
+ deleteNativeUiSurfacesId<ThrowOnError extends boolean = false>(parameters: {
3594
+ id: string;
3595
+ directory?: string;
3596
+ workspace?: string;
3597
+ }, options?: Options<never, ThrowOnError>): RequestResult<DeleteNativeUiSurfacesIdResponses, unknown, ThrowOnError>;
3598
+ putNativeUiSurfacesId<ThrowOnError extends boolean = false>(parameters: {
3599
+ id: string;
3600
+ directory?: string;
3601
+ workspace?: string;
3602
+ body?: {
3603
+ id: string;
3604
+ title: string;
3605
+ body?: string;
3606
+ controls?: Array<{
3607
+ type: "button";
3608
+ id: string;
3609
+ label: string;
3610
+ action: string;
3611
+ disabled?: boolean;
3612
+ destructive?: boolean;
3613
+ } | {
3614
+ type: "link";
3615
+ id: string;
3616
+ label: string;
3617
+ url: string;
3618
+ disabled?: boolean;
3619
+ } | {
3620
+ type: "text-input";
3621
+ id: string;
3622
+ label?: string;
3623
+ value?: string;
3624
+ placeholder?: string;
3625
+ secure?: boolean;
3626
+ multiline?: boolean;
3627
+ required?: boolean;
3628
+ } | {
3629
+ type: "select";
3630
+ id: string;
3631
+ label: string;
3632
+ value?: string;
3633
+ options: Array<{
3634
+ id: string;
3635
+ label: string;
3636
+ disabled?: boolean;
3637
+ }>;
3638
+ } | {
3639
+ type: "checkbox";
3640
+ id: string;
3641
+ label: string;
3642
+ checked: boolean;
3643
+ disabled?: boolean;
3644
+ } | {
3645
+ type: "progress";
3646
+ id: string;
3647
+ label?: string;
3648
+ value: number;
3649
+ detail?: string;
3650
+ indeterminate?: boolean;
3651
+ } | {
3652
+ type: "metric";
3653
+ id: string;
3654
+ label: string;
3655
+ value: string;
3656
+ detail?: string;
3657
+ trend?: string;
3658
+ tone?: "neutral" | "info" | "success" | "warning" | "error";
3659
+ } | {
3660
+ type: "section";
3661
+ id: string;
3662
+ label: string;
3663
+ detail?: string;
3664
+ } | {
3665
+ type: "separator";
3666
+ id?: string;
3667
+ }>;
3668
+ dismissible?: boolean;
3669
+ metadata?: {
3670
+ [key: string]: unknown;
3671
+ };
3672
+ kind: "dialog";
3673
+ modal?: boolean;
3674
+ width?: "small" | "medium" | "large";
3675
+ layout?: "stack" | "dashboard";
3676
+ } | {
3677
+ id: string;
3678
+ title: string;
3679
+ body?: string;
3680
+ controls?: Array<{
3681
+ type: "button";
3682
+ id: string;
3683
+ label: string;
3684
+ action: string;
3685
+ disabled?: boolean;
3686
+ destructive?: boolean;
3687
+ } | {
3688
+ type: "link";
3689
+ id: string;
3690
+ label: string;
3691
+ url: string;
3692
+ disabled?: boolean;
3693
+ } | {
3694
+ type: "text-input";
3695
+ id: string;
3696
+ label?: string;
3697
+ value?: string;
3698
+ placeholder?: string;
3699
+ secure?: boolean;
3700
+ multiline?: boolean;
3701
+ required?: boolean;
3702
+ } | {
3703
+ type: "select";
3704
+ id: string;
3705
+ label: string;
3706
+ value?: string;
3707
+ options: Array<{
3708
+ id: string;
3709
+ label: string;
3710
+ disabled?: boolean;
3711
+ }>;
3712
+ } | {
3713
+ type: "checkbox";
3714
+ id: string;
3715
+ label: string;
3716
+ checked: boolean;
3717
+ disabled?: boolean;
3718
+ } | {
3719
+ type: "progress";
3720
+ id: string;
3721
+ label?: string;
3722
+ value: number;
3723
+ detail?: string;
3724
+ indeterminate?: boolean;
3725
+ } | {
3726
+ type: "metric";
3727
+ id: string;
3728
+ label: string;
3729
+ value: string;
3730
+ detail?: string;
3731
+ trend?: string;
3732
+ tone?: "neutral" | "info" | "success" | "warning" | "error";
3733
+ } | {
3734
+ type: "section";
3735
+ id: string;
3736
+ label: string;
3737
+ detail?: string;
3738
+ } | {
3739
+ type: "separator";
3740
+ id?: string;
3741
+ }>;
3742
+ dismissible?: boolean;
3743
+ metadata?: {
3744
+ [key: string]: unknown;
3745
+ };
3746
+ kind: "popover";
3747
+ anchor: {
3748
+ x: number;
3749
+ y: number;
3750
+ width: number;
3751
+ height: number;
3752
+ };
3753
+ placement?: "top" | "right" | "bottom" | "left";
3754
+ } | {
3755
+ id: string;
3756
+ title: string;
3757
+ body?: string;
3758
+ controls?: Array<{
3759
+ type: "button";
3760
+ id: string;
3761
+ label: string;
3762
+ action: string;
3763
+ disabled?: boolean;
3764
+ destructive?: boolean;
3765
+ } | {
3766
+ type: "link";
3767
+ id: string;
3768
+ label: string;
3769
+ url: string;
3770
+ disabled?: boolean;
3771
+ } | {
3772
+ type: "text-input";
3773
+ id: string;
3774
+ label?: string;
3775
+ value?: string;
3776
+ placeholder?: string;
3777
+ secure?: boolean;
3778
+ multiline?: boolean;
3779
+ required?: boolean;
3780
+ } | {
3781
+ type: "select";
3782
+ id: string;
3783
+ label: string;
3784
+ value?: string;
3785
+ options: Array<{
3786
+ id: string;
3787
+ label: string;
3788
+ disabled?: boolean;
3789
+ }>;
3790
+ } | {
3791
+ type: "checkbox";
3792
+ id: string;
3793
+ label: string;
3794
+ checked: boolean;
3795
+ disabled?: boolean;
3796
+ } | {
3797
+ type: "progress";
3798
+ id: string;
3799
+ label?: string;
3800
+ value: number;
3801
+ detail?: string;
3802
+ indeterminate?: boolean;
3803
+ } | {
3804
+ type: "metric";
3805
+ id: string;
3806
+ label: string;
3807
+ value: string;
3808
+ detail?: string;
3809
+ trend?: string;
3810
+ tone?: "neutral" | "info" | "success" | "warning" | "error";
3811
+ } | {
3812
+ type: "section";
3813
+ id: string;
3814
+ label: string;
3815
+ detail?: string;
3816
+ } | {
3817
+ type: "separator";
3818
+ id?: string;
3819
+ }>;
3820
+ dismissible?: boolean;
3821
+ metadata?: {
3822
+ [key: string]: unknown;
3823
+ };
3824
+ kind: "notification";
3825
+ severity?: "info" | "success" | "warning" | "error";
3826
+ durationMs?: number;
3827
+ } | {
3828
+ id: string;
3829
+ title: string;
3830
+ body?: string;
3831
+ controls?: Array<{
3832
+ type: "button";
3833
+ id: string;
3834
+ label: string;
3835
+ action: string;
3836
+ disabled?: boolean;
3837
+ destructive?: boolean;
3838
+ } | {
3839
+ type: "link";
3840
+ id: string;
3841
+ label: string;
3842
+ url: string;
3843
+ disabled?: boolean;
3844
+ } | {
3845
+ type: "text-input";
3846
+ id: string;
3847
+ label?: string;
3848
+ value?: string;
3849
+ placeholder?: string;
3850
+ secure?: boolean;
3851
+ multiline?: boolean;
3852
+ required?: boolean;
3853
+ } | {
3854
+ type: "select";
3855
+ id: string;
3856
+ label: string;
3857
+ value?: string;
3858
+ options: Array<{
3859
+ id: string;
3860
+ label: string;
3861
+ disabled?: boolean;
3862
+ }>;
3863
+ } | {
3864
+ type: "checkbox";
3865
+ id: string;
3866
+ label: string;
3867
+ checked: boolean;
3868
+ disabled?: boolean;
3869
+ } | {
3870
+ type: "progress";
3871
+ id: string;
3872
+ label?: string;
3873
+ value: number;
3874
+ detail?: string;
3875
+ indeterminate?: boolean;
3876
+ } | {
3877
+ type: "metric";
3878
+ id: string;
3879
+ label: string;
3880
+ value: string;
3881
+ detail?: string;
3882
+ trend?: string;
3883
+ tone?: "neutral" | "info" | "success" | "warning" | "error";
3884
+ } | {
3885
+ type: "section";
3886
+ id: string;
3887
+ label: string;
3888
+ detail?: string;
3889
+ } | {
3890
+ type: "separator";
3891
+ id?: string;
3892
+ }>;
3893
+ dismissible?: boolean;
3894
+ metadata?: {
3895
+ [key: string]: unknown;
3896
+ };
3897
+ kind: "menu";
3898
+ items: Array<{
3899
+ id: string;
3900
+ label: string;
3901
+ action?: string;
3902
+ disabled?: boolean;
3903
+ checked?: boolean;
3904
+ }>;
3905
+ };
3906
+ }, options?: Options<never, ThrowOnError>): RequestResult<PutNativeUiSurfacesIdResponses, unknown, ThrowOnError>;
3907
+ postNativeUiEvents<ThrowOnError extends boolean = false>(parameters?: {
3908
+ directory?: string;
3909
+ workspace?: string;
3910
+ body?: {
3911
+ type: "surface-opened";
3912
+ surface: {
3913
+ id: string;
3914
+ title: string;
3915
+ body?: string;
3916
+ controls?: Array<{
3917
+ type: "button";
3918
+ id: string;
3919
+ label: string;
3920
+ action: string;
3921
+ disabled?: boolean;
3922
+ destructive?: boolean;
3923
+ } | {
3924
+ type: "link";
3925
+ id: string;
3926
+ label: string;
3927
+ url: string;
3928
+ disabled?: boolean;
3929
+ } | {
3930
+ type: "text-input";
3931
+ id: string;
3932
+ label?: string;
3933
+ value?: string;
3934
+ placeholder?: string;
3935
+ secure?: boolean;
3936
+ multiline?: boolean;
3937
+ required?: boolean;
3938
+ } | {
3939
+ type: "select";
3940
+ id: string;
3941
+ label: string;
3942
+ value?: string;
3943
+ options: Array<{
3944
+ id: string;
3945
+ label: string;
3946
+ disabled?: boolean;
3947
+ }>;
3948
+ } | {
3949
+ type: "checkbox";
3950
+ id: string;
3951
+ label: string;
3952
+ checked: boolean;
3953
+ disabled?: boolean;
3954
+ } | {
3955
+ type: "progress";
3956
+ id: string;
3957
+ label?: string;
3958
+ value: number;
3959
+ detail?: string;
3960
+ indeterminate?: boolean;
3961
+ } | {
3962
+ type: "metric";
3963
+ id: string;
3964
+ label: string;
3965
+ value: string;
3966
+ detail?: string;
3967
+ trend?: string;
3968
+ tone?: "neutral" | "info" | "success" | "warning" | "error";
3969
+ } | {
3970
+ type: "section";
3971
+ id: string;
3972
+ label: string;
3973
+ detail?: string;
3974
+ } | {
3975
+ type: "separator";
3976
+ id?: string;
3977
+ }>;
3978
+ dismissible?: boolean;
3979
+ metadata?: {
3980
+ [key: string]: unknown;
3981
+ };
3982
+ kind: "dialog";
3983
+ modal?: boolean;
3984
+ width?: "small" | "medium" | "large";
3985
+ layout?: "stack" | "dashboard";
3986
+ } | {
3987
+ id: string;
3988
+ title: string;
3989
+ body?: string;
3990
+ controls?: Array<{
3991
+ type: "button";
3992
+ id: string;
3993
+ label: string;
3994
+ action: string;
3995
+ disabled?: boolean;
3996
+ destructive?: boolean;
3997
+ } | {
3998
+ type: "link";
3999
+ id: string;
4000
+ label: string;
4001
+ url: string;
4002
+ disabled?: boolean;
4003
+ } | {
4004
+ type: "text-input";
4005
+ id: string;
4006
+ label?: string;
4007
+ value?: string;
4008
+ placeholder?: string;
4009
+ secure?: boolean;
4010
+ multiline?: boolean;
4011
+ required?: boolean;
4012
+ } | {
4013
+ type: "select";
4014
+ id: string;
4015
+ label: string;
4016
+ value?: string;
4017
+ options: Array<{
4018
+ id: string;
4019
+ label: string;
4020
+ disabled?: boolean;
4021
+ }>;
4022
+ } | {
4023
+ type: "checkbox";
4024
+ id: string;
4025
+ label: string;
4026
+ checked: boolean;
4027
+ disabled?: boolean;
4028
+ } | {
4029
+ type: "progress";
4030
+ id: string;
4031
+ label?: string;
4032
+ value: number;
4033
+ detail?: string;
4034
+ indeterminate?: boolean;
4035
+ } | {
4036
+ type: "metric";
4037
+ id: string;
4038
+ label: string;
4039
+ value: string;
4040
+ detail?: string;
4041
+ trend?: string;
4042
+ tone?: "neutral" | "info" | "success" | "warning" | "error";
4043
+ } | {
4044
+ type: "section";
4045
+ id: string;
4046
+ label: string;
4047
+ detail?: string;
4048
+ } | {
4049
+ type: "separator";
4050
+ id?: string;
4051
+ }>;
4052
+ dismissible?: boolean;
4053
+ metadata?: {
4054
+ [key: string]: unknown;
4055
+ };
4056
+ kind: "popover";
4057
+ anchor: {
4058
+ x: number;
4059
+ y: number;
4060
+ width: number;
4061
+ height: number;
4062
+ };
4063
+ placement?: "top" | "right" | "bottom" | "left";
4064
+ } | {
4065
+ id: string;
4066
+ title: string;
4067
+ body?: string;
4068
+ controls?: Array<{
4069
+ type: "button";
4070
+ id: string;
4071
+ label: string;
4072
+ action: string;
4073
+ disabled?: boolean;
4074
+ destructive?: boolean;
4075
+ } | {
4076
+ type: "link";
4077
+ id: string;
4078
+ label: string;
4079
+ url: string;
4080
+ disabled?: boolean;
4081
+ } | {
4082
+ type: "text-input";
4083
+ id: string;
4084
+ label?: string;
4085
+ value?: string;
4086
+ placeholder?: string;
4087
+ secure?: boolean;
4088
+ multiline?: boolean;
4089
+ required?: boolean;
4090
+ } | {
4091
+ type: "select";
4092
+ id: string;
4093
+ label: string;
4094
+ value?: string;
4095
+ options: Array<{
4096
+ id: string;
4097
+ label: string;
4098
+ disabled?: boolean;
4099
+ }>;
4100
+ } | {
4101
+ type: "checkbox";
4102
+ id: string;
4103
+ label: string;
4104
+ checked: boolean;
4105
+ disabled?: boolean;
4106
+ } | {
4107
+ type: "progress";
4108
+ id: string;
4109
+ label?: string;
4110
+ value: number;
4111
+ detail?: string;
4112
+ indeterminate?: boolean;
4113
+ } | {
4114
+ type: "metric";
4115
+ id: string;
4116
+ label: string;
4117
+ value: string;
4118
+ detail?: string;
4119
+ trend?: string;
4120
+ tone?: "neutral" | "info" | "success" | "warning" | "error";
4121
+ } | {
4122
+ type: "section";
4123
+ id: string;
4124
+ label: string;
4125
+ detail?: string;
4126
+ } | {
4127
+ type: "separator";
4128
+ id?: string;
4129
+ }>;
4130
+ dismissible?: boolean;
4131
+ metadata?: {
4132
+ [key: string]: unknown;
4133
+ };
4134
+ kind: "notification";
4135
+ severity?: "info" | "success" | "warning" | "error";
4136
+ durationMs?: number;
4137
+ } | {
4138
+ id: string;
4139
+ title: string;
4140
+ body?: string;
4141
+ controls?: Array<{
4142
+ type: "button";
4143
+ id: string;
4144
+ label: string;
4145
+ action: string;
4146
+ disabled?: boolean;
4147
+ destructive?: boolean;
4148
+ } | {
4149
+ type: "link";
4150
+ id: string;
4151
+ label: string;
4152
+ url: string;
4153
+ disabled?: boolean;
4154
+ } | {
4155
+ type: "text-input";
4156
+ id: string;
4157
+ label?: string;
4158
+ value?: string;
4159
+ placeholder?: string;
4160
+ secure?: boolean;
4161
+ multiline?: boolean;
4162
+ required?: boolean;
4163
+ } | {
4164
+ type: "select";
4165
+ id: string;
4166
+ label: string;
4167
+ value?: string;
4168
+ options: Array<{
4169
+ id: string;
4170
+ label: string;
4171
+ disabled?: boolean;
4172
+ }>;
4173
+ } | {
4174
+ type: "checkbox";
4175
+ id: string;
4176
+ label: string;
4177
+ checked: boolean;
4178
+ disabled?: boolean;
4179
+ } | {
4180
+ type: "progress";
4181
+ id: string;
4182
+ label?: string;
4183
+ value: number;
4184
+ detail?: string;
4185
+ indeterminate?: boolean;
4186
+ } | {
4187
+ type: "metric";
4188
+ id: string;
4189
+ label: string;
4190
+ value: string;
4191
+ detail?: string;
4192
+ trend?: string;
4193
+ tone?: "neutral" | "info" | "success" | "warning" | "error";
4194
+ } | {
4195
+ type: "section";
4196
+ id: string;
4197
+ label: string;
4198
+ detail?: string;
4199
+ } | {
4200
+ type: "separator";
4201
+ id?: string;
4202
+ }>;
4203
+ dismissible?: boolean;
4204
+ metadata?: {
4205
+ [key: string]: unknown;
4206
+ };
4207
+ kind: "menu";
4208
+ items: Array<{
4209
+ id: string;
4210
+ label: string;
4211
+ action?: string;
4212
+ disabled?: boolean;
4213
+ checked?: boolean;
4214
+ }>;
4215
+ };
4216
+ } | {
4217
+ type: "surface-updated";
4218
+ surface: {
4219
+ id: string;
4220
+ title: string;
4221
+ body?: string;
4222
+ controls?: Array<{
4223
+ type: "button";
4224
+ id: string;
4225
+ label: string;
4226
+ action: string;
4227
+ disabled?: boolean;
4228
+ destructive?: boolean;
4229
+ } | {
4230
+ type: "link";
4231
+ id: string;
4232
+ label: string;
4233
+ url: string;
4234
+ disabled?: boolean;
4235
+ } | {
4236
+ type: "text-input";
4237
+ id: string;
4238
+ label?: string;
4239
+ value?: string;
4240
+ placeholder?: string;
4241
+ secure?: boolean;
4242
+ multiline?: boolean;
4243
+ required?: boolean;
4244
+ } | {
4245
+ type: "select";
4246
+ id: string;
4247
+ label: string;
4248
+ value?: string;
4249
+ options: Array<{
4250
+ id: string;
4251
+ label: string;
4252
+ disabled?: boolean;
4253
+ }>;
4254
+ } | {
4255
+ type: "checkbox";
4256
+ id: string;
4257
+ label: string;
4258
+ checked: boolean;
4259
+ disabled?: boolean;
4260
+ } | {
4261
+ type: "progress";
4262
+ id: string;
4263
+ label?: string;
4264
+ value: number;
4265
+ detail?: string;
4266
+ indeterminate?: boolean;
4267
+ } | {
4268
+ type: "metric";
4269
+ id: string;
4270
+ label: string;
4271
+ value: string;
4272
+ detail?: string;
4273
+ trend?: string;
4274
+ tone?: "neutral" | "info" | "success" | "warning" | "error";
4275
+ } | {
4276
+ type: "section";
4277
+ id: string;
4278
+ label: string;
4279
+ detail?: string;
4280
+ } | {
4281
+ type: "separator";
4282
+ id?: string;
4283
+ }>;
4284
+ dismissible?: boolean;
4285
+ metadata?: {
4286
+ [key: string]: unknown;
4287
+ };
4288
+ kind: "dialog";
4289
+ modal?: boolean;
4290
+ width?: "small" | "medium" | "large";
4291
+ layout?: "stack" | "dashboard";
4292
+ } | {
4293
+ id: string;
4294
+ title: string;
4295
+ body?: string;
4296
+ controls?: Array<{
4297
+ type: "button";
4298
+ id: string;
4299
+ label: string;
4300
+ action: string;
4301
+ disabled?: boolean;
4302
+ destructive?: boolean;
4303
+ } | {
4304
+ type: "link";
4305
+ id: string;
4306
+ label: string;
4307
+ url: string;
4308
+ disabled?: boolean;
4309
+ } | {
4310
+ type: "text-input";
4311
+ id: string;
4312
+ label?: string;
4313
+ value?: string;
4314
+ placeholder?: string;
4315
+ secure?: boolean;
4316
+ multiline?: boolean;
4317
+ required?: boolean;
4318
+ } | {
4319
+ type: "select";
4320
+ id: string;
4321
+ label: string;
4322
+ value?: string;
4323
+ options: Array<{
4324
+ id: string;
4325
+ label: string;
4326
+ disabled?: boolean;
4327
+ }>;
4328
+ } | {
4329
+ type: "checkbox";
4330
+ id: string;
4331
+ label: string;
4332
+ checked: boolean;
4333
+ disabled?: boolean;
4334
+ } | {
4335
+ type: "progress";
4336
+ id: string;
4337
+ label?: string;
4338
+ value: number;
4339
+ detail?: string;
4340
+ indeterminate?: boolean;
4341
+ } | {
4342
+ type: "metric";
4343
+ id: string;
4344
+ label: string;
4345
+ value: string;
4346
+ detail?: string;
4347
+ trend?: string;
4348
+ tone?: "neutral" | "info" | "success" | "warning" | "error";
4349
+ } | {
4350
+ type: "section";
4351
+ id: string;
4352
+ label: string;
4353
+ detail?: string;
4354
+ } | {
4355
+ type: "separator";
4356
+ id?: string;
4357
+ }>;
4358
+ dismissible?: boolean;
4359
+ metadata?: {
4360
+ [key: string]: unknown;
4361
+ };
4362
+ kind: "popover";
4363
+ anchor: {
4364
+ x: number;
4365
+ y: number;
4366
+ width: number;
4367
+ height: number;
4368
+ };
4369
+ placement?: "top" | "right" | "bottom" | "left";
4370
+ } | {
4371
+ id: string;
4372
+ title: string;
4373
+ body?: string;
4374
+ controls?: Array<{
4375
+ type: "button";
4376
+ id: string;
4377
+ label: string;
4378
+ action: string;
4379
+ disabled?: boolean;
4380
+ destructive?: boolean;
4381
+ } | {
4382
+ type: "link";
4383
+ id: string;
4384
+ label: string;
4385
+ url: string;
4386
+ disabled?: boolean;
4387
+ } | {
4388
+ type: "text-input";
4389
+ id: string;
4390
+ label?: string;
4391
+ value?: string;
4392
+ placeholder?: string;
4393
+ secure?: boolean;
4394
+ multiline?: boolean;
4395
+ required?: boolean;
4396
+ } | {
4397
+ type: "select";
4398
+ id: string;
4399
+ label: string;
4400
+ value?: string;
4401
+ options: Array<{
4402
+ id: string;
4403
+ label: string;
4404
+ disabled?: boolean;
4405
+ }>;
4406
+ } | {
4407
+ type: "checkbox";
4408
+ id: string;
4409
+ label: string;
4410
+ checked: boolean;
4411
+ disabled?: boolean;
4412
+ } | {
4413
+ type: "progress";
4414
+ id: string;
4415
+ label?: string;
4416
+ value: number;
4417
+ detail?: string;
4418
+ indeterminate?: boolean;
4419
+ } | {
4420
+ type: "metric";
4421
+ id: string;
4422
+ label: string;
4423
+ value: string;
4424
+ detail?: string;
4425
+ trend?: string;
4426
+ tone?: "neutral" | "info" | "success" | "warning" | "error";
4427
+ } | {
4428
+ type: "section";
4429
+ id: string;
4430
+ label: string;
4431
+ detail?: string;
4432
+ } | {
4433
+ type: "separator";
4434
+ id?: string;
4435
+ }>;
4436
+ dismissible?: boolean;
4437
+ metadata?: {
4438
+ [key: string]: unknown;
4439
+ };
4440
+ kind: "notification";
4441
+ severity?: "info" | "success" | "warning" | "error";
4442
+ durationMs?: number;
4443
+ } | {
4444
+ id: string;
4445
+ title: string;
4446
+ body?: string;
4447
+ controls?: Array<{
4448
+ type: "button";
4449
+ id: string;
4450
+ label: string;
4451
+ action: string;
4452
+ disabled?: boolean;
4453
+ destructive?: boolean;
4454
+ } | {
4455
+ type: "link";
4456
+ id: string;
4457
+ label: string;
4458
+ url: string;
4459
+ disabled?: boolean;
4460
+ } | {
4461
+ type: "text-input";
4462
+ id: string;
4463
+ label?: string;
4464
+ value?: string;
4465
+ placeholder?: string;
4466
+ secure?: boolean;
4467
+ multiline?: boolean;
4468
+ required?: boolean;
4469
+ } | {
4470
+ type: "select";
4471
+ id: string;
4472
+ label: string;
4473
+ value?: string;
4474
+ options: Array<{
4475
+ id: string;
4476
+ label: string;
4477
+ disabled?: boolean;
4478
+ }>;
4479
+ } | {
4480
+ type: "checkbox";
4481
+ id: string;
4482
+ label: string;
4483
+ checked: boolean;
4484
+ disabled?: boolean;
4485
+ } | {
4486
+ type: "progress";
4487
+ id: string;
4488
+ label?: string;
4489
+ value: number;
4490
+ detail?: string;
4491
+ indeterminate?: boolean;
4492
+ } | {
4493
+ type: "metric";
4494
+ id: string;
4495
+ label: string;
4496
+ value: string;
4497
+ detail?: string;
4498
+ trend?: string;
4499
+ tone?: "neutral" | "info" | "success" | "warning" | "error";
4500
+ } | {
4501
+ type: "section";
4502
+ id: string;
4503
+ label: string;
4504
+ detail?: string;
4505
+ } | {
4506
+ type: "separator";
4507
+ id?: string;
4508
+ }>;
4509
+ dismissible?: boolean;
4510
+ metadata?: {
4511
+ [key: string]: unknown;
4512
+ };
4513
+ kind: "menu";
4514
+ items: Array<{
4515
+ id: string;
4516
+ label: string;
4517
+ action?: string;
4518
+ disabled?: boolean;
4519
+ checked?: boolean;
4520
+ }>;
4521
+ };
4522
+ } | {
4523
+ type: "surface-closed";
4524
+ surfaceId: string;
4525
+ reason: "dismissed" | "action" | "replaced" | "system";
4526
+ } | {
4527
+ type: "control-activated";
4528
+ surfaceId: string;
4529
+ controlId: string;
4530
+ action: {
4531
+ type: "dismiss-surface";
4532
+ surfaceId: string;
4533
+ } | {
4534
+ type: "invoke";
4535
+ action: string;
4536
+ payload?: {
4537
+ [key: string]: unknown;
4538
+ };
4539
+ } | {
4540
+ type: "open-url";
4541
+ url: string;
4542
+ } | {
4543
+ type: "update-control";
4544
+ surfaceId: string;
4545
+ controlId: string;
4546
+ value: unknown;
4547
+ };
4548
+ } | {
4549
+ type: "control-changed";
4550
+ surfaceId: string;
4551
+ controlId: string;
4552
+ value: unknown;
4553
+ };
4554
+ }, options?: Options<never, ThrowOnError>): RequestResult<PostNativeUiEventsResponses, unknown, ThrowOnError>;
3269
4555
  private _global?;
3270
4556
  get global(): Global;
3271
4557
  private _project?;
@@ -3316,6 +4602,8 @@ export declare class NikcliClient extends HeyApiClient {
3316
4602
  get brain(): Brain;
3317
4603
  private _doctor?;
3318
4604
  get doctor(): Doctor;
4605
+ private _nativeUi?;
4606
+ get nativeUi(): NativeUi;
3319
4607
  private _instance?;
3320
4608
  get instance(): Instance;
3321
4609
  private _path?;