@nikcli-ai/sdk 1.132.0 → 1.134.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/v2/gen/sdk.gen.d.ts +82 -3
- package/dist/v2/gen/sdk.gen.js +158 -2
- package/dist/v2/gen/types.gen.d.ts +146 -0
- package/package.json +1 -1
package/dist/v2/gen/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Client, type ClientMeta, type Options as Options2, type RequestResult, type ServerSentEventsResult, 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, BrainStatusResponses, BrainTriggerErrors, BrainTriggerInput, BrainTriggerResponses, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, ConnectorsAuthRemoveErrors, ConnectorsAuthRemoveResponses, ConnectorsAuthSetErrors, ConnectorsAuthSetResponses, ConnectorsInvalidateResponses, ConnectorsStatusResponses, DeleteConfigMcpNameResponses, DoctorRunResponses, EventSubscribeResponse, 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, GlobalEventResponse, GlobalEventResponses, GlobalHealthResponses, InstanceDisposeResponses, LoopAbortErrors, LoopAbortResponses, 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, Message, MissionCancelErrors, MissionCancelResponses, MissionDeleteErrors, MissionDeleteResponses, MissionExecsResponses, MissionFeatureMutateErrors, MissionFeatureMutateResponses, MissionGenerateErrors, MissionGenerateResponses, MissionGetErrors, MissionGetResponses, MissionListResponses, MissionPauseErrors, MissionPauseResponses, MissionRecentExecsResponses, MissionStartErrors, MissionStartResponses, MissionTemplatesResponses, MissionUpdateErrors, MissionUpdateResponses, MissionUpsertErrors, MissionUpsertResponses, 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, MobilePtyConnectErrors, MobilePtyConnectResponses, MobilePtyCreateErrors, MobilePtyCreateResponses, MobilePtyGetErrors, MobilePtyGetResponses, MobilePtyListResponses, MobilePtyRemoveErrors, MobilePtyRemoveResponses, MobilePtyUpdateErrors, MobilePtyUpdateResponses, 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, MobileSessionTeleportErrors, MobileSessionTeleportOutErrors, MobileSessionTeleportOutResponses, MobileSessionTeleportResponses, MobileSessionTeleportUploadBeginResponses, MobileSessionTeleportUploadChunkErrors, MobileSessionTeleportUploadChunkResponses, 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, SessionGoalErrors, SessionGoalResponses, 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, SessionV2EventsErrors, SessionV2EventsResponses, 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";
|
|
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, BrainStatusResponses, BrainTriggerErrors, BrainTriggerInput, BrainTriggerResponses, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, ConnectorsAuthRemoveErrors, ConnectorsAuthRemoveResponses, ConnectorsAuthSetErrors, ConnectorsAuthSetResponses, ConnectorsInvalidateResponses, ConnectorsStatusResponses, DeleteConfigMcpNameResponses, DoctorRunResponses, EventSubscribeResponse, 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, GlobalEventResponse, GlobalEventResponses, GlobalHealthResponses, InstanceDisposeResponses, LoopAbortErrors, LoopAbortResponses, 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, Message, MissionCancelErrors, MissionCancelResponses, MissionDeleteErrors, MissionDeleteResponses, MissionExecsResponses, MissionFeatureMutateErrors, MissionFeatureMutateResponses, MissionGenerateErrors, MissionGenerateResponses, MissionGetErrors, MissionGetResponses, MissionListResponses, MissionPauseErrors, MissionPauseResponses, MissionRecentExecsResponses, MissionStartErrors, MissionStartResponses, MissionTemplatesResponses, MissionUpdateErrors, MissionUpdateResponses, MissionUpsertErrors, MissionUpsertResponses, 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, MobilePtyConnectErrors, MobilePtyConnectResponses, MobilePtyCreateErrors, MobilePtyCreateResponses, MobilePtyGetErrors, MobilePtyGetResponses, MobilePtyListResponses, MobilePtyRemoveErrors, MobilePtyRemoveResponses, MobilePtyUpdateErrors, MobilePtyUpdateResponses, 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, MobileSessionTeleportErrors, MobileSessionTeleportOutErrors, MobileSessionTeleportOutResponses, MobileSessionTeleportResponses, MobileSessionTeleportUploadBeginResponses, MobileSessionTeleportUploadChunkErrors, MobileSessionTeleportUploadChunkResponses, 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, SessionGoalErrors, SessionGoalResponses, 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, SessionV2EventsErrors, SessionV2EventsResponses, SessionV2StateErrors, SessionV2StateResponses, SubtaskPartInput, SyncConnectResponses, SyncDisconnectResponses, SyncDrainResponses, SyncEventPushErrors, SyncEventPushResponses, SyncEventStreamResponses, SyncOutboxListResponses, SyncStatsResponses, 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, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -1343,6 +1343,83 @@ export declare class Permission extends HeyApiClient {
|
|
|
1343
1343
|
workspace?: string;
|
|
1344
1344
|
}, options?: Options<never, ThrowOnError>): RequestResult<PermissionListResponses, unknown, ThrowOnError>;
|
|
1345
1345
|
}
|
|
1346
|
+
export declare class Event_ extends HeyApiClient {
|
|
1347
|
+
/**
|
|
1348
|
+
* Push a sync event from a remote CLI
|
|
1349
|
+
*/
|
|
1350
|
+
push<ThrowOnError extends boolean = false>(parameters: {
|
|
1351
|
+
directory?: string;
|
|
1352
|
+
workspace?: string;
|
|
1353
|
+
event: {
|
|
1354
|
+
id: string;
|
|
1355
|
+
projectId: string;
|
|
1356
|
+
workspaceId?: string;
|
|
1357
|
+
aggregate: string;
|
|
1358
|
+
seq: number;
|
|
1359
|
+
type: string;
|
|
1360
|
+
data: unknown;
|
|
1361
|
+
timestamp: number;
|
|
1362
|
+
origin?: string;
|
|
1363
|
+
originSeq?: number;
|
|
1364
|
+
};
|
|
1365
|
+
projectID: string;
|
|
1366
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<SyncEventPushResponses, SyncEventPushErrors, ThrowOnError>;
|
|
1367
|
+
/**
|
|
1368
|
+
* SSE stream of new sync events
|
|
1369
|
+
*/
|
|
1370
|
+
stream<ThrowOnError extends boolean = false>(parameters: {
|
|
1371
|
+
directory?: string;
|
|
1372
|
+
workspace?: string;
|
|
1373
|
+
projectID: string;
|
|
1374
|
+
token: string;
|
|
1375
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<SyncEventStreamResponses, unknown, ThrowOnError>;
|
|
1376
|
+
}
|
|
1377
|
+
export declare class Outbox extends HeyApiClient {
|
|
1378
|
+
/**
|
|
1379
|
+
* List events since a given sequence for catch-up
|
|
1380
|
+
*/
|
|
1381
|
+
list<ThrowOnError extends boolean = false>(parameters: {
|
|
1382
|
+
directory?: string;
|
|
1383
|
+
workspace?: string;
|
|
1384
|
+
projectID: string;
|
|
1385
|
+
since?: number;
|
|
1386
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<SyncOutboxListResponses, unknown, ThrowOnError>;
|
|
1387
|
+
}
|
|
1388
|
+
export declare class Sync extends HeyApiClient {
|
|
1389
|
+
/**
|
|
1390
|
+
* Aggregated sync stats for the TUI
|
|
1391
|
+
*/
|
|
1392
|
+
stats<ThrowOnError extends boolean = false>(parameters?: {
|
|
1393
|
+
directory?: string;
|
|
1394
|
+
workspace?: string;
|
|
1395
|
+
projectID?: string;
|
|
1396
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<SyncStatsResponses, unknown, ThrowOnError>;
|
|
1397
|
+
/**
|
|
1398
|
+
* Force a connection to the configured hub
|
|
1399
|
+
*/
|
|
1400
|
+
connect<ThrowOnError extends boolean = false>(parameters?: {
|
|
1401
|
+
directory?: string;
|
|
1402
|
+
workspace?: string;
|
|
1403
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<SyncConnectResponses, unknown, ThrowOnError>;
|
|
1404
|
+
/**
|
|
1405
|
+
* Abort the hub connection
|
|
1406
|
+
*/
|
|
1407
|
+
disconnect<ThrowOnError extends boolean = false>(parameters?: {
|
|
1408
|
+
directory?: string;
|
|
1409
|
+
workspace?: string;
|
|
1410
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<SyncDisconnectResponses, unknown, ThrowOnError>;
|
|
1411
|
+
/**
|
|
1412
|
+
* Force an outbox drain now
|
|
1413
|
+
*/
|
|
1414
|
+
drain<ThrowOnError extends boolean = false>(parameters?: {
|
|
1415
|
+
directory?: string;
|
|
1416
|
+
workspace?: string;
|
|
1417
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<SyncDrainResponses, unknown, ThrowOnError>;
|
|
1418
|
+
private _event?;
|
|
1419
|
+
get event(): Event_;
|
|
1420
|
+
private _outbox?;
|
|
1421
|
+
get outbox(): Outbox;
|
|
1422
|
+
}
|
|
1346
1423
|
export declare class Question extends HeyApiClient {
|
|
1347
1424
|
/**
|
|
1348
1425
|
* List pending questions
|
|
@@ -3050,7 +3127,7 @@ export declare class Auth6 extends HeyApiClient {
|
|
|
3050
3127
|
auth?: Auth7;
|
|
3051
3128
|
}, options?: Options<never, ThrowOnError>): RequestResult<AuthSetResponses, AuthSetErrors, ThrowOnError>;
|
|
3052
3129
|
}
|
|
3053
|
-
export declare class
|
|
3130
|
+
export declare class Event2 extends HeyApiClient {
|
|
3054
3131
|
/**
|
|
3055
3132
|
* Subscribe to events
|
|
3056
3133
|
*
|
|
@@ -3156,6 +3233,8 @@ export declare class NikcliClient extends HeyApiClient {
|
|
|
3156
3233
|
get part(): Part;
|
|
3157
3234
|
private _permission?;
|
|
3158
3235
|
get permission(): Permission;
|
|
3236
|
+
private _sync?;
|
|
3237
|
+
get sync(): Sync;
|
|
3159
3238
|
private _question?;
|
|
3160
3239
|
get question(): Question;
|
|
3161
3240
|
private _provider?;
|
|
@@ -3195,6 +3274,6 @@ export declare class NikcliClient extends HeyApiClient {
|
|
|
3195
3274
|
private _auth?;
|
|
3196
3275
|
get auth(): Auth6;
|
|
3197
3276
|
private _event?;
|
|
3198
|
-
get event():
|
|
3277
|
+
get event(): Event2;
|
|
3199
3278
|
}
|
|
3200
3279
|
export {};
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -2578,6 +2578,158 @@ export class Permission extends HeyApiClient {
|
|
|
2578
2578
|
});
|
|
2579
2579
|
}
|
|
2580
2580
|
}
|
|
2581
|
+
export class Event_ extends HeyApiClient {
|
|
2582
|
+
/**
|
|
2583
|
+
* Push a sync event from a remote CLI
|
|
2584
|
+
*/
|
|
2585
|
+
push(parameters, options) {
|
|
2586
|
+
const params = buildClientParams([parameters], [
|
|
2587
|
+
{
|
|
2588
|
+
args: [
|
|
2589
|
+
{ in: "query", key: "directory" },
|
|
2590
|
+
{ in: "query", key: "workspace" },
|
|
2591
|
+
{ in: "body", key: "event" },
|
|
2592
|
+
{ in: "body", key: "projectID" },
|
|
2593
|
+
],
|
|
2594
|
+
},
|
|
2595
|
+
]);
|
|
2596
|
+
return (options?.client ?? this.client).post({
|
|
2597
|
+
url: "/sync/event",
|
|
2598
|
+
...options,
|
|
2599
|
+
...params,
|
|
2600
|
+
headers: {
|
|
2601
|
+
"Content-Type": "application/json",
|
|
2602
|
+
...options?.headers,
|
|
2603
|
+
...params.headers,
|
|
2604
|
+
},
|
|
2605
|
+
});
|
|
2606
|
+
}
|
|
2607
|
+
/**
|
|
2608
|
+
* SSE stream of new sync events
|
|
2609
|
+
*/
|
|
2610
|
+
stream(parameters, options) {
|
|
2611
|
+
const params = buildClientParams([parameters], [
|
|
2612
|
+
{
|
|
2613
|
+
args: [
|
|
2614
|
+
{ in: "query", key: "directory" },
|
|
2615
|
+
{ in: "query", key: "workspace" },
|
|
2616
|
+
{ in: "query", key: "projectID" },
|
|
2617
|
+
{ in: "query", key: "token" },
|
|
2618
|
+
],
|
|
2619
|
+
},
|
|
2620
|
+
]);
|
|
2621
|
+
return (options?.client ?? this.client).get({
|
|
2622
|
+
url: "/sync/stream",
|
|
2623
|
+
...options,
|
|
2624
|
+
...params,
|
|
2625
|
+
});
|
|
2626
|
+
}
|
|
2627
|
+
}
|
|
2628
|
+
export class Outbox extends HeyApiClient {
|
|
2629
|
+
/**
|
|
2630
|
+
* List events since a given sequence for catch-up
|
|
2631
|
+
*/
|
|
2632
|
+
list(parameters, options) {
|
|
2633
|
+
const params = buildClientParams([parameters], [
|
|
2634
|
+
{
|
|
2635
|
+
args: [
|
|
2636
|
+
{ in: "query", key: "directory" },
|
|
2637
|
+
{ in: "query", key: "workspace" },
|
|
2638
|
+
{ in: "query", key: "projectID" },
|
|
2639
|
+
{ in: "query", key: "since" },
|
|
2640
|
+
],
|
|
2641
|
+
},
|
|
2642
|
+
]);
|
|
2643
|
+
return (options?.client ?? this.client).get({
|
|
2644
|
+
url: "/sync/outbox",
|
|
2645
|
+
...options,
|
|
2646
|
+
...params,
|
|
2647
|
+
});
|
|
2648
|
+
}
|
|
2649
|
+
}
|
|
2650
|
+
export class Sync extends HeyApiClient {
|
|
2651
|
+
/**
|
|
2652
|
+
* Aggregated sync stats for the TUI
|
|
2653
|
+
*/
|
|
2654
|
+
stats(parameters, options) {
|
|
2655
|
+
const params = buildClientParams([parameters], [
|
|
2656
|
+
{
|
|
2657
|
+
args: [
|
|
2658
|
+
{ in: "query", key: "directory" },
|
|
2659
|
+
{ in: "query", key: "workspace" },
|
|
2660
|
+
{ in: "query", key: "projectID" },
|
|
2661
|
+
],
|
|
2662
|
+
},
|
|
2663
|
+
]);
|
|
2664
|
+
return (options?.client ?? this.client).get({
|
|
2665
|
+
url: "/sync/stats",
|
|
2666
|
+
...options,
|
|
2667
|
+
...params,
|
|
2668
|
+
});
|
|
2669
|
+
}
|
|
2670
|
+
/**
|
|
2671
|
+
* Force a connection to the configured hub
|
|
2672
|
+
*/
|
|
2673
|
+
connect(parameters, options) {
|
|
2674
|
+
const params = buildClientParams([parameters], [
|
|
2675
|
+
{
|
|
2676
|
+
args: [
|
|
2677
|
+
{ in: "query", key: "directory" },
|
|
2678
|
+
{ in: "query", key: "workspace" },
|
|
2679
|
+
],
|
|
2680
|
+
},
|
|
2681
|
+
]);
|
|
2682
|
+
return (options?.client ?? this.client).post({
|
|
2683
|
+
url: "/sync/connect",
|
|
2684
|
+
...options,
|
|
2685
|
+
...params,
|
|
2686
|
+
});
|
|
2687
|
+
}
|
|
2688
|
+
/**
|
|
2689
|
+
* Abort the hub connection
|
|
2690
|
+
*/
|
|
2691
|
+
disconnect(parameters, options) {
|
|
2692
|
+
const params = buildClientParams([parameters], [
|
|
2693
|
+
{
|
|
2694
|
+
args: [
|
|
2695
|
+
{ in: "query", key: "directory" },
|
|
2696
|
+
{ in: "query", key: "workspace" },
|
|
2697
|
+
],
|
|
2698
|
+
},
|
|
2699
|
+
]);
|
|
2700
|
+
return (options?.client ?? this.client).post({
|
|
2701
|
+
url: "/sync/disconnect",
|
|
2702
|
+
...options,
|
|
2703
|
+
...params,
|
|
2704
|
+
});
|
|
2705
|
+
}
|
|
2706
|
+
/**
|
|
2707
|
+
* Force an outbox drain now
|
|
2708
|
+
*/
|
|
2709
|
+
drain(parameters, options) {
|
|
2710
|
+
const params = buildClientParams([parameters], [
|
|
2711
|
+
{
|
|
2712
|
+
args: [
|
|
2713
|
+
{ in: "query", key: "directory" },
|
|
2714
|
+
{ in: "query", key: "workspace" },
|
|
2715
|
+
],
|
|
2716
|
+
},
|
|
2717
|
+
]);
|
|
2718
|
+
return (options?.client ?? this.client).post({
|
|
2719
|
+
url: "/sync/drain",
|
|
2720
|
+
...options,
|
|
2721
|
+
...params,
|
|
2722
|
+
});
|
|
2723
|
+
}
|
|
2724
|
+
_event;
|
|
2725
|
+
get event() {
|
|
2726
|
+
return (this._event ??= new Event_({ client: this.client }));
|
|
2727
|
+
}
|
|
2728
|
+
_outbox;
|
|
2729
|
+
get outbox() {
|
|
2730
|
+
return (this._outbox ??= new Outbox({ client: this.client }));
|
|
2731
|
+
}
|
|
2732
|
+
}
|
|
2581
2733
|
export class Question extends HeyApiClient {
|
|
2582
2734
|
/**
|
|
2583
2735
|
* List pending questions
|
|
@@ -6259,7 +6411,7 @@ export class Auth6 extends HeyApiClient {
|
|
|
6259
6411
|
});
|
|
6260
6412
|
}
|
|
6261
6413
|
}
|
|
6262
|
-
export class
|
|
6414
|
+
export class Event2 extends HeyApiClient {
|
|
6263
6415
|
/**
|
|
6264
6416
|
* Subscribe to events
|
|
6265
6417
|
*
|
|
@@ -6538,6 +6690,10 @@ export class NikcliClient extends HeyApiClient {
|
|
|
6538
6690
|
get permission() {
|
|
6539
6691
|
return (this._permission ??= new Permission({ client: this.client }));
|
|
6540
6692
|
}
|
|
6693
|
+
_sync;
|
|
6694
|
+
get sync() {
|
|
6695
|
+
return (this._sync ??= new Sync({ client: this.client }));
|
|
6696
|
+
}
|
|
6541
6697
|
_question;
|
|
6542
6698
|
get question() {
|
|
6543
6699
|
return (this._question ??= new Question({ client: this.client }));
|
|
@@ -6616,6 +6772,6 @@ export class NikcliClient extends HeyApiClient {
|
|
|
6616
6772
|
}
|
|
6617
6773
|
_event;
|
|
6618
6774
|
get event() {
|
|
6619
|
-
return (this._event ??= new
|
|
6775
|
+
return (this._event ??= new Event2({ client: this.client }));
|
|
6620
6776
|
}
|
|
6621
6777
|
}
|
|
@@ -1273,6 +1273,10 @@ export type KeybindsConfig = {
|
|
|
1273
1273
|
* View status
|
|
1274
1274
|
*/
|
|
1275
1275
|
status_view?: string;
|
|
1276
|
+
/**
|
|
1277
|
+
* View sync status (sessions + workspace, hub remote)
|
|
1278
|
+
*/
|
|
1279
|
+
sync_view?: string;
|
|
1276
1280
|
/**
|
|
1277
1281
|
* Export session to editor
|
|
1278
1282
|
*/
|
|
@@ -6914,6 +6918,148 @@ export type SessionMonitorCancelResponses = {
|
|
|
6914
6918
|
*/
|
|
6915
6919
|
200: unknown;
|
|
6916
6920
|
};
|
|
6921
|
+
export type SyncEventPushData = {
|
|
6922
|
+
body?: {
|
|
6923
|
+
event: {
|
|
6924
|
+
id: string;
|
|
6925
|
+
projectId: string;
|
|
6926
|
+
workspaceId?: string;
|
|
6927
|
+
aggregate: string;
|
|
6928
|
+
seq: number;
|
|
6929
|
+
type: string;
|
|
6930
|
+
data: unknown;
|
|
6931
|
+
timestamp: number;
|
|
6932
|
+
origin?: string;
|
|
6933
|
+
originSeq?: number;
|
|
6934
|
+
};
|
|
6935
|
+
projectID: string;
|
|
6936
|
+
};
|
|
6937
|
+
path?: never;
|
|
6938
|
+
query?: {
|
|
6939
|
+
directory?: string;
|
|
6940
|
+
workspace?: string;
|
|
6941
|
+
};
|
|
6942
|
+
url: "/sync/event";
|
|
6943
|
+
};
|
|
6944
|
+
export type SyncEventPushErrors = {
|
|
6945
|
+
/**
|
|
6946
|
+
* Invalid payload
|
|
6947
|
+
*/
|
|
6948
|
+
400: unknown;
|
|
6949
|
+
/**
|
|
6950
|
+
* Unauthorized
|
|
6951
|
+
*/
|
|
6952
|
+
401: unknown;
|
|
6953
|
+
};
|
|
6954
|
+
export type SyncEventPushResponses = {
|
|
6955
|
+
/**
|
|
6956
|
+
* Event accepted
|
|
6957
|
+
*/
|
|
6958
|
+
204: void;
|
|
6959
|
+
};
|
|
6960
|
+
export type SyncEventPushResponse = SyncEventPushResponses[keyof SyncEventPushResponses];
|
|
6961
|
+
export type SyncOutboxListData = {
|
|
6962
|
+
body?: never;
|
|
6963
|
+
path?: never;
|
|
6964
|
+
query: {
|
|
6965
|
+
directory?: string;
|
|
6966
|
+
workspace?: string;
|
|
6967
|
+
projectID: string;
|
|
6968
|
+
since?: number;
|
|
6969
|
+
};
|
|
6970
|
+
url: "/sync/outbox";
|
|
6971
|
+
};
|
|
6972
|
+
export type SyncOutboxListResponses = {
|
|
6973
|
+
/**
|
|
6974
|
+
* Page of events
|
|
6975
|
+
*/
|
|
6976
|
+
200: {
|
|
6977
|
+
events: Array<unknown>;
|
|
6978
|
+
hasMore: boolean;
|
|
6979
|
+
};
|
|
6980
|
+
};
|
|
6981
|
+
export type SyncOutboxListResponse = SyncOutboxListResponses[keyof SyncOutboxListResponses];
|
|
6982
|
+
export type SyncEventStreamData = {
|
|
6983
|
+
body?: never;
|
|
6984
|
+
path?: never;
|
|
6985
|
+
query: {
|
|
6986
|
+
directory?: string;
|
|
6987
|
+
workspace?: string;
|
|
6988
|
+
projectID: string;
|
|
6989
|
+
token: string;
|
|
6990
|
+
};
|
|
6991
|
+
url: "/sync/stream";
|
|
6992
|
+
};
|
|
6993
|
+
export type SyncEventStreamResponses = {
|
|
6994
|
+
/**
|
|
6995
|
+
* SSE stream
|
|
6996
|
+
*/
|
|
6997
|
+
200: unknown;
|
|
6998
|
+
};
|
|
6999
|
+
export type SyncStatsData = {
|
|
7000
|
+
body?: never;
|
|
7001
|
+
path?: never;
|
|
7002
|
+
query?: {
|
|
7003
|
+
directory?: string;
|
|
7004
|
+
workspace?: string;
|
|
7005
|
+
projectID?: string;
|
|
7006
|
+
};
|
|
7007
|
+
url: "/sync/stats";
|
|
7008
|
+
};
|
|
7009
|
+
export type SyncStatsResponses = {
|
|
7010
|
+
/**
|
|
7011
|
+
* Sync stats
|
|
7012
|
+
*/
|
|
7013
|
+
200: unknown;
|
|
7014
|
+
};
|
|
7015
|
+
export type SyncConnectData = {
|
|
7016
|
+
body?: never;
|
|
7017
|
+
path?: never;
|
|
7018
|
+
query?: {
|
|
7019
|
+
directory?: string;
|
|
7020
|
+
workspace?: string;
|
|
7021
|
+
};
|
|
7022
|
+
url: "/sync/connect";
|
|
7023
|
+
};
|
|
7024
|
+
export type SyncConnectResponses = {
|
|
7025
|
+
/**
|
|
7026
|
+
* Connection requested
|
|
7027
|
+
*/
|
|
7028
|
+
204: void;
|
|
7029
|
+
};
|
|
7030
|
+
export type SyncConnectResponse = SyncConnectResponses[keyof SyncConnectResponses];
|
|
7031
|
+
export type SyncDisconnectData = {
|
|
7032
|
+
body?: never;
|
|
7033
|
+
path?: never;
|
|
7034
|
+
query?: {
|
|
7035
|
+
directory?: string;
|
|
7036
|
+
workspace?: string;
|
|
7037
|
+
};
|
|
7038
|
+
url: "/sync/disconnect";
|
|
7039
|
+
};
|
|
7040
|
+
export type SyncDisconnectResponses = {
|
|
7041
|
+
/**
|
|
7042
|
+
* Disconnection requested
|
|
7043
|
+
*/
|
|
7044
|
+
204: void;
|
|
7045
|
+
};
|
|
7046
|
+
export type SyncDisconnectResponse = SyncDisconnectResponses[keyof SyncDisconnectResponses];
|
|
7047
|
+
export type SyncDrainData = {
|
|
7048
|
+
body?: never;
|
|
7049
|
+
path?: never;
|
|
7050
|
+
query?: {
|
|
7051
|
+
directory?: string;
|
|
7052
|
+
workspace?: string;
|
|
7053
|
+
};
|
|
7054
|
+
url: "/sync/drain";
|
|
7055
|
+
};
|
|
7056
|
+
export type SyncDrainResponses = {
|
|
7057
|
+
/**
|
|
7058
|
+
* Drain requested
|
|
7059
|
+
*/
|
|
7060
|
+
204: void;
|
|
7061
|
+
};
|
|
7062
|
+
export type SyncDrainResponse = SyncDrainResponses[keyof SyncDrainResponses];
|
|
6917
7063
|
export type PermissionReplyData = {
|
|
6918
7064
|
body?: {
|
|
6919
7065
|
reply: "once" | "always" | "reject";
|