@nikcli-ai/sdk 1.387.0 → 1.388.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/httpapi/compat.d.ts +1 -0
- package/dist/httpapi/generated/client.d.ts +2 -1
- package/dist/httpapi/generated/client.js +7 -0
- package/dist/httpapi/generated/compat.d.ts +4 -0
- package/dist/httpapi/generated/compat.js +1 -0
- package/dist/httpapi/generated/types.d.ts +11 -0
- package/dist/server.d.ts +4 -0
- package/package.json +1 -1
package/dist/httpapi/compat.d.ts
CHANGED
|
@@ -510,6 +510,7 @@ export declare function compat(raw: Raw, defaults?: CompatDefaults): {
|
|
|
510
510
|
cancel: (input: WithDirectory<import("./client.js").SessionBackgroundCancelInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
511
511
|
inspect: (input: WithDirectory<import("./client.js").SessionBackgroundInspectInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionBackgroundInspectOutput2>>;
|
|
512
512
|
read: (input: WithDirectory<import("./client.js").SessionBackgroundReadInput>, options?: CallOptions) => Promise<Result<string>>;
|
|
513
|
+
resume: (input: WithDirectory<import("./client.js").SessionBackgroundResumeInput>, options?: CallOptions) => Promise<Result<boolean>>;
|
|
513
514
|
};
|
|
514
515
|
children: (input: WithDirectory<import("./client.js").SessionChildrenInput>, options?: CallOptions) => Promise<Result<import("./client.js").SessionList>>;
|
|
515
516
|
command: (input: WithDirectory<import("./client.js").SessionCommandInput>, options?: CallOptions) => Promise<Result<import("./client.js").MessageWithParts>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TopLevelVcsStatusOutput, TopLevelVcsApplyInput, TopLevelCommandOutput, TopLevelAgentOutput, TopLevelSkillOutput, TopLevelLspOutput, TopLevelFormatterOutput, AnalyticsDailyInput, AnalyticsDailyOutput, AnalyticsSessionInput, AnalyticsSessionsOutput, AnalyticsDataInput, AppLogInput, AppSkillCreateInput, AppSkillDeleteInput, BrainTriggerInput, ChatbotBotsOutput, ChatbotStartInput, ChatbotStopInput, DiscordSetupInput, VoiceTranscribeInput, ProfilePatchInput, ProfileHabitsInput, ProfilePreviewInput, ProfileClearHabitsInput, ConfigUpdateInput, ConnectorsAuthSetInput, ConnectorsAuthRemoveInput, ConnectorsInvalidateInput, ExperimentalToolsInput, ExperimentalWorktreeCreateInput, ExperimentalWorktreeRemoveInput, ExperimentalWorktreeResetInput, ExperimentalManagedWorktreeCreateInput, ExperimentalManagedWorktreeRemoveInput, ExperimentalManagedWorktreeLinkInput, ExperimentalManagedWorktreeChildrenInput, ExperimentalManagedWorktreeAncestorsInput, FileFindTextInput, FileFindTextOutput, FileFindFileInput, FileFindFileOutput, FileFindSymbolInput, FileFindSymbolOutput, FileListInput, FileListOutput, FileContentInput, FileWriteInput, FileStatusOutput, McpAddInput, McpStartAuthInput, McpAuthCallbackInput, McpAuthenticateInput, McpRemoveAuthInput, McpConnectInput, McpDisconnectInput, McpToggleInput, MissionGenerateInput, MissionRecentExecsInput, MissionGetInput, MissionUpsertInput, MissionUpdateInput, MissionRemoveInput, MissionStartInput, MissionPauseInput, MissionCancelInput, MissionFeatureMutateInput, MissionExecsInput, MobileAuthTokenListOutput, MobileAuthTokenCreateInput, MobileAuthTokenCreateOutput, MobileAuthTokenRevokeInput, MobileAuthTokenRevokeOutput, MobileCommandListOutput, MobileProjectListOutput, MobileMemoryHistoryOutput, MobileMemorySearchInput, MobileMemorySearchOutput, MobileMemoryStashListOutput, MobileMemoryStashCreateInput, MobileMemoryStashDeleteInput, MobileGithubReposOutput, MobileGithubBranchesInput, MobileGithubBranchesOutput, MobileGithubWorkflowsInput, MobileGithubWorkflowsOutput, MobileGithubWorkflowRunsInput, MobileGithubWorkflowRunJobsInput, MobileGithubWorkflowRunJobsOutput, MobileGithubWorkflowRunRerunInput, MobileGithubWorkflowRunCancelInput, MobileGithubWorkflowDispatchInput, MobileGithubImportsOutput, MobileGithubOauthClientInput, MobileGithubOauthDevicePollInput, MobileGithubAuthSetInput, MobileGithubImportInput, MobileGithubImportOutput, MobileGithubSessionCreateInput, MobileSessionListInput, MobileSessionListOutput, MobileSessionCreateInput, MobileSessionDetailInput, MobileSessionDeleteInput, MobileSessionDiffInput, MobileSessionDiffOutput, MobileSessionCommandListInput, MobileSessionCommandListOutput, MobileSessionCommandInput, MobileSessionCommandOutput, MobileSessionMessageInput, MobileSessionAbortInput, MobilePermissionRespondInput, MobileQuestionRespondInput, MobileQuestionRejectInput, MobileSessionPublishInput, MobileSessionCleanupInput, MobileSessionStreamInput, MobileSessionStreamOutput, MobileSessionRenameInput, MobileSessionTodoInput, MobileSessionTodoOutput, MobileTeleportUploadBeginOutput, MobileTeleportUploadChunkInput, MobileTeleportUploadChunkOutput, MobileTeleportInInput, MobileTeleportOutInput, MobileWorktreeCreateInput, MobileWorktreeRemoveInput, MobileWorktreeResetInput, MobileGitDiffInput, MobileGitDiffOutput, MobileGitCommitsInput, MobileGitCommitsOutput, MobileGitBranchesOutput, MobileGitCommitInput, MobileGitCommitOutput, MobileGitCheckoutInput, MobileGitStageInput, MobileGitUnstageInput, MobileGitDiscardInput, MobileGitPushInput, MobileGitPushOutput, MobileGitPullOutput, MobileLoopListOutput, MobileLoopCreateInput, MobileLoopTemplatesOutput, MobileLoopGenerateInput, MobileLoopRunsRecentInput, MobileLoopRunsRecentOutput, MobileLoopGetInput, MobileLoopGetOutput, MobileLoopDeleteInput, MobileLoopUpdateInput, MobileLoopRunsInput, MobileLoopRunsOutput, MobileLoopRunInput, MobileLoopAbortInput, MobileLoopToggleInput, MobileLoopPauseInput, MobileLoopResumeInput, MobileRoutineListOutput, MobileRoutineCreateInput, MobileRoutineGetInput, MobileRoutineDeleteInput, MobileRoutineUpdateInput, MobileRoutineRunInput, MobileRoutinePauseInput, MobileRoutineResumeInput, MobileRoutineTriggerInput, MobilePtyListOutput, MobilePtyCreateInput, MobilePtyGetInput, MobilePtyUpdateInput, MobilePtyRemoveInput, MobileMissionListOutput, MobileMissionCreateInput, MobileMissionTemplatesOutput, MobileMissionGenerateInput, MobileMissionExecsRecentInput, MobileMissionExecsRecentOutput, MobileMissionGetInput, MobileMissionGetOutput, MobileMissionUpdateInput, MobileMissionDeleteInput, MobileMissionExecsInput, MobileMissionExecsOutput, MobileMissionStartInput, MobileMissionPauseInput, MobileMissionCancelInput, MobileMissionFeatureMutateInput, MobileEventsOutput, MobileBrainStatusOutput, MobileBrainTriggerInput, MobileBrainTriggerOutput, MobileChatBotListOutput, MobileChatBotStartInput, MobileChatBotStartOutput, MobileChatBotStopInput, MobileChatBotStopOutput, MobileObservabilityGetOutput, MobileObservabilitySetInput, MobileObservabilitySetOutput, MobileLspStatusOutput, MobileFusionListOutput, MobileFusionSetInput, MobileFusionSetOutput, MobileHostBrowserOutput, MobileHostComputerOutput, MobileHostHerdrGetOutput, MobileHostHerdrSetInput, MobileHostHerdrSetOutput, MobileHostIslandOutput, MobileHostDevtoolsOutput, MobileHostLanStartInput, ProjectListOutput, ProjectUpdateInput, ProjectDirectoryListInput, ProjectDirectoryListOutput, ProjectCopyCreateInput, ProjectCopyRemoveInput, ProjectCopyRefreshInput, ProviderApiInput, ProviderRemoveAuthInput, ProviderOauthAuthorizeInput, ProviderOauthAuthorizeOutput, ProviderOauthCallbackInput, QuestionListOutput, QuestionReplyInput, QuestionRejectInput, PermissionListOutput, PermissionReplyInput, PtyCreateInput, PtyGetInput, PtyUpdateInput, PtyRemoveInput, LoopGenerateInput, LoopRecentRunsInput, LoopGetInput, LoopUpsertInput, LoopUpdateInput, LoopRemoveInput, LoopToggleInput, LoopRunInput, LoopAbortInput, LoopPauseInput, LoopResumeInput, LoopRunsInput, SessionListInput, SessionCreateInput, SessionGetInput, SessionRemoveInput, SessionUpdateInput, SessionForkInput, SessionAbortInput, SessionRevertInput, SessionUnrevertInput, SessionShareInput, SessionUnshareInput, SessionSummarizeInput, SessionCommandInput, SessionShellInput, SessionPermissionRespondInput, SessionChildrenInput, SessionTodoInput, SessionDiffInput, SessionMessagesInput, SessionPendingInput, SessionPendingSteerInput, SessionMessageInput, SessionMessageRemoveInput, SessionPartRemoveInput, SessionPartUpdateInput, SessionV2EntriesInput, SessionV2StateInput, SessionV2EventsInput, SessionInstructionsInput, SessionContextBreakdownInput, SessionContextToggleInput, SessionGoalInput, SessionBackgroundInput, SessionBackgroundInspectInput, SessionBackgroundReadInput, SessionBackgroundCancelInput, SessionMonitorInput, SessionMonitorLogInput, SessionMonitorCancelInput, AccountCompleteInput, SyncEventInput, SyncOutboxInput, SyncSnapshotInput, SyncStreamInput, SyncStreamOutput, SyncStatsInput, SyncConfigInput, TuiAppendPromptInput, TuiExecuteCommandInput, TuiShowToastInput, TuiPublishInput, TuiSelectSessionInput, TuiControlResponseInput, WorkspaceAdaptorsOutput, WorkspaceStatusOutput, WorkspaceCreateInput, WorkspaceListOutput, WorkspaceRemoveInput, WorkspaceRestoreInput, WorkspaceSessionRestoreInput, WorkspaceWarpInput, AuthSetInput, AuthRemoveInput, ConfigManagementMcpAddInput, ConfigManagementMcpUpdateInput, ConfigManagementMcpRemoveInput, ConfigManagementProfileCreateInput, ConfigManagementProfileActivateInput, SessionPromptPromptInput, SessionPromptPromptAsyncInput, ShareShortInput, ShareShortOutput, SharePageInput, ShareApiInput, ShareDataInput, EventsSubscribeOutput, EventsGlobalOutput, WorkspaceExtraEventsInput, WorkspaceExtraEventsOutput, WorkspaceExtraSessionWarpInput, UsersRegisterInput, UsersLoginInput, UsersUpdateInput } from "./types.js";
|
|
1
|
+
import type { TopLevelVcsStatusOutput, TopLevelVcsApplyInput, TopLevelCommandOutput, TopLevelAgentOutput, TopLevelSkillOutput, TopLevelLspOutput, TopLevelFormatterOutput, AnalyticsDailyInput, AnalyticsDailyOutput, AnalyticsSessionInput, AnalyticsSessionsOutput, AnalyticsDataInput, AppLogInput, AppSkillCreateInput, AppSkillDeleteInput, BrainTriggerInput, ChatbotBotsOutput, ChatbotStartInput, ChatbotStopInput, DiscordSetupInput, VoiceTranscribeInput, ProfilePatchInput, ProfileHabitsInput, ProfilePreviewInput, ProfileClearHabitsInput, ConfigUpdateInput, ConnectorsAuthSetInput, ConnectorsAuthRemoveInput, ConnectorsInvalidateInput, ExperimentalToolsInput, ExperimentalWorktreeCreateInput, ExperimentalWorktreeRemoveInput, ExperimentalWorktreeResetInput, ExperimentalManagedWorktreeCreateInput, ExperimentalManagedWorktreeRemoveInput, ExperimentalManagedWorktreeLinkInput, ExperimentalManagedWorktreeChildrenInput, ExperimentalManagedWorktreeAncestorsInput, FileFindTextInput, FileFindTextOutput, FileFindFileInput, FileFindFileOutput, FileFindSymbolInput, FileFindSymbolOutput, FileListInput, FileListOutput, FileContentInput, FileWriteInput, FileStatusOutput, McpAddInput, McpStartAuthInput, McpAuthCallbackInput, McpAuthenticateInput, McpRemoveAuthInput, McpConnectInput, McpDisconnectInput, McpToggleInput, MissionGenerateInput, MissionRecentExecsInput, MissionGetInput, MissionUpsertInput, MissionUpdateInput, MissionRemoveInput, MissionStartInput, MissionPauseInput, MissionCancelInput, MissionFeatureMutateInput, MissionExecsInput, MobileAuthTokenListOutput, MobileAuthTokenCreateInput, MobileAuthTokenCreateOutput, MobileAuthTokenRevokeInput, MobileAuthTokenRevokeOutput, MobileCommandListOutput, MobileProjectListOutput, MobileMemoryHistoryOutput, MobileMemorySearchInput, MobileMemorySearchOutput, MobileMemoryStashListOutput, MobileMemoryStashCreateInput, MobileMemoryStashDeleteInput, MobileGithubReposOutput, MobileGithubBranchesInput, MobileGithubBranchesOutput, MobileGithubWorkflowsInput, MobileGithubWorkflowsOutput, MobileGithubWorkflowRunsInput, MobileGithubWorkflowRunJobsInput, MobileGithubWorkflowRunJobsOutput, MobileGithubWorkflowRunRerunInput, MobileGithubWorkflowRunCancelInput, MobileGithubWorkflowDispatchInput, MobileGithubImportsOutput, MobileGithubOauthClientInput, MobileGithubOauthDevicePollInput, MobileGithubAuthSetInput, MobileGithubImportInput, MobileGithubImportOutput, MobileGithubSessionCreateInput, MobileSessionListInput, MobileSessionListOutput, MobileSessionCreateInput, MobileSessionDetailInput, MobileSessionDeleteInput, MobileSessionDiffInput, MobileSessionDiffOutput, MobileSessionCommandListInput, MobileSessionCommandListOutput, MobileSessionCommandInput, MobileSessionCommandOutput, MobileSessionMessageInput, MobileSessionAbortInput, MobilePermissionRespondInput, MobileQuestionRespondInput, MobileQuestionRejectInput, MobileSessionPublishInput, MobileSessionCleanupInput, MobileSessionStreamInput, MobileSessionStreamOutput, MobileSessionRenameInput, MobileSessionTodoInput, MobileSessionTodoOutput, MobileTeleportUploadBeginOutput, MobileTeleportUploadChunkInput, MobileTeleportUploadChunkOutput, MobileTeleportInInput, MobileTeleportOutInput, MobileWorktreeCreateInput, MobileWorktreeRemoveInput, MobileWorktreeResetInput, MobileGitDiffInput, MobileGitDiffOutput, MobileGitCommitsInput, MobileGitCommitsOutput, MobileGitBranchesOutput, MobileGitCommitInput, MobileGitCommitOutput, MobileGitCheckoutInput, MobileGitStageInput, MobileGitUnstageInput, MobileGitDiscardInput, MobileGitPushInput, MobileGitPushOutput, MobileGitPullOutput, MobileLoopListOutput, MobileLoopCreateInput, MobileLoopTemplatesOutput, MobileLoopGenerateInput, MobileLoopRunsRecentInput, MobileLoopRunsRecentOutput, MobileLoopGetInput, MobileLoopGetOutput, MobileLoopDeleteInput, MobileLoopUpdateInput, MobileLoopRunsInput, MobileLoopRunsOutput, MobileLoopRunInput, MobileLoopAbortInput, MobileLoopToggleInput, MobileLoopPauseInput, MobileLoopResumeInput, MobileRoutineListOutput, MobileRoutineCreateInput, MobileRoutineGetInput, MobileRoutineDeleteInput, MobileRoutineUpdateInput, MobileRoutineRunInput, MobileRoutinePauseInput, MobileRoutineResumeInput, MobileRoutineTriggerInput, MobilePtyListOutput, MobilePtyCreateInput, MobilePtyGetInput, MobilePtyUpdateInput, MobilePtyRemoveInput, MobileMissionListOutput, MobileMissionCreateInput, MobileMissionTemplatesOutput, MobileMissionGenerateInput, MobileMissionExecsRecentInput, MobileMissionExecsRecentOutput, MobileMissionGetInput, MobileMissionGetOutput, MobileMissionUpdateInput, MobileMissionDeleteInput, MobileMissionExecsInput, MobileMissionExecsOutput, MobileMissionStartInput, MobileMissionPauseInput, MobileMissionCancelInput, MobileMissionFeatureMutateInput, MobileEventsOutput, MobileBrainStatusOutput, MobileBrainTriggerInput, MobileBrainTriggerOutput, MobileChatBotListOutput, MobileChatBotStartInput, MobileChatBotStartOutput, MobileChatBotStopInput, MobileChatBotStopOutput, MobileObservabilityGetOutput, MobileObservabilitySetInput, MobileObservabilitySetOutput, MobileLspStatusOutput, MobileFusionListOutput, MobileFusionSetInput, MobileFusionSetOutput, MobileHostBrowserOutput, MobileHostComputerOutput, MobileHostHerdrGetOutput, MobileHostHerdrSetInput, MobileHostHerdrSetOutput, MobileHostIslandOutput, MobileHostDevtoolsOutput, MobileHostLanStartInput, ProjectListOutput, ProjectUpdateInput, ProjectDirectoryListInput, ProjectDirectoryListOutput, ProjectCopyCreateInput, ProjectCopyRemoveInput, ProjectCopyRefreshInput, ProviderApiInput, ProviderRemoveAuthInput, ProviderOauthAuthorizeInput, ProviderOauthAuthorizeOutput, ProviderOauthCallbackInput, QuestionListOutput, QuestionReplyInput, QuestionRejectInput, PermissionListOutput, PermissionReplyInput, PtyCreateInput, PtyGetInput, PtyUpdateInput, PtyRemoveInput, LoopGenerateInput, LoopRecentRunsInput, LoopGetInput, LoopUpsertInput, LoopUpdateInput, LoopRemoveInput, LoopToggleInput, LoopRunInput, LoopAbortInput, LoopPauseInput, LoopResumeInput, LoopRunsInput, SessionListInput, SessionCreateInput, SessionGetInput, SessionRemoveInput, SessionUpdateInput, SessionForkInput, SessionAbortInput, SessionRevertInput, SessionUnrevertInput, SessionShareInput, SessionUnshareInput, SessionSummarizeInput, SessionCommandInput, SessionShellInput, SessionPermissionRespondInput, SessionChildrenInput, SessionTodoInput, SessionDiffInput, SessionMessagesInput, SessionPendingInput, SessionPendingSteerInput, SessionMessageInput, SessionMessageRemoveInput, SessionPartRemoveInput, SessionPartUpdateInput, SessionV2EntriesInput, SessionV2StateInput, SessionV2EventsInput, SessionInstructionsInput, SessionContextBreakdownInput, SessionContextToggleInput, SessionGoalInput, SessionBackgroundInput, SessionBackgroundInspectInput, SessionBackgroundReadInput, SessionBackgroundCancelInput, SessionBackgroundResumeInput, SessionMonitorInput, SessionMonitorLogInput, SessionMonitorCancelInput, AccountCompleteInput, SyncEventInput, SyncOutboxInput, SyncSnapshotInput, SyncStreamInput, SyncStreamOutput, SyncStatsInput, SyncConfigInput, TuiAppendPromptInput, TuiExecuteCommandInput, TuiShowToastInput, TuiPublishInput, TuiSelectSessionInput, TuiControlResponseInput, WorkspaceAdaptorsOutput, WorkspaceStatusOutput, WorkspaceCreateInput, WorkspaceListOutput, WorkspaceRemoveInput, WorkspaceRestoreInput, WorkspaceSessionRestoreInput, WorkspaceWarpInput, AuthSetInput, AuthRemoveInput, ConfigManagementMcpAddInput, ConfigManagementMcpUpdateInput, ConfigManagementMcpRemoveInput, ConfigManagementProfileCreateInput, ConfigManagementProfileActivateInput, SessionPromptPromptInput, SessionPromptPromptAsyncInput, ShareShortInput, ShareShortOutput, SharePageInput, ShareApiInput, ShareDataInput, EventsSubscribeOutput, EventsGlobalOutput, WorkspaceExtraEventsInput, WorkspaceExtraEventsOutput, WorkspaceExtraSessionWarpInput, UsersRegisterInput, UsersLoginInput, UsersUpdateInput } from "./types.js";
|
|
2
2
|
export interface ClientOptions {
|
|
3
3
|
readonly baseUrl: string;
|
|
4
4
|
readonly fetch?: typeof globalThis.fetch;
|
|
@@ -340,6 +340,7 @@ export declare function make(options: ClientOptions): {
|
|
|
340
340
|
backgroundInspect: (input: SessionBackgroundInspectInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionBackgroundInspectOutput2>;
|
|
341
341
|
backgroundRead: (input: SessionBackgroundReadInput, requestOptions?: RequestOptions) => Promise<string>;
|
|
342
342
|
backgroundCancel: (input: SessionBackgroundCancelInput, requestOptions?: RequestOptions) => Promise<boolean>;
|
|
343
|
+
backgroundResume: (input: SessionBackgroundResumeInput, requestOptions?: RequestOptions) => Promise<boolean>;
|
|
343
344
|
monitor: (input: SessionMonitorInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionMonitorOutput2>;
|
|
344
345
|
monitorLog: (input: SessionMonitorLogInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionMonitorLogOutput2>;
|
|
345
346
|
monitorCancel: (input: SessionMonitorCancelInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionMonitorOutput2>;
|
|
@@ -2106,6 +2106,13 @@ export function make(options) {
|
|
|
2106
2106
|
declaredStatuses: [],
|
|
2107
2107
|
empty: false,
|
|
2108
2108
|
}, requestOptions),
|
|
2109
|
+
backgroundResume: (input, requestOptions) => request({
|
|
2110
|
+
method: "POST",
|
|
2111
|
+
path: `/session/${encodeURIComponent(input.sessionID)}/background/${encodeURIComponent(input.delegationID)}/resume`,
|
|
2112
|
+
successStatus: 200,
|
|
2113
|
+
declaredStatuses: [],
|
|
2114
|
+
empty: false,
|
|
2115
|
+
}, requestOptions),
|
|
2109
2116
|
monitor: (input, requestOptions) => request({
|
|
2110
2117
|
method: "GET",
|
|
2111
2118
|
path: `/session/${encodeURIComponent(input.sessionID)}/monitor/${encodeURIComponent(input.monitorID)}`,
|
|
@@ -1025,6 +1025,10 @@ export declare const makeCompat: (raw: Raw, helpers: CompatHelpers) => {
|
|
|
1025
1025
|
readonly directory?: string;
|
|
1026
1026
|
readonly workspace?: string;
|
|
1027
1027
|
}, options?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<string>>;
|
|
1028
|
+
resume: (input: import("./types.js").SessionBackgroundResumeInput & {
|
|
1029
|
+
readonly directory?: string;
|
|
1030
|
+
readonly workspace?: string;
|
|
1031
|
+
}, options?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<boolean>>;
|
|
1028
1032
|
};
|
|
1029
1033
|
children: (input: import("./types.js").SessionChildrenInput & {
|
|
1030
1034
|
readonly directory?: string;
|
|
@@ -361,6 +361,7 @@ export const makeCompat = (raw, helpers) => {
|
|
|
361
361
|
cancel: result(raw["session"]["backgroundCancel"]),
|
|
362
362
|
inspect: result(raw["session"]["backgroundInspect"]),
|
|
363
363
|
read: result(raw["session"]["backgroundRead"]),
|
|
364
|
+
resume: result(raw["session"]["backgroundResume"]),
|
|
364
365
|
},
|
|
365
366
|
children: result(raw["session"]["children"]),
|
|
366
367
|
command: result(raw["session"]["command"]),
|
|
@@ -10351,6 +10351,17 @@ export type SessionBackgroundCancelInput = {
|
|
|
10351
10351
|
}["delegationID"];
|
|
10352
10352
|
};
|
|
10353
10353
|
export type SessionBackgroundCancelOutput = boolean;
|
|
10354
|
+
export type SessionBackgroundResumeInput = {
|
|
10355
|
+
readonly sessionID: {
|
|
10356
|
+
readonly sessionID: string;
|
|
10357
|
+
readonly delegationID: string;
|
|
10358
|
+
}["sessionID"];
|
|
10359
|
+
readonly delegationID: {
|
|
10360
|
+
readonly sessionID: string;
|
|
10361
|
+
readonly delegationID: string;
|
|
10362
|
+
}["delegationID"];
|
|
10363
|
+
};
|
|
10364
|
+
export type SessionBackgroundResumeOutput = boolean;
|
|
10354
10365
|
export type SessionMonitorInput = {
|
|
10355
10366
|
readonly sessionID: {
|
|
10356
10367
|
readonly sessionID: string;
|
package/dist/server.d.ts
CHANGED
|
@@ -1046,6 +1046,10 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
|
|
|
1046
1046
|
readonly directory?: string;
|
|
1047
1047
|
readonly workspace?: string;
|
|
1048
1048
|
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<string>>;
|
|
1049
|
+
resume: (input: import("./httpapi/client.js").SessionBackgroundResumeInput & {
|
|
1050
|
+
readonly directory?: string;
|
|
1051
|
+
readonly workspace?: string;
|
|
1052
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<boolean>>;
|
|
1049
1053
|
};
|
|
1050
1054
|
children: (input: import("./httpapi/client.js").SessionChildrenInput & {
|
|
1051
1055
|
readonly directory?: string;
|