@nikcli-ai/sdk 1.285.0 → 1.286.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
CHANGED
|
@@ -64,6 +64,14 @@ export declare function compat(raw: Raw, defaults?: CompatDefaults): {
|
|
|
64
64
|
status: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").BrainStatus>>;
|
|
65
65
|
trigger: (input?: (import("./client.js").BrainTriggerInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").BrainResult>>;
|
|
66
66
|
};
|
|
67
|
+
chatbot: {
|
|
68
|
+
bots: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").ChatbotBotsOutput>>;
|
|
69
|
+
start: (input: WithDirectory<import("./client.js").ChatbotStartInput>, options?: CallOptions) => Promise<Result<import("./client.js").ChatbotStartResult>>;
|
|
70
|
+
stop: (input: WithDirectory<import("./client.js").ChatbotStopInput>, options?: CallOptions) => Promise<Result<import("./client.js").ChatbotStopResult>>;
|
|
71
|
+
};
|
|
72
|
+
voice: {
|
|
73
|
+
transcribe: (input: WithDirectory<import("./client.js").VoiceTranscribeInput>, options?: CallOptions) => Promise<Result<import("./client.js").VoiceTranscribeResult>>;
|
|
74
|
+
};
|
|
67
75
|
command: {
|
|
68
76
|
list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").TopLevelCommandOutput>>;
|
|
69
77
|
};
|
package/dist/httpapi/compat.js
CHANGED
|
@@ -95,6 +95,14 @@ export function compat(raw, defaults = {}) {
|
|
|
95
95
|
status: result0(raw.brain.status),
|
|
96
96
|
trigger: result(raw.brain.trigger),
|
|
97
97
|
},
|
|
98
|
+
chatbot: {
|
|
99
|
+
bots: result0(raw.chatbot.bots),
|
|
100
|
+
start: result(raw.chatbot.start),
|
|
101
|
+
stop: result(raw.chatbot.stop),
|
|
102
|
+
},
|
|
103
|
+
voice: {
|
|
104
|
+
transcribe: result(raw.voice.transcribe),
|
|
105
|
+
},
|
|
98
106
|
command: {
|
|
99
107
|
list: result0(raw["top-level"].command),
|
|
100
108
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TopLevelVcsStatusOutput, TopLevelVcsApplyInput, TopLevelCommandOutput, TopLevelAgentOutput, TopLevelSkillOutput, TopLevelLspOutput, TopLevelFormatterOutput, AnalyticsDailyInput, AnalyticsDailyOutput, AnalyticsSessionInput, AnalyticsSessionsOutput, AnalyticsDataInput, AppLogInput, AppSkillCreateInput, AppSkillDeleteInput, BrainTriggerInput, 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, MobileSessionMessageOutput, MobileSessionAbortInput, MobilePermissionRespondInput, MobileQuestionRespondInput, MobileQuestionRejectInput, MobileSessionPublishInput, MobileSessionCleanupInput, MobileSessionStreamInput, MobileSessionStreamOutput, MobileSessionRenameInput, 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, 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, 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, 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, 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, MobileSessionMessageOutput, MobileSessionAbortInput, MobilePermissionRespondInput, MobileQuestionRespondInput, MobileQuestionRejectInput, MobileSessionPublishInput, MobileSessionCleanupInput, MobileSessionStreamInput, MobileSessionStreamOutput, MobileSessionRenameInput, 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, 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, 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, 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;
|
|
@@ -39,6 +39,14 @@ export declare function make(options: ClientOptions): {
|
|
|
39
39
|
status: (requestOptions?: RequestOptions) => Promise<import("./types.js").BrainStatus>;
|
|
40
40
|
trigger: (input?: BrainTriggerInput, requestOptions?: RequestOptions) => Promise<import("./types.js").BrainResult>;
|
|
41
41
|
};
|
|
42
|
+
chatbot: {
|
|
43
|
+
bots: (requestOptions?: RequestOptions) => Promise<ChatbotBotsOutput>;
|
|
44
|
+
start: (input: ChatbotStartInput, requestOptions?: RequestOptions) => Promise<import("./types.js").ChatbotStartResult>;
|
|
45
|
+
stop: (input: ChatbotStopInput, requestOptions?: RequestOptions) => Promise<import("./types.js").ChatbotStopResult>;
|
|
46
|
+
};
|
|
47
|
+
voice: {
|
|
48
|
+
transcribe: (input: VoiceTranscribeInput, requestOptions?: RequestOptions) => Promise<import("./types.js").VoiceTranscribeResult>;
|
|
49
|
+
};
|
|
42
50
|
profile: {
|
|
43
51
|
get: (requestOptions?: RequestOptions) => Promise<import("./types.js").ProfileInfoOrNull>;
|
|
44
52
|
patch: (input: ProfilePatchInput, requestOptions?: RequestOptions) => Promise<import("./types.js").ProfileInfo>;
|
|
@@ -223,6 +223,33 @@ export function make(options) {
|
|
|
223
223
|
empty: false,
|
|
224
224
|
}, requestOptions),
|
|
225
225
|
},
|
|
226
|
+
chatbot: {
|
|
227
|
+
bots: (requestOptions) => request({ method: "GET", path: `/chatbot/bots`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
|
|
228
|
+
start: (input, requestOptions) => request({
|
|
229
|
+
method: "POST",
|
|
230
|
+
path: `/chatbot/bots/${encodeURIComponent(input.name)}/start`,
|
|
231
|
+
successStatus: 200,
|
|
232
|
+
declaredStatuses: [],
|
|
233
|
+
empty: false,
|
|
234
|
+
}, requestOptions),
|
|
235
|
+
stop: (input, requestOptions) => request({
|
|
236
|
+
method: "POST",
|
|
237
|
+
path: `/chatbot/bots/${encodeURIComponent(input.name)}/stop`,
|
|
238
|
+
successStatus: 200,
|
|
239
|
+
declaredStatuses: [],
|
|
240
|
+
empty: false,
|
|
241
|
+
}, requestOptions),
|
|
242
|
+
},
|
|
243
|
+
voice: {
|
|
244
|
+
transcribe: (input, requestOptions) => request({
|
|
245
|
+
method: "POST",
|
|
246
|
+
path: `/voice/transcribe`,
|
|
247
|
+
body: { audio: input["audio"], format: input["format"] },
|
|
248
|
+
successStatus: 200,
|
|
249
|
+
declaredStatuses: [],
|
|
250
|
+
empty: false,
|
|
251
|
+
}, requestOptions),
|
|
252
|
+
},
|
|
226
253
|
profile: {
|
|
227
254
|
get: (requestOptions) => request({ method: "GET", path: `/profile`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
|
|
228
255
|
patch: (input, requestOptions) => request({
|
|
@@ -168,6 +168,23 @@ export type BrainResult = {
|
|
|
168
168
|
error?: string | undefined;
|
|
169
169
|
sessionID?: string | undefined;
|
|
170
170
|
};
|
|
171
|
+
export type ChatbotBot = {
|
|
172
|
+
name: string;
|
|
173
|
+
type: string;
|
|
174
|
+
running: boolean;
|
|
175
|
+
webhookPath: string;
|
|
176
|
+
};
|
|
177
|
+
export type ChatbotStartResult = {
|
|
178
|
+
running: boolean;
|
|
179
|
+
error?: string | undefined;
|
|
180
|
+
};
|
|
181
|
+
export type ChatbotStopResult = {
|
|
182
|
+
removed: boolean;
|
|
183
|
+
};
|
|
184
|
+
export type VoiceTranscribeResult = {
|
|
185
|
+
transcript: string;
|
|
186
|
+
error?: string | undefined;
|
|
187
|
+
};
|
|
171
188
|
export type ProfileInfo = {
|
|
172
189
|
version: number;
|
|
173
190
|
key: string;
|
|
@@ -3643,6 +3660,30 @@ export type BrainTriggerInput = {
|
|
|
3643
3660
|
}["force"];
|
|
3644
3661
|
};
|
|
3645
3662
|
export type BrainTriggerOutput = BrainResult;
|
|
3663
|
+
export type ChatbotBotsOutput = Array<ChatbotBot>;
|
|
3664
|
+
export type ChatbotStartInput = {
|
|
3665
|
+
readonly name: {
|
|
3666
|
+
readonly name: string;
|
|
3667
|
+
}["name"];
|
|
3668
|
+
};
|
|
3669
|
+
export type ChatbotStartOutput = ChatbotStartResult;
|
|
3670
|
+
export type ChatbotStopInput = {
|
|
3671
|
+
readonly name: {
|
|
3672
|
+
readonly name: string;
|
|
3673
|
+
}["name"];
|
|
3674
|
+
};
|
|
3675
|
+
export type ChatbotStopOutput = ChatbotStopResult;
|
|
3676
|
+
export type VoiceTranscribeInput = {
|
|
3677
|
+
readonly audio: {
|
|
3678
|
+
readonly audio: string;
|
|
3679
|
+
readonly format?: string | undefined;
|
|
3680
|
+
}["audio"];
|
|
3681
|
+
readonly format?: {
|
|
3682
|
+
readonly audio: string;
|
|
3683
|
+
readonly format?: string | undefined;
|
|
3684
|
+
}["format"];
|
|
3685
|
+
};
|
|
3686
|
+
export type VoiceTranscribeOutput = VoiceTranscribeResult;
|
|
3646
3687
|
export type ProfileGetOutput = ProfileInfoOrNull;
|
|
3647
3688
|
export type ProfilePatchInput = {
|
|
3648
3689
|
readonly payload: {
|
package/dist/server.d.ts
CHANGED
|
@@ -73,6 +73,23 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
|
|
|
73
73
|
readonly workspace?: string;
|
|
74
74
|
}) | undefined, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").BrainResult>>;
|
|
75
75
|
};
|
|
76
|
+
chatbot: {
|
|
77
|
+
bots: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ChatbotBotsOutput>>;
|
|
78
|
+
start: (input: import("./httpapi/client.js").ChatbotStartInput & {
|
|
79
|
+
readonly directory?: string;
|
|
80
|
+
readonly workspace?: string;
|
|
81
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ChatbotStartResult>>;
|
|
82
|
+
stop: (input: import("./httpapi/client.js").ChatbotStopInput & {
|
|
83
|
+
readonly directory?: string;
|
|
84
|
+
readonly workspace?: string;
|
|
85
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ChatbotStopResult>>;
|
|
86
|
+
};
|
|
87
|
+
voice: {
|
|
88
|
+
transcribe: (input: import("./httpapi/client.js").VoiceTranscribeInput & {
|
|
89
|
+
readonly directory?: string;
|
|
90
|
+
readonly workspace?: string;
|
|
91
|
+
}, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").VoiceTranscribeResult>>;
|
|
92
|
+
};
|
|
76
93
|
command: {
|
|
77
94
|
list: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").TopLevelCommandOutput>>;
|
|
78
95
|
};
|