@nikcli-ai/sdk 1.92.0 → 1.94.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 +24 -1
- package/dist/v2/gen/sdk.gen.js +41 -0
- package/dist/v2/gen/types.gen.d.ts +72 -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, LoopAbortErrors, LoopAbortResponses, LoopDeleteErrors, LoopDeleteResponses, LoopGenerateErrors, LoopGenerateResponses, LoopGetErrors, LoopGetResponses, LoopListErrors, LoopListResponses, LoopPauseResponses, LoopRecentRunsResponses, LoopResumeErrors, LoopResumeResponses, LoopRunErrors, LoopRunResponses, LoopRunsResponses, LoopTemplatesResponses, LoopToggleErrors, LoopToggleResponses, LoopUpdateErrors, LoopUpdateResponses, LoopUpsertErrors, LoopUpsertResponses, LspStatusResponses, ManagedWorktreeAncestorsErrors, ManagedWorktreeAncestorsResponses, ManagedWorktreeChildrenErrors, ManagedWorktreeChildrenResponses, ManagedWorktreeCreateErrors, ManagedWorktreeCreateInput, ManagedWorktreeCreateResponses, ManagedWorktreeLinkErrors, ManagedWorktreeLinkInput, ManagedWorktreeLinkResponses, ManagedWorktreeListErrors, ManagedWorktreeListResponses, ManagedWorktreeRemoveErrors, ManagedWorktreeRemoveInput, ManagedWorktreeRemoveResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, McpToggleErrors, McpToggleResponses, MissionCancelErrors, MissionCancelResponses, MissionDeleteErrors, MissionDeleteResponses, MissionExecsResponses, MissionFeatureMutateErrors, MissionFeatureMutateResponses, MissionGenerateErrors, MissionGenerateResponses, MissionGetErrors, MissionGetResponses, MissionListResponses, MissionPauseErrors, MissionPauseResponses, MissionRecentExecsResponses, MissionStartErrors, MissionStartResponses, MissionTemplatesResponses, MissionUpdateErrors, MissionUpdateResponses, MissionUpsertErrors, MissionUpsertResponses, MobileAuthTokenCreateResponses, MobileAuthTokenListResponses, MobileAuthTokenRevokeResponses, MobileBootstrapResponses, MobileCommandListResponses, MobileGitBranchesResponses, MobileGitCheckoutErrors, MobileGitCheckoutResponses, MobileGitCommitErrors, MobileGitCommitResponses, MobileGitCommitsResponses, MobileGitDiffResponses, MobileGitDiscardResponses, MobileGithubAuthRemoveResponses, MobileGithubAuthSetErrors, MobileGithubAuthSetResponses, MobileGithubBranchesResponses, MobileGithubDeviceAuthPollInput, MobileGithubImportErrors, MobileGithubImportRequest, MobileGithubImportResponses, MobileGithubImportsResponses, MobileGithubOauthClientIdSetErrors, MobileGithubOauthClientIdSetResponses, MobileGithubOauthDevicePollErrors, MobileGithubOauthDevicePollResponses, MobileGithubOauthDeviceStartErrors, MobileGithubOauthDeviceStartResponses, MobileGithubPublishInput, MobileGithubReposResponses, MobileGithubSessionCleanupErrors, MobileGithubSessionCleanupResponses, MobileGithubSessionCreateErrors, MobileGithubSessionCreateInput, MobileGithubSessionCreateResponses, MobileGithubSessionPublishErrors, MobileGithubSessionPublishResponses, MobileGitPullErrors, MobileGitPullResponses, MobileGitPushErrors, MobileGitPushResponses, MobileGitStageResponses, MobileGitStatusResponses, MobileGitUnstageResponses, MobileLoopAbortErrors, MobileLoopAbortResponses, MobileLoopCreateErrors, MobileLoopCreateResponses, MobileLoopDeleteErrors, MobileLoopDeleteResponses, MobileLoopGenerateErrors, MobileLoopGenerateInput, MobileLoopGenerateResponses, MobileLoopGetErrors, MobileLoopGetResponses, MobileLoopListErrors, MobileLoopListResponses, MobileLoopPauseErrors, MobileLoopPauseResponses, MobileLoopResumeErrors, MobileLoopResumeResponses, MobileLoopRunErrors, MobileLoopRunResponses, MobileLoopRunsErrors, MobileLoopRunsRecentErrors, MobileLoopRunsRecentResponses, MobileLoopRunsResponses, MobileLoopTemplatesResponses, MobileLoopToggleErrors, MobileLoopToggleResponses, MobileLoopUpdateErrors, MobileLoopUpdateResponses, MobileLoopWriteInput, MobileMemoryHistoryResponses, MobileMemorySearchResponses, MobileMemoryStashCreateErrors, MobileMemoryStashCreateResponses, MobileMemoryStashDeleteErrors, MobileMemoryStashDeleteResponses, MobileMemoryStashListResponses, MobilePermissionRespondResponses, MobileProjectListResponses, MobilePromptStashCreateInput, MobilePtyConnectErrors, MobilePtyConnectResponses, MobilePtyCreateErrors, MobilePtyCreateResponses, MobilePtyGetErrors, MobilePtyGetResponses, MobilePtyListResponses, MobilePtyRemoveErrors, MobilePtyRemoveResponses, MobilePtyUpdateErrors, MobilePtyUpdateResponses, MobileQuestionRejectResponses, MobileQuestionRespondResponses, MobileRoutineCreateErrors, MobileRoutineCreateInput, MobileRoutineCreateResponses, MobileRoutineDeleteErrors, MobileRoutineDeleteResponses, MobileRoutineGetErrors, MobileRoutineGetResponses, MobileRoutineListErrors, MobileRoutineListResponses, MobileRoutinePauseErrors, MobileRoutinePauseResponses, MobileRoutineResumeErrors, MobileRoutineResumeResponses, MobileRoutineRunErrors, MobileRoutineRunInput, MobileRoutineRunResponses, MobileRoutineTriggerErrors, MobileRoutineTriggerInput, MobileRoutineTriggerResponses, MobileRoutineUpdateErrors, MobileRoutineUpdateInput, MobileRoutineUpdateResponses, MobileSessionAbortResponses, MobileSessionCommandErrors, MobileSessionCommandInput, MobileSessionCommandListErrors, MobileSessionCommandListResponses, MobileSessionCommandResponses, MobileSessionCreateErrors, MobileSessionCreateInput, MobileSessionCreateResponses, MobileSessionDeleteErrors, MobileSessionDeleteResponses, MobileSessionDetailErrors, MobileSessionDetailResponses, MobileSessionDiffResponses, MobileSessionListResponses, MobileSessionMessageErrors, MobileSessionMessageResponses, MobileSessionRenameResponses, MobileSessionStreamResponses, MobileSessionTeleportErrors, MobileSessionTeleportResponses, MobileSessionTeleportUploadBeginResponses, MobileSessionTeleportUploadChunkErrors, MobileSessionTeleportUploadChunkResponses, MobileWorktreeCreateErrors, MobileWorktreeCreateResponses, MobileWorktreeRemoveResponses, MobileWorktreeResetResponses, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PatchConfigMcpNameResponses, PatchUserIdResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PostConfigMcpResponses, PostConfigProfilesActivateNameResponses, PostConfigProfilesResponses, PostUserLoginResponses, PostUserRegisterResponses, ProjectCurrentResponses, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, ProviderApiSetErrors, ProviderApiSetResponses, ProviderAuthRemoveResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, SessionAbortErrors, SessionAbortResponses, SessionBackgroundCancelErrors, SessionBackgroundCancelResponses, SessionBackgroundErrors, SessionBackgroundInspectErrors, SessionBackgroundInspectResponses, SessionBackgroundReadErrors, SessionBackgroundReadResponses, SessionBackgroundResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionContextErrors, SessionContextResponses, SessionContextToggleErrors, SessionContextToggleResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionGithub, SessionGoalErrors, SessionGoalResponses, SessionInstructionsErrors, SessionInstructionsResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionMonitorCancelErrors, SessionMonitorCancelResponses, SessionMonitorErrors, SessionMonitorLogErrors, SessionMonitorLogResponses, SessionMonitorResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShareErrors, SessionShareResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUnshareErrors, SessionUnshareResponses, SessionUpdateErrors, SessionUpdateResponses, SessionV2EntriesErrors, SessionV2EntriesResponses, SessionV2EventsErrors, SessionV2EventsResponses, SessionV2StateErrors, SessionV2StateResponses, 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, LoopAbortErrors, LoopAbortResponses, LoopDeleteErrors, LoopDeleteResponses, LoopGenerateErrors, LoopGenerateResponses, LoopGetErrors, LoopGetResponses, LoopListErrors, LoopListResponses, LoopPauseResponses, LoopRecentRunsResponses, LoopResumeErrors, LoopResumeResponses, LoopRunErrors, LoopRunResponses, LoopRunsResponses, LoopTemplatesResponses, LoopToggleErrors, LoopToggleResponses, LoopUpdateErrors, LoopUpdateResponses, LoopUpsertErrors, LoopUpsertResponses, LspStatusResponses, ManagedWorktreeAncestorsErrors, ManagedWorktreeAncestorsResponses, ManagedWorktreeChildrenErrors, ManagedWorktreeChildrenResponses, ManagedWorktreeCreateErrors, ManagedWorktreeCreateInput, ManagedWorktreeCreateResponses, ManagedWorktreeLinkErrors, ManagedWorktreeLinkInput, ManagedWorktreeLinkResponses, ManagedWorktreeListErrors, ManagedWorktreeListResponses, ManagedWorktreeRemoveErrors, ManagedWorktreeRemoveInput, ManagedWorktreeRemoveResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, McpToggleErrors, McpToggleResponses, Message, MissionCancelErrors, MissionCancelResponses, MissionDeleteErrors, MissionDeleteResponses, MissionExecsResponses, MissionFeatureMutateErrors, MissionFeatureMutateResponses, MissionGenerateErrors, MissionGenerateResponses, MissionGetErrors, MissionGetResponses, MissionListResponses, MissionPauseErrors, MissionPauseResponses, MissionRecentExecsResponses, MissionStartErrors, MissionStartResponses, MissionTemplatesResponses, MissionUpdateErrors, MissionUpdateResponses, MissionUpsertErrors, MissionUpsertResponses, MobileAuthTokenCreateResponses, MobileAuthTokenListResponses, MobileAuthTokenRevokeResponses, MobileBootstrapResponses, MobileCommandListResponses, MobileGitBranchesResponses, MobileGitCheckoutErrors, MobileGitCheckoutResponses, MobileGitCommitErrors, MobileGitCommitResponses, MobileGitCommitsResponses, MobileGitDiffResponses, MobileGitDiscardResponses, MobileGithubAuthRemoveResponses, MobileGithubAuthSetErrors, MobileGithubAuthSetResponses, MobileGithubBranchesResponses, MobileGithubDeviceAuthPollInput, MobileGithubImportErrors, MobileGithubImportRequest, MobileGithubImportResponses, MobileGithubImportsResponses, MobileGithubOauthClientIdSetErrors, MobileGithubOauthClientIdSetResponses, MobileGithubOauthDevicePollErrors, MobileGithubOauthDevicePollResponses, MobileGithubOauthDeviceStartErrors, MobileGithubOauthDeviceStartResponses, MobileGithubPublishInput, MobileGithubReposResponses, MobileGithubSessionCleanupErrors, MobileGithubSessionCleanupResponses, MobileGithubSessionCreateErrors, MobileGithubSessionCreateInput, MobileGithubSessionCreateResponses, MobileGithubSessionPublishErrors, MobileGithubSessionPublishResponses, MobileGitPullErrors, MobileGitPullResponses, MobileGitPushErrors, MobileGitPushResponses, MobileGitStageResponses, MobileGitStatusResponses, MobileGitUnstageResponses, MobileLoopAbortErrors, MobileLoopAbortResponses, MobileLoopCreateErrors, MobileLoopCreateResponses, MobileLoopDeleteErrors, MobileLoopDeleteResponses, MobileLoopGenerateErrors, MobileLoopGenerateInput, MobileLoopGenerateResponses, MobileLoopGetErrors, MobileLoopGetResponses, MobileLoopListErrors, MobileLoopListResponses, MobileLoopPauseErrors, MobileLoopPauseResponses, MobileLoopResumeErrors, MobileLoopResumeResponses, MobileLoopRunErrors, MobileLoopRunResponses, MobileLoopRunsErrors, MobileLoopRunsRecentErrors, MobileLoopRunsRecentResponses, MobileLoopRunsResponses, MobileLoopTemplatesResponses, MobileLoopToggleErrors, MobileLoopToggleResponses, MobileLoopUpdateErrors, MobileLoopUpdateResponses, MobileLoopWriteInput, MobileMemoryHistoryResponses, MobileMemorySearchResponses, MobileMemoryStashCreateErrors, MobileMemoryStashCreateResponses, MobileMemoryStashDeleteErrors, MobileMemoryStashDeleteResponses, MobileMemoryStashListResponses, MobilePermissionRespondResponses, MobileProjectListResponses, MobilePromptStashCreateInput, MobilePtyConnectErrors, MobilePtyConnectResponses, MobilePtyCreateErrors, MobilePtyCreateResponses, MobilePtyGetErrors, MobilePtyGetResponses, MobilePtyListResponses, MobilePtyRemoveErrors, MobilePtyRemoveResponses, MobilePtyUpdateErrors, MobilePtyUpdateResponses, MobileQuestionRejectResponses, MobileQuestionRespondResponses, MobileRoutineCreateErrors, MobileRoutineCreateInput, MobileRoutineCreateResponses, MobileRoutineDeleteErrors, MobileRoutineDeleteResponses, MobileRoutineGetErrors, MobileRoutineGetResponses, MobileRoutineListErrors, MobileRoutineListResponses, MobileRoutinePauseErrors, MobileRoutinePauseResponses, MobileRoutineResumeErrors, MobileRoutineResumeResponses, MobileRoutineRunErrors, MobileRoutineRunInput, MobileRoutineRunResponses, MobileRoutineTriggerErrors, MobileRoutineTriggerInput, MobileRoutineTriggerResponses, MobileRoutineUpdateErrors, MobileRoutineUpdateInput, MobileRoutineUpdateResponses, MobileSessionAbortResponses, MobileSessionCommandErrors, MobileSessionCommandInput, MobileSessionCommandListErrors, MobileSessionCommandListResponses, MobileSessionCommandResponses, MobileSessionCreateErrors, MobileSessionCreateInput, MobileSessionCreateResponses, MobileSessionDeleteErrors, MobileSessionDeleteResponses, MobileSessionDetailErrors, MobileSessionDetailResponses, MobileSessionDiffResponses, MobileSessionListResponses, MobileSessionMessageErrors, MobileSessionMessageResponses, MobileSessionRenameResponses, MobileSessionStreamResponses, MobileSessionTeleportErrors, MobileSessionTeleportOutErrors, MobileSessionTeleportOutResponses, MobileSessionTeleportResponses, MobileSessionTeleportUploadBeginResponses, MobileSessionTeleportUploadChunkErrors, MobileSessionTeleportUploadChunkResponses, MobileWorktreeCreateErrors, MobileWorktreeCreateResponses, MobileWorktreeRemoveResponses, MobileWorktreeResetResponses, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PatchConfigMcpNameResponses, PatchUserIdResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PostConfigMcpResponses, PostConfigProfilesActivateNameResponses, PostConfigProfilesResponses, PostUserLoginResponses, PostUserRegisterResponses, ProjectCurrentResponses, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, ProviderApiSetErrors, ProviderApiSetResponses, ProviderAuthRemoveResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, SessionAbortErrors, SessionAbortResponses, SessionBackgroundCancelErrors, SessionBackgroundCancelResponses, SessionBackgroundErrors, SessionBackgroundInspectErrors, SessionBackgroundInspectResponses, SessionBackgroundReadErrors, SessionBackgroundReadResponses, SessionBackgroundResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionContextErrors, SessionContextResponses, SessionContextToggleErrors, SessionContextToggleResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionGithub, SessionGoalErrors, SessionGoalResponses, SessionInstructionsErrors, SessionInstructionsResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionMonitorCancelErrors, SessionMonitorCancelResponses, SessionMonitorErrors, SessionMonitorLogErrors, SessionMonitorLogResponses, SessionMonitorResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShareErrors, SessionShareResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUnshareErrors, SessionUnshareResponses, SessionUpdateErrors, SessionUpdateResponses, SessionV2EntriesErrors, SessionV2EntriesResponses, SessionV2EventsErrors, SessionV2EventsResponses, SessionV2StateErrors, SessionV2StateResponses, 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
|
|
@@ -1737,6 +1737,20 @@ export declare class Upload extends HeyApiClient {
|
|
|
1737
1737
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileSessionTeleportUploadChunkResponses, MobileSessionTeleportUploadChunkErrors, ThrowOnError, "fields">;
|
|
1738
1738
|
}
|
|
1739
1739
|
export declare class Teleport extends HeyApiClient {
|
|
1740
|
+
/**
|
|
1741
|
+
* Teleport a session from this server to another
|
|
1742
|
+
*
|
|
1743
|
+
* Archive the session's working directory and ship its transcript to a target server, so it can be resumed there. Used by the mobile app (which has no local filesystem).
|
|
1744
|
+
*/
|
|
1745
|
+
out<ThrowOnError extends boolean = false>(parameters: {
|
|
1746
|
+
sessionID: string;
|
|
1747
|
+
directory?: string;
|
|
1748
|
+
workspace?: string;
|
|
1749
|
+
url?: string;
|
|
1750
|
+
token?: string;
|
|
1751
|
+
content?: boolean;
|
|
1752
|
+
includeGit?: boolean;
|
|
1753
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileSessionTeleportOutResponses, MobileSessionTeleportOutErrors, ThrowOnError, "fields">;
|
|
1740
1754
|
private _upload?;
|
|
1741
1755
|
get upload(): Upload;
|
|
1742
1756
|
}
|
|
@@ -1867,6 +1881,15 @@ export declare class Session4 extends HeyApiClient {
|
|
|
1867
1881
|
teleport<ThrowOnError extends boolean = false>(parameters?: {
|
|
1868
1882
|
directory?: string;
|
|
1869
1883
|
workspace?: string;
|
|
1884
|
+
title?: string;
|
|
1885
|
+
name?: string;
|
|
1886
|
+
origin?: string;
|
|
1887
|
+
permission?: PermissionRuleset;
|
|
1888
|
+
messages?: Array<{
|
|
1889
|
+
info: Message;
|
|
1890
|
+
parts: Array<Part2>;
|
|
1891
|
+
}>;
|
|
1892
|
+
uploadID?: string;
|
|
1870
1893
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileSessionTeleportResponses, MobileSessionTeleportErrors, ThrowOnError, "fields">;
|
|
1871
1894
|
private _command?;
|
|
1872
1895
|
get command2(): Command2;
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -3426,6 +3426,36 @@ export class Upload extends HeyApiClient {
|
|
|
3426
3426
|
}
|
|
3427
3427
|
}
|
|
3428
3428
|
export class Teleport extends HeyApiClient {
|
|
3429
|
+
/**
|
|
3430
|
+
* Teleport a session from this server to another
|
|
3431
|
+
*
|
|
3432
|
+
* Archive the session's working directory and ship its transcript to a target server, so it can be resumed there. Used by the mobile app (which has no local filesystem).
|
|
3433
|
+
*/
|
|
3434
|
+
out(parameters, options) {
|
|
3435
|
+
const params = buildClientParams([parameters], [
|
|
3436
|
+
{
|
|
3437
|
+
args: [
|
|
3438
|
+
{ in: "path", key: "sessionID" },
|
|
3439
|
+
{ in: "query", key: "directory" },
|
|
3440
|
+
{ in: "query", key: "workspace" },
|
|
3441
|
+
{ in: "body", key: "url" },
|
|
3442
|
+
{ in: "body", key: "token" },
|
|
3443
|
+
{ in: "body", key: "content" },
|
|
3444
|
+
{ in: "body", key: "includeGit" },
|
|
3445
|
+
],
|
|
3446
|
+
},
|
|
3447
|
+
]);
|
|
3448
|
+
return (options?.client ?? this.client).post({
|
|
3449
|
+
url: "/mobile/session/{sessionID}/teleport",
|
|
3450
|
+
...options,
|
|
3451
|
+
...params,
|
|
3452
|
+
headers: {
|
|
3453
|
+
"Content-Type": "application/json",
|
|
3454
|
+
...options?.headers,
|
|
3455
|
+
...params.headers,
|
|
3456
|
+
},
|
|
3457
|
+
});
|
|
3458
|
+
}
|
|
3429
3459
|
_upload;
|
|
3430
3460
|
get upload() {
|
|
3431
3461
|
return (this._upload ??= new Upload({ client: this.client }));
|
|
@@ -3686,6 +3716,12 @@ export class Session4 extends HeyApiClient {
|
|
|
3686
3716
|
args: [
|
|
3687
3717
|
{ in: "query", key: "directory" },
|
|
3688
3718
|
{ in: "query", key: "workspace" },
|
|
3719
|
+
{ in: "body", key: "title" },
|
|
3720
|
+
{ in: "body", key: "name" },
|
|
3721
|
+
{ in: "body", key: "origin" },
|
|
3722
|
+
{ in: "body", key: "permission" },
|
|
3723
|
+
{ in: "body", key: "messages" },
|
|
3724
|
+
{ in: "body", key: "uploadID" },
|
|
3689
3725
|
],
|
|
3690
3726
|
},
|
|
3691
3727
|
]);
|
|
@@ -3693,6 +3729,11 @@ export class Session4 extends HeyApiClient {
|
|
|
3693
3729
|
url: "/mobile/teleport",
|
|
3694
3730
|
...options,
|
|
3695
3731
|
...params,
|
|
3732
|
+
headers: {
|
|
3733
|
+
"Content-Type": "application/json",
|
|
3734
|
+
...options?.headers,
|
|
3735
|
+
...params.headers,
|
|
3736
|
+
},
|
|
3696
3737
|
});
|
|
3697
3738
|
}
|
|
3698
3739
|
_command;
|
|
@@ -8128,7 +8128,26 @@ export type MobileSessionTeleportUploadChunkResponses = {
|
|
|
8128
8128
|
};
|
|
8129
8129
|
export type MobileSessionTeleportUploadChunkResponse = MobileSessionTeleportUploadChunkResponses[keyof MobileSessionTeleportUploadChunkResponses];
|
|
8130
8130
|
export type MobileSessionTeleportData = {
|
|
8131
|
-
body?:
|
|
8131
|
+
body?: {
|
|
8132
|
+
title?: string;
|
|
8133
|
+
/**
|
|
8134
|
+
* Display name for the project/repo created on this server
|
|
8135
|
+
*/
|
|
8136
|
+
name?: string;
|
|
8137
|
+
/**
|
|
8138
|
+
* Identifier of the machine the session was teleported from
|
|
8139
|
+
*/
|
|
8140
|
+
origin?: string;
|
|
8141
|
+
permission?: PermissionRuleset;
|
|
8142
|
+
messages: Array<{
|
|
8143
|
+
info: Message;
|
|
8144
|
+
parts: Array<Part>;
|
|
8145
|
+
}>;
|
|
8146
|
+
/**
|
|
8147
|
+
* ID of a previously uploaded working-directory archive
|
|
8148
|
+
*/
|
|
8149
|
+
uploadID?: string;
|
|
8150
|
+
};
|
|
8132
8151
|
path?: never;
|
|
8133
8152
|
query?: {
|
|
8134
8153
|
directory?: string;
|
|
@@ -8156,6 +8175,58 @@ export type MobileSessionTeleportResponses = {
|
|
|
8156
8175
|
};
|
|
8157
8176
|
};
|
|
8158
8177
|
export type MobileSessionTeleportResponse = MobileSessionTeleportResponses[keyof MobileSessionTeleportResponses];
|
|
8178
|
+
export type MobileSessionTeleportOutData = {
|
|
8179
|
+
body?: {
|
|
8180
|
+
/**
|
|
8181
|
+
* Target server base URL
|
|
8182
|
+
*/
|
|
8183
|
+
url: string;
|
|
8184
|
+
/**
|
|
8185
|
+
* Target server mobile Bearer token
|
|
8186
|
+
*/
|
|
8187
|
+
token: string;
|
|
8188
|
+
/**
|
|
8189
|
+
* Clone the working directory too (default true)
|
|
8190
|
+
*/
|
|
8191
|
+
content?: boolean;
|
|
8192
|
+
/**
|
|
8193
|
+
* Include full .git history in the clone
|
|
8194
|
+
*/
|
|
8195
|
+
includeGit?: boolean;
|
|
8196
|
+
};
|
|
8197
|
+
path: {
|
|
8198
|
+
sessionID: string;
|
|
8199
|
+
};
|
|
8200
|
+
query?: {
|
|
8201
|
+
directory?: string;
|
|
8202
|
+
workspace?: string;
|
|
8203
|
+
};
|
|
8204
|
+
url: "/mobile/session/{sessionID}/teleport";
|
|
8205
|
+
};
|
|
8206
|
+
export type MobileSessionTeleportOutErrors = {
|
|
8207
|
+
/**
|
|
8208
|
+
* Bad request
|
|
8209
|
+
*/
|
|
8210
|
+
400: BadRequestError;
|
|
8211
|
+
/**
|
|
8212
|
+
* Not found
|
|
8213
|
+
*/
|
|
8214
|
+
404: NotFoundError;
|
|
8215
|
+
};
|
|
8216
|
+
export type MobileSessionTeleportOutError = MobileSessionTeleportOutErrors[keyof MobileSessionTeleportOutErrors];
|
|
8217
|
+
export type MobileSessionTeleportOutResponses = {
|
|
8218
|
+
/**
|
|
8219
|
+
* Teleported session
|
|
8220
|
+
*/
|
|
8221
|
+
200: {
|
|
8222
|
+
sessionID: string;
|
|
8223
|
+
title?: string;
|
|
8224
|
+
messageCount: number;
|
|
8225
|
+
directory?: string;
|
|
8226
|
+
workspace: boolean;
|
|
8227
|
+
};
|
|
8228
|
+
};
|
|
8229
|
+
export type MobileSessionTeleportOutResponse = MobileSessionTeleportOutResponses[keyof MobileSessionTeleportOutResponses];
|
|
8159
8230
|
export type MobileWorktreeRemoveData = {
|
|
8160
8231
|
body?: WorktreeRemoveInput;
|
|
8161
8232
|
path?: never;
|