@nikcli-ai/sdk 1.75.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 +99 -25
- package/dist/v2/gen/sdk.gen.js +195 -48
- package/dist/v2/gen/types.gen.d.ts +217 -64
- 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, 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";
|
|
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
|
|
@@ -1465,6 +1465,28 @@ export declare class Auth2 extends HeyApiClient {
|
|
|
1465
1465
|
private _token?;
|
|
1466
1466
|
get token(): Token;
|
|
1467
1467
|
}
|
|
1468
|
+
export declare class Command extends HeyApiClient {
|
|
1469
|
+
/**
|
|
1470
|
+
* List mobile commands
|
|
1471
|
+
*
|
|
1472
|
+
* Return command metadata safe for the mobile command palette and slash autocomplete.
|
|
1473
|
+
*/
|
|
1474
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1475
|
+
directory?: string;
|
|
1476
|
+
workspace?: string;
|
|
1477
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileCommandListResponses, unknown, ThrowOnError, "fields">;
|
|
1478
|
+
}
|
|
1479
|
+
export declare class Project2 extends HeyApiClient {
|
|
1480
|
+
/**
|
|
1481
|
+
* List local projects for mobile
|
|
1482
|
+
*
|
|
1483
|
+
* Return local projects and sandboxes visible to the connected Nikcli host.
|
|
1484
|
+
*/
|
|
1485
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1486
|
+
directory?: string;
|
|
1487
|
+
workspace?: string;
|
|
1488
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileProjectListResponses, unknown, ThrowOnError, "fields">;
|
|
1489
|
+
}
|
|
1468
1490
|
export declare class Stash extends HeyApiClient {
|
|
1469
1491
|
/**
|
|
1470
1492
|
* List prompt stash for mobile
|
|
@@ -1519,28 +1541,6 @@ export declare class Memory extends HeyApiClient {
|
|
|
1519
1541
|
private _stash?;
|
|
1520
1542
|
get stash(): Stash;
|
|
1521
1543
|
}
|
|
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
|
-
}
|
|
1544
1544
|
export declare class ClientId extends HeyApiClient {
|
|
1545
1545
|
/**
|
|
1546
1546
|
* Persist GitHub OAuth client ID for mobile
|
|
@@ -2241,6 +2241,78 @@ export declare class Routine extends HeyApiClient {
|
|
|
2241
2241
|
mobileRoutineTriggerInput?: MobileRoutineTriggerInput;
|
|
2242
2242
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileRoutineTriggerResponses, MobileRoutineTriggerErrors, ThrowOnError, "fields">;
|
|
2243
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
|
+
}
|
|
2244
2316
|
export declare class Mobile extends HeyApiClient {
|
|
2245
2317
|
/**
|
|
2246
2318
|
* Get mobile bootstrap payload
|
|
@@ -2253,12 +2325,12 @@ export declare class Mobile extends HeyApiClient {
|
|
|
2253
2325
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileBootstrapResponses, unknown, ThrowOnError, "fields">;
|
|
2254
2326
|
private _auth?;
|
|
2255
2327
|
get auth(): Auth2;
|
|
2256
|
-
private _memory?;
|
|
2257
|
-
get memory(): Memory;
|
|
2258
2328
|
private _command?;
|
|
2259
2329
|
get command(): Command;
|
|
2260
2330
|
private _project?;
|
|
2261
2331
|
get project(): Project2;
|
|
2332
|
+
private _memory?;
|
|
2333
|
+
get memory(): Memory;
|
|
2262
2334
|
private _github?;
|
|
2263
2335
|
get github(): Github;
|
|
2264
2336
|
private _session?;
|
|
@@ -2275,6 +2347,8 @@ export declare class Mobile extends HeyApiClient {
|
|
|
2275
2347
|
get loop(): Loop2;
|
|
2276
2348
|
private _routine?;
|
|
2277
2349
|
get routine(): Routine;
|
|
2350
|
+
private _pty?;
|
|
2351
|
+
get pty(): Pty2;
|
|
2278
2352
|
}
|
|
2279
2353
|
export declare class Find extends HeyApiClient {
|
|
2280
2354
|
/**
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -2843,6 +2843,50 @@ export class Auth2 extends HeyApiClient {
|
|
|
2843
2843
|
return (this._token ??= new Token({ client: this.client }));
|
|
2844
2844
|
}
|
|
2845
2845
|
}
|
|
2846
|
+
export class Command extends HeyApiClient {
|
|
2847
|
+
/**
|
|
2848
|
+
* List mobile commands
|
|
2849
|
+
*
|
|
2850
|
+
* Return command metadata safe for the mobile command palette and slash autocomplete.
|
|
2851
|
+
*/
|
|
2852
|
+
list(parameters, options) {
|
|
2853
|
+
const params = buildClientParams([parameters], [
|
|
2854
|
+
{
|
|
2855
|
+
args: [
|
|
2856
|
+
{ in: "query", key: "directory" },
|
|
2857
|
+
{ in: "query", key: "workspace" },
|
|
2858
|
+
],
|
|
2859
|
+
},
|
|
2860
|
+
]);
|
|
2861
|
+
return (options?.client ?? this.client).get({
|
|
2862
|
+
url: "/mobile/command",
|
|
2863
|
+
...options,
|
|
2864
|
+
...params,
|
|
2865
|
+
});
|
|
2866
|
+
}
|
|
2867
|
+
}
|
|
2868
|
+
export class Project2 extends HeyApiClient {
|
|
2869
|
+
/**
|
|
2870
|
+
* List local projects for mobile
|
|
2871
|
+
*
|
|
2872
|
+
* Return local projects and sandboxes visible to the connected Nikcli host.
|
|
2873
|
+
*/
|
|
2874
|
+
list(parameters, options) {
|
|
2875
|
+
const params = buildClientParams([parameters], [
|
|
2876
|
+
{
|
|
2877
|
+
args: [
|
|
2878
|
+
{ in: "query", key: "directory" },
|
|
2879
|
+
{ in: "query", key: "workspace" },
|
|
2880
|
+
],
|
|
2881
|
+
},
|
|
2882
|
+
]);
|
|
2883
|
+
return (options?.client ?? this.client).get({
|
|
2884
|
+
url: "/mobile/project",
|
|
2885
|
+
...options,
|
|
2886
|
+
...params,
|
|
2887
|
+
});
|
|
2888
|
+
}
|
|
2889
|
+
}
|
|
2846
2890
|
export class Stash extends HeyApiClient {
|
|
2847
2891
|
/**
|
|
2848
2892
|
* List prompt stash for mobile
|
|
@@ -2959,50 +3003,6 @@ export class Memory extends HeyApiClient {
|
|
|
2959
3003
|
return (this._stash ??= new Stash({ client: this.client }));
|
|
2960
3004
|
}
|
|
2961
3005
|
}
|
|
2962
|
-
export class Command extends HeyApiClient {
|
|
2963
|
-
/**
|
|
2964
|
-
* List mobile commands
|
|
2965
|
-
*
|
|
2966
|
-
* Return command metadata safe for the mobile command palette and slash autocomplete.
|
|
2967
|
-
*/
|
|
2968
|
-
list(parameters, options) {
|
|
2969
|
-
const params = buildClientParams([parameters], [
|
|
2970
|
-
{
|
|
2971
|
-
args: [
|
|
2972
|
-
{ in: "query", key: "directory" },
|
|
2973
|
-
{ in: "query", key: "workspace" },
|
|
2974
|
-
],
|
|
2975
|
-
},
|
|
2976
|
-
]);
|
|
2977
|
-
return (options?.client ?? this.client).get({
|
|
2978
|
-
url: "/mobile/command",
|
|
2979
|
-
...options,
|
|
2980
|
-
...params,
|
|
2981
|
-
});
|
|
2982
|
-
}
|
|
2983
|
-
}
|
|
2984
|
-
export class Project2 extends HeyApiClient {
|
|
2985
|
-
/**
|
|
2986
|
-
* List local projects for mobile
|
|
2987
|
-
*
|
|
2988
|
-
* Return local projects and sandboxes visible to the connected Nikcli host.
|
|
2989
|
-
*/
|
|
2990
|
-
list(parameters, options) {
|
|
2991
|
-
const params = buildClientParams([parameters], [
|
|
2992
|
-
{
|
|
2993
|
-
args: [
|
|
2994
|
-
{ in: "query", key: "directory" },
|
|
2995
|
-
{ in: "query", key: "workspace" },
|
|
2996
|
-
],
|
|
2997
|
-
},
|
|
2998
|
-
]);
|
|
2999
|
-
return (options?.client ?? this.client).get({
|
|
3000
|
-
url: "/mobile/project",
|
|
3001
|
-
...options,
|
|
3002
|
-
...params,
|
|
3003
|
-
});
|
|
3004
|
-
}
|
|
3005
|
-
}
|
|
3006
3006
|
export class ClientId extends HeyApiClient {
|
|
3007
3007
|
/**
|
|
3008
3008
|
* Persist GitHub OAuth client ID for mobile
|
|
@@ -4545,6 +4545,149 @@ export class Routine extends HeyApiClient {
|
|
|
4545
4545
|
});
|
|
4546
4546
|
}
|
|
4547
4547
|
}
|
|
4548
|
+
export class Pty2 extends HeyApiClient {
|
|
4549
|
+
/**
|
|
4550
|
+
* List PTY sessions for mobile
|
|
4551
|
+
*
|
|
4552
|
+
* Get a list of all active pseudo-terminal (PTY) sessions managed by Nikcli.
|
|
4553
|
+
*/
|
|
4554
|
+
list(parameters, options) {
|
|
4555
|
+
const params = buildClientParams([parameters], [
|
|
4556
|
+
{
|
|
4557
|
+
args: [
|
|
4558
|
+
{ in: "query", key: "directory" },
|
|
4559
|
+
{ in: "query", key: "workspace" },
|
|
4560
|
+
],
|
|
4561
|
+
},
|
|
4562
|
+
]);
|
|
4563
|
+
return (options?.client ?? this.client).get({
|
|
4564
|
+
url: "/mobile/pty",
|
|
4565
|
+
...options,
|
|
4566
|
+
...params,
|
|
4567
|
+
});
|
|
4568
|
+
}
|
|
4569
|
+
/**
|
|
4570
|
+
* Create PTY session for mobile
|
|
4571
|
+
*
|
|
4572
|
+
* Create a new pseudo-terminal (PTY) session for running shell commands and processes.
|
|
4573
|
+
*/
|
|
4574
|
+
create(parameters, options) {
|
|
4575
|
+
const params = buildClientParams([parameters], [
|
|
4576
|
+
{
|
|
4577
|
+
args: [
|
|
4578
|
+
{ in: "query", key: "directory" },
|
|
4579
|
+
{ in: "query", key: "workspace" },
|
|
4580
|
+
{ in: "body", key: "command" },
|
|
4581
|
+
{ in: "body", key: "args" },
|
|
4582
|
+
{ in: "body", key: "cwd" },
|
|
4583
|
+
{ in: "body", key: "title" },
|
|
4584
|
+
{ in: "body", key: "env" },
|
|
4585
|
+
],
|
|
4586
|
+
},
|
|
4587
|
+
]);
|
|
4588
|
+
return (options?.client ?? this.client).post({
|
|
4589
|
+
url: "/mobile/pty",
|
|
4590
|
+
...options,
|
|
4591
|
+
...params,
|
|
4592
|
+
headers: {
|
|
4593
|
+
"Content-Type": "application/json",
|
|
4594
|
+
...options?.headers,
|
|
4595
|
+
...params.headers,
|
|
4596
|
+
},
|
|
4597
|
+
});
|
|
4598
|
+
}
|
|
4599
|
+
/**
|
|
4600
|
+
* Remove PTY session for mobile
|
|
4601
|
+
*
|
|
4602
|
+
* Remove and terminate a specific pseudo-terminal (PTY) session.
|
|
4603
|
+
*/
|
|
4604
|
+
remove(parameters, options) {
|
|
4605
|
+
const params = buildClientParams([parameters], [
|
|
4606
|
+
{
|
|
4607
|
+
args: [
|
|
4608
|
+
{ in: "path", key: "ptyID" },
|
|
4609
|
+
{ in: "query", key: "directory" },
|
|
4610
|
+
{ in: "query", key: "workspace" },
|
|
4611
|
+
],
|
|
4612
|
+
},
|
|
4613
|
+
]);
|
|
4614
|
+
return (options?.client ?? this.client).delete({
|
|
4615
|
+
url: "/mobile/pty/{ptyID}",
|
|
4616
|
+
...options,
|
|
4617
|
+
...params,
|
|
4618
|
+
});
|
|
4619
|
+
}
|
|
4620
|
+
/**
|
|
4621
|
+
* Get PTY session for mobile
|
|
4622
|
+
*
|
|
4623
|
+
* Retrieve detailed information about a specific pseudo-terminal (PTY) session.
|
|
4624
|
+
*/
|
|
4625
|
+
get(parameters, options) {
|
|
4626
|
+
const params = buildClientParams([parameters], [
|
|
4627
|
+
{
|
|
4628
|
+
args: [
|
|
4629
|
+
{ in: "path", key: "ptyID" },
|
|
4630
|
+
{ in: "query", key: "directory" },
|
|
4631
|
+
{ in: "query", key: "workspace" },
|
|
4632
|
+
],
|
|
4633
|
+
},
|
|
4634
|
+
]);
|
|
4635
|
+
return (options?.client ?? this.client).get({
|
|
4636
|
+
url: "/mobile/pty/{ptyID}",
|
|
4637
|
+
...options,
|
|
4638
|
+
...params,
|
|
4639
|
+
});
|
|
4640
|
+
}
|
|
4641
|
+
/**
|
|
4642
|
+
* Update PTY session for mobile
|
|
4643
|
+
*
|
|
4644
|
+
* Update properties of an existing pseudo-terminal (PTY) session.
|
|
4645
|
+
*/
|
|
4646
|
+
update(parameters, options) {
|
|
4647
|
+
const params = buildClientParams([parameters], [
|
|
4648
|
+
{
|
|
4649
|
+
args: [
|
|
4650
|
+
{ in: "path", key: "ptyID" },
|
|
4651
|
+
{ in: "query", key: "directory" },
|
|
4652
|
+
{ in: "query", key: "workspace" },
|
|
4653
|
+
{ in: "body", key: "title" },
|
|
4654
|
+
{ in: "body", key: "size" },
|
|
4655
|
+
],
|
|
4656
|
+
},
|
|
4657
|
+
]);
|
|
4658
|
+
return (options?.client ?? this.client).put({
|
|
4659
|
+
url: "/mobile/pty/{ptyID}",
|
|
4660
|
+
...options,
|
|
4661
|
+
...params,
|
|
4662
|
+
headers: {
|
|
4663
|
+
"Content-Type": "application/json",
|
|
4664
|
+
...options?.headers,
|
|
4665
|
+
...params.headers,
|
|
4666
|
+
},
|
|
4667
|
+
});
|
|
4668
|
+
}
|
|
4669
|
+
/**
|
|
4670
|
+
* Connect to PTY session for mobile
|
|
4671
|
+
*
|
|
4672
|
+
* Establish a WebSocket connection to interact with a pseudo-terminal (PTY) session in real-time.
|
|
4673
|
+
*/
|
|
4674
|
+
connect(parameters, options) {
|
|
4675
|
+
const params = buildClientParams([parameters], [
|
|
4676
|
+
{
|
|
4677
|
+
args: [
|
|
4678
|
+
{ in: "path", key: "ptyID" },
|
|
4679
|
+
{ in: "query", key: "directory" },
|
|
4680
|
+
{ in: "query", key: "workspace" },
|
|
4681
|
+
],
|
|
4682
|
+
},
|
|
4683
|
+
]);
|
|
4684
|
+
return (options?.client ?? this.client).get({
|
|
4685
|
+
url: "/mobile/pty/{ptyID}/connect",
|
|
4686
|
+
...options,
|
|
4687
|
+
...params,
|
|
4688
|
+
});
|
|
4689
|
+
}
|
|
4690
|
+
}
|
|
4548
4691
|
export class Mobile extends HeyApiClient {
|
|
4549
4692
|
/**
|
|
4550
4693
|
* Get mobile bootstrap payload
|
|
@@ -4570,10 +4713,6 @@ export class Mobile extends HeyApiClient {
|
|
|
4570
4713
|
get auth() {
|
|
4571
4714
|
return (this._auth ??= new Auth2({ client: this.client }));
|
|
4572
4715
|
}
|
|
4573
|
-
_memory;
|
|
4574
|
-
get memory() {
|
|
4575
|
-
return (this._memory ??= new Memory({ client: this.client }));
|
|
4576
|
-
}
|
|
4577
4716
|
_command;
|
|
4578
4717
|
get command() {
|
|
4579
4718
|
return (this._command ??= new Command({ client: this.client }));
|
|
@@ -4582,6 +4721,10 @@ export class Mobile extends HeyApiClient {
|
|
|
4582
4721
|
get project() {
|
|
4583
4722
|
return (this._project ??= new Project2({ client: this.client }));
|
|
4584
4723
|
}
|
|
4724
|
+
_memory;
|
|
4725
|
+
get memory() {
|
|
4726
|
+
return (this._memory ??= new Memory({ client: this.client }));
|
|
4727
|
+
}
|
|
4585
4728
|
_github;
|
|
4586
4729
|
get github() {
|
|
4587
4730
|
return (this._github ??= new Github({ client: this.client }));
|
|
@@ -4614,6 +4757,10 @@ export class Mobile extends HeyApiClient {
|
|
|
4614
4757
|
get routine() {
|
|
4615
4758
|
return (this._routine ??= new Routine({ client: this.client }));
|
|
4616
4759
|
}
|
|
4760
|
+
_pty;
|
|
4761
|
+
get pty() {
|
|
4762
|
+
return (this._pty ??= new Pty2({ client: this.client }));
|
|
4763
|
+
}
|
|
4617
4764
|
}
|
|
4618
4765
|
export class Find extends HeyApiClient {
|
|
4619
4766
|
/**
|
|
@@ -3188,6 +3188,16 @@ export type MobileBootstrap = {
|
|
|
3188
3188
|
};
|
|
3189
3189
|
mobileProject?: MobileProjectType;
|
|
3190
3190
|
};
|
|
3191
|
+
export type MobileCommand = {
|
|
3192
|
+
name: string;
|
|
3193
|
+
description?: string;
|
|
3194
|
+
agent?: string;
|
|
3195
|
+
model?: string;
|
|
3196
|
+
mcp?: boolean;
|
|
3197
|
+
skill?: boolean;
|
|
3198
|
+
subtask?: boolean;
|
|
3199
|
+
hints: Array<string>;
|
|
3200
|
+
};
|
|
3191
3201
|
export type MobilePromptHistoryEntry = {
|
|
3192
3202
|
id: string;
|
|
3193
3203
|
input: string;
|
|
@@ -3212,16 +3222,6 @@ export type MobilePromptStashEntry = {
|
|
|
3212
3222
|
export type MobilePromptStashCreateInput = {
|
|
3213
3223
|
input: string;
|
|
3214
3224
|
};
|
|
3215
|
-
export type MobileCommand = {
|
|
3216
|
-
name: string;
|
|
3217
|
-
description?: string;
|
|
3218
|
-
agent?: string;
|
|
3219
|
-
model?: string;
|
|
3220
|
-
mcp?: boolean;
|
|
3221
|
-
skill?: boolean;
|
|
3222
|
-
subtask?: boolean;
|
|
3223
|
-
hints: Array<string>;
|
|
3224
|
-
};
|
|
3225
3225
|
export type MobileGithubBranch = {
|
|
3226
3226
|
name: string;
|
|
3227
3227
|
protected?: boolean;
|
|
@@ -7204,6 +7204,38 @@ export type MobileBootstrapResponses = {
|
|
|
7204
7204
|
200: MobileBootstrap;
|
|
7205
7205
|
};
|
|
7206
7206
|
export type MobileBootstrapResponse = MobileBootstrapResponses[keyof MobileBootstrapResponses];
|
|
7207
|
+
export type MobileCommandListData = {
|
|
7208
|
+
body?: never;
|
|
7209
|
+
path?: never;
|
|
7210
|
+
query?: {
|
|
7211
|
+
directory?: string;
|
|
7212
|
+
workspace?: string;
|
|
7213
|
+
};
|
|
7214
|
+
url: "/mobile/command";
|
|
7215
|
+
};
|
|
7216
|
+
export type MobileCommandListResponses = {
|
|
7217
|
+
/**
|
|
7218
|
+
* Commands
|
|
7219
|
+
*/
|
|
7220
|
+
200: Array<MobileCommand>;
|
|
7221
|
+
};
|
|
7222
|
+
export type MobileCommandListResponse = MobileCommandListResponses[keyof MobileCommandListResponses];
|
|
7223
|
+
export type MobileProjectListData = {
|
|
7224
|
+
body?: never;
|
|
7225
|
+
path?: never;
|
|
7226
|
+
query?: {
|
|
7227
|
+
directory?: string;
|
|
7228
|
+
workspace?: string;
|
|
7229
|
+
};
|
|
7230
|
+
url: "/mobile/project";
|
|
7231
|
+
};
|
|
7232
|
+
export type MobileProjectListResponses = {
|
|
7233
|
+
/**
|
|
7234
|
+
* Projects
|
|
7235
|
+
*/
|
|
7236
|
+
200: Array<MobileProject>;
|
|
7237
|
+
};
|
|
7238
|
+
export type MobileProjectListResponse = MobileProjectListResponses[keyof MobileProjectListResponses];
|
|
7207
7239
|
export type MobileMemoryHistoryData = {
|
|
7208
7240
|
body?: never;
|
|
7209
7241
|
path?: never;
|
|
@@ -7303,38 +7335,6 @@ export type MobileMemoryStashDeleteResponses = {
|
|
|
7303
7335
|
};
|
|
7304
7336
|
};
|
|
7305
7337
|
export type MobileMemoryStashDeleteResponse = MobileMemoryStashDeleteResponses[keyof MobileMemoryStashDeleteResponses];
|
|
7306
|
-
export type MobileCommandListData = {
|
|
7307
|
-
body?: never;
|
|
7308
|
-
path?: never;
|
|
7309
|
-
query?: {
|
|
7310
|
-
directory?: string;
|
|
7311
|
-
workspace?: string;
|
|
7312
|
-
};
|
|
7313
|
-
url: "/mobile/command";
|
|
7314
|
-
};
|
|
7315
|
-
export type MobileCommandListResponses = {
|
|
7316
|
-
/**
|
|
7317
|
-
* Commands
|
|
7318
|
-
*/
|
|
7319
|
-
200: Array<MobileCommand>;
|
|
7320
|
-
};
|
|
7321
|
-
export type MobileCommandListResponse = MobileCommandListResponses[keyof MobileCommandListResponses];
|
|
7322
|
-
export type MobileProjectListData = {
|
|
7323
|
-
body?: never;
|
|
7324
|
-
path?: never;
|
|
7325
|
-
query?: {
|
|
7326
|
-
directory?: string;
|
|
7327
|
-
workspace?: string;
|
|
7328
|
-
};
|
|
7329
|
-
url: "/mobile/project";
|
|
7330
|
-
};
|
|
7331
|
-
export type MobileProjectListResponses = {
|
|
7332
|
-
/**
|
|
7333
|
-
* Projects
|
|
7334
|
-
*/
|
|
7335
|
-
200: Array<MobileProject>;
|
|
7336
|
-
};
|
|
7337
|
-
export type MobileProjectListResponse = MobileProjectListResponses[keyof MobileProjectListResponses];
|
|
7338
7338
|
export type MobileGithubReposData = {
|
|
7339
7339
|
body?: never;
|
|
7340
7340
|
path?: never;
|
|
@@ -7937,6 +7937,28 @@ export type MobileSessionStreamResponses = {
|
|
|
7937
7937
|
*/
|
|
7938
7938
|
200: unknown;
|
|
7939
7939
|
};
|
|
7940
|
+
export type MobileSessionRenameData = {
|
|
7941
|
+
body?: {
|
|
7942
|
+
title: string;
|
|
7943
|
+
};
|
|
7944
|
+
path: {
|
|
7945
|
+
sessionID: string;
|
|
7946
|
+
};
|
|
7947
|
+
query?: {
|
|
7948
|
+
directory?: string;
|
|
7949
|
+
workspace?: string;
|
|
7950
|
+
};
|
|
7951
|
+
url: "/mobile/session/{sessionID}/rename";
|
|
7952
|
+
};
|
|
7953
|
+
export type MobileSessionRenameResponses = {
|
|
7954
|
+
/**
|
|
7955
|
+
* Session renamed
|
|
7956
|
+
*/
|
|
7957
|
+
200: {
|
|
7958
|
+
success: true;
|
|
7959
|
+
};
|
|
7960
|
+
};
|
|
7961
|
+
export type MobileSessionRenameResponse = MobileSessionRenameResponses[keyof MobileSessionRenameResponses];
|
|
7940
7962
|
export type MobileWorktreeRemoveData = {
|
|
7941
7963
|
body?: WorktreeRemoveInput;
|
|
7942
7964
|
path?: never;
|
|
@@ -7996,28 +8018,6 @@ export type MobileWorktreeResetResponses = {
|
|
|
7996
8018
|
};
|
|
7997
8019
|
};
|
|
7998
8020
|
export type MobileWorktreeResetResponse = MobileWorktreeResetResponses[keyof MobileWorktreeResetResponses];
|
|
7999
|
-
export type MobileSessionRenameData = {
|
|
8000
|
-
body?: {
|
|
8001
|
-
title: string;
|
|
8002
|
-
};
|
|
8003
|
-
path: {
|
|
8004
|
-
sessionID: string;
|
|
8005
|
-
};
|
|
8006
|
-
query?: {
|
|
8007
|
-
directory?: string;
|
|
8008
|
-
workspace?: string;
|
|
8009
|
-
};
|
|
8010
|
-
url: "/mobile/session/{sessionID}/rename";
|
|
8011
|
-
};
|
|
8012
|
-
export type MobileSessionRenameResponses = {
|
|
8013
|
-
/**
|
|
8014
|
-
* Session renamed
|
|
8015
|
-
*/
|
|
8016
|
-
200: {
|
|
8017
|
-
success: true;
|
|
8018
|
-
};
|
|
8019
|
-
};
|
|
8020
|
-
export type MobileSessionRenameResponse = MobileSessionRenameResponses[keyof MobileSessionRenameResponses];
|
|
8021
8021
|
export type MobileGitStatusData = {
|
|
8022
8022
|
body?: never;
|
|
8023
8023
|
path?: never;
|
|
@@ -8984,6 +8984,159 @@ export type MobileRoutineTriggerResponses = {
|
|
|
8984
8984
|
200: Session;
|
|
8985
8985
|
};
|
|
8986
8986
|
export type MobileRoutineTriggerResponse = MobileRoutineTriggerResponses[keyof MobileRoutineTriggerResponses];
|
|
8987
|
+
export type MobilePtyListData = {
|
|
8988
|
+
body?: never;
|
|
8989
|
+
path?: never;
|
|
8990
|
+
query?: {
|
|
8991
|
+
directory?: string;
|
|
8992
|
+
workspace?: string;
|
|
8993
|
+
};
|
|
8994
|
+
url: "/mobile/pty";
|
|
8995
|
+
};
|
|
8996
|
+
export type MobilePtyListResponses = {
|
|
8997
|
+
/**
|
|
8998
|
+
* List of sessions
|
|
8999
|
+
*/
|
|
9000
|
+
200: Array<Pty>;
|
|
9001
|
+
};
|
|
9002
|
+
export type MobilePtyListResponse = MobilePtyListResponses[keyof MobilePtyListResponses];
|
|
9003
|
+
export type MobilePtyCreateData = {
|
|
9004
|
+
body?: {
|
|
9005
|
+
command?: string;
|
|
9006
|
+
args?: Array<string>;
|
|
9007
|
+
cwd?: string;
|
|
9008
|
+
title?: string;
|
|
9009
|
+
env?: {
|
|
9010
|
+
[key: string]: string;
|
|
9011
|
+
};
|
|
9012
|
+
};
|
|
9013
|
+
path?: never;
|
|
9014
|
+
query?: {
|
|
9015
|
+
directory?: string;
|
|
9016
|
+
workspace?: string;
|
|
9017
|
+
};
|
|
9018
|
+
url: "/mobile/pty";
|
|
9019
|
+
};
|
|
9020
|
+
export type MobilePtyCreateErrors = {
|
|
9021
|
+
/**
|
|
9022
|
+
* Bad request
|
|
9023
|
+
*/
|
|
9024
|
+
400: BadRequestError;
|
|
9025
|
+
};
|
|
9026
|
+
export type MobilePtyCreateError = MobilePtyCreateErrors[keyof MobilePtyCreateErrors];
|
|
9027
|
+
export type MobilePtyCreateResponses = {
|
|
9028
|
+
/**
|
|
9029
|
+
* Created session
|
|
9030
|
+
*/
|
|
9031
|
+
200: Pty;
|
|
9032
|
+
};
|
|
9033
|
+
export type MobilePtyCreateResponse = MobilePtyCreateResponses[keyof MobilePtyCreateResponses];
|
|
9034
|
+
export type MobilePtyRemoveData = {
|
|
9035
|
+
body?: never;
|
|
9036
|
+
path: {
|
|
9037
|
+
ptyID: string;
|
|
9038
|
+
};
|
|
9039
|
+
query?: {
|
|
9040
|
+
directory?: string;
|
|
9041
|
+
workspace?: string;
|
|
9042
|
+
};
|
|
9043
|
+
url: "/mobile/pty/{ptyID}";
|
|
9044
|
+
};
|
|
9045
|
+
export type MobilePtyRemoveErrors = {
|
|
9046
|
+
/**
|
|
9047
|
+
* Not found
|
|
9048
|
+
*/
|
|
9049
|
+
404: NotFoundError;
|
|
9050
|
+
};
|
|
9051
|
+
export type MobilePtyRemoveError = MobilePtyRemoveErrors[keyof MobilePtyRemoveErrors];
|
|
9052
|
+
export type MobilePtyRemoveResponses = {
|
|
9053
|
+
/**
|
|
9054
|
+
* Session removed
|
|
9055
|
+
*/
|
|
9056
|
+
200: boolean;
|
|
9057
|
+
};
|
|
9058
|
+
export type MobilePtyRemoveResponse = MobilePtyRemoveResponses[keyof MobilePtyRemoveResponses];
|
|
9059
|
+
export type MobilePtyGetData = {
|
|
9060
|
+
body?: never;
|
|
9061
|
+
path: {
|
|
9062
|
+
ptyID: string;
|
|
9063
|
+
};
|
|
9064
|
+
query?: {
|
|
9065
|
+
directory?: string;
|
|
9066
|
+
workspace?: string;
|
|
9067
|
+
};
|
|
9068
|
+
url: "/mobile/pty/{ptyID}";
|
|
9069
|
+
};
|
|
9070
|
+
export type MobilePtyGetErrors = {
|
|
9071
|
+
/**
|
|
9072
|
+
* Not found
|
|
9073
|
+
*/
|
|
9074
|
+
404: NotFoundError;
|
|
9075
|
+
};
|
|
9076
|
+
export type MobilePtyGetError = MobilePtyGetErrors[keyof MobilePtyGetErrors];
|
|
9077
|
+
export type MobilePtyGetResponses = {
|
|
9078
|
+
/**
|
|
9079
|
+
* Session info
|
|
9080
|
+
*/
|
|
9081
|
+
200: Pty;
|
|
9082
|
+
};
|
|
9083
|
+
export type MobilePtyGetResponse = MobilePtyGetResponses[keyof MobilePtyGetResponses];
|
|
9084
|
+
export type MobilePtyUpdateData = {
|
|
9085
|
+
body?: {
|
|
9086
|
+
title?: string;
|
|
9087
|
+
size?: {
|
|
9088
|
+
rows: number;
|
|
9089
|
+
cols: number;
|
|
9090
|
+
};
|
|
9091
|
+
};
|
|
9092
|
+
path: {
|
|
9093
|
+
ptyID: string;
|
|
9094
|
+
};
|
|
9095
|
+
query?: {
|
|
9096
|
+
directory?: string;
|
|
9097
|
+
workspace?: string;
|
|
9098
|
+
};
|
|
9099
|
+
url: "/mobile/pty/{ptyID}";
|
|
9100
|
+
};
|
|
9101
|
+
export type MobilePtyUpdateErrors = {
|
|
9102
|
+
/**
|
|
9103
|
+
* Bad request
|
|
9104
|
+
*/
|
|
9105
|
+
400: BadRequestError;
|
|
9106
|
+
};
|
|
9107
|
+
export type MobilePtyUpdateError = MobilePtyUpdateErrors[keyof MobilePtyUpdateErrors];
|
|
9108
|
+
export type MobilePtyUpdateResponses = {
|
|
9109
|
+
/**
|
|
9110
|
+
* Updated session
|
|
9111
|
+
*/
|
|
9112
|
+
200: Pty;
|
|
9113
|
+
};
|
|
9114
|
+
export type MobilePtyUpdateResponse = MobilePtyUpdateResponses[keyof MobilePtyUpdateResponses];
|
|
9115
|
+
export type MobilePtyConnectData = {
|
|
9116
|
+
body?: never;
|
|
9117
|
+
path: {
|
|
9118
|
+
ptyID: string;
|
|
9119
|
+
};
|
|
9120
|
+
query?: {
|
|
9121
|
+
directory?: string;
|
|
9122
|
+
workspace?: string;
|
|
9123
|
+
};
|
|
9124
|
+
url: "/mobile/pty/{ptyID}/connect";
|
|
9125
|
+
};
|
|
9126
|
+
export type MobilePtyConnectErrors = {
|
|
9127
|
+
/**
|
|
9128
|
+
* Not found
|
|
9129
|
+
*/
|
|
9130
|
+
404: NotFoundError;
|
|
9131
|
+
};
|
|
9132
|
+
export type MobilePtyConnectError = MobilePtyConnectErrors[keyof MobilePtyConnectErrors];
|
|
9133
|
+
export type MobilePtyConnectResponses = {
|
|
9134
|
+
/**
|
|
9135
|
+
* Connected session
|
|
9136
|
+
*/
|
|
9137
|
+
200: boolean;
|
|
9138
|
+
};
|
|
9139
|
+
export type MobilePtyConnectResponse = MobilePtyConnectResponses[keyof MobilePtyConnectResponses];
|
|
8987
9140
|
export type FindTextData = {
|
|
8988
9141
|
body?: never;
|
|
8989
9142
|
path?: never;
|