@nikcli-ai/sdk 1.350.0 → 1.352.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/httpapi/compat.d.ts +4 -0
- package/dist/httpapi/generated/client.d.ts +3 -1
- package/dist/httpapi/generated/client.js +9 -0
- package/dist/httpapi/generated/compat.d.ts +7 -0
- package/dist/httpapi/generated/compat.js +1 -0
- package/dist/httpapi/generated/types.d.ts +14 -0
- package/dist/server.d.ts +7 -0
- package/package.json +1 -1
package/dist/httpapi/compat.d.ts
CHANGED
|
@@ -307,6 +307,10 @@ export declare function compat(raw: Raw, defaults?: CompatDefaults): {
|
|
|
307
307
|
set: (input: WithDirectory<import("./client.js").MobileHostHerdrSetInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileHostHerdrSetOutput>>;
|
|
308
308
|
};
|
|
309
309
|
island: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileHostIslandOutput>>;
|
|
310
|
+
lan: {
|
|
311
|
+
get: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileHostLan>>;
|
|
312
|
+
start: (input?: (import("./client.js").MobileHostLanStartInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").MobileHostLan>>;
|
|
313
|
+
};
|
|
310
314
|
};
|
|
311
315
|
lsp: {
|
|
312
316
|
status: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileLspStatusOutput>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TopLevelVcsStatusOutput, TopLevelVcsApplyInput, TopLevelCommandOutput, TopLevelAgentOutput, TopLevelSkillOutput, TopLevelLspOutput, TopLevelFormatterOutput, AnalyticsDailyInput, AnalyticsDailyOutput, AnalyticsSessionInput, AnalyticsSessionsOutput, AnalyticsDataInput, AppLogInput, AppSkillCreateInput, AppSkillDeleteInput, BrainTriggerInput, ChatbotBotsOutput, ChatbotStartInput, ChatbotStopInput, DiscordSetupInput, VoiceTranscribeInput, ProfilePatchInput, ProfileHabitsInput, ProfilePreviewInput, ProfileClearHabitsInput, ConfigUpdateInput, ConnectorsAuthSetInput, ConnectorsAuthRemoveInput, ConnectorsInvalidateInput, ExperimentalToolsInput, ExperimentalWorktreeCreateInput, ExperimentalWorktreeRemoveInput, ExperimentalWorktreeResetInput, ExperimentalManagedWorktreeCreateInput, ExperimentalManagedWorktreeRemoveInput, ExperimentalManagedWorktreeLinkInput, ExperimentalManagedWorktreeChildrenInput, ExperimentalManagedWorktreeAncestorsInput, FileFindTextInput, FileFindTextOutput, FileFindFileInput, FileFindFileOutput, FileFindSymbolInput, FileFindSymbolOutput, FileListInput, FileListOutput, FileContentInput, FileWriteInput, FileStatusOutput, McpAddInput, McpStartAuthInput, McpAuthCallbackInput, McpAuthenticateInput, McpRemoveAuthInput, McpConnectInput, McpDisconnectInput, McpToggleInput, MissionGenerateInput, MissionRecentExecsInput, MissionGetInput, MissionUpsertInput, MissionUpdateInput, MissionRemoveInput, MissionStartInput, MissionPauseInput, MissionCancelInput, MissionFeatureMutateInput, MissionExecsInput, MobileAuthTokenListOutput, MobileAuthTokenCreateInput, MobileAuthTokenCreateOutput, MobileAuthTokenRevokeInput, MobileAuthTokenRevokeOutput, MobileCommandListOutput, MobileProjectListOutput, MobileMemoryHistoryOutput, MobileMemorySearchInput, MobileMemorySearchOutput, MobileMemoryStashListOutput, MobileMemoryStashCreateInput, MobileMemoryStashDeleteInput, MobileGithubReposOutput, MobileGithubBranchesInput, MobileGithubBranchesOutput, MobileGithubImportsOutput, MobileGithubOauthClientInput, MobileGithubOauthDevicePollInput, MobileGithubAuthSetInput, MobileGithubImportInput, MobileGithubImportOutput, MobileGithubSessionCreateInput, MobileSessionListInput, MobileSessionListOutput, MobileSessionCreateInput, MobileSessionDetailInput, MobileSessionDeleteInput, MobileSessionDiffInput, MobileSessionDiffOutput, MobileSessionCommandListInput, MobileSessionCommandListOutput, MobileSessionCommandInput, MobileSessionCommandOutput, MobileSessionMessageInput, MobileSessionAbortInput, MobilePermissionRespondInput, MobileQuestionRespondInput, MobileQuestionRejectInput, MobileSessionPublishInput, MobileSessionCleanupInput, MobileSessionStreamInput, MobileSessionStreamOutput, MobileSessionRenameInput, MobileSessionTodoInput, MobileSessionTodoOutput, MobileTeleportUploadBeginOutput, MobileTeleportUploadChunkInput, MobileTeleportUploadChunkOutput, MobileTeleportInInput, MobileTeleportOutInput, MobileWorktreeCreateInput, MobileWorktreeRemoveInput, MobileWorktreeResetInput, MobileGitDiffInput, MobileGitDiffOutput, MobileGitCommitsInput, MobileGitCommitsOutput, MobileGitBranchesOutput, MobileGitCommitInput, MobileGitCommitOutput, MobileGitCheckoutInput, MobileGitStageInput, MobileGitUnstageInput, MobileGitDiscardInput, MobileGitPushInput, MobileGitPushOutput, MobileGitPullOutput, MobileLoopListOutput, MobileLoopCreateInput, MobileLoopTemplatesOutput, MobileLoopGenerateInput, MobileLoopRunsRecentInput, MobileLoopRunsRecentOutput, MobileLoopGetInput, MobileLoopGetOutput, MobileLoopDeleteInput, MobileLoopUpdateInput, MobileLoopRunsInput, MobileLoopRunsOutput, MobileLoopRunInput, MobileLoopAbortInput, MobileLoopToggleInput, MobileLoopPauseInput, MobileLoopResumeInput, MobileRoutineListOutput, MobileRoutineCreateInput, MobileRoutineGetInput, MobileRoutineDeleteInput, MobileRoutineUpdateInput, MobileRoutineRunInput, MobileRoutinePauseInput, MobileRoutineResumeInput, MobileRoutineTriggerInput, MobilePtyListOutput, MobilePtyCreateInput, MobilePtyGetInput, MobilePtyUpdateInput, MobilePtyRemoveInput, MobileMissionListOutput, MobileMissionCreateInput, MobileMissionTemplatesOutput, MobileMissionGenerateInput, MobileMissionExecsRecentInput, MobileMissionExecsRecentOutput, MobileMissionGetInput, MobileMissionGetOutput, MobileMissionUpdateInput, MobileMissionDeleteInput, MobileMissionExecsInput, MobileMissionExecsOutput, MobileMissionStartInput, MobileMissionPauseInput, MobileMissionCancelInput, MobileMissionFeatureMutateInput, MobileEventsOutput, MobileBrainStatusOutput, MobileBrainTriggerInput, MobileBrainTriggerOutput, MobileChatBotListOutput, MobileChatBotStartInput, MobileChatBotStartOutput, MobileChatBotStopInput, MobileChatBotStopOutput, MobileObservabilityGetOutput, MobileObservabilitySetInput, MobileObservabilitySetOutput, MobileLspStatusOutput, MobileFusionListOutput, MobileFusionSetInput, MobileFusionSetOutput, MobileHostBrowserOutput, MobileHostComputerOutput, MobileHostHerdrGetOutput, MobileHostHerdrSetInput, MobileHostHerdrSetOutput, MobileHostIslandOutput, MobileHostDevtoolsOutput, ProjectListOutput, ProjectUpdateInput, ProjectDirectoryListInput, ProjectDirectoryListOutput, ProjectCopyCreateInput, ProjectCopyRemoveInput, ProjectCopyRefreshInput, ProviderApiInput, ProviderRemoveAuthInput, ProviderOauthAuthorizeInput, ProviderOauthAuthorizeOutput, ProviderOauthCallbackInput, QuestionListOutput, QuestionReplyInput, QuestionRejectInput, PermissionListOutput, PermissionReplyInput, PtyCreateInput, PtyGetInput, PtyUpdateInput, PtyRemoveInput, LoopGenerateInput, LoopRecentRunsInput, LoopGetInput, LoopUpsertInput, LoopUpdateInput, LoopRemoveInput, LoopToggleInput, LoopRunInput, LoopAbortInput, LoopPauseInput, LoopResumeInput, LoopRunsInput, SessionListInput, SessionCreateInput, SessionGetInput, SessionRemoveInput, SessionUpdateInput, SessionForkInput, SessionAbortInput, SessionRevertInput, SessionUnrevertInput, SessionShareInput, SessionUnshareInput, SessionSummarizeInput, SessionCommandInput, SessionShellInput, SessionPermissionRespondInput, SessionChildrenInput, SessionTodoInput, SessionDiffInput, SessionMessagesInput, SessionPendingInput, SessionPendingSteerInput, SessionMessageInput, SessionMessageRemoveInput, SessionPartRemoveInput, SessionPartUpdateInput, SessionV2EntriesInput, SessionV2StateInput, SessionV2EventsInput, SessionInstructionsInput, SessionContextBreakdownInput, SessionContextToggleInput, SessionGoalInput, SessionBackgroundInput, SessionBackgroundInspectInput, SessionBackgroundReadInput, SessionBackgroundCancelInput, SessionMonitorInput, SessionMonitorLogInput, SessionMonitorCancelInput, AccountCompleteInput, SyncEventInput, SyncOutboxInput, SyncSnapshotInput, SyncStreamInput, SyncStreamOutput, SyncStatsInput, SyncConfigInput, TuiAppendPromptInput, TuiExecuteCommandInput, TuiShowToastInput, TuiPublishInput, TuiSelectSessionInput, TuiControlResponseInput, WorkspaceAdaptorsOutput, WorkspaceStatusOutput, WorkspaceCreateInput, WorkspaceListOutput, WorkspaceRemoveInput, WorkspaceRestoreInput, WorkspaceSessionRestoreInput, WorkspaceWarpInput, AuthSetInput, AuthRemoveInput, ConfigManagementMcpAddInput, ConfigManagementMcpUpdateInput, ConfigManagementMcpRemoveInput, ConfigManagementProfileCreateInput, ConfigManagementProfileActivateInput, SessionPromptPromptInput, SessionPromptPromptAsyncInput, ShareShortInput, ShareShortOutput, SharePageInput, ShareApiInput, ShareDataInput, EventsSubscribeOutput, EventsGlobalOutput, WorkspaceExtraEventsInput, WorkspaceExtraEventsOutput, WorkspaceExtraSessionWarpInput, UsersRegisterInput, UsersLoginInput, UsersUpdateInput } from "./types.js";
|
|
1
|
+
import type { TopLevelVcsStatusOutput, TopLevelVcsApplyInput, TopLevelCommandOutput, TopLevelAgentOutput, TopLevelSkillOutput, TopLevelLspOutput, TopLevelFormatterOutput, AnalyticsDailyInput, AnalyticsDailyOutput, AnalyticsSessionInput, AnalyticsSessionsOutput, AnalyticsDataInput, AppLogInput, AppSkillCreateInput, AppSkillDeleteInput, BrainTriggerInput, ChatbotBotsOutput, ChatbotStartInput, ChatbotStopInput, DiscordSetupInput, VoiceTranscribeInput, ProfilePatchInput, ProfileHabitsInput, ProfilePreviewInput, ProfileClearHabitsInput, ConfigUpdateInput, ConnectorsAuthSetInput, ConnectorsAuthRemoveInput, ConnectorsInvalidateInput, ExperimentalToolsInput, ExperimentalWorktreeCreateInput, ExperimentalWorktreeRemoveInput, ExperimentalWorktreeResetInput, ExperimentalManagedWorktreeCreateInput, ExperimentalManagedWorktreeRemoveInput, ExperimentalManagedWorktreeLinkInput, ExperimentalManagedWorktreeChildrenInput, ExperimentalManagedWorktreeAncestorsInput, FileFindTextInput, FileFindTextOutput, FileFindFileInput, FileFindFileOutput, FileFindSymbolInput, FileFindSymbolOutput, FileListInput, FileListOutput, FileContentInput, FileWriteInput, FileStatusOutput, McpAddInput, McpStartAuthInput, McpAuthCallbackInput, McpAuthenticateInput, McpRemoveAuthInput, McpConnectInput, McpDisconnectInput, McpToggleInput, MissionGenerateInput, MissionRecentExecsInput, MissionGetInput, MissionUpsertInput, MissionUpdateInput, MissionRemoveInput, MissionStartInput, MissionPauseInput, MissionCancelInput, MissionFeatureMutateInput, MissionExecsInput, MobileAuthTokenListOutput, MobileAuthTokenCreateInput, MobileAuthTokenCreateOutput, MobileAuthTokenRevokeInput, MobileAuthTokenRevokeOutput, MobileCommandListOutput, MobileProjectListOutput, MobileMemoryHistoryOutput, MobileMemorySearchInput, MobileMemorySearchOutput, MobileMemoryStashListOutput, MobileMemoryStashCreateInput, MobileMemoryStashDeleteInput, MobileGithubReposOutput, MobileGithubBranchesInput, MobileGithubBranchesOutput, MobileGithubImportsOutput, MobileGithubOauthClientInput, MobileGithubOauthDevicePollInput, MobileGithubAuthSetInput, MobileGithubImportInput, MobileGithubImportOutput, MobileGithubSessionCreateInput, MobileSessionListInput, MobileSessionListOutput, MobileSessionCreateInput, MobileSessionDetailInput, MobileSessionDeleteInput, MobileSessionDiffInput, MobileSessionDiffOutput, MobileSessionCommandListInput, MobileSessionCommandListOutput, MobileSessionCommandInput, MobileSessionCommandOutput, MobileSessionMessageInput, MobileSessionAbortInput, MobilePermissionRespondInput, MobileQuestionRespondInput, MobileQuestionRejectInput, MobileSessionPublishInput, MobileSessionCleanupInput, MobileSessionStreamInput, MobileSessionStreamOutput, MobileSessionRenameInput, MobileSessionTodoInput, MobileSessionTodoOutput, MobileTeleportUploadBeginOutput, MobileTeleportUploadChunkInput, MobileTeleportUploadChunkOutput, MobileTeleportInInput, MobileTeleportOutInput, MobileWorktreeCreateInput, MobileWorktreeRemoveInput, MobileWorktreeResetInput, MobileGitDiffInput, MobileGitDiffOutput, MobileGitCommitsInput, MobileGitCommitsOutput, MobileGitBranchesOutput, MobileGitCommitInput, MobileGitCommitOutput, MobileGitCheckoutInput, MobileGitStageInput, MobileGitUnstageInput, MobileGitDiscardInput, MobileGitPushInput, MobileGitPushOutput, MobileGitPullOutput, MobileLoopListOutput, MobileLoopCreateInput, MobileLoopTemplatesOutput, MobileLoopGenerateInput, MobileLoopRunsRecentInput, MobileLoopRunsRecentOutput, MobileLoopGetInput, MobileLoopGetOutput, MobileLoopDeleteInput, MobileLoopUpdateInput, MobileLoopRunsInput, MobileLoopRunsOutput, MobileLoopRunInput, MobileLoopAbortInput, MobileLoopToggleInput, MobileLoopPauseInput, MobileLoopResumeInput, MobileRoutineListOutput, MobileRoutineCreateInput, MobileRoutineGetInput, MobileRoutineDeleteInput, MobileRoutineUpdateInput, MobileRoutineRunInput, MobileRoutinePauseInput, MobileRoutineResumeInput, MobileRoutineTriggerInput, MobilePtyListOutput, MobilePtyCreateInput, MobilePtyGetInput, MobilePtyUpdateInput, MobilePtyRemoveInput, MobileMissionListOutput, MobileMissionCreateInput, MobileMissionTemplatesOutput, MobileMissionGenerateInput, MobileMissionExecsRecentInput, MobileMissionExecsRecentOutput, MobileMissionGetInput, MobileMissionGetOutput, MobileMissionUpdateInput, MobileMissionDeleteInput, MobileMissionExecsInput, MobileMissionExecsOutput, MobileMissionStartInput, MobileMissionPauseInput, MobileMissionCancelInput, MobileMissionFeatureMutateInput, MobileEventsOutput, MobileBrainStatusOutput, MobileBrainTriggerInput, MobileBrainTriggerOutput, MobileChatBotListOutput, MobileChatBotStartInput, MobileChatBotStartOutput, MobileChatBotStopInput, MobileChatBotStopOutput, MobileObservabilityGetOutput, MobileObservabilitySetInput, MobileObservabilitySetOutput, MobileLspStatusOutput, MobileFusionListOutput, MobileFusionSetInput, MobileFusionSetOutput, MobileHostBrowserOutput, MobileHostComputerOutput, MobileHostHerdrGetOutput, MobileHostHerdrSetInput, MobileHostHerdrSetOutput, MobileHostIslandOutput, MobileHostDevtoolsOutput, MobileHostLanStartInput, ProjectListOutput, ProjectUpdateInput, ProjectDirectoryListInput, ProjectDirectoryListOutput, ProjectCopyCreateInput, ProjectCopyRemoveInput, ProjectCopyRefreshInput, ProviderApiInput, ProviderRemoveAuthInput, ProviderOauthAuthorizeInput, ProviderOauthAuthorizeOutput, ProviderOauthCallbackInput, QuestionListOutput, QuestionReplyInput, QuestionRejectInput, PermissionListOutput, PermissionReplyInput, PtyCreateInput, PtyGetInput, PtyUpdateInput, PtyRemoveInput, LoopGenerateInput, LoopRecentRunsInput, LoopGetInput, LoopUpsertInput, LoopUpdateInput, LoopRemoveInput, LoopToggleInput, LoopRunInput, LoopAbortInput, LoopPauseInput, LoopResumeInput, LoopRunsInput, SessionListInput, SessionCreateInput, SessionGetInput, SessionRemoveInput, SessionUpdateInput, SessionForkInput, SessionAbortInput, SessionRevertInput, SessionUnrevertInput, SessionShareInput, SessionUnshareInput, SessionSummarizeInput, SessionCommandInput, SessionShellInput, SessionPermissionRespondInput, SessionChildrenInput, SessionTodoInput, SessionDiffInput, SessionMessagesInput, SessionPendingInput, SessionPendingSteerInput, SessionMessageInput, SessionMessageRemoveInput, SessionPartRemoveInput, SessionPartUpdateInput, SessionV2EntriesInput, SessionV2StateInput, SessionV2EventsInput, SessionInstructionsInput, SessionContextBreakdownInput, SessionContextToggleInput, SessionGoalInput, SessionBackgroundInput, SessionBackgroundInspectInput, SessionBackgroundReadInput, SessionBackgroundCancelInput, SessionMonitorInput, SessionMonitorLogInput, SessionMonitorCancelInput, AccountCompleteInput, SyncEventInput, SyncOutboxInput, SyncSnapshotInput, SyncStreamInput, SyncStreamOutput, SyncStatsInput, SyncConfigInput, TuiAppendPromptInput, TuiExecuteCommandInput, TuiShowToastInput, TuiPublishInput, TuiSelectSessionInput, TuiControlResponseInput, WorkspaceAdaptorsOutput, WorkspaceStatusOutput, WorkspaceCreateInput, WorkspaceListOutput, WorkspaceRemoveInput, WorkspaceRestoreInput, WorkspaceSessionRestoreInput, WorkspaceWarpInput, AuthSetInput, AuthRemoveInput, ConfigManagementMcpAddInput, ConfigManagementMcpUpdateInput, ConfigManagementMcpRemoveInput, ConfigManagementProfileCreateInput, ConfigManagementProfileActivateInput, SessionPromptPromptInput, SessionPromptPromptAsyncInput, ShareShortInput, ShareShortOutput, SharePageInput, ShareApiInput, ShareDataInput, EventsSubscribeOutput, EventsGlobalOutput, WorkspaceExtraEventsInput, WorkspaceExtraEventsOutput, WorkspaceExtraSessionWarpInput, UsersRegisterInput, UsersLoginInput, UsersUpdateInput } from "./types.js";
|
|
2
2
|
export interface ClientOptions {
|
|
3
3
|
readonly baseUrl: string;
|
|
4
4
|
readonly fetch?: typeof globalThis.fetch;
|
|
@@ -244,6 +244,8 @@ export declare function make(options: ClientOptions): {
|
|
|
244
244
|
hostHerdrSet: (input: MobileHostHerdrSetInput, requestOptions?: RequestOptions) => Promise<MobileHostHerdrSetOutput>;
|
|
245
245
|
hostIsland: (requestOptions?: RequestOptions) => Promise<MobileHostIslandOutput>;
|
|
246
246
|
hostDevtools: (requestOptions?: RequestOptions) => Promise<MobileHostDevtoolsOutput>;
|
|
247
|
+
hostLanGet: (requestOptions?: RequestOptions) => Promise<import("./types.js").MobileHostLan>;
|
|
248
|
+
hostLanStart: (input?: MobileHostLanStartInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileHostLan>;
|
|
247
249
|
};
|
|
248
250
|
project: {
|
|
249
251
|
list: (requestOptions?: RequestOptions) => Promise<ProjectListOutput>;
|
|
@@ -1494,6 +1494,15 @@ export function make(options) {
|
|
|
1494
1494
|
}, requestOptions),
|
|
1495
1495
|
hostIsland: (requestOptions) => request({ method: "GET", path: `/mobile/host/island`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
|
|
1496
1496
|
hostDevtools: (requestOptions) => request({ method: "GET", path: `/mobile/host/devtools`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
|
|
1497
|
+
hostLanGet: (requestOptions) => request({ method: "GET", path: `/mobile/host/lan`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
|
|
1498
|
+
hostLanStart: (input, requestOptions) => request({
|
|
1499
|
+
method: "POST",
|
|
1500
|
+
path: `/mobile/host/lan`,
|
|
1501
|
+
body: { mdns: input?.["mdns"] },
|
|
1502
|
+
successStatus: 200,
|
|
1503
|
+
declaredStatuses: [],
|
|
1504
|
+
empty: false,
|
|
1505
|
+
}, requestOptions),
|
|
1497
1506
|
},
|
|
1498
1507
|
project: {
|
|
1499
1508
|
list: (requestOptions) => request({ method: "GET", path: `/project`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
|
|
@@ -528,6 +528,13 @@ export declare const makeCompat: (raw: Raw, helpers: CompatHelpers) => {
|
|
|
528
528
|
}, options?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").MobileHostHerdrSetOutput>>;
|
|
529
529
|
};
|
|
530
530
|
island: (options?: import("../compat.js").CallOptions, overrides?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").MobileHostIslandOutput>>;
|
|
531
|
+
lan: {
|
|
532
|
+
get: (options?: import("../compat.js").CallOptions, overrides?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").MobileHostLan>>;
|
|
533
|
+
start: (input?: (import("./types.js").MobileHostLanStartInput & {
|
|
534
|
+
readonly directory?: string;
|
|
535
|
+
readonly workspace?: string;
|
|
536
|
+
}) | undefined, options?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").MobileHostLan>>;
|
|
537
|
+
};
|
|
531
538
|
};
|
|
532
539
|
lsp: {
|
|
533
540
|
status: (options?: import("../compat.js").CallOptions, overrides?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").MobileLspStatusOutput>>;
|
|
@@ -193,6 +193,7 @@ export const makeCompat = (raw, helpers) => {
|
|
|
193
193
|
devtools: result0(raw["mobile"]["hostDevtools"]),
|
|
194
194
|
herdr: { get: result0(raw["mobile"]["hostHerdrGet"]), set: result(raw["mobile"]["hostHerdrSet"]) },
|
|
195
195
|
island: result0(raw["mobile"]["hostIsland"]),
|
|
196
|
+
lan: { get: result0(raw["mobile"]["hostLanGet"]), start: result(raw["mobile"]["hostLanStart"]) },
|
|
196
197
|
},
|
|
197
198
|
lsp: { status: result0(raw["mobile"]["lspStatus"]) },
|
|
198
199
|
loop: {
|
|
@@ -2282,6 +2282,12 @@ export type MobileMissionExec = {
|
|
|
2282
2282
|
error?: string | undefined;
|
|
2283
2283
|
ok: boolean;
|
|
2284
2284
|
};
|
|
2285
|
+
export type MobileHostLan = {
|
|
2286
|
+
listening: boolean;
|
|
2287
|
+
url?: string | undefined;
|
|
2288
|
+
hostname?: string | undefined;
|
|
2289
|
+
port?: number | undefined;
|
|
2290
|
+
};
|
|
2285
2291
|
export type Project2 = {
|
|
2286
2292
|
id: string;
|
|
2287
2293
|
worktree: string;
|
|
@@ -6687,6 +6693,9 @@ export type MobileFusionSetPayload = {
|
|
|
6687
6693
|
export type MobileHostHerdrSetPayload = {
|
|
6688
6694
|
readonly enabled: boolean;
|
|
6689
6695
|
};
|
|
6696
|
+
export type MobileHostLanStartPayload = {
|
|
6697
|
+
readonly mdns?: boolean;
|
|
6698
|
+
};
|
|
6690
6699
|
export type ProjectUpdatePayload = {
|
|
6691
6700
|
readonly name?: string | undefined;
|
|
6692
6701
|
readonly icon?: {
|
|
@@ -9327,6 +9336,11 @@ export type MobileHostDevtoolsOutput = {
|
|
|
9327
9336
|
uptimeSec?: number | undefined;
|
|
9328
9337
|
platform?: string | undefined;
|
|
9329
9338
|
};
|
|
9339
|
+
export type MobileHostLanGetOutput = MobileHostLan;
|
|
9340
|
+
export type MobileHostLanStartInput = {
|
|
9341
|
+
readonly mdns?: MobileHostLanStartPayload["mdns"];
|
|
9342
|
+
};
|
|
9343
|
+
export type MobileHostLanStartOutput = MobileHostLan;
|
|
9330
9344
|
export type ProjectListOutput = Array<Project2>;
|
|
9331
9345
|
export type ProjectCurrentOutput = Project2;
|
|
9332
9346
|
export type ProjectUpdateInput = {
|
package/dist/server.d.ts
CHANGED
|
@@ -549,6 +549,13 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
|
|
|
549
549
|
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileHostHerdrSetOutput>>;
|
|
550
550
|
};
|
|
551
551
|
island: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileHostIslandOutput>>;
|
|
552
|
+
lan: {
|
|
553
|
+
get: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileHostLan>>;
|
|
554
|
+
start: (input?: (import("./httpapi/client.js").MobileHostLanStartInput & {
|
|
555
|
+
readonly directory?: string;
|
|
556
|
+
readonly workspace?: string;
|
|
557
|
+
}) | undefined, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileHostLan>>;
|
|
558
|
+
};
|
|
552
559
|
};
|
|
553
560
|
lsp: {
|
|
554
561
|
status: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileLspStatusOutput>>;
|