@nikcli-ai/sdk 1.284.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.
@@ -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
  };
@@ -351,6 +359,14 @@ export declare function compat(raw: Raw, defaults?: CompatDefaults): {
351
359
  postConfigProfilesActivateName: (input: WithDirectory<import("./client.js").ConfigManagementProfileActivateInput>, options?: CallOptions) => Promise<Result<import("./client.js").SuccessFlag>>;
352
360
  postUserLogin: (input: WithDirectory<import("./client.js").UsersLoginInput>, options?: CallOptions) => Promise<Result<import("./client.js").UserSession>>;
353
361
  postUserRegister: (input: WithDirectory<import("./client.js").UsersRegisterInput>, options?: CallOptions) => Promise<Result<import("./client.js").UserSession>>;
362
+ profile: {
363
+ clear: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").ProfileDeleted>>;
364
+ clearHabits: (input?: (import("./client.js").ProfileClearHabitsInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").ProfileDeleted>>;
365
+ get: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").ProfileInfoOrNull>>;
366
+ habits: (input?: (import("./client.js").ProfileHabitsInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").ProfileHabits>>;
367
+ patch: (input: WithDirectory<import("./client.js").ProfilePatchInput>, options?: CallOptions) => Promise<Result<import("./client.js").ProfileInfo>>;
368
+ preview: (input?: (import("./client.js").ProfilePreviewInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").ProfilePreview>>;
369
+ };
354
370
  project: {
355
371
  current: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").Project>>;
356
372
  list: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").ProjectListOutput>>;
@@ -454,6 +470,7 @@ export declare function compat(raw: Raw, defaults?: CompatDefaults): {
454
470
  tui: {
455
471
  appendPrompt: (input: WithDirectory<import("./client.js").TuiAppendPromptInput>, options?: CallOptions) => Promise<Result<boolean>>;
456
472
  clearPrompt: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<boolean>>;
473
+ config: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").TuiConfig>>;
457
474
  control: {
458
475
  next: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").TuiControlRequest>>;
459
476
  response: (input: WithDirectory<import("./client.js").TuiControlResponseInput>, options?: CallOptions) => Promise<Result<boolean>>;
@@ -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
  },
@@ -376,6 +384,14 @@ export function compat(raw, defaults = {}) {
376
384
  postConfigProfilesActivateName: result(raw["config-management"].profileActivate),
377
385
  postUserLogin: result(raw.users.login),
378
386
  postUserRegister: result(raw.users.register),
387
+ profile: {
388
+ clear: result0(raw.profile.clear),
389
+ clearHabits: result(raw.profile.clearHabits),
390
+ get: result0(raw.profile.get),
391
+ habits: result(raw.profile.habits),
392
+ patch: result(raw.profile.patch),
393
+ preview: result(raw.profile.preview),
394
+ },
379
395
  project: {
380
396
  current: result0(raw.project.current),
381
397
  list: result0(raw.project.list),
@@ -477,6 +493,7 @@ export function compat(raw, defaults = {}) {
477
493
  tui: {
478
494
  appendPrompt: result(raw.tui.appendPrompt),
479
495
  clearPrompt: result0(raw.tui.clearPrompt),
496
+ config: result0(raw.tui.config),
480
497
  control: {
481
498
  next: result0(raw.tui.controlNext),
482
499
  response: result(raw.tui.controlResponse),
@@ -1,4 +1,4 @@
1
- import type { TopLevelVcsStatusOutput, TopLevelVcsApplyInput, TopLevelCommandOutput, TopLevelAgentOutput, TopLevelSkillOutput, TopLevelLspOutput, TopLevelFormatterOutput, AnalyticsDailyInput, AnalyticsDailyOutput, AnalyticsSessionInput, AnalyticsSessionsOutput, AnalyticsDataInput, AppLogInput, AppSkillCreateInput, AppSkillDeleteInput, BrainTriggerInput, 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,22 @@ 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
+ };
50
+ profile: {
51
+ get: (requestOptions?: RequestOptions) => Promise<import("./types.js").ProfileInfoOrNull>;
52
+ patch: (input: ProfilePatchInput, requestOptions?: RequestOptions) => Promise<import("./types.js").ProfileInfo>;
53
+ clear: (requestOptions?: RequestOptions) => Promise<import("./types.js").ProfileDeleted>;
54
+ habits: (input?: ProfileHabitsInput, requestOptions?: RequestOptions) => Promise<import("./types.js").ProfileHabits>;
55
+ preview: (input?: ProfilePreviewInput, requestOptions?: RequestOptions) => Promise<import("./types.js").ProfilePreview>;
56
+ clearHabits: (input?: ProfileClearHabitsInput, requestOptions?: RequestOptions) => Promise<import("./types.js").ProfileDeleted>;
57
+ };
42
58
  config: {
43
59
  get: (requestOptions?: RequestOptions) => Promise<import("./types.js").Config>;
44
60
  update: (input: ConfigUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Config>;
@@ -306,6 +322,7 @@ export declare function make(options: ClientOptions): {
306
322
  showToast: (input: TuiShowToastInput, requestOptions?: RequestOptions) => Promise<boolean>;
307
323
  publish: (input: TuiPublishInput, requestOptions?: RequestOptions) => Promise<boolean>;
308
324
  selectSession: (input: TuiSelectSessionInput, requestOptions?: RequestOptions) => Promise<boolean>;
325
+ config: (requestOptions?: RequestOptions) => Promise<import("./types.js").TuiConfig>;
309
326
  controlNext: (requestOptions?: RequestOptions) => Promise<import("./types.js").TuiControlRequest>;
310
327
  controlResponse: (input: TuiControlResponseInput, requestOptions?: RequestOptions) => Promise<boolean>;
311
328
  };
@@ -223,6 +223,69 @@ 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
+ },
253
+ profile: {
254
+ get: (requestOptions) => request({ method: "GET", path: `/profile`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
255
+ patch: (input, requestOptions) => request({
256
+ method: "PATCH",
257
+ path: `/profile`,
258
+ body: input["payload"],
259
+ successStatus: 200,
260
+ declaredStatuses: [],
261
+ empty: false,
262
+ }, requestOptions),
263
+ clear: (requestOptions) => request({ method: "DELETE", path: `/profile`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
264
+ habits: (input, requestOptions) => request({
265
+ method: "GET",
266
+ path: `/profile/habits`,
267
+ query: { worktree: input?.["worktree"] },
268
+ successStatus: 200,
269
+ declaredStatuses: [],
270
+ empty: false,
271
+ }, requestOptions),
272
+ preview: (input, requestOptions) => request({
273
+ method: "GET",
274
+ path: `/profile/preview`,
275
+ query: { worktree: input?.["worktree"] },
276
+ successStatus: 200,
277
+ declaredStatuses: [],
278
+ empty: false,
279
+ }, requestOptions),
280
+ clearHabits: (input, requestOptions) => request({
281
+ method: "DELETE",
282
+ path: `/profile/habits`,
283
+ query: { worktree: input?.["worktree"] },
284
+ successStatus: 200,
285
+ declaredStatuses: [],
286
+ empty: false,
287
+ }, requestOptions),
288
+ },
226
289
  config: {
227
290
  get: (requestOptions) => request({ method: "GET", path: `/config`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
228
291
  update: (input, requestOptions) => request({
@@ -1787,6 +1850,7 @@ export function make(options) {
1787
1850
  declaredStatuses: [400, 404],
1788
1851
  empty: false,
1789
1852
  }, requestOptions),
1853
+ config: (requestOptions) => request({ method: "GET", path: `/tui/config`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
1790
1854
  controlNext: (requestOptions) => request({ method: "GET", path: `/tui/control/next`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
1791
1855
  controlResponse: (input, requestOptions) => request({
1792
1856
  method: "POST",
@@ -168,6 +168,57 @@ 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
+ };
188
+ export type ProfileInfo = {
189
+ version: number;
190
+ key: string;
191
+ name?: string | undefined;
192
+ role?: string | undefined;
193
+ about?: string | undefined;
194
+ stack?: Array<string> | undefined;
195
+ expertise?: Array<string> | undefined;
196
+ learning?: Array<string> | undefined;
197
+ skills?: Array<string> | undefined;
198
+ tools?: {
199
+ preferred?: Array<string> | undefined;
200
+ avoid?: Array<string> | undefined;
201
+ } | undefined;
202
+ conventions?: Array<string> | undefined;
203
+ communication?: {
204
+ verbosity?: "concise" | "balanced" | "detailed" | undefined;
205
+ language?: string | undefined;
206
+ explain?: boolean | undefined;
207
+ } | undefined;
208
+ custom?: string | undefined;
209
+ habits?: boolean | undefined;
210
+ updatedAt: number;
211
+ };
212
+ export type ProfileDeleted = {
213
+ deleted: boolean;
214
+ };
215
+ export type ProfileHabits = {
216
+ content: string;
217
+ };
218
+ export type ProfilePreview = {
219
+ lines: Array<string>;
220
+ habitsFile: string;
221
+ };
171
222
  export type KeybindsConfig = {
172
223
  leader?: string | undefined;
173
224
  app_exit?: string | undefined;
@@ -757,10 +808,11 @@ export type MissionExec = {
757
808
  export type MissionBooleanResult = boolean;
758
809
  export type MobileAuthTokenPublic = {
759
810
  id: string;
760
- name?: string | undefined;
761
- scope?: string | undefined;
762
- createdAt?: number | undefined;
811
+ name: string;
812
+ createdAt: number;
813
+ lastUsedAt?: number | undefined;
763
814
  expiresAt?: number | undefined;
815
+ scope?: string | undefined;
764
816
  };
765
817
  export type MobileProject = any;
766
818
  export type MobileCommand = {
@@ -1528,6 +1580,9 @@ export type SyncConfigSetResponse = {
1528
1580
  error?: string | undefined;
1529
1581
  };
1530
1582
  export type TuiBooleanResult = boolean;
1583
+ export type PluginOptionsConfig = {
1584
+ [x: string]: any;
1585
+ };
1531
1586
  export type TuiControlRequest = {
1532
1587
  path: string;
1533
1588
  body: any;
@@ -1696,6 +1751,15 @@ export type EventSessionPendingPromoted = {
1696
1751
  messageIDs: Array<string>;
1697
1752
  };
1698
1753
  };
1754
+ export type EventSessionInstructionsUpdated = {
1755
+ type: "session.instructions.updated";
1756
+ properties: {
1757
+ sessionID: string;
1758
+ delta: {
1759
+ [x: string]: string | "removed";
1760
+ };
1761
+ };
1762
+ };
1699
1763
  export type EventTuiPromptAppend = {
1700
1764
  type: "tui.prompt.append";
1701
1765
  properties: {
@@ -2197,6 +2261,7 @@ export type AnalyticsData = {
2197
2261
  to: string;
2198
2262
  generatedAt: number;
2199
2263
  } | null;
2264
+ export type ProfileInfoOrNull = ProfileInfo | null;
2200
2265
  export type AdsConfig = {
2201
2266
  enabled?: boolean | undefined;
2202
2267
  ratio?: number | undefined;
@@ -2542,6 +2607,7 @@ export type SyncStatsOutput2 = {
2542
2607
  lastChange: number;
2543
2608
  events: Array<SyncStatsEvent>;
2544
2609
  };
2610
+ export type PluginSpecConfig = string | [string, PluginOptionsConfig];
2545
2611
  export type Workspace1 = {
2546
2612
  id: string;
2547
2613
  name: string;
@@ -2663,6 +2729,146 @@ export type QuestionRequest = {
2663
2729
  callID: string;
2664
2730
  } | undefined;
2665
2731
  };
2732
+ export type TuiConfig = {
2733
+ $schema?: string | undefined;
2734
+ theme?: string | undefined;
2735
+ keybinds?: {
2736
+ leader?: string | undefined;
2737
+ app_exit?: string | undefined;
2738
+ editor_open?: string | undefined;
2739
+ theme_list?: string | undefined;
2740
+ sidebar_toggle?: string | undefined;
2741
+ scrollbar_toggle?: string | undefined;
2742
+ username_toggle?: string | undefined;
2743
+ status_view?: string | undefined;
2744
+ sync_view?: string | undefined;
2745
+ session_export?: string | undefined;
2746
+ session_new?: string | undefined;
2747
+ session_list?: string | undefined;
2748
+ session_timeline?: string | undefined;
2749
+ session_fork?: string | undefined;
2750
+ session_rename?: string | undefined;
2751
+ session_delete?: string | undefined;
2752
+ session_pin_toggle?: string | undefined;
2753
+ session_scope_toggle?: string | undefined;
2754
+ session_tab_back?: string | undefined;
2755
+ session_tab_forward?: string | undefined;
2756
+ session_quick_switch_1?: string | undefined;
2757
+ session_quick_switch_2?: string | undefined;
2758
+ session_quick_switch_3?: string | undefined;
2759
+ session_quick_switch_4?: string | undefined;
2760
+ session_quick_switch_5?: string | undefined;
2761
+ session_quick_switch_6?: string | undefined;
2762
+ session_quick_switch_7?: string | undefined;
2763
+ session_quick_switch_8?: string | undefined;
2764
+ session_quick_switch_9?: string | undefined;
2765
+ stash_delete?: string | undefined;
2766
+ model_provider_list?: string | undefined;
2767
+ model_favorite_toggle?: string | undefined;
2768
+ session_share?: string | undefined;
2769
+ session_unshare?: string | undefined;
2770
+ session_interrupt?: string | undefined;
2771
+ session_codebro_open?: string | undefined;
2772
+ subtask_background?: string | undefined;
2773
+ subtask_picker?: string | undefined;
2774
+ session_compact?: string | undefined;
2775
+ messages_page_up?: string | undefined;
2776
+ messages_page_down?: string | undefined;
2777
+ messages_line_up?: string | undefined;
2778
+ messages_line_down?: string | undefined;
2779
+ messages_half_page_up?: string | undefined;
2780
+ messages_half_page_down?: string | undefined;
2781
+ messages_first?: string | undefined;
2782
+ messages_last?: string | undefined;
2783
+ messages_next?: string | undefined;
2784
+ messages_previous?: string | undefined;
2785
+ messages_last_user?: string | undefined;
2786
+ messages_copy?: string | undefined;
2787
+ messages_undo?: string | undefined;
2788
+ messages_redo?: string | undefined;
2789
+ messages_toggle_conceal?: string | undefined;
2790
+ tool_details?: string | undefined;
2791
+ model_list?: string | undefined;
2792
+ model_cycle_recent?: string | undefined;
2793
+ model_cycle_recent_reverse?: string | undefined;
2794
+ model_cycle_favorite?: string | undefined;
2795
+ model_cycle_favorite_reverse?: string | undefined;
2796
+ command_list?: string | undefined;
2797
+ agent_list?: string | undefined;
2798
+ agent_cycle?: string | undefined;
2799
+ agent_cycle_reverse?: string | undefined;
2800
+ permission_mode?: string | undefined;
2801
+ variant_cycle?: string | undefined;
2802
+ input_clear?: string | undefined;
2803
+ input_paste?: string | undefined;
2804
+ input_submit?: string | undefined;
2805
+ input_newline?: string | undefined;
2806
+ input_move_left?: string | undefined;
2807
+ input_move_right?: string | undefined;
2808
+ input_move_up?: string | undefined;
2809
+ input_move_down?: string | undefined;
2810
+ input_select_left?: string | undefined;
2811
+ input_select_right?: string | undefined;
2812
+ input_select_up?: string | undefined;
2813
+ input_select_down?: string | undefined;
2814
+ input_line_home?: string | undefined;
2815
+ input_line_end?: string | undefined;
2816
+ input_select_line_home?: string | undefined;
2817
+ input_select_line_end?: string | undefined;
2818
+ input_visual_line_home?: string | undefined;
2819
+ input_visual_line_end?: string | undefined;
2820
+ input_select_visual_line_home?: string | undefined;
2821
+ input_select_visual_line_end?: string | undefined;
2822
+ input_buffer_home?: string | undefined;
2823
+ input_buffer_end?: string | undefined;
2824
+ input_select_buffer_home?: string | undefined;
2825
+ input_select_buffer_end?: string | undefined;
2826
+ input_delete_line?: string | undefined;
2827
+ input_delete_to_line_end?: string | undefined;
2828
+ input_delete_to_line_start?: string | undefined;
2829
+ input_backspace?: string | undefined;
2830
+ input_delete?: string | undefined;
2831
+ input_undo?: string | undefined;
2832
+ input_redo?: string | undefined;
2833
+ input_word_forward?: string | undefined;
2834
+ input_word_backward?: string | undefined;
2835
+ input_select_word_forward?: string | undefined;
2836
+ input_select_word_backward?: string | undefined;
2837
+ input_delete_word_forward?: string | undefined;
2838
+ input_delete_word_backward?: string | undefined;
2839
+ history_previous?: string | undefined;
2840
+ history_next?: string | undefined;
2841
+ session_child_cycle?: string | undefined;
2842
+ session_child_cycle_reverse?: string | undefined;
2843
+ session_parent?: string | undefined;
2844
+ session_child_close?: string | undefined;
2845
+ terminal_suspend?: string | undefined;
2846
+ terminal_title_toggle?: string | undefined;
2847
+ tips_toggle?: string | undefined;
2848
+ voice_record?: string | undefined;
2849
+ app_support?: string | undefined;
2850
+ } | undefined;
2851
+ plugin?: Array<PluginSpecConfig> | undefined;
2852
+ plugin_enabled?: {
2853
+ [x: string]: boolean;
2854
+ } | undefined;
2855
+ scroll_speed?: number | undefined;
2856
+ scroll_acceleration?: {
2857
+ enabled: boolean;
2858
+ } | undefined;
2859
+ diff_style?: "auto" | "stacked" | undefined;
2860
+ mouse?: boolean | undefined;
2861
+ sound?: boolean | undefined;
2862
+ bg_pulse?: boolean | undefined;
2863
+ turn_tokens?: boolean | undefined;
2864
+ plugin_meta?: {
2865
+ [x: string]: {
2866
+ scope: "global" | "local";
2867
+ source: string;
2868
+ };
2869
+ } | undefined;
2870
+ [x: string]: any;
2871
+ };
2666
2872
  export type OptionalWorkspace = Workspace1 | null;
2667
2873
  export type QuestionRequest1 = {
2668
2874
  id: string;
@@ -3209,7 +3415,7 @@ export type EventMessagePartUpdated = {
3209
3415
  delta?: string | undefined;
3210
3416
  };
3211
3417
  };
3212
- export type Event = EventProjectUpdated | EventProjectDirectoriesUpdated | EventTelemetryRecord | EventServerInstanceDisposed | EventPermissionAsked | EventPermissionReplied | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventInstallationUpdated | EventInstallationUpdateAvailable | EventServerConnected | EventGlobalDisposed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSessionPendingPromoted | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventFileWatcherUpdated | EventInstanceReloadStarted | EventInstanceReloaded | EventVcsBranchUpdated | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventSessionGoal | EventIdeInstalled | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventSessionV2Updated | EventSessionEntryUpdated | EventSessionEntryRemoved | EventFileEdited | EventMonitorCreated | EventMonitorUpdated | EventMonitorOutput | EventMonitorCompleted | EventLoopUpserted | EventLoopRemoved | EventLoopRunStarted | EventLoopRunFinished | EventLoopRuntimeChanged | EventLoopAborted | EventMissionUpserted | EventMissionRemoved | EventMissionStarted | EventMissionFinished | EventMissionExecStarted | EventMissionExecFinished | EventMissionRuntimeChanged | EventMissionAborted | EventWorkspaceStatus | EventWorkspaceReady | EventWorkspaceFailed | EventDelegationCompleted;
3418
+ export type Event = EventProjectUpdated | EventProjectDirectoriesUpdated | EventTelemetryRecord | EventServerInstanceDisposed | EventPermissionAsked | EventPermissionReplied | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventInstallationUpdated | EventInstallationUpdateAvailable | EventServerConnected | EventGlobalDisposed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSessionPendingPromoted | EventSessionInstructionsUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventFileWatcherUpdated | EventInstanceReloadStarted | EventInstanceReloaded | EventVcsBranchUpdated | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventSessionGoal | EventIdeInstalled | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventSessionV2Updated | EventSessionEntryUpdated | EventSessionEntryRemoved | EventFileEdited | EventMonitorCreated | EventMonitorUpdated | EventMonitorOutput | EventMonitorCompleted | EventLoopUpserted | EventLoopRemoved | EventLoopRunStarted | EventLoopRunFinished | EventLoopRuntimeChanged | EventLoopAborted | EventMissionUpserted | EventMissionRemoved | EventMissionStarted | EventMissionFinished | EventMissionExecStarted | EventMissionExecFinished | EventMissionRuntimeChanged | EventMissionAborted | EventWorkspaceStatus | EventWorkspaceReady | EventWorkspaceFailed | EventDelegationCompleted;
3213
3419
  export type GlobalEvent = {
3214
3420
  directory: string;
3215
3421
  payload: Event;
@@ -3454,6 +3660,56 @@ export type BrainTriggerInput = {
3454
3660
  }["force"];
3455
3661
  };
3456
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;
3687
+ export type ProfileGetOutput = ProfileInfoOrNull;
3688
+ export type ProfilePatchInput = {
3689
+ readonly payload: {
3690
+ readonly [x: string]: unknown;
3691
+ };
3692
+ };
3693
+ export type ProfilePatchOutput = ProfileInfo;
3694
+ export type ProfileClearOutput = ProfileDeleted;
3695
+ export type ProfileHabitsInput = {
3696
+ readonly worktree?: {
3697
+ readonly worktree?: string | undefined;
3698
+ }["worktree"];
3699
+ };
3700
+ export type ProfileHabitsOutput = ProfileHabits;
3701
+ export type ProfilePreviewInput = {
3702
+ readonly worktree?: {
3703
+ readonly worktree?: string | undefined;
3704
+ }["worktree"];
3705
+ };
3706
+ export type ProfilePreviewOutput = ProfilePreview;
3707
+ export type ProfileClearHabitsInput = {
3708
+ readonly worktree?: {
3709
+ readonly worktree?: string | undefined;
3710
+ }["worktree"];
3711
+ };
3712
+ export type ProfileClearHabitsOutput = ProfileDeleted;
3457
3713
  export type ConfigGetOutput = Config;
3458
3714
  export type ConfigUpdateInput = {
3459
3715
  readonly payload: {
@@ -9607,6 +9863,7 @@ export type TuiSelectSessionInput = {
9607
9863
  readonly payload: unknown;
9608
9864
  };
9609
9865
  export type TuiSelectSessionOutput = TuiBooleanResult;
9866
+ export type TuiConfigOutput = TuiConfig;
9610
9867
  export type TuiControlNextOutput = TuiControlRequest;
9611
9868
  export type TuiControlResponseInput = {
9612
9869
  readonly payload: unknown;
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
  };
@@ -762,6 +779,26 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
762
779
  readonly directory?: string;
763
780
  readonly workspace?: string;
764
781
  }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").UserSession>>;
782
+ profile: {
783
+ clear: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ProfileDeleted>>;
784
+ clearHabits: (input?: (import("./httpapi/client.js").ProfileClearHabitsInput & {
785
+ readonly directory?: string;
786
+ readonly workspace?: string;
787
+ }) | undefined, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ProfileDeleted>>;
788
+ get: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ProfileInfoOrNull>>;
789
+ habits: (input?: (import("./httpapi/client.js").ProfileHabitsInput & {
790
+ readonly directory?: string;
791
+ readonly workspace?: string;
792
+ }) | undefined, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ProfileHabits>>;
793
+ patch: (input: import("./httpapi/client.js").ProfilePatchInput & {
794
+ readonly directory?: string;
795
+ readonly workspace?: string;
796
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ProfileInfo>>;
797
+ preview: (input?: (import("./httpapi/client.js").ProfilePreviewInput & {
798
+ readonly directory?: string;
799
+ readonly workspace?: string;
800
+ }) | undefined, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ProfilePreview>>;
801
+ };
765
802
  project: {
766
803
  current: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Project>>;
767
804
  list: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ProjectListOutput>>;
@@ -1030,6 +1067,7 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
1030
1067
  readonly workspace?: string;
1031
1068
  }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<boolean>>;
1032
1069
  clearPrompt: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<boolean>>;
1070
+ config: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").TuiConfig>>;
1033
1071
  control: {
1034
1072
  next: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").TuiControlRequest>>;
1035
1073
  response: (input: import("./httpapi/client.js").TuiControlResponseInput & {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@nikcli-ai/sdk",
4
- "version": "1.284.0",
4
+ "version": "1.286.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {