@nikcli-ai/sdk 1.60.0 → 1.62.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.
@@ -1,5 +1,5 @@
1
1
  import { type Client, type Options as Options2, type TDataShape } from "./client/index.js";
2
- import type { AgentPartInput, AnalyticsDailyResponses, AnalyticsGlobalResponses, AnalyticsLeaderboardResponses, AnalyticsSessionErrors, AnalyticsSessionResponses, AnalyticsSessionsResponses, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillCreateErrors, AppSkillCreateResponses, AppSkillDeleteErrors, AppSkillDeleteResponses, AppSkillsResponses, Auth as Auth7, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, ConnectorsAuthRemoveErrors, ConnectorsAuthRemoveResponses, ConnectorsAuthSetErrors, ConnectorsAuthSetResponses, ConnectorsInvalidateResponses, ConnectorsStatusResponses, DeleteConfigMcpNameResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalResourceListResponses, ExperimentalWorkspaceAdaptorListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, ExperimentalWorkspaceRestoreErrors, ExperimentalWorkspaceRestoreResponses, ExperimentalWorkspaceSessionRestoreErrors, ExperimentalWorkspaceSessionRestoreResponses, ExperimentalWorkspaceSessionWarpErrors, ExperimentalWorkspaceSessionWarpResponses, ExperimentalWorkspaceStatusResponses, ExperimentalWorkspaceSyncListResponses, ExperimentalWorkspaceWarpErrors, ExperimentalWorkspaceWarpResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FileWriteResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GetApiShareShareIdDataResponses, GetApiShareShareIdResponses, GetShareShareIdResponses, GetSShareIdResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, InstanceDisposeResponses, LoopDeleteErrors, LoopDeleteResponses, LoopGenerateErrors, LoopGenerateResponses, LoopGetErrors, LoopGetResponses, LoopListErrors, LoopListResponses, LoopPauseResponses, LoopRecentRunsResponses, LoopResumeErrors, LoopResumeResponses, LoopRunErrors, LoopRunResponses, LoopRunsResponses, LoopTemplatesResponses, LoopToggleErrors, LoopToggleResponses, LoopUpdateErrors, LoopUpdateResponses, LoopUpsertErrors, LoopUpsertResponses, LspStatusResponses, ManagedWorktreeAncestorsErrors, ManagedWorktreeAncestorsResponses, ManagedWorktreeChildrenErrors, ManagedWorktreeChildrenResponses, ManagedWorktreeCreateErrors, ManagedWorktreeCreateInput, ManagedWorktreeCreateResponses, ManagedWorktreeLinkErrors, ManagedWorktreeLinkInput, ManagedWorktreeLinkResponses, ManagedWorktreeListErrors, ManagedWorktreeListResponses, ManagedWorktreeRemoveErrors, ManagedWorktreeRemoveInput, ManagedWorktreeRemoveResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, McpToggleErrors, McpToggleResponses, MobileAuthTokenCreateResponses, MobileAuthTokenListResponses, MobileAuthTokenRevokeResponses, MobileBootstrapResponses, MobileCommandListResponses, MobileGitBranchesResponses, MobileGitCheckoutErrors, MobileGitCheckoutResponses, MobileGitCommitErrors, MobileGitCommitResponses, MobileGitCommitsResponses, MobileGitDiffResponses, MobileGitDiscardResponses, MobileGithubAuthRemoveResponses, MobileGithubAuthSetErrors, MobileGithubAuthSetResponses, MobileGithubBranchesResponses, MobileGithubDeviceAuthPollInput, MobileGithubImportErrors, MobileGithubImportRequest, MobileGithubImportResponses, MobileGithubImportsResponses, MobileGithubOauthClientIdSetErrors, MobileGithubOauthClientIdSetResponses, MobileGithubOauthDevicePollErrors, MobileGithubOauthDevicePollResponses, MobileGithubOauthDeviceStartErrors, MobileGithubOauthDeviceStartResponses, MobileGithubPublishInput, MobileGithubReposResponses, MobileGithubSessionCleanupErrors, MobileGithubSessionCleanupResponses, MobileGithubSessionCreateErrors, MobileGithubSessionCreateInput, MobileGithubSessionCreateResponses, MobileGithubSessionPublishErrors, MobileGithubSessionPublishResponses, MobileGitPullErrors, MobileGitPullResponses, MobileGitPushErrors, MobileGitPushResponses, MobileGitStageResponses, MobileGitStatusResponses, MobileGitUnstageResponses, MobileLoopAbortErrors, MobileLoopAbortResponses, MobileLoopCreateErrors, MobileLoopCreateResponses, MobileLoopDeleteErrors, MobileLoopDeleteResponses, MobileLoopGenerateErrors, MobileLoopGenerateInput, MobileLoopGenerateResponses, MobileLoopGetErrors, MobileLoopGetResponses, MobileLoopListErrors, MobileLoopListResponses, MobileLoopPauseErrors, MobileLoopPauseResponses, MobileLoopResumeErrors, MobileLoopResumeResponses, MobileLoopRunErrors, MobileLoopRunResponses, MobileLoopRunsErrors, MobileLoopRunsRecentErrors, MobileLoopRunsRecentResponses, MobileLoopRunsResponses, MobileLoopTemplatesResponses, MobileLoopToggleErrors, MobileLoopToggleResponses, MobileLoopUpdateErrors, MobileLoopUpdateResponses, MobileLoopWriteInput, MobileMemoryHistoryResponses, MobileMemorySearchResponses, MobileMemoryStashCreateErrors, MobileMemoryStashCreateResponses, MobileMemoryStashDeleteErrors, MobileMemoryStashDeleteResponses, MobileMemoryStashListResponses, MobilePermissionRespondResponses, MobileProjectListResponses, MobilePromptStashCreateInput, MobileQuestionRejectResponses, MobileQuestionRespondResponses, MobileRoutineCreateErrors, MobileRoutineCreateInput, MobileRoutineCreateResponses, MobileRoutineDeleteErrors, MobileRoutineDeleteResponses, MobileRoutineGetErrors, MobileRoutineGetResponses, MobileRoutineListErrors, MobileRoutineListResponses, MobileRoutinePauseErrors, MobileRoutinePauseResponses, MobileRoutineResumeErrors, MobileRoutineResumeResponses, MobileRoutineRunErrors, MobileRoutineRunInput, MobileRoutineRunResponses, MobileRoutineTriggerErrors, MobileRoutineTriggerInput, MobileRoutineTriggerResponses, MobileRoutineUpdateErrors, MobileRoutineUpdateInput, MobileRoutineUpdateResponses, MobileSessionAbortResponses, MobileSessionCommandErrors, MobileSessionCommandInput, MobileSessionCommandListErrors, MobileSessionCommandListResponses, MobileSessionCommandResponses, MobileSessionCreateErrors, MobileSessionCreateInput, MobileSessionCreateResponses, MobileSessionDeleteErrors, MobileSessionDeleteResponses, MobileSessionDetailErrors, MobileSessionDetailResponses, MobileSessionDiffResponses, MobileSessionListResponses, MobileSessionMessageErrors, MobileSessionMessageResponses, MobileSessionRenameResponses, MobileSessionStreamResponses, MobileWorktreeCreateErrors, MobileWorktreeCreateResponses, MobileWorktreeRemoveResponses, MobileWorktreeResetResponses, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PatchConfigMcpNameResponses, PatchUserIdResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PostConfigMcpResponses, PostConfigProfilesActivateNameResponses, PostConfigProfilesResponses, PostUserLoginResponses, PostUserRegisterResponses, ProjectCurrentResponses, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, ProviderApiSetErrors, ProviderApiSetResponses, ProviderAuthRemoveResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, SessionAbortErrors, SessionAbortResponses, SessionBackgroundCancelErrors, SessionBackgroundCancelResponses, SessionBackgroundErrors, SessionBackgroundInspectErrors, SessionBackgroundInspectResponses, SessionBackgroundReadErrors, SessionBackgroundReadResponses, SessionBackgroundResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionContextErrors, SessionContextResponses, SessionContextToggleErrors, SessionContextToggleResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionGithub, SessionInitErrors, SessionInitResponses, SessionInstructionsErrors, SessionInstructionsResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionMonitorCancelErrors, SessionMonitorCancelResponses, SessionMonitorErrors, SessionMonitorLogErrors, SessionMonitorLogResponses, SessionMonitorResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShareErrors, SessionShareResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUnshareErrors, SessionUnshareResponses, SessionUpdateErrors, SessionUpdateResponses, SubtaskPartInput, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptResponses, TuiControlNextResponses, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpResponses, TuiOpenModelsResponses, TuiOpenSessionsResponses, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastResponses, TuiSubmitPromptResponses, VcsApplyErrors, VcsApplyInput, VcsApplyResponses, VcsDiffRawResponses, VcsGetResponses, VcsStatusResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
2
+ import type { AgentPartInput, AnalyticsDailyResponses, AnalyticsGlobalResponses, AnalyticsLeaderboardResponses, AnalyticsSessionErrors, AnalyticsSessionResponses, AnalyticsSessionsResponses, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillCreateErrors, AppSkillCreateResponses, AppSkillDeleteErrors, AppSkillDeleteResponses, AppSkillsResponses, Auth as Auth7, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, ConnectorsAuthRemoveErrors, ConnectorsAuthRemoveResponses, ConnectorsAuthSetErrors, ConnectorsAuthSetResponses, ConnectorsInvalidateResponses, ConnectorsStatusResponses, DeleteConfigMcpNameResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalResourceListResponses, ExperimentalWorkspaceAdaptorListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, ExperimentalWorkspaceRestoreErrors, ExperimentalWorkspaceRestoreResponses, ExperimentalWorkspaceSessionRestoreErrors, ExperimentalWorkspaceSessionRestoreResponses, ExperimentalWorkspaceSessionWarpErrors, ExperimentalWorkspaceSessionWarpResponses, ExperimentalWorkspaceStatusResponses, ExperimentalWorkspaceSyncListResponses, ExperimentalWorkspaceWarpErrors, ExperimentalWorkspaceWarpResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FileWriteResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GetApiShareShareIdDataResponses, GetApiShareShareIdResponses, GetShareShareIdResponses, GetSShareIdResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, InstanceDisposeResponses, LoopDeleteErrors, LoopDeleteResponses, LoopGenerateErrors, LoopGenerateResponses, LoopGetErrors, LoopGetResponses, LoopListErrors, LoopListResponses, LoopPauseResponses, LoopRecentRunsResponses, LoopResumeErrors, LoopResumeResponses, LoopRunErrors, LoopRunResponses, LoopRunsResponses, LoopTemplatesResponses, LoopToggleErrors, LoopToggleResponses, LoopUpdateErrors, LoopUpdateResponses, LoopUpsertErrors, LoopUpsertResponses, LspStatusResponses, ManagedWorktreeAncestorsErrors, ManagedWorktreeAncestorsResponses, ManagedWorktreeChildrenErrors, ManagedWorktreeChildrenResponses, ManagedWorktreeCreateErrors, ManagedWorktreeCreateInput, ManagedWorktreeCreateResponses, ManagedWorktreeLinkErrors, ManagedWorktreeLinkInput, ManagedWorktreeLinkResponses, ManagedWorktreeListErrors, ManagedWorktreeListResponses, ManagedWorktreeRemoveErrors, ManagedWorktreeRemoveInput, ManagedWorktreeRemoveResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, McpToggleErrors, McpToggleResponses, MobileAuthTokenCreateResponses, MobileAuthTokenListResponses, MobileAuthTokenRevokeResponses, MobileBootstrapResponses, MobileCommandListResponses, MobileGitBranchesResponses, MobileGitCheckoutErrors, MobileGitCheckoutResponses, MobileGitCommitErrors, MobileGitCommitResponses, MobileGitCommitsResponses, MobileGitDiffResponses, MobileGitDiscardResponses, MobileGithubAuthRemoveResponses, MobileGithubAuthSetErrors, MobileGithubAuthSetResponses, MobileGithubBranchesResponses, MobileGithubDeviceAuthPollInput, MobileGithubImportErrors, MobileGithubImportRequest, MobileGithubImportResponses, MobileGithubImportsResponses, MobileGithubOauthClientIdSetErrors, MobileGithubOauthClientIdSetResponses, MobileGithubOauthDevicePollErrors, MobileGithubOauthDevicePollResponses, MobileGithubOauthDeviceStartErrors, MobileGithubOauthDeviceStartResponses, MobileGithubPublishInput, MobileGithubReposResponses, MobileGithubSessionCleanupErrors, MobileGithubSessionCleanupResponses, MobileGithubSessionCreateErrors, MobileGithubSessionCreateInput, MobileGithubSessionCreateResponses, MobileGithubSessionPublishErrors, MobileGithubSessionPublishResponses, MobileGitPullErrors, MobileGitPullResponses, MobileGitPushErrors, MobileGitPushResponses, MobileGitStageResponses, MobileGitStatusResponses, MobileGitUnstageResponses, MobileLoopAbortErrors, MobileLoopAbortResponses, MobileLoopCreateErrors, MobileLoopCreateResponses, MobileLoopDeleteErrors, MobileLoopDeleteResponses, MobileLoopGenerateErrors, MobileLoopGenerateInput, MobileLoopGenerateResponses, MobileLoopGetErrors, MobileLoopGetResponses, MobileLoopListErrors, MobileLoopListResponses, MobileLoopPauseErrors, MobileLoopPauseResponses, MobileLoopResumeErrors, MobileLoopResumeResponses, MobileLoopRunErrors, MobileLoopRunResponses, MobileLoopRunsErrors, MobileLoopRunsRecentErrors, MobileLoopRunsRecentResponses, MobileLoopRunsResponses, MobileLoopTemplatesResponses, MobileLoopToggleErrors, MobileLoopToggleResponses, MobileLoopUpdateErrors, MobileLoopUpdateResponses, MobileLoopWriteInput, MobileMemoryHistoryResponses, MobileMemorySearchResponses, MobileMemoryStashCreateErrors, MobileMemoryStashCreateResponses, MobileMemoryStashDeleteErrors, MobileMemoryStashDeleteResponses, MobileMemoryStashListResponses, MobilePermissionRespondResponses, MobileProjectListResponses, MobilePromptStashCreateInput, MobileQuestionRejectResponses, MobileQuestionRespondResponses, MobileRoutineCreateErrors, MobileRoutineCreateInput, MobileRoutineCreateResponses, MobileRoutineDeleteErrors, MobileRoutineDeleteResponses, MobileRoutineGetErrors, MobileRoutineGetResponses, MobileRoutineListErrors, MobileRoutineListResponses, MobileRoutinePauseErrors, MobileRoutinePauseResponses, MobileRoutineResumeErrors, MobileRoutineResumeResponses, MobileRoutineRunErrors, MobileRoutineRunInput, MobileRoutineRunResponses, MobileRoutineTriggerErrors, MobileRoutineTriggerInput, MobileRoutineTriggerResponses, MobileRoutineUpdateErrors, MobileRoutineUpdateInput, MobileRoutineUpdateResponses, MobileSessionAbortResponses, MobileSessionCommandErrors, MobileSessionCommandInput, MobileSessionCommandListErrors, MobileSessionCommandListResponses, MobileSessionCommandResponses, MobileSessionCreateErrors, MobileSessionCreateInput, MobileSessionCreateResponses, MobileSessionDeleteErrors, MobileSessionDeleteResponses, MobileSessionDetailErrors, MobileSessionDetailResponses, MobileSessionDiffResponses, MobileSessionListResponses, MobileSessionMessageErrors, MobileSessionMessageResponses, MobileSessionRenameResponses, MobileSessionStreamResponses, MobileWorktreeCreateErrors, MobileWorktreeCreateResponses, MobileWorktreeRemoveResponses, MobileWorktreeResetResponses, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PatchConfigMcpNameResponses, PatchUserIdResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PostConfigMcpResponses, PostConfigProfilesActivateNameResponses, PostConfigProfilesResponses, PostUserLoginResponses, PostUserRegisterResponses, ProjectCurrentResponses, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, ProviderApiSetErrors, ProviderApiSetResponses, ProviderAuthRemoveResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, SessionAbortErrors, SessionAbortResponses, SessionBackgroundCancelErrors, SessionBackgroundCancelResponses, SessionBackgroundErrors, SessionBackgroundInspectErrors, SessionBackgroundInspectResponses, SessionBackgroundReadErrors, SessionBackgroundReadResponses, SessionBackgroundResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionContextErrors, SessionContextResponses, SessionContextToggleErrors, SessionContextToggleResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionGithub, SessionInitErrors, SessionInitResponses, SessionInstructionsErrors, SessionInstructionsResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionMonitorCancelErrors, SessionMonitorCancelResponses, SessionMonitorErrors, SessionMonitorLogErrors, SessionMonitorLogResponses, SessionMonitorResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShareErrors, SessionShareResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUnshareErrors, SessionUnshareResponses, SessionUpdateErrors, SessionUpdateResponses, SessionV2EntriesErrors, SessionV2EntriesResponses, SessionV2StateErrors, SessionV2StateResponses, SubtaskPartInput, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptResponses, TuiControlNextResponses, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpResponses, TuiOpenModelsResponses, TuiOpenSessionsResponses, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastResponses, TuiSubmitPromptResponses, VcsApplyErrors, VcsApplyInput, VcsApplyResponses, VcsDiffRawResponses, VcsGetResponses, VcsStatusResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
3
3
  export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
4
4
  /**
5
5
  * You can provide a client instance returned by `createClient()` instead of
@@ -657,6 +657,28 @@ export declare class Background extends HeyApiClient {
657
657
  workspace?: string;
658
658
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionBackgroundCancelResponses, SessionBackgroundCancelErrors, ThrowOnError, "fields">;
659
659
  }
660
+ export declare class V2 extends HeyApiClient {
661
+ /**
662
+ * Get session v2 entries
663
+ *
664
+ * Retrieve the session as v2 entries: committed messages converted from storage plus the live in-flight assistant tail. Experimental — the v2 read model is documented in specs/v2/message-shape.md.
665
+ */
666
+ entries<ThrowOnError extends boolean = false>(parameters: {
667
+ sessionID: string;
668
+ directory?: string;
669
+ workspace?: string;
670
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionV2EntriesResponses, SessionV2EntriesErrors, ThrowOnError, "fields">;
671
+ /**
672
+ * Get live session v2 state
673
+ *
674
+ * Retrieve the live v2 state for a session: `pending` holds the in-flight assistant work reduced by the v2 stepper. Entry-grade changes are announced on the bus as `session.v2.updated`. Experimental.
675
+ */
676
+ state<ThrowOnError extends boolean = false>(parameters: {
677
+ sessionID: string;
678
+ directory?: string;
679
+ workspace?: string;
680
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionV2StateResponses, SessionV2StateErrors, ThrowOnError, "fields">;
681
+ }
660
682
  export declare class Session2 extends HeyApiClient {
661
683
  /**
662
684
  * List sessions
@@ -1042,6 +1064,8 @@ export declare class Session2 extends HeyApiClient {
1042
1064
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMonitorCancelResponses, SessionMonitorCancelErrors, ThrowOnError, "fields">;
1043
1065
  private _background?;
1044
1066
  get background2(): Background;
1067
+ private _v2?;
1068
+ get v2(): V2;
1045
1069
  }
1046
1070
  export declare class Part extends HeyApiClient {
1047
1071
  /**
@@ -1247,6 +1271,28 @@ export declare class Auth2 extends HeyApiClient {
1247
1271
  private _token?;
1248
1272
  get token(): Token;
1249
1273
  }
1274
+ export declare class Command extends HeyApiClient {
1275
+ /**
1276
+ * List mobile commands
1277
+ *
1278
+ * Return command metadata safe for the mobile command palette and slash autocomplete.
1279
+ */
1280
+ list<ThrowOnError extends boolean = false>(parameters?: {
1281
+ directory?: string;
1282
+ workspace?: string;
1283
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileCommandListResponses, unknown, ThrowOnError, "fields">;
1284
+ }
1285
+ export declare class Project2 extends HeyApiClient {
1286
+ /**
1287
+ * List local projects for mobile
1288
+ *
1289
+ * Return local projects and sandboxes visible to the connected Nikcli host.
1290
+ */
1291
+ list<ThrowOnError extends boolean = false>(parameters?: {
1292
+ directory?: string;
1293
+ workspace?: string;
1294
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileProjectListResponses, unknown, ThrowOnError, "fields">;
1295
+ }
1250
1296
  export declare class Stash extends HeyApiClient {
1251
1297
  /**
1252
1298
  * List prompt stash for mobile
@@ -1301,28 +1347,6 @@ export declare class Memory extends HeyApiClient {
1301
1347
  private _stash?;
1302
1348
  get stash(): Stash;
1303
1349
  }
1304
- export declare class Command extends HeyApiClient {
1305
- /**
1306
- * List mobile commands
1307
- *
1308
- * Return command metadata safe for the mobile command palette and slash autocomplete.
1309
- */
1310
- list<ThrowOnError extends boolean = false>(parameters?: {
1311
- directory?: string;
1312
- workspace?: string;
1313
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileCommandListResponses, unknown, ThrowOnError, "fields">;
1314
- }
1315
- export declare class Project2 extends HeyApiClient {
1316
- /**
1317
- * List local projects for mobile
1318
- *
1319
- * Return local projects and sandboxes visible to the connected Nikcli host.
1320
- */
1321
- list<ThrowOnError extends boolean = false>(parameters?: {
1322
- directory?: string;
1323
- workspace?: string;
1324
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileProjectListResponses, unknown, ThrowOnError, "fields">;
1325
- }
1326
1350
  export declare class ClientId extends HeyApiClient {
1327
1351
  /**
1328
1352
  * Persist GitHub OAuth client ID for mobile
@@ -2035,12 +2059,12 @@ export declare class Mobile extends HeyApiClient {
2035
2059
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<MobileBootstrapResponses, unknown, ThrowOnError, "fields">;
2036
2060
  private _auth?;
2037
2061
  get auth(): Auth2;
2038
- private _memory?;
2039
- get memory(): Memory;
2040
2062
  private _command?;
2041
2063
  get command(): Command;
2042
2064
  private _project?;
2043
2065
  get project(): Project2;
2066
+ private _memory?;
2067
+ get memory(): Memory;
2044
2068
  private _github?;
2045
2069
  get github(): Github;
2046
2070
  private _session?;
@@ -1285,6 +1285,50 @@ export class Background extends HeyApiClient {
1285
1285
  });
1286
1286
  }
1287
1287
  }
1288
+ export class V2 extends HeyApiClient {
1289
+ /**
1290
+ * Get session v2 entries
1291
+ *
1292
+ * Retrieve the session as v2 entries: committed messages converted from storage plus the live in-flight assistant tail. Experimental — the v2 read model is documented in specs/v2/message-shape.md.
1293
+ */
1294
+ entries(parameters, options) {
1295
+ const params = buildClientParams([parameters], [
1296
+ {
1297
+ args: [
1298
+ { in: "path", key: "sessionID" },
1299
+ { in: "query", key: "directory" },
1300
+ { in: "query", key: "workspace" },
1301
+ ],
1302
+ },
1303
+ ]);
1304
+ return (options?.client ?? this.client).get({
1305
+ url: "/session/{sessionID}/v2/entries",
1306
+ ...options,
1307
+ ...params,
1308
+ });
1309
+ }
1310
+ /**
1311
+ * Get live session v2 state
1312
+ *
1313
+ * Retrieve the live v2 state for a session: `pending` holds the in-flight assistant work reduced by the v2 stepper. Entry-grade changes are announced on the bus as `session.v2.updated`. Experimental.
1314
+ */
1315
+ state(parameters, options) {
1316
+ const params = buildClientParams([parameters], [
1317
+ {
1318
+ args: [
1319
+ { in: "path", key: "sessionID" },
1320
+ { in: "query", key: "directory" },
1321
+ { in: "query", key: "workspace" },
1322
+ ],
1323
+ },
1324
+ ]);
1325
+ return (options?.client ?? this.client).get({
1326
+ url: "/session/{sessionID}/v2/state",
1327
+ ...options,
1328
+ ...params,
1329
+ });
1330
+ }
1331
+ }
1288
1332
  export class Session2 extends HeyApiClient {
1289
1333
  /**
1290
1334
  * List sessions
@@ -2033,6 +2077,10 @@ export class Session2 extends HeyApiClient {
2033
2077
  get background2() {
2034
2078
  return (this._background ??= new Background({ client: this.client }));
2035
2079
  }
2080
+ _v2;
2081
+ get v2() {
2082
+ return (this._v2 ??= new V2({ client: this.client }));
2083
+ }
2036
2084
  }
2037
2085
  export class Part extends HeyApiClient {
2038
2086
  /**
@@ -2473,6 +2521,50 @@ export class Auth2 extends HeyApiClient {
2473
2521
  return (this._token ??= new Token({ client: this.client }));
2474
2522
  }
2475
2523
  }
2524
+ export class Command extends HeyApiClient {
2525
+ /**
2526
+ * List mobile commands
2527
+ *
2528
+ * Return command metadata safe for the mobile command palette and slash autocomplete.
2529
+ */
2530
+ list(parameters, options) {
2531
+ const params = buildClientParams([parameters], [
2532
+ {
2533
+ args: [
2534
+ { in: "query", key: "directory" },
2535
+ { in: "query", key: "workspace" },
2536
+ ],
2537
+ },
2538
+ ]);
2539
+ return (options?.client ?? this.client).get({
2540
+ url: "/mobile/command",
2541
+ ...options,
2542
+ ...params,
2543
+ });
2544
+ }
2545
+ }
2546
+ export class Project2 extends HeyApiClient {
2547
+ /**
2548
+ * List local projects for mobile
2549
+ *
2550
+ * Return local projects and sandboxes visible to the connected Nikcli host.
2551
+ */
2552
+ list(parameters, options) {
2553
+ const params = buildClientParams([parameters], [
2554
+ {
2555
+ args: [
2556
+ { in: "query", key: "directory" },
2557
+ { in: "query", key: "workspace" },
2558
+ ],
2559
+ },
2560
+ ]);
2561
+ return (options?.client ?? this.client).get({
2562
+ url: "/mobile/project",
2563
+ ...options,
2564
+ ...params,
2565
+ });
2566
+ }
2567
+ }
2476
2568
  export class Stash extends HeyApiClient {
2477
2569
  /**
2478
2570
  * List prompt stash for mobile
@@ -2589,50 +2681,6 @@ export class Memory extends HeyApiClient {
2589
2681
  return (this._stash ??= new Stash({ client: this.client }));
2590
2682
  }
2591
2683
  }
2592
- export class Command extends HeyApiClient {
2593
- /**
2594
- * List mobile commands
2595
- *
2596
- * Return command metadata safe for the mobile command palette and slash autocomplete.
2597
- */
2598
- list(parameters, options) {
2599
- const params = buildClientParams([parameters], [
2600
- {
2601
- args: [
2602
- { in: "query", key: "directory" },
2603
- { in: "query", key: "workspace" },
2604
- ],
2605
- },
2606
- ]);
2607
- return (options?.client ?? this.client).get({
2608
- url: "/mobile/command",
2609
- ...options,
2610
- ...params,
2611
- });
2612
- }
2613
- }
2614
- export class Project2 extends HeyApiClient {
2615
- /**
2616
- * List local projects for mobile
2617
- *
2618
- * Return local projects and sandboxes visible to the connected Nikcli host.
2619
- */
2620
- list(parameters, options) {
2621
- const params = buildClientParams([parameters], [
2622
- {
2623
- args: [
2624
- { in: "query", key: "directory" },
2625
- { in: "query", key: "workspace" },
2626
- ],
2627
- },
2628
- ]);
2629
- return (options?.client ?? this.client).get({
2630
- url: "/mobile/project",
2631
- ...options,
2632
- ...params,
2633
- });
2634
- }
2635
- }
2636
2684
  export class ClientId extends HeyApiClient {
2637
2685
  /**
2638
2686
  * Persist GitHub OAuth client ID for mobile
@@ -4200,10 +4248,6 @@ export class Mobile extends HeyApiClient {
4200
4248
  get auth() {
4201
4249
  return (this._auth ??= new Auth2({ client: this.client }));
4202
4250
  }
4203
- _memory;
4204
- get memory() {
4205
- return (this._memory ??= new Memory({ client: this.client }));
4206
- }
4207
4251
  _command;
4208
4252
  get command() {
4209
4253
  return (this._command ??= new Command({ client: this.client }));
@@ -4212,6 +4256,10 @@ export class Mobile extends HeyApiClient {
4212
4256
  get project() {
4213
4257
  return (this._project ??= new Project2({ client: this.client }));
4214
4258
  }
4259
+ _memory;
4260
+ get memory() {
4261
+ return (this._memory ??= new Memory({ client: this.client }));
4262
+ }
4215
4263
  _github;
4216
4264
  get github() {
4217
4265
  return (this._github ??= new Github({ client: this.client }));
@@ -957,6 +957,12 @@ export type EventLoopAborted = {
957
957
  reason: string;
958
958
  };
959
959
  };
960
+ export type EventSessionV2Updated = {
961
+ type: "session.v2.updated";
962
+ properties: {
963
+ sessionID: string;
964
+ };
965
+ };
960
966
  export type Pty = {
961
967
  id: string;
962
968
  title: string;
@@ -991,7 +997,7 @@ export type EventPtyDeleted = {
991
997
  id: string;
992
998
  };
993
999
  };
994
- export type Event = EventProjectUpdated | EventServerInstanceDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventServerConnected | EventGlobalDisposed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventFileWatcherUpdated | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventMonitorCreated | EventMonitorUpdated | EventMonitorOutput | EventMonitorCompleted | EventDelegationCompleted | EventFileEdited | EventTodoUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventLoopUpserted | EventLoopRemoved | EventLoopRunStarted | EventLoopRunFinished | EventLoopRuntimeChanged | EventLoopAborted | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted;
1000
+ export type Event = EventProjectUpdated | EventServerInstanceDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventServerConnected | EventGlobalDisposed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventFileWatcherUpdated | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventMonitorCreated | EventMonitorUpdated | EventMonitorOutput | EventMonitorCompleted | EventDelegationCompleted | EventFileEdited | EventTodoUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventLoopUpserted | EventLoopRemoved | EventLoopRunStarted | EventLoopRunFinished | EventLoopRuntimeChanged | EventLoopAborted | EventSessionV2Updated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted;
995
1001
  export type GlobalEvent = {
996
1002
  directory: string;
997
1003
  payload: Event;
@@ -2671,6 +2677,140 @@ export type ManagedWorktreeLinkInput = {
2671
2677
  at: string;
2672
2678
  to?: string;
2673
2679
  };
2680
+ export type SessionEntryUser = {
2681
+ id: string;
2682
+ sessionID: string;
2683
+ timestamp: number;
2684
+ metadata?: {
2685
+ [key: string]: unknown;
2686
+ };
2687
+ role: "user";
2688
+ text: string;
2689
+ files?: Array<FilePart>;
2690
+ agents?: Array<AgentPart>;
2691
+ };
2692
+ export type SessionEntrySynthetic = {
2693
+ id: string;
2694
+ sessionID: string;
2695
+ timestamp: number;
2696
+ metadata?: {
2697
+ [key: string]: unknown;
2698
+ };
2699
+ role: "synthetic";
2700
+ text: string;
2701
+ roleType?: "system" | "user" | "assistant";
2702
+ };
2703
+ export type SessionEntryAssistantText = {
2704
+ id: string;
2705
+ sessionID: string;
2706
+ timestamp: number;
2707
+ metadata?: {
2708
+ [key: string]: unknown;
2709
+ };
2710
+ role: "assistant";
2711
+ sub: "text";
2712
+ modelID: string;
2713
+ providerID: string;
2714
+ agent: string;
2715
+ finish?: string;
2716
+ parts: Array<{
2717
+ type: "text";
2718
+ text: string;
2719
+ ignored?: boolean;
2720
+ metadata?: {
2721
+ [key: string]: unknown;
2722
+ };
2723
+ ref?: string;
2724
+ } | {
2725
+ type: "reasoning";
2726
+ text: string;
2727
+ metadata?: {
2728
+ [key: string]: unknown;
2729
+ };
2730
+ ref?: string;
2731
+ } | {
2732
+ type: "tool-call";
2733
+ toolCallId: string;
2734
+ toolName: string;
2735
+ args: {
2736
+ [key: string]: unknown;
2737
+ };
2738
+ argsText?: string;
2739
+ ref?: string;
2740
+ } | {
2741
+ type: "tool-result";
2742
+ toolCallId: string;
2743
+ toolName: string;
2744
+ result: string;
2745
+ error?: boolean;
2746
+ attachments?: Array<FilePart>;
2747
+ ref?: string;
2748
+ }>;
2749
+ };
2750
+ export type SessionEntryAssistantReasoning = {
2751
+ id: string;
2752
+ sessionID: string;
2753
+ timestamp: number;
2754
+ metadata?: {
2755
+ [key: string]: unknown;
2756
+ };
2757
+ role: "assistant";
2758
+ sub: "reasoning";
2759
+ modelID: string;
2760
+ providerID: string;
2761
+ agent: string;
2762
+ parts: Array<{
2763
+ type: "reasoning";
2764
+ text: string;
2765
+ metadata?: {
2766
+ [key: string]: unknown;
2767
+ };
2768
+ ref?: string;
2769
+ }>;
2770
+ };
2771
+ export type SessionEntryAssistantTool = {
2772
+ id: string;
2773
+ sessionID: string;
2774
+ timestamp: number;
2775
+ metadata?: {
2776
+ [key: string]: unknown;
2777
+ };
2778
+ role: "assistant";
2779
+ sub: "tool";
2780
+ modelID: string;
2781
+ providerID: string;
2782
+ agent: string;
2783
+ parts: Array<{
2784
+ type: "tool-call";
2785
+ toolCallId: string;
2786
+ toolName: string;
2787
+ args: {
2788
+ [key: string]: unknown;
2789
+ };
2790
+ argsText?: string;
2791
+ ref?: string;
2792
+ } | {
2793
+ type: "tool-result";
2794
+ toolCallId: string;
2795
+ toolName: string;
2796
+ result: string;
2797
+ error?: boolean;
2798
+ attachments?: Array<FilePart>;
2799
+ ref?: string;
2800
+ }>;
2801
+ };
2802
+ export type SessionEntryAssistantRetry = {
2803
+ id: string;
2804
+ sessionID: string;
2805
+ timestamp: number;
2806
+ metadata?: {
2807
+ [key: string]: unknown;
2808
+ };
2809
+ role: "assistant";
2810
+ sub: "retry";
2811
+ attempt: number;
2812
+ error: ApiError;
2813
+ };
2674
2814
  export type TextPartInput = {
2675
2815
  id?: string;
2676
2816
  type: "text";
@@ -2791,6 +2931,16 @@ export type MobileBootstrap = {
2791
2931
  };
2792
2932
  mobileProject?: MobileProjectType;
2793
2933
  };
2934
+ export type MobileCommand = {
2935
+ name: string;
2936
+ description?: string;
2937
+ agent?: string;
2938
+ model?: string;
2939
+ mcp?: boolean;
2940
+ skill?: boolean;
2941
+ subtask?: boolean;
2942
+ hints: Array<string>;
2943
+ };
2794
2944
  export type MobilePromptHistoryEntry = {
2795
2945
  id: string;
2796
2946
  input: string;
@@ -2815,16 +2965,6 @@ export type MobilePromptStashEntry = {
2815
2965
  export type MobilePromptStashCreateInput = {
2816
2966
  input: string;
2817
2967
  };
2818
- export type MobileCommand = {
2819
- name: string;
2820
- description?: string;
2821
- agent?: string;
2822
- model?: string;
2823
- mcp?: boolean;
2824
- skill?: boolean;
2825
- subtask?: boolean;
2826
- hints: Array<string>;
2827
- };
2828
2968
  export type MobileGithubBranch = {
2829
2969
  name: string;
2830
2970
  protected?: boolean;
@@ -5462,6 +5602,73 @@ export type SessionMessageResponses = {
5462
5602
  };
5463
5603
  };
5464
5604
  export type SessionMessageResponse = SessionMessageResponses[keyof SessionMessageResponses];
5605
+ export type SessionV2EntriesData = {
5606
+ body?: never;
5607
+ path: {
5608
+ /**
5609
+ * Session ID
5610
+ */
5611
+ sessionID: string;
5612
+ };
5613
+ query?: {
5614
+ directory?: string;
5615
+ workspace?: string;
5616
+ };
5617
+ url: "/session/{sessionID}/v2/entries";
5618
+ };
5619
+ export type SessionV2EntriesErrors = {
5620
+ /**
5621
+ * Bad request
5622
+ */
5623
+ 400: BadRequestError;
5624
+ /**
5625
+ * Not found
5626
+ */
5627
+ 404: NotFoundError;
5628
+ };
5629
+ export type SessionV2EntriesError = SessionV2EntriesErrors[keyof SessionV2EntriesErrors];
5630
+ export type SessionV2EntriesResponses = {
5631
+ /**
5632
+ * List of v2 entries
5633
+ */
5634
+ 200: Array<SessionEntryUser | SessionEntrySynthetic | SessionEntryAssistantText | SessionEntryAssistantReasoning | SessionEntryAssistantTool | SessionEntryAssistantRetry>;
5635
+ };
5636
+ export type SessionV2EntriesResponse = SessionV2EntriesResponses[keyof SessionV2EntriesResponses];
5637
+ export type SessionV2StateData = {
5638
+ body?: never;
5639
+ path: {
5640
+ /**
5641
+ * Session ID
5642
+ */
5643
+ sessionID: string;
5644
+ };
5645
+ query?: {
5646
+ directory?: string;
5647
+ workspace?: string;
5648
+ };
5649
+ url: "/session/{sessionID}/v2/state";
5650
+ };
5651
+ export type SessionV2StateErrors = {
5652
+ /**
5653
+ * Bad request
5654
+ */
5655
+ 400: BadRequestError;
5656
+ /**
5657
+ * Not found
5658
+ */
5659
+ 404: NotFoundError;
5660
+ };
5661
+ export type SessionV2StateError = SessionV2StateErrors[keyof SessionV2StateErrors];
5662
+ export type SessionV2StateResponses = {
5663
+ /**
5664
+ * Live v2 state
5665
+ */
5666
+ 200: {
5667
+ entries: Array<SessionEntryUser | SessionEntrySynthetic | SessionEntryAssistantText | SessionEntryAssistantReasoning | SessionEntryAssistantTool | SessionEntryAssistantRetry>;
5668
+ pending: Array<SessionEntryUser | SessionEntrySynthetic | SessionEntryAssistantText | SessionEntryAssistantReasoning | SessionEntryAssistantTool | SessionEntryAssistantRetry>;
5669
+ };
5670
+ };
5671
+ export type SessionV2StateResponse = SessionV2StateResponses[keyof SessionV2StateResponses];
5465
5672
  export type PartDeleteData = {
5466
5673
  body?: never;
5467
5674
  path: {
@@ -6361,6 +6568,38 @@ export type MobileBootstrapResponses = {
6361
6568
  200: MobileBootstrap;
6362
6569
  };
6363
6570
  export type MobileBootstrapResponse = MobileBootstrapResponses[keyof MobileBootstrapResponses];
6571
+ export type MobileCommandListData = {
6572
+ body?: never;
6573
+ path?: never;
6574
+ query?: {
6575
+ directory?: string;
6576
+ workspace?: string;
6577
+ };
6578
+ url: "/mobile/command";
6579
+ };
6580
+ export type MobileCommandListResponses = {
6581
+ /**
6582
+ * Commands
6583
+ */
6584
+ 200: Array<MobileCommand>;
6585
+ };
6586
+ export type MobileCommandListResponse = MobileCommandListResponses[keyof MobileCommandListResponses];
6587
+ export type MobileProjectListData = {
6588
+ body?: never;
6589
+ path?: never;
6590
+ query?: {
6591
+ directory?: string;
6592
+ workspace?: string;
6593
+ };
6594
+ url: "/mobile/project";
6595
+ };
6596
+ export type MobileProjectListResponses = {
6597
+ /**
6598
+ * Projects
6599
+ */
6600
+ 200: Array<MobileProject>;
6601
+ };
6602
+ export type MobileProjectListResponse = MobileProjectListResponses[keyof MobileProjectListResponses];
6364
6603
  export type MobileMemoryHistoryData = {
6365
6604
  body?: never;
6366
6605
  path?: never;
@@ -6460,38 +6699,6 @@ export type MobileMemoryStashDeleteResponses = {
6460
6699
  };
6461
6700
  };
6462
6701
  export type MobileMemoryStashDeleteResponse = MobileMemoryStashDeleteResponses[keyof MobileMemoryStashDeleteResponses];
6463
- export type MobileCommandListData = {
6464
- body?: never;
6465
- path?: never;
6466
- query?: {
6467
- directory?: string;
6468
- workspace?: string;
6469
- };
6470
- url: "/mobile/command";
6471
- };
6472
- export type MobileCommandListResponses = {
6473
- /**
6474
- * Commands
6475
- */
6476
- 200: Array<MobileCommand>;
6477
- };
6478
- export type MobileCommandListResponse = MobileCommandListResponses[keyof MobileCommandListResponses];
6479
- export type MobileProjectListData = {
6480
- body?: never;
6481
- path?: never;
6482
- query?: {
6483
- directory?: string;
6484
- workspace?: string;
6485
- };
6486
- url: "/mobile/project";
6487
- };
6488
- export type MobileProjectListResponses = {
6489
- /**
6490
- * Projects
6491
- */
6492
- 200: Array<MobileProject>;
6493
- };
6494
- export type MobileProjectListResponse = MobileProjectListResponses[keyof MobileProjectListResponses];
6495
6702
  export type MobileGithubReposData = {
6496
6703
  body?: never;
6497
6704
  path?: never;
@@ -7094,6 +7301,28 @@ export type MobileSessionStreamResponses = {
7094
7301
  */
7095
7302
  200: unknown;
7096
7303
  };
7304
+ export type MobileSessionRenameData = {
7305
+ body?: {
7306
+ title: string;
7307
+ };
7308
+ path: {
7309
+ sessionID: string;
7310
+ };
7311
+ query?: {
7312
+ directory?: string;
7313
+ workspace?: string;
7314
+ };
7315
+ url: "/mobile/session/{sessionID}/rename";
7316
+ };
7317
+ export type MobileSessionRenameResponses = {
7318
+ /**
7319
+ * Session renamed
7320
+ */
7321
+ 200: {
7322
+ success: true;
7323
+ };
7324
+ };
7325
+ export type MobileSessionRenameResponse = MobileSessionRenameResponses[keyof MobileSessionRenameResponses];
7097
7326
  export type MobileWorktreeRemoveData = {
7098
7327
  body?: WorktreeRemoveInput;
7099
7328
  path?: never;
@@ -7153,28 +7382,6 @@ export type MobileWorktreeResetResponses = {
7153
7382
  };
7154
7383
  };
7155
7384
  export type MobileWorktreeResetResponse = MobileWorktreeResetResponses[keyof MobileWorktreeResetResponses];
7156
- export type MobileSessionRenameData = {
7157
- body?: {
7158
- title: string;
7159
- };
7160
- path: {
7161
- sessionID: string;
7162
- };
7163
- query?: {
7164
- directory?: string;
7165
- workspace?: string;
7166
- };
7167
- url: "/mobile/session/{sessionID}/rename";
7168
- };
7169
- export type MobileSessionRenameResponses = {
7170
- /**
7171
- * Session renamed
7172
- */
7173
- 200: {
7174
- success: true;
7175
- };
7176
- };
7177
- export type MobileSessionRenameResponse = MobileSessionRenameResponses[keyof MobileSessionRenameResponses];
7178
7385
  export type MobileGitStatusData = {
7179
7386
  body?: never;
7180
7387
  path?: never;
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.60.0",
4
+ "version": "1.62.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {