@nikcli-ai/sdk 1.74.0 → 1.76.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.
- package/dist/v2/gen/sdk.gen.d.ts +270 -1
- package/dist/v2/gen/sdk.gen.js +477 -0
- package/dist/v2/gen/types.gen.d.ts +651 -1
- package/package.json +1 -1
package/dist/v2/gen/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Client, type Options as Options2, type TDataShape } from "./client/index.js";
|
|
2
|
-
import type { AgentPartInput, AnalyticsDailyResponses, AnalyticsGlobalResponses, AnalyticsLeaderboardResponses, AnalyticsSessionErrors, AnalyticsSessionResponses, AnalyticsSessionsResponses, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillCreateErrors, AppSkillCreateResponses, AppSkillDeleteErrors, AppSkillDeleteResponses, AppSkillsResponses, Auth as Auth7, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, ConnectorsAuthRemoveErrors, ConnectorsAuthRemoveResponses, ConnectorsAuthSetErrors, ConnectorsAuthSetResponses, ConnectorsInvalidateResponses, ConnectorsStatusResponses, DeleteConfigMcpNameResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalResourceListResponses, ExperimentalWorkspaceAdaptorListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, 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, GlobalEventResponses, GlobalHealthResponses, InstanceDisposeResponses, 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, 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, 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, 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, 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, SubtaskPartInput, 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, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, ConnectorsAuthRemoveErrors, ConnectorsAuthRemoveResponses, ConnectorsAuthSetErrors, ConnectorsAuthSetResponses, ConnectorsInvalidateResponses, ConnectorsStatusResponses, DeleteConfigMcpNameResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalResourceListResponses, ExperimentalWorkspaceAdaptorListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, 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, GlobalEventResponses, GlobalHealthResponses, InstanceDisposeResponses, 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, 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, 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, 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, SubtaskPartInput, 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> = Options2<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -252,6 +252,199 @@ export declare class Loop extends HeyApiClient {
|
|
|
252
252
|
limit?: number;
|
|
253
253
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LoopRecentRunsResponses, unknown, ThrowOnError, "fields">;
|
|
254
254
|
}
|
|
255
|
+
export declare class Feature extends HeyApiClient {
|
|
256
|
+
/**
|
|
257
|
+
* Mutate a single feature (skip / mark-done / reset / add deps)
|
|
258
|
+
*
|
|
259
|
+
* Power-user lever: re-plan mid-flight by skipping a stuck feature, marking it done to advance, or resetting it to retry. Status transitions are coerced to the legal subset.
|
|
260
|
+
*/
|
|
261
|
+
mutate<ThrowOnError extends boolean = false>(parameters: {
|
|
262
|
+
id: string;
|
|
263
|
+
featureID: string;
|
|
264
|
+
directory?: string;
|
|
265
|
+
workspace?: string;
|
|
266
|
+
status?: "pending" | "running" | "done" | "blocked" | "skipped" | "error";
|
|
267
|
+
error?: string;
|
|
268
|
+
appendDependsOn?: Array<string>;
|
|
269
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MissionFeatureMutateResponses, MissionFeatureMutateErrors, ThrowOnError, "fields">;
|
|
270
|
+
}
|
|
271
|
+
export declare class Mission extends HeyApiClient {
|
|
272
|
+
/**
|
|
273
|
+
* List missions
|
|
274
|
+
*
|
|
275
|
+
* List all missions defined for the current project, with live runtime status.
|
|
276
|
+
*/
|
|
277
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
278
|
+
directory?: string;
|
|
279
|
+
workspace?: string;
|
|
280
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MissionListResponses, unknown, ThrowOnError, "fields">;
|
|
281
|
+
/**
|
|
282
|
+
* Create or update a mission
|
|
283
|
+
*
|
|
284
|
+
* Persist a mission definition. Generates the id, createdAt, and default status for new missions.
|
|
285
|
+
*/
|
|
286
|
+
upsert<ThrowOnError extends boolean = false>(parameters?: {
|
|
287
|
+
directory?: string;
|
|
288
|
+
workspace?: string;
|
|
289
|
+
name?: string;
|
|
290
|
+
brief?: string;
|
|
291
|
+
milestones?: Array<{
|
|
292
|
+
id: string;
|
|
293
|
+
name: string;
|
|
294
|
+
features: Array<{
|
|
295
|
+
id: string;
|
|
296
|
+
name: string;
|
|
297
|
+
objective: string;
|
|
298
|
+
agent: string;
|
|
299
|
+
model?: string;
|
|
300
|
+
tokenBudget?: number;
|
|
301
|
+
dependsOn?: Array<string>;
|
|
302
|
+
status?: "pending" | "running" | "done" | "blocked" | "skipped" | "error";
|
|
303
|
+
error?: string;
|
|
304
|
+
}>;
|
|
305
|
+
validation?: "scrutiny" | "user-test" | "none";
|
|
306
|
+
status?: "pending" | "running" | "validating" | "done" | "blocked";
|
|
307
|
+
}>;
|
|
308
|
+
models?: {
|
|
309
|
+
worker?: string;
|
|
310
|
+
validation?: string;
|
|
311
|
+
orchestrator?: string;
|
|
312
|
+
};
|
|
313
|
+
timeoutMs?: number;
|
|
314
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MissionUpsertResponses, MissionUpsertErrors, ThrowOnError, "fields">;
|
|
315
|
+
/**
|
|
316
|
+
* List mission templates
|
|
317
|
+
*
|
|
318
|
+
* Built-in starter briefs the user can instantiate from the wizard.
|
|
319
|
+
*/
|
|
320
|
+
templates<ThrowOnError extends boolean = false>(parameters?: {
|
|
321
|
+
directory?: string;
|
|
322
|
+
workspace?: string;
|
|
323
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MissionTemplatesResponses, unknown, ThrowOnError, "fields">;
|
|
324
|
+
/**
|
|
325
|
+
* Generate a mission plan from a description
|
|
326
|
+
*
|
|
327
|
+
* Send a natural-language description to an AI and parse the response back into a fully-formed mission definition (brief + milestones + features). The response is a draft — the user still confirms before persistence.
|
|
328
|
+
*/
|
|
329
|
+
generate<ThrowOnError extends boolean = false>(parameters?: {
|
|
330
|
+
directory?: string;
|
|
331
|
+
workspace?: string;
|
|
332
|
+
description?: string;
|
|
333
|
+
model?: string;
|
|
334
|
+
agent?: string;
|
|
335
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MissionGenerateResponses, MissionGenerateErrors, ThrowOnError, "fields">;
|
|
336
|
+
/**
|
|
337
|
+
* Delete a mission
|
|
338
|
+
*
|
|
339
|
+
* Remove a mission and its execution history. Cancels any in-flight orchestration first.
|
|
340
|
+
*/
|
|
341
|
+
delete<ThrowOnError extends boolean = false>(parameters: {
|
|
342
|
+
id: string;
|
|
343
|
+
directory?: string;
|
|
344
|
+
workspace?: string;
|
|
345
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MissionDeleteResponses, MissionDeleteErrors, ThrowOnError, "fields">;
|
|
346
|
+
/**
|
|
347
|
+
* Get a mission
|
|
348
|
+
*
|
|
349
|
+
* Fetch a single mission definition by id, including its live runtime status.
|
|
350
|
+
*/
|
|
351
|
+
get<ThrowOnError extends boolean = false>(parameters: {
|
|
352
|
+
id: string;
|
|
353
|
+
directory?: string;
|
|
354
|
+
workspace?: string;
|
|
355
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MissionGetResponses, MissionGetErrors, ThrowOnError, "fields">;
|
|
356
|
+
/**
|
|
357
|
+
* Update a mission
|
|
358
|
+
*
|
|
359
|
+
* Replace a mission definition. Status field is preserved unless the body changes it explicitly (so updates from the wizard don't accidentally restart orchestration).
|
|
360
|
+
*/
|
|
361
|
+
update<ThrowOnError extends boolean = false>(parameters: {
|
|
362
|
+
path_id: string;
|
|
363
|
+
directory?: string;
|
|
364
|
+
workspace?: string;
|
|
365
|
+
body_id?: string;
|
|
366
|
+
name?: string;
|
|
367
|
+
brief?: string;
|
|
368
|
+
milestones?: Array<{
|
|
369
|
+
id: string;
|
|
370
|
+
name: string;
|
|
371
|
+
features: Array<{
|
|
372
|
+
id: string;
|
|
373
|
+
name: string;
|
|
374
|
+
objective: string;
|
|
375
|
+
agent: string;
|
|
376
|
+
model?: string;
|
|
377
|
+
tokenBudget?: number;
|
|
378
|
+
dependsOn?: Array<string>;
|
|
379
|
+
status?: "pending" | "running" | "done" | "blocked" | "skipped" | "error";
|
|
380
|
+
error?: string;
|
|
381
|
+
}>;
|
|
382
|
+
validation?: "scrutiny" | "user-test" | "none";
|
|
383
|
+
status?: "pending" | "running" | "validating" | "done" | "blocked";
|
|
384
|
+
}>;
|
|
385
|
+
models?: {
|
|
386
|
+
worker?: string;
|
|
387
|
+
validation?: string;
|
|
388
|
+
orchestrator?: string;
|
|
389
|
+
};
|
|
390
|
+
timeoutMs?: number;
|
|
391
|
+
status?: "planning" | "ready" | "running" | "paused" | "frozen" | "complete" | "error";
|
|
392
|
+
createdAt?: number;
|
|
393
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MissionUpdateResponses, MissionUpdateErrors, ThrowOnError, "fields">;
|
|
394
|
+
/**
|
|
395
|
+
* Start (or resume) orchestration of a mission
|
|
396
|
+
*
|
|
397
|
+
* Drive the mission forward: pick the current milestone, run its ready features, validate, then advance. Resumes a paused or frozen mission; returns immediately if already in flight.
|
|
398
|
+
*/
|
|
399
|
+
start<ThrowOnError extends boolean = false>(parameters: {
|
|
400
|
+
id: string;
|
|
401
|
+
directory?: string;
|
|
402
|
+
workspace?: string;
|
|
403
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MissionStartResponses, MissionStartErrors, ThrowOnError, "fields">;
|
|
404
|
+
/**
|
|
405
|
+
* Pause a mission
|
|
406
|
+
*
|
|
407
|
+
* Persist the paused flag and abort the current worker. Resume with /:id/start.
|
|
408
|
+
*/
|
|
409
|
+
pause<ThrowOnError extends boolean = false>(parameters: {
|
|
410
|
+
id: string;
|
|
411
|
+
directory?: string;
|
|
412
|
+
workspace?: string;
|
|
413
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MissionPauseResponses, MissionPauseErrors, ThrowOnError, "fields">;
|
|
414
|
+
/**
|
|
415
|
+
* Cancel and freeze a mission
|
|
416
|
+
*
|
|
417
|
+
* Freeze the mission for reassessment. The orchestrator aborts, the persisted status becomes 'frozen', and the user can edit the plan before resuming.
|
|
418
|
+
*/
|
|
419
|
+
cancel<ThrowOnError extends boolean = false>(parameters: {
|
|
420
|
+
id: string;
|
|
421
|
+
directory?: string;
|
|
422
|
+
workspace?: string;
|
|
423
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MissionCancelResponses, MissionCancelErrors, ThrowOnError, "fields">;
|
|
424
|
+
/**
|
|
425
|
+
* List a mission's execution history
|
|
426
|
+
*
|
|
427
|
+
* Most-recent-first feature/validation execution records for a mission, capped server-side.
|
|
428
|
+
*/
|
|
429
|
+
execs<ThrowOnError extends boolean = false>(parameters: {
|
|
430
|
+
id: string;
|
|
431
|
+
directory?: string;
|
|
432
|
+
workspace?: string;
|
|
433
|
+
limit?: number;
|
|
434
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MissionExecsResponses, unknown, ThrowOnError, "fields">;
|
|
435
|
+
/**
|
|
436
|
+
* List recent mission executions across all missions
|
|
437
|
+
*
|
|
438
|
+
* Most-recent-first execution records from every mission in the project.
|
|
439
|
+
*/
|
|
440
|
+
recentExecs<ThrowOnError extends boolean = false>(parameters?: {
|
|
441
|
+
directory?: string;
|
|
442
|
+
workspace?: string;
|
|
443
|
+
limit?: number;
|
|
444
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MissionRecentExecsResponses, unknown, ThrowOnError, "fields">;
|
|
445
|
+
private _feature?;
|
|
446
|
+
get feature(): Feature;
|
|
447
|
+
}
|
|
255
448
|
export declare class Pty extends HeyApiClient {
|
|
256
449
|
/**
|
|
257
450
|
* List PTY sessions
|
|
@@ -2048,6 +2241,78 @@ export declare class Routine extends HeyApiClient {
|
|
|
2048
2241
|
mobileRoutineTriggerInput?: MobileRoutineTriggerInput;
|
|
2049
2242
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileRoutineTriggerResponses, MobileRoutineTriggerErrors, ThrowOnError, "fields">;
|
|
2050
2243
|
}
|
|
2244
|
+
export declare class Pty2 extends HeyApiClient {
|
|
2245
|
+
/**
|
|
2246
|
+
* List PTY sessions for mobile
|
|
2247
|
+
*
|
|
2248
|
+
* Get a list of all active pseudo-terminal (PTY) sessions managed by Nikcli.
|
|
2249
|
+
*/
|
|
2250
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
2251
|
+
directory?: string;
|
|
2252
|
+
workspace?: string;
|
|
2253
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobilePtyListResponses, unknown, ThrowOnError, "fields">;
|
|
2254
|
+
/**
|
|
2255
|
+
* Create PTY session for mobile
|
|
2256
|
+
*
|
|
2257
|
+
* Create a new pseudo-terminal (PTY) session for running shell commands and processes.
|
|
2258
|
+
*/
|
|
2259
|
+
create<ThrowOnError extends boolean = false>(parameters?: {
|
|
2260
|
+
directory?: string;
|
|
2261
|
+
workspace?: string;
|
|
2262
|
+
command?: string;
|
|
2263
|
+
args?: Array<string>;
|
|
2264
|
+
cwd?: string;
|
|
2265
|
+
title?: string;
|
|
2266
|
+
env?: {
|
|
2267
|
+
[key: string]: string;
|
|
2268
|
+
};
|
|
2269
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobilePtyCreateResponses, MobilePtyCreateErrors, ThrowOnError, "fields">;
|
|
2270
|
+
/**
|
|
2271
|
+
* Remove PTY session for mobile
|
|
2272
|
+
*
|
|
2273
|
+
* Remove and terminate a specific pseudo-terminal (PTY) session.
|
|
2274
|
+
*/
|
|
2275
|
+
remove<ThrowOnError extends boolean = false>(parameters: {
|
|
2276
|
+
ptyID: string;
|
|
2277
|
+
directory?: string;
|
|
2278
|
+
workspace?: string;
|
|
2279
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobilePtyRemoveResponses, MobilePtyRemoveErrors, ThrowOnError, "fields">;
|
|
2280
|
+
/**
|
|
2281
|
+
* Get PTY session for mobile
|
|
2282
|
+
*
|
|
2283
|
+
* Retrieve detailed information about a specific pseudo-terminal (PTY) session.
|
|
2284
|
+
*/
|
|
2285
|
+
get<ThrowOnError extends boolean = false>(parameters: {
|
|
2286
|
+
ptyID: string;
|
|
2287
|
+
directory?: string;
|
|
2288
|
+
workspace?: string;
|
|
2289
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobilePtyGetResponses, MobilePtyGetErrors, ThrowOnError, "fields">;
|
|
2290
|
+
/**
|
|
2291
|
+
* Update PTY session for mobile
|
|
2292
|
+
*
|
|
2293
|
+
* Update properties of an existing pseudo-terminal (PTY) session.
|
|
2294
|
+
*/
|
|
2295
|
+
update<ThrowOnError extends boolean = false>(parameters: {
|
|
2296
|
+
ptyID: string;
|
|
2297
|
+
directory?: string;
|
|
2298
|
+
workspace?: string;
|
|
2299
|
+
title?: string;
|
|
2300
|
+
size?: {
|
|
2301
|
+
rows: number;
|
|
2302
|
+
cols: number;
|
|
2303
|
+
};
|
|
2304
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobilePtyUpdateResponses, MobilePtyUpdateErrors, ThrowOnError, "fields">;
|
|
2305
|
+
/**
|
|
2306
|
+
* Connect to PTY session for mobile
|
|
2307
|
+
*
|
|
2308
|
+
* Establish a WebSocket connection to interact with a pseudo-terminal (PTY) session in real-time.
|
|
2309
|
+
*/
|
|
2310
|
+
connect<ThrowOnError extends boolean = false>(parameters: {
|
|
2311
|
+
ptyID: string;
|
|
2312
|
+
directory?: string;
|
|
2313
|
+
workspace?: string;
|
|
2314
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobilePtyConnectResponses, MobilePtyConnectErrors, ThrowOnError, "fields">;
|
|
2315
|
+
}
|
|
2051
2316
|
export declare class Mobile extends HeyApiClient {
|
|
2052
2317
|
/**
|
|
2053
2318
|
* Get mobile bootstrap payload
|
|
@@ -2082,6 +2347,8 @@ export declare class Mobile extends HeyApiClient {
|
|
|
2082
2347
|
get loop(): Loop2;
|
|
2083
2348
|
private _routine?;
|
|
2084
2349
|
get routine(): Routine;
|
|
2350
|
+
private _pty?;
|
|
2351
|
+
get pty(): Pty2;
|
|
2085
2352
|
}
|
|
2086
2353
|
export declare class Find extends HeyApiClient {
|
|
2087
2354
|
/**
|
|
@@ -2756,6 +3023,8 @@ export declare class NikcliClient extends HeyApiClient {
|
|
|
2756
3023
|
get project(): Project;
|
|
2757
3024
|
private _loop?;
|
|
2758
3025
|
get loop(): Loop;
|
|
3026
|
+
private _mission?;
|
|
3027
|
+
get mission(): Mission;
|
|
2759
3028
|
private _pty?;
|
|
2760
3029
|
get pty(): Pty;
|
|
2761
3030
|
private _config?;
|