@nikcli-ai/sdk 1.74.0 → 1.75.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 +220 -25
- package/dist/v2/gen/sdk.gen.js +378 -48
- package/dist/v2/gen/types.gen.d.ts +562 -65
- 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, 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
|
|
@@ -1272,28 +1465,6 @@ export declare class Auth2 extends HeyApiClient {
|
|
|
1272
1465
|
private _token?;
|
|
1273
1466
|
get token(): Token;
|
|
1274
1467
|
}
|
|
1275
|
-
export declare class Command extends HeyApiClient {
|
|
1276
|
-
/**
|
|
1277
|
-
* List mobile commands
|
|
1278
|
-
*
|
|
1279
|
-
* Return command metadata safe for the mobile command palette and slash autocomplete.
|
|
1280
|
-
*/
|
|
1281
|
-
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1282
|
-
directory?: string;
|
|
1283
|
-
workspace?: string;
|
|
1284
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileCommandListResponses, unknown, ThrowOnError, "fields">;
|
|
1285
|
-
}
|
|
1286
|
-
export declare class Project2 extends HeyApiClient {
|
|
1287
|
-
/**
|
|
1288
|
-
* List local projects for mobile
|
|
1289
|
-
*
|
|
1290
|
-
* Return local projects and sandboxes visible to the connected Nikcli host.
|
|
1291
|
-
*/
|
|
1292
|
-
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1293
|
-
directory?: string;
|
|
1294
|
-
workspace?: string;
|
|
1295
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileProjectListResponses, unknown, ThrowOnError, "fields">;
|
|
1296
|
-
}
|
|
1297
1468
|
export declare class Stash extends HeyApiClient {
|
|
1298
1469
|
/**
|
|
1299
1470
|
* List prompt stash for mobile
|
|
@@ -1348,6 +1519,28 @@ export declare class Memory extends HeyApiClient {
|
|
|
1348
1519
|
private _stash?;
|
|
1349
1520
|
get stash(): Stash;
|
|
1350
1521
|
}
|
|
1522
|
+
export declare class Command extends HeyApiClient {
|
|
1523
|
+
/**
|
|
1524
|
+
* List mobile commands
|
|
1525
|
+
*
|
|
1526
|
+
* Return command metadata safe for the mobile command palette and slash autocomplete.
|
|
1527
|
+
*/
|
|
1528
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1529
|
+
directory?: string;
|
|
1530
|
+
workspace?: string;
|
|
1531
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileCommandListResponses, unknown, ThrowOnError, "fields">;
|
|
1532
|
+
}
|
|
1533
|
+
export declare class Project2 extends HeyApiClient {
|
|
1534
|
+
/**
|
|
1535
|
+
* List local projects for mobile
|
|
1536
|
+
*
|
|
1537
|
+
* Return local projects and sandboxes visible to the connected Nikcli host.
|
|
1538
|
+
*/
|
|
1539
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1540
|
+
directory?: string;
|
|
1541
|
+
workspace?: string;
|
|
1542
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileProjectListResponses, unknown, ThrowOnError, "fields">;
|
|
1543
|
+
}
|
|
1351
1544
|
export declare class ClientId extends HeyApiClient {
|
|
1352
1545
|
/**
|
|
1353
1546
|
* Persist GitHub OAuth client ID for mobile
|
|
@@ -2060,12 +2253,12 @@ export declare class Mobile extends HeyApiClient {
|
|
|
2060
2253
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileBootstrapResponses, unknown, ThrowOnError, "fields">;
|
|
2061
2254
|
private _auth?;
|
|
2062
2255
|
get auth(): Auth2;
|
|
2256
|
+
private _memory?;
|
|
2257
|
+
get memory(): Memory;
|
|
2063
2258
|
private _command?;
|
|
2064
2259
|
get command(): Command;
|
|
2065
2260
|
private _project?;
|
|
2066
2261
|
get project(): Project2;
|
|
2067
|
-
private _memory?;
|
|
2068
|
-
get memory(): Memory;
|
|
2069
2262
|
private _github?;
|
|
2070
2263
|
get github(): Github;
|
|
2071
2264
|
private _session?;
|
|
@@ -2756,6 +2949,8 @@ export declare class NikcliClient extends HeyApiClient {
|
|
|
2756
2949
|
get project(): Project;
|
|
2757
2950
|
private _loop?;
|
|
2758
2951
|
get loop(): Loop;
|
|
2952
|
+
private _mission?;
|
|
2953
|
+
get mission(): Mission;
|
|
2759
2954
|
private _pty?;
|
|
2760
2955
|
get pty(): Pty;
|
|
2761
2956
|
private _config?;
|