@nikcli-ai/sdk 0.0.6 → 0.0.8
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 +246 -1
- package/dist/v2/gen/sdk.gen.js +556 -0
- package/dist/v2/gen/types.gen.d.ts +844 -3
- package/package.json +2 -2
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, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillsResponses, Auth as Auth7, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, ConnectorsAuthRemoveErrors, ConnectorsAuthRemoveResponses, ConnectorsAuthSetErrors, ConnectorsAuthSetResponses, ConnectorsInvalidateResponses, ConnectorsStatusResponses, DbeditListResponses, DbeditReplyErrors, DbeditReplyResponses, DbEditRequest, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalResourceListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GetApiShareShareIdDataResponses, GetApiShareShareIdResponses, GetShareShareIdResponses, GetSShareIdResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, InstanceDisposeResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, MobileAuthTokenCreateResponses, MobileAuthTokenListResponses, MobileAuthTokenRevokeResponses, MobileBootstrapResponses, MobileCommandListResponses, MobileGithubAuthRemoveResponses, MobileGithubAuthSetErrors, MobileGithubAuthSetResponses, MobileGithubBranchesResponses, MobileGithubDeviceAuthPollInput, MobileGithubImportErrors, MobileGithubImportRequest, MobileGithubImportResponses, MobileGithubImportsResponses, MobileGithubOauthDevicePollErrors, MobileGithubOauthDevicePollResponses, MobileGithubOauthDeviceStartErrors, MobileGithubOauthDeviceStartResponses, MobileGithubPublishInput, MobileGithubReposResponses, MobileGithubSessionCleanupErrors, MobileGithubSessionCleanupResponses, MobileGithubSessionCreateErrors, MobileGithubSessionCreateInput, MobileGithubSessionCreateResponses, MobileGithubSessionPublishErrors, MobileGithubSessionPublishResponses, MobileMemoryHistoryResponses, MobileMemorySearchResponses, MobileMemoryStashCreateErrors, MobileMemoryStashCreateResponses, MobileMemoryStashDeleteErrors, MobileMemoryStashDeleteResponses, MobileMemoryStashListResponses, MobilePermissionRespondResponses, MobileProjectListResponses, MobilePromptStashCreateInput, MobileSessionAbortResponses, MobileSessionCommandErrors, MobileSessionCommandInput, MobileSessionCommandListErrors, MobileSessionCommandListResponses, MobileSessionCommandResponses, MobileSessionCreateErrors, MobileSessionCreateInput, MobileSessionCreateResponses, MobileSessionDetailErrors, MobileSessionDetailResponses, MobileSessionDiffResponses, MobileSessionListResponses, MobileSessionMessageErrors, MobileSessionMessageResponses, MobileSessionRenameResponses, MobileSessionStreamResponses, MobileWorktreeCreateErrors, MobileWorktreeCreateResponses, MobileWorktreeRemoveResponses, MobileWorktreeResetResponses, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, 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, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionGithub, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShareErrors, SessionShareResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUnshareErrors, SessionUnshareResponses, SessionUpdateErrors, SessionUpdateResponses, SubtaskPartInput, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptResponses, TuiControlNextResponses, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpResponses, TuiOpenModelsResponses, TuiOpenSessionsResponses, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastResponses, TuiSubmitPromptResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
|
|
2
|
+
import type { AgentPartInput, 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, DbeditListResponses, DbeditReplyErrors, DbeditReplyResponses, DbEditRequest, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalResourceListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GetApiShareShareIdDataResponses, GetApiShareShareIdResponses, GetShareShareIdResponses, GetSShareIdResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, InstanceDisposeResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, McpToggleErrors, McpToggleResponses, MobileAuthTokenCreateResponses, MobileAuthTokenListResponses, MobileAuthTokenRevokeResponses, MobileBootstrapResponses, MobileCommandListResponses, MobileExpoStatusResponses, MobileGitBranchesResponses, MobileGitCheckoutErrors, MobileGitCheckoutResponses, MobileGitCommitErrors, MobileGitCommitResponses, MobileGitCommitsResponses, MobileGitDiffResponses, MobileGitDiscardResponses, MobileGithubAuthRemoveResponses, MobileGithubAuthSetErrors, MobileGithubAuthSetResponses, MobileGithubBranchesResponses, MobileGithubDeviceAuthPollInput, MobileGithubImportErrors, MobileGithubImportRequest, MobileGithubImportResponses, MobileGithubImportsResponses, MobileGithubOauthDevicePollErrors, MobileGithubOauthDevicePollResponses, MobileGithubOauthDeviceStartErrors, MobileGithubOauthDeviceStartResponses, MobileGithubPublishInput, MobileGithubReposResponses, MobileGithubSessionCleanupErrors, MobileGithubSessionCleanupResponses, MobileGithubSessionCreateErrors, MobileGithubSessionCreateInput, MobileGithubSessionCreateResponses, MobileGithubSessionPublishErrors, MobileGithubSessionPublishResponses, MobileGitPullErrors, MobileGitPullResponses, MobileGitPushErrors, MobileGitPushResponses, MobileGitStageResponses, MobileGitStatusResponses, MobileGitUnstageResponses, MobileMemoryHistoryResponses, MobileMemorySearchResponses, MobileMemoryStashCreateErrors, MobileMemoryStashCreateResponses, MobileMemoryStashDeleteErrors, MobileMemoryStashDeleteResponses, MobileMemoryStashListResponses, MobilePermissionRespondResponses, MobileProjectListResponses, MobilePromptStashCreateInput, MobileSessionAbortResponses, MobileSessionCommandErrors, MobileSessionCommandInput, MobileSessionCommandListErrors, MobileSessionCommandListResponses, MobileSessionCommandResponses, MobileSessionCreateErrors, MobileSessionCreateInput, MobileSessionCreateResponses, MobileSessionDetailErrors, MobileSessionDetailResponses, MobileSessionDiffResponses, MobileSessionListResponses, MobileSessionMessageErrors, MobileSessionMessageResponses, MobileSessionRenameResponses, MobileSessionStreamResponses, MobileTophatInstallUrlErrors, MobileTophatInstallUrlResponses, MobileTophatStatusResponses, MobileWorktreeCreateErrors, MobileWorktreeCreateResponses, MobileWorktreeRemoveResponses, MobileWorktreeResetResponses, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PatchUserIdResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, 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, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionGithub, SessionInitErrors, SessionInitResponses, 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, SubtaskPartInput, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptResponses, TuiControlNextResponses, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpResponses, TuiOpenModelsResponses, TuiOpenSessionsResponses, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastResponses, TuiSubmitPromptResponses, VcsGetResponses, 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
|
|
@@ -609,6 +609,40 @@ export declare class Session extends HeyApiClient {
|
|
|
609
609
|
directory?: string;
|
|
610
610
|
workspace?: string;
|
|
611
611
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUnrevertResponses, SessionUnrevertErrors, ThrowOnError, "fields">;
|
|
612
|
+
/**
|
|
613
|
+
* Get session monitor
|
|
614
|
+
*
|
|
615
|
+
* Retrieve metadata for one background monitor attached to a session.
|
|
616
|
+
*/
|
|
617
|
+
monitor<ThrowOnError extends boolean = false>(parameters: {
|
|
618
|
+
sessionID: string;
|
|
619
|
+
monitorID: string;
|
|
620
|
+
directory?: string;
|
|
621
|
+
workspace?: string;
|
|
622
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMonitorResponses, SessionMonitorErrors, ThrowOnError, "fields">;
|
|
623
|
+
/**
|
|
624
|
+
* Get session monitor log
|
|
625
|
+
*
|
|
626
|
+
* Read the latest output captured for a monitored background command.
|
|
627
|
+
*/
|
|
628
|
+
monitorLog<ThrowOnError extends boolean = false>(parameters: {
|
|
629
|
+
sessionID: string;
|
|
630
|
+
monitorID: string;
|
|
631
|
+
directory?: string;
|
|
632
|
+
workspace?: string;
|
|
633
|
+
lines?: number;
|
|
634
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMonitorLogResponses, SessionMonitorLogErrors, ThrowOnError, "fields">;
|
|
635
|
+
/**
|
|
636
|
+
* Cancel session monitor
|
|
637
|
+
*
|
|
638
|
+
* Stop a monitored background command attached to a session.
|
|
639
|
+
*/
|
|
640
|
+
monitorCancel<ThrowOnError extends boolean = false>(parameters: {
|
|
641
|
+
sessionID: string;
|
|
642
|
+
monitorID: string;
|
|
643
|
+
directory?: string;
|
|
644
|
+
workspace?: string;
|
|
645
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMonitorCancelResponses, SessionMonitorCancelErrors, ThrowOnError, "fields">;
|
|
612
646
|
}
|
|
613
647
|
export declare class Part extends HeyApiClient {
|
|
614
648
|
/**
|
|
@@ -838,6 +872,39 @@ export declare class Auth2 extends HeyApiClient {
|
|
|
838
872
|
private _token?;
|
|
839
873
|
get token(): Token;
|
|
840
874
|
}
|
|
875
|
+
export declare class Tophat extends HeyApiClient {
|
|
876
|
+
/**
|
|
877
|
+
* Get Tophat integration status
|
|
878
|
+
*
|
|
879
|
+
* Return Tophat availability, providers, and connected devices.
|
|
880
|
+
*/
|
|
881
|
+
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
882
|
+
directory?: string;
|
|
883
|
+
workspace?: string;
|
|
884
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileTophatStatusResponses, unknown, ThrowOnError, "fields">;
|
|
885
|
+
/**
|
|
886
|
+
* Generate Tophat install URLs for an artifact
|
|
887
|
+
*
|
|
888
|
+
* Return tophat:// and localhost install URLs for a given artifact URL.
|
|
889
|
+
*/
|
|
890
|
+
installUrl<ThrowOnError extends boolean = false>(parameters: {
|
|
891
|
+
directory?: string;
|
|
892
|
+
workspace?: string;
|
|
893
|
+
url: string;
|
|
894
|
+
platform?: "ios" | "android";
|
|
895
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileTophatInstallUrlResponses, MobileTophatInstallUrlErrors, ThrowOnError, "fields">;
|
|
896
|
+
}
|
|
897
|
+
export declare class Expo extends HeyApiClient {
|
|
898
|
+
/**
|
|
899
|
+
* Get Expo environment status
|
|
900
|
+
*
|
|
901
|
+
* Return Expo CLI, EAS CLI, and Node.js availability.
|
|
902
|
+
*/
|
|
903
|
+
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
904
|
+
directory?: string;
|
|
905
|
+
workspace?: string;
|
|
906
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileExpoStatusResponses, unknown, ThrowOnError, "fields">;
|
|
907
|
+
}
|
|
841
908
|
export declare class Stash extends HeyApiClient {
|
|
842
909
|
/**
|
|
843
910
|
* List prompt stash for mobile
|
|
@@ -1210,6 +1277,118 @@ export declare class Worktree2 extends HeyApiClient {
|
|
|
1210
1277
|
worktreeResetInput?: WorktreeResetInput;
|
|
1211
1278
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileWorktreeResetResponses, unknown, ThrowOnError, "fields">;
|
|
1212
1279
|
}
|
|
1280
|
+
export declare class Git extends HeyApiClient {
|
|
1281
|
+
/**
|
|
1282
|
+
* Get git status for mobile
|
|
1283
|
+
*
|
|
1284
|
+
* Return the current git state including branch, staged/unstaged changes, and untracked files.
|
|
1285
|
+
*/
|
|
1286
|
+
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
1287
|
+
directory?: string;
|
|
1288
|
+
workspace?: string;
|
|
1289
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileGitStatusResponses, unknown, ThrowOnError, "fields">;
|
|
1290
|
+
/**
|
|
1291
|
+
* Get git diff for mobile
|
|
1292
|
+
*
|
|
1293
|
+
* Return parsed file diffs with hunks for the current git state.
|
|
1294
|
+
*/
|
|
1295
|
+
diff<ThrowOnError extends boolean = false>(parameters?: {
|
|
1296
|
+
directory?: string;
|
|
1297
|
+
workspace?: string;
|
|
1298
|
+
file?: string;
|
|
1299
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileGitDiffResponses, unknown, ThrowOnError, "fields">;
|
|
1300
|
+
/**
|
|
1301
|
+
* Get git commit history for mobile
|
|
1302
|
+
*
|
|
1303
|
+
* Return recent commits with stats for the current branch.
|
|
1304
|
+
*/
|
|
1305
|
+
commits<ThrowOnError extends boolean = false>(parameters?: {
|
|
1306
|
+
directory?: string;
|
|
1307
|
+
workspace?: string;
|
|
1308
|
+
limit?: number;
|
|
1309
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileGitCommitsResponses, unknown, ThrowOnError, "fields">;
|
|
1310
|
+
/**
|
|
1311
|
+
* Get git branches for mobile
|
|
1312
|
+
*
|
|
1313
|
+
* Return local and remote branches with status.
|
|
1314
|
+
*/
|
|
1315
|
+
branches<ThrowOnError extends boolean = false>(parameters?: {
|
|
1316
|
+
directory?: string;
|
|
1317
|
+
workspace?: string;
|
|
1318
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileGitBranchesResponses, unknown, ThrowOnError, "fields">;
|
|
1319
|
+
/**
|
|
1320
|
+
* Create git commit for mobile
|
|
1321
|
+
*
|
|
1322
|
+
* Stage and commit changes in the current worktree.
|
|
1323
|
+
*/
|
|
1324
|
+
commit<ThrowOnError extends boolean = false>(parameters?: {
|
|
1325
|
+
directory?: string;
|
|
1326
|
+
workspace?: string;
|
|
1327
|
+
message?: string;
|
|
1328
|
+
files?: Array<string>;
|
|
1329
|
+
amend?: boolean;
|
|
1330
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileGitCommitResponses, MobileGitCommitErrors, ThrowOnError, "fields">;
|
|
1331
|
+
/**
|
|
1332
|
+
* Checkout git branch for mobile
|
|
1333
|
+
*
|
|
1334
|
+
* Switch to a different branch in the current worktree.
|
|
1335
|
+
*/
|
|
1336
|
+
checkout<ThrowOnError extends boolean = false>(parameters?: {
|
|
1337
|
+
directory?: string;
|
|
1338
|
+
workspace?: string;
|
|
1339
|
+
branch?: string;
|
|
1340
|
+
create?: boolean;
|
|
1341
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileGitCheckoutResponses, MobileGitCheckoutErrors, ThrowOnError, "fields">;
|
|
1342
|
+
/**
|
|
1343
|
+
* Stage git files for mobile
|
|
1344
|
+
*
|
|
1345
|
+
* Add files to the staging area.
|
|
1346
|
+
*/
|
|
1347
|
+
stage<ThrowOnError extends boolean = false>(parameters?: {
|
|
1348
|
+
directory?: string;
|
|
1349
|
+
workspace?: string;
|
|
1350
|
+
files?: Array<string>;
|
|
1351
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileGitStageResponses, unknown, ThrowOnError, "fields">;
|
|
1352
|
+
/**
|
|
1353
|
+
* Unstage git files for mobile
|
|
1354
|
+
*
|
|
1355
|
+
* Remove files from the staging area.
|
|
1356
|
+
*/
|
|
1357
|
+
unstage<ThrowOnError extends boolean = false>(parameters?: {
|
|
1358
|
+
directory?: string;
|
|
1359
|
+
workspace?: string;
|
|
1360
|
+
files?: Array<string>;
|
|
1361
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileGitUnstageResponses, unknown, ThrowOnError, "fields">;
|
|
1362
|
+
/**
|
|
1363
|
+
* Discard git changes for mobile
|
|
1364
|
+
*
|
|
1365
|
+
* Discard uncommitted changes to files.
|
|
1366
|
+
*/
|
|
1367
|
+
discard<ThrowOnError extends boolean = false>(parameters?: {
|
|
1368
|
+
directory?: string;
|
|
1369
|
+
workspace?: string;
|
|
1370
|
+
files?: Array<string>;
|
|
1371
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileGitDiscardResponses, unknown, ThrowOnError, "fields">;
|
|
1372
|
+
/**
|
|
1373
|
+
* Push git branch for mobile
|
|
1374
|
+
*
|
|
1375
|
+
* Push the current branch to the remote.
|
|
1376
|
+
*/
|
|
1377
|
+
push<ThrowOnError extends boolean = false>(parameters?: {
|
|
1378
|
+
directory?: string;
|
|
1379
|
+
workspace?: string;
|
|
1380
|
+
upstream?: string;
|
|
1381
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileGitPushResponses, MobileGitPushErrors, ThrowOnError, "fields">;
|
|
1382
|
+
/**
|
|
1383
|
+
* Pull git changes for mobile
|
|
1384
|
+
*
|
|
1385
|
+
* Pull remote changes into the current branch.
|
|
1386
|
+
*/
|
|
1387
|
+
pull<ThrowOnError extends boolean = false>(parameters?: {
|
|
1388
|
+
directory?: string;
|
|
1389
|
+
workspace?: string;
|
|
1390
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileGitPullResponses, MobileGitPullErrors, ThrowOnError, "fields">;
|
|
1391
|
+
}
|
|
1213
1392
|
export declare class Mobile extends HeyApiClient {
|
|
1214
1393
|
/**
|
|
1215
1394
|
* Get mobile bootstrap payload
|
|
@@ -1222,6 +1401,10 @@ export declare class Mobile extends HeyApiClient {
|
|
|
1222
1401
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileBootstrapResponses, unknown, ThrowOnError, "fields">;
|
|
1223
1402
|
private _auth?;
|
|
1224
1403
|
get auth(): Auth2;
|
|
1404
|
+
private _tophat?;
|
|
1405
|
+
get tophat(): Tophat;
|
|
1406
|
+
private _expo?;
|
|
1407
|
+
get expo(): Expo;
|
|
1225
1408
|
private _memory?;
|
|
1226
1409
|
get memory(): Memory;
|
|
1227
1410
|
private _command?;
|
|
@@ -1236,6 +1419,8 @@ export declare class Mobile extends HeyApiClient {
|
|
|
1236
1419
|
get permission(): Permission2;
|
|
1237
1420
|
private _worktree?;
|
|
1238
1421
|
get worktree(): Worktree2;
|
|
1422
|
+
private _git?;
|
|
1423
|
+
get git(): Git;
|
|
1239
1424
|
}
|
|
1240
1425
|
export declare class Find extends HeyApiClient {
|
|
1241
1426
|
/**
|
|
@@ -1433,6 +1618,15 @@ export declare class Mcp extends HeyApiClient {
|
|
|
1433
1618
|
directory?: string;
|
|
1434
1619
|
workspace?: string;
|
|
1435
1620
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpDisconnectResponses, unknown, ThrowOnError, "fields">;
|
|
1621
|
+
/**
|
|
1622
|
+
* Enable or disable an MCP server
|
|
1623
|
+
*/
|
|
1624
|
+
toggle<ThrowOnError extends boolean = false>(parameters: {
|
|
1625
|
+
name: string;
|
|
1626
|
+
directory?: string;
|
|
1627
|
+
workspace?: string;
|
|
1628
|
+
enabled?: boolean;
|
|
1629
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpToggleResponses, McpToggleErrors, ThrowOnError, "fields">;
|
|
1436
1630
|
private _auth?;
|
|
1437
1631
|
get auth(): Auth5;
|
|
1438
1632
|
}
|
|
@@ -1612,6 +1806,33 @@ export declare class Command3 extends HeyApiClient {
|
|
|
1612
1806
|
workspace?: string;
|
|
1613
1807
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CommandListResponses, unknown, ThrowOnError, "fields">;
|
|
1614
1808
|
}
|
|
1809
|
+
export declare class Skill extends HeyApiClient {
|
|
1810
|
+
/**
|
|
1811
|
+
* Create skill
|
|
1812
|
+
*
|
|
1813
|
+
* Create a new skill with a SKILL.md file.
|
|
1814
|
+
*/
|
|
1815
|
+
create<ThrowOnError extends boolean = false>(parameters?: {
|
|
1816
|
+
directory?: string;
|
|
1817
|
+
workspace?: string;
|
|
1818
|
+
name?: string;
|
|
1819
|
+
description?: string;
|
|
1820
|
+
category?: string;
|
|
1821
|
+
tags?: Array<string>;
|
|
1822
|
+
content?: string;
|
|
1823
|
+
scope?: "workspace" | "global";
|
|
1824
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppSkillCreateResponses, AppSkillCreateErrors, ThrowOnError, "fields">;
|
|
1825
|
+
/**
|
|
1826
|
+
* Delete skill
|
|
1827
|
+
*
|
|
1828
|
+
* Delete a skill by name.
|
|
1829
|
+
*/
|
|
1830
|
+
delete<ThrowOnError extends boolean = false>(parameters: {
|
|
1831
|
+
name: string;
|
|
1832
|
+
directory?: string;
|
|
1833
|
+
workspace?: string;
|
|
1834
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppSkillDeleteResponses, AppSkillDeleteErrors, ThrowOnError, "fields">;
|
|
1835
|
+
}
|
|
1615
1836
|
export declare class App extends HeyApiClient {
|
|
1616
1837
|
/**
|
|
1617
1838
|
* Write log
|
|
@@ -1646,6 +1867,8 @@ export declare class App extends HeyApiClient {
|
|
|
1646
1867
|
directory?: string;
|
|
1647
1868
|
workspace?: string;
|
|
1648
1869
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppSkillsResponses, unknown, ThrowOnError, "fields">;
|
|
1870
|
+
private _skill?;
|
|
1871
|
+
get skill(): Skill;
|
|
1649
1872
|
}
|
|
1650
1873
|
export declare class Lsp extends HeyApiClient {
|
|
1651
1874
|
/**
|
|
@@ -1721,6 +1944,28 @@ export declare class NikcliClient extends HeyApiClient {
|
|
|
1721
1944
|
getApiShareShareIdData<ThrowOnError extends boolean = false>(parameters: {
|
|
1722
1945
|
shareID: string;
|
|
1723
1946
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GetApiShareShareIdDataResponses, unknown, ThrowOnError, "fields">;
|
|
1947
|
+
postUserRegister<ThrowOnError extends boolean = false>(parameters?: {
|
|
1948
|
+
directory?: string;
|
|
1949
|
+
workspace?: string;
|
|
1950
|
+
username?: string;
|
|
1951
|
+
email?: string;
|
|
1952
|
+
password?: string;
|
|
1953
|
+
displayName?: string;
|
|
1954
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostUserRegisterResponses, unknown, ThrowOnError, "fields">;
|
|
1955
|
+
postUserLogin<ThrowOnError extends boolean = false>(parameters?: {
|
|
1956
|
+
directory?: string;
|
|
1957
|
+
workspace?: string;
|
|
1958
|
+
email?: string;
|
|
1959
|
+
password?: string;
|
|
1960
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PostUserLoginResponses, unknown, ThrowOnError, "fields">;
|
|
1961
|
+
patchUserId<ThrowOnError extends boolean = false>(parameters: {
|
|
1962
|
+
id: string;
|
|
1963
|
+
directory?: string;
|
|
1964
|
+
workspace?: string;
|
|
1965
|
+
displayName?: string;
|
|
1966
|
+
password?: string;
|
|
1967
|
+
role?: "admin" | "user";
|
|
1968
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PatchUserIdResponses, unknown, ThrowOnError, "fields">;
|
|
1724
1969
|
private _global?;
|
|
1725
1970
|
get global(): Global;
|
|
1726
1971
|
private _project?;
|