@nikcli-ai/sdk 1.63.0 → 1.65.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 +1 -14
- package/dist/v2/gen/sdk.gen.js +0 -29
- package/dist/v2/gen/types.gen.d.ts +241 -273
- package/package.json +1 -1
package/dist/v2/gen/sdk.gen.d.ts
CHANGED
|
@@ -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, 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";
|
|
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, 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
|
|
@@ -808,19 +808,6 @@ export declare class Session2 extends HeyApiClient {
|
|
|
808
808
|
directory?: string;
|
|
809
809
|
workspace?: string;
|
|
810
810
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionTodoResponses, SessionTodoErrors, ThrowOnError, "fields">;
|
|
811
|
-
/**
|
|
812
|
-
* Initialize session
|
|
813
|
-
*
|
|
814
|
-
* Analyze the current application and create an AGENTS.md file with project-specific agent configurations.
|
|
815
|
-
*/
|
|
816
|
-
init<ThrowOnError extends boolean = false>(parameters: {
|
|
817
|
-
sessionID: string;
|
|
818
|
-
directory?: string;
|
|
819
|
-
workspace?: string;
|
|
820
|
-
modelID?: string;
|
|
821
|
-
providerID?: string;
|
|
822
|
-
messageID?: string;
|
|
823
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionInitResponses, SessionInitErrors, ThrowOnError, "fields">;
|
|
824
811
|
/**
|
|
825
812
|
* Fork session
|
|
826
813
|
*
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -1590,35 +1590,6 @@ export class Session2 extends HeyApiClient {
|
|
|
1590
1590
|
...params,
|
|
1591
1591
|
});
|
|
1592
1592
|
}
|
|
1593
|
-
/**
|
|
1594
|
-
* Initialize session
|
|
1595
|
-
*
|
|
1596
|
-
* Analyze the current application and create an AGENTS.md file with project-specific agent configurations.
|
|
1597
|
-
*/
|
|
1598
|
-
init(parameters, options) {
|
|
1599
|
-
const params = buildClientParams([parameters], [
|
|
1600
|
-
{
|
|
1601
|
-
args: [
|
|
1602
|
-
{ in: "path", key: "sessionID" },
|
|
1603
|
-
{ in: "query", key: "directory" },
|
|
1604
|
-
{ in: "query", key: "workspace" },
|
|
1605
|
-
{ in: "body", key: "modelID" },
|
|
1606
|
-
{ in: "body", key: "providerID" },
|
|
1607
|
-
{ in: "body", key: "messageID" },
|
|
1608
|
-
],
|
|
1609
|
-
},
|
|
1610
|
-
]);
|
|
1611
|
-
return (options?.client ?? this.client).post({
|
|
1612
|
-
url: "/session/{sessionID}/init",
|
|
1613
|
-
...options,
|
|
1614
|
-
...params,
|
|
1615
|
-
headers: {
|
|
1616
|
-
"Content-Type": "application/json",
|
|
1617
|
-
...options?.headers,
|
|
1618
|
-
...params.headers,
|
|
1619
|
-
},
|
|
1620
|
-
});
|
|
1621
|
-
}
|
|
1622
1593
|
/**
|
|
1623
1594
|
* Fork session
|
|
1624
1595
|
*
|
|
@@ -479,94 +479,135 @@ export type EventPermissionReplied = {
|
|
|
479
479
|
reply: "once" | "always" | "reject";
|
|
480
480
|
};
|
|
481
481
|
};
|
|
482
|
-
export type
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
properties: {
|
|
498
|
-
sessionID: string;
|
|
499
|
-
status: SessionStatus;
|
|
482
|
+
export type SessionGithub = {
|
|
483
|
+
owner: string;
|
|
484
|
+
repo: string;
|
|
485
|
+
fullName: string;
|
|
486
|
+
baseBranch: string;
|
|
487
|
+
headBranch: string;
|
|
488
|
+
repositoryDirectory?: string;
|
|
489
|
+
cloneUrl?: string;
|
|
490
|
+
htmlUrl?: string;
|
|
491
|
+
private?: boolean;
|
|
492
|
+
worktree: {
|
|
493
|
+
name: string;
|
|
494
|
+
branch: string;
|
|
495
|
+
directory: string;
|
|
496
|
+
cleanedAt?: number;
|
|
500
497
|
};
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
sessionID: string;
|
|
498
|
+
pullRequest?: {
|
|
499
|
+
number: number;
|
|
500
|
+
url: string;
|
|
501
|
+
title: string;
|
|
506
502
|
};
|
|
503
|
+
lastCommitSha?: string;
|
|
504
|
+
publishedAt?: number;
|
|
505
|
+
publishError?: string;
|
|
507
506
|
};
|
|
508
|
-
export type
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
507
|
+
export type SessionMobile = {
|
|
508
|
+
platforms: Array<"ios" | "android" | "expo" | "flutter" | "react-native">;
|
|
509
|
+
primaryPlatform: string;
|
|
510
|
+
method: string;
|
|
511
|
+
detectedAt: number;
|
|
512
|
+
buildStatus?: "unknown" | "building" | "succeeded" | "failed";
|
|
513
|
+
lastBuildAt?: number;
|
|
514
|
+
artifacts?: Array<{
|
|
515
|
+
platform: string;
|
|
516
|
+
path: string;
|
|
517
|
+
size?: number;
|
|
518
|
+
createdAt?: number;
|
|
519
|
+
}>;
|
|
514
520
|
};
|
|
515
|
-
export type
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
header: string;
|
|
521
|
-
/**
|
|
522
|
-
* Available choices
|
|
523
|
-
*/
|
|
524
|
-
options: Array<QuestionOption>;
|
|
525
|
-
/**
|
|
526
|
-
* Allow selecting multiple choices
|
|
527
|
-
*/
|
|
528
|
-
multiple?: boolean;
|
|
529
|
-
/**
|
|
530
|
-
* Allow typing a custom answer (default: true)
|
|
531
|
-
*/
|
|
532
|
-
custom?: boolean;
|
|
521
|
+
export type PermissionAction = "allow" | "deny" | "ask";
|
|
522
|
+
export type PermissionRule = {
|
|
523
|
+
permission: string;
|
|
524
|
+
pattern: string;
|
|
525
|
+
action: PermissionAction;
|
|
533
526
|
};
|
|
534
|
-
export type
|
|
527
|
+
export type PermissionRuleset = Array<PermissionRule>;
|
|
528
|
+
export type Session = {
|
|
535
529
|
id: string;
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
530
|
+
slug: string;
|
|
531
|
+
projectID: string;
|
|
532
|
+
directory: string;
|
|
533
|
+
parentID?: string;
|
|
534
|
+
workspaceID?: string;
|
|
535
|
+
summary?: {
|
|
536
|
+
additions: number;
|
|
537
|
+
deletions: number;
|
|
538
|
+
files: number;
|
|
539
|
+
diffs?: Array<FileDiff>;
|
|
540
|
+
};
|
|
541
|
+
share?: {
|
|
542
|
+
url: string;
|
|
543
|
+
};
|
|
544
|
+
github?: SessionGithub;
|
|
545
|
+
mobile?: SessionMobile;
|
|
546
|
+
title: string;
|
|
547
|
+
activeCommand?: string;
|
|
548
|
+
version: string;
|
|
549
|
+
time: {
|
|
550
|
+
created: number;
|
|
551
|
+
updated: number;
|
|
552
|
+
compacting?: number;
|
|
553
|
+
archived?: number;
|
|
554
|
+
};
|
|
555
|
+
permission?: PermissionRuleset;
|
|
556
|
+
skills?: Array<string>;
|
|
557
|
+
disabledInstructions?: Array<string>;
|
|
558
|
+
disabledTools?: {
|
|
559
|
+
[key: string]: boolean;
|
|
560
|
+
};
|
|
561
|
+
revert?: {
|
|
542
562
|
messageID: string;
|
|
543
|
-
|
|
563
|
+
partID?: string;
|
|
564
|
+
snapshot?: string;
|
|
565
|
+
diff?: string;
|
|
544
566
|
};
|
|
545
567
|
};
|
|
546
|
-
export type
|
|
547
|
-
type: "
|
|
548
|
-
properties:
|
|
568
|
+
export type EventSessionCreated = {
|
|
569
|
+
type: "session.created";
|
|
570
|
+
properties: {
|
|
571
|
+
info: Session;
|
|
572
|
+
};
|
|
549
573
|
};
|
|
550
|
-
export type
|
|
551
|
-
|
|
552
|
-
type: "question.replied";
|
|
574
|
+
export type EventSessionUpdated = {
|
|
575
|
+
type: "session.updated";
|
|
553
576
|
properties: {
|
|
554
|
-
|
|
555
|
-
requestID: string;
|
|
556
|
-
answers: Array<QuestionAnswer>;
|
|
577
|
+
info: Session;
|
|
557
578
|
};
|
|
558
579
|
};
|
|
559
|
-
export type
|
|
560
|
-
type: "
|
|
580
|
+
export type EventSessionDeleted = {
|
|
581
|
+
type: "session.deleted";
|
|
561
582
|
properties: {
|
|
562
|
-
|
|
563
|
-
requestID: string;
|
|
583
|
+
info: Session;
|
|
564
584
|
};
|
|
565
585
|
};
|
|
566
|
-
export type
|
|
567
|
-
type: "session.
|
|
586
|
+
export type EventSessionDiff = {
|
|
587
|
+
type: "session.diff";
|
|
568
588
|
properties: {
|
|
569
589
|
sessionID: string;
|
|
590
|
+
diff: Array<FileDiff>;
|
|
591
|
+
};
|
|
592
|
+
};
|
|
593
|
+
export type EventSessionError = {
|
|
594
|
+
type: "session.error";
|
|
595
|
+
properties: {
|
|
596
|
+
sessionID?: string;
|
|
597
|
+
error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageContextOverflowError | MessageAbortedError | StructuredOutputError | ApiError;
|
|
598
|
+
};
|
|
599
|
+
};
|
|
600
|
+
export type EventFileEdited = {
|
|
601
|
+
type: "file.edited";
|
|
602
|
+
properties: {
|
|
603
|
+
file: string;
|
|
604
|
+
};
|
|
605
|
+
};
|
|
606
|
+
export type EventFileWatcherUpdated = {
|
|
607
|
+
type: "file.watcher.updated";
|
|
608
|
+
properties: {
|
|
609
|
+
file: string;
|
|
610
|
+
event: "add" | "change" | "unlink";
|
|
570
611
|
};
|
|
571
612
|
};
|
|
572
613
|
export type EventTuiPromptAppend = {
|
|
@@ -624,36 +665,129 @@ export type EventCommandExecuted = {
|
|
|
624
665
|
messageID: string;
|
|
625
666
|
};
|
|
626
667
|
};
|
|
627
|
-
export type EventFileWatcherUpdated = {
|
|
628
|
-
type: "file.watcher.updated";
|
|
629
|
-
properties: {
|
|
630
|
-
file: string;
|
|
631
|
-
event: "add" | "change" | "unlink";
|
|
632
|
-
};
|
|
633
|
-
};
|
|
634
668
|
export type EventVcsBranchUpdated = {
|
|
635
669
|
type: "vcs.branch.updated";
|
|
636
670
|
properties: {
|
|
637
671
|
branch?: string;
|
|
638
672
|
};
|
|
639
673
|
};
|
|
640
|
-
export type
|
|
641
|
-
|
|
674
|
+
export type Todo = {
|
|
675
|
+
/**
|
|
676
|
+
* Brief description of the task
|
|
677
|
+
*/
|
|
678
|
+
content: string;
|
|
679
|
+
/**
|
|
680
|
+
* Current status of the task: pending, in_progress, completed, cancelled
|
|
681
|
+
*/
|
|
682
|
+
status: string;
|
|
683
|
+
/**
|
|
684
|
+
* Priority level of the task: high, medium, low
|
|
685
|
+
*/
|
|
686
|
+
priority: string;
|
|
687
|
+
/**
|
|
688
|
+
* Unique identifier for the todo item
|
|
689
|
+
*/
|
|
690
|
+
id: string;
|
|
691
|
+
};
|
|
692
|
+
export type EventTodoUpdated = {
|
|
693
|
+
type: "todo.updated";
|
|
642
694
|
properties: {
|
|
643
|
-
|
|
695
|
+
sessionID: string;
|
|
696
|
+
todos: Array<Todo>;
|
|
697
|
+
diff: {
|
|
698
|
+
added: Array<Todo>;
|
|
699
|
+
completed: Array<Todo>;
|
|
700
|
+
};
|
|
644
701
|
};
|
|
645
702
|
};
|
|
646
|
-
export type
|
|
647
|
-
type: "
|
|
703
|
+
export type SessionStatus = {
|
|
704
|
+
type: "idle";
|
|
705
|
+
} | {
|
|
706
|
+
type: "retry";
|
|
707
|
+
attempt: number;
|
|
708
|
+
message: string;
|
|
709
|
+
next: number;
|
|
710
|
+
} | {
|
|
711
|
+
type: "busy";
|
|
712
|
+
since: number;
|
|
713
|
+
} | {
|
|
714
|
+
type: "busy";
|
|
715
|
+
};
|
|
716
|
+
export type EventSessionStatus = {
|
|
717
|
+
type: "session.status";
|
|
648
718
|
properties: {
|
|
649
|
-
|
|
719
|
+
sessionID: string;
|
|
720
|
+
status: SessionStatus;
|
|
650
721
|
};
|
|
651
722
|
};
|
|
652
|
-
export type
|
|
653
|
-
type: "
|
|
723
|
+
export type EventSessionIdle = {
|
|
724
|
+
type: "session.idle";
|
|
654
725
|
properties: {
|
|
655
|
-
|
|
656
|
-
|
|
726
|
+
sessionID: string;
|
|
727
|
+
};
|
|
728
|
+
};
|
|
729
|
+
export type QuestionOption = {
|
|
730
|
+
label: string;
|
|
731
|
+
/**
|
|
732
|
+
* Explanation of choice
|
|
733
|
+
*/
|
|
734
|
+
description: string;
|
|
735
|
+
};
|
|
736
|
+
export type QuestionInfo = {
|
|
737
|
+
/**
|
|
738
|
+
* Complete question
|
|
739
|
+
*/
|
|
740
|
+
question: string;
|
|
741
|
+
header: string;
|
|
742
|
+
/**
|
|
743
|
+
* Available choices
|
|
744
|
+
*/
|
|
745
|
+
options: Array<QuestionOption>;
|
|
746
|
+
/**
|
|
747
|
+
* Allow selecting multiple choices
|
|
748
|
+
*/
|
|
749
|
+
multiple?: boolean;
|
|
750
|
+
/**
|
|
751
|
+
* Allow typing a custom answer (default: true)
|
|
752
|
+
*/
|
|
753
|
+
custom?: boolean;
|
|
754
|
+
};
|
|
755
|
+
export type QuestionRequest = {
|
|
756
|
+
id: string;
|
|
757
|
+
sessionID: string;
|
|
758
|
+
/**
|
|
759
|
+
* Questions to ask
|
|
760
|
+
*/
|
|
761
|
+
questions: Array<QuestionInfo>;
|
|
762
|
+
tool?: {
|
|
763
|
+
messageID: string;
|
|
764
|
+
callID: string;
|
|
765
|
+
};
|
|
766
|
+
};
|
|
767
|
+
export type EventQuestionAsked = {
|
|
768
|
+
type: "question.asked";
|
|
769
|
+
properties: QuestionRequest;
|
|
770
|
+
};
|
|
771
|
+
export type QuestionAnswer = Array<string>;
|
|
772
|
+
export type EventQuestionReplied = {
|
|
773
|
+
type: "question.replied";
|
|
774
|
+
properties: {
|
|
775
|
+
sessionID: string;
|
|
776
|
+
requestID: string;
|
|
777
|
+
answers: Array<QuestionAnswer>;
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
export type EventQuestionRejected = {
|
|
781
|
+
type: "question.rejected";
|
|
782
|
+
properties: {
|
|
783
|
+
sessionID: string;
|
|
784
|
+
requestID: string;
|
|
785
|
+
};
|
|
786
|
+
};
|
|
787
|
+
export type EventSessionCompacted = {
|
|
788
|
+
type: "session.compacted";
|
|
789
|
+
properties: {
|
|
790
|
+
sessionID: string;
|
|
657
791
|
};
|
|
658
792
|
};
|
|
659
793
|
export type EventMonitorCreated = {
|
|
@@ -747,166 +881,32 @@ export type EventMonitorCompleted = {
|
|
|
747
881
|
wake: boolean;
|
|
748
882
|
};
|
|
749
883
|
};
|
|
750
|
-
export type
|
|
751
|
-
type: "
|
|
752
|
-
properties: {
|
|
753
|
-
delegationID: string;
|
|
754
|
-
parentSessionID: string;
|
|
755
|
-
status: "running" | "complete" | "error" | "timeout" | "cancelled" | "orphaned";
|
|
756
|
-
title: string;
|
|
757
|
-
};
|
|
758
|
-
};
|
|
759
|
-
export type EventFileEdited = {
|
|
760
|
-
type: "file.edited";
|
|
761
|
-
properties: {
|
|
762
|
-
file: string;
|
|
763
|
-
};
|
|
764
|
-
};
|
|
765
|
-
export type Todo = {
|
|
766
|
-
/**
|
|
767
|
-
* Brief description of the task
|
|
768
|
-
*/
|
|
769
|
-
content: string;
|
|
770
|
-
/**
|
|
771
|
-
* Current status of the task: pending, in_progress, completed, cancelled
|
|
772
|
-
*/
|
|
773
|
-
status: string;
|
|
774
|
-
/**
|
|
775
|
-
* Priority level of the task: high, medium, low
|
|
776
|
-
*/
|
|
777
|
-
priority: string;
|
|
778
|
-
/**
|
|
779
|
-
* Unique identifier for the todo item
|
|
780
|
-
*/
|
|
781
|
-
id: string;
|
|
782
|
-
};
|
|
783
|
-
export type EventTodoUpdated = {
|
|
784
|
-
type: "todo.updated";
|
|
884
|
+
export type EventWorkspaceReady = {
|
|
885
|
+
type: "workspace.ready";
|
|
785
886
|
properties: {
|
|
786
|
-
sessionID: string;
|
|
787
|
-
todos: Array<Todo>;
|
|
788
|
-
diff: {
|
|
789
|
-
added: Array<Todo>;
|
|
790
|
-
completed: Array<Todo>;
|
|
791
|
-
};
|
|
792
|
-
};
|
|
793
|
-
};
|
|
794
|
-
export type SessionGithub = {
|
|
795
|
-
owner: string;
|
|
796
|
-
repo: string;
|
|
797
|
-
fullName: string;
|
|
798
|
-
baseBranch: string;
|
|
799
|
-
headBranch: string;
|
|
800
|
-
repositoryDirectory?: string;
|
|
801
|
-
cloneUrl?: string;
|
|
802
|
-
htmlUrl?: string;
|
|
803
|
-
private?: boolean;
|
|
804
|
-
worktree: {
|
|
805
887
|
name: string;
|
|
806
|
-
branch: string;
|
|
807
|
-
directory: string;
|
|
808
|
-
cleanedAt?: number;
|
|
809
|
-
};
|
|
810
|
-
pullRequest?: {
|
|
811
|
-
number: number;
|
|
812
|
-
url: string;
|
|
813
|
-
title: string;
|
|
814
|
-
};
|
|
815
|
-
lastCommitSha?: string;
|
|
816
|
-
publishedAt?: number;
|
|
817
|
-
publishError?: string;
|
|
818
|
-
};
|
|
819
|
-
export type SessionMobile = {
|
|
820
|
-
platforms: Array<"ios" | "android" | "expo" | "flutter" | "react-native">;
|
|
821
|
-
primaryPlatform: string;
|
|
822
|
-
method: string;
|
|
823
|
-
detectedAt: number;
|
|
824
|
-
buildStatus?: "unknown" | "building" | "succeeded" | "failed";
|
|
825
|
-
lastBuildAt?: number;
|
|
826
|
-
artifacts?: Array<{
|
|
827
|
-
platform: string;
|
|
828
|
-
path: string;
|
|
829
|
-
size?: number;
|
|
830
|
-
createdAt?: number;
|
|
831
|
-
}>;
|
|
832
|
-
};
|
|
833
|
-
export type PermissionAction = "allow" | "deny" | "ask";
|
|
834
|
-
export type PermissionRule = {
|
|
835
|
-
permission: string;
|
|
836
|
-
pattern: string;
|
|
837
|
-
action: PermissionAction;
|
|
838
|
-
};
|
|
839
|
-
export type PermissionRuleset = Array<PermissionRule>;
|
|
840
|
-
export type Session = {
|
|
841
|
-
id: string;
|
|
842
|
-
slug: string;
|
|
843
|
-
projectID: string;
|
|
844
|
-
directory: string;
|
|
845
|
-
parentID?: string;
|
|
846
|
-
workspaceID?: string;
|
|
847
|
-
summary?: {
|
|
848
|
-
additions: number;
|
|
849
|
-
deletions: number;
|
|
850
|
-
files: number;
|
|
851
|
-
diffs?: Array<FileDiff>;
|
|
852
|
-
};
|
|
853
|
-
share?: {
|
|
854
|
-
url: string;
|
|
855
|
-
};
|
|
856
|
-
github?: SessionGithub;
|
|
857
|
-
mobile?: SessionMobile;
|
|
858
|
-
title: string;
|
|
859
|
-
activeCommand?: string;
|
|
860
|
-
version: string;
|
|
861
|
-
time: {
|
|
862
|
-
created: number;
|
|
863
|
-
updated: number;
|
|
864
|
-
compacting?: number;
|
|
865
|
-
archived?: number;
|
|
866
|
-
};
|
|
867
|
-
permission?: PermissionRuleset;
|
|
868
|
-
skills?: Array<string>;
|
|
869
|
-
disabledInstructions?: Array<string>;
|
|
870
|
-
disabledTools?: {
|
|
871
|
-
[key: string]: boolean;
|
|
872
|
-
};
|
|
873
|
-
revert?: {
|
|
874
|
-
messageID: string;
|
|
875
|
-
partID?: string;
|
|
876
|
-
snapshot?: string;
|
|
877
|
-
diff?: string;
|
|
878
|
-
};
|
|
879
|
-
};
|
|
880
|
-
export type EventSessionCreated = {
|
|
881
|
-
type: "session.created";
|
|
882
|
-
properties: {
|
|
883
|
-
info: Session;
|
|
884
|
-
};
|
|
885
|
-
};
|
|
886
|
-
export type EventSessionUpdated = {
|
|
887
|
-
type: "session.updated";
|
|
888
|
-
properties: {
|
|
889
|
-
info: Session;
|
|
890
888
|
};
|
|
891
889
|
};
|
|
892
|
-
export type
|
|
893
|
-
type: "
|
|
890
|
+
export type EventWorkspaceFailed = {
|
|
891
|
+
type: "workspace.failed";
|
|
894
892
|
properties: {
|
|
895
|
-
|
|
893
|
+
message: string;
|
|
896
894
|
};
|
|
897
895
|
};
|
|
898
|
-
export type
|
|
899
|
-
type: "
|
|
896
|
+
export type EventWorkspaceStatus = {
|
|
897
|
+
type: "workspace.status";
|
|
900
898
|
properties: {
|
|
901
|
-
|
|
902
|
-
|
|
899
|
+
workspaceID: string;
|
|
900
|
+
status: "connecting" | "connected" | "disconnected" | "error";
|
|
903
901
|
};
|
|
904
902
|
};
|
|
905
|
-
export type
|
|
906
|
-
type: "
|
|
903
|
+
export type EventDelegationCompleted = {
|
|
904
|
+
type: "delegation.completed";
|
|
907
905
|
properties: {
|
|
908
|
-
|
|
909
|
-
|
|
906
|
+
delegationID: string;
|
|
907
|
+
parentSessionID: string;
|
|
908
|
+
status: "running" | "complete" | "error" | "timeout" | "cancelled" | "orphaned";
|
|
909
|
+
title: string;
|
|
910
910
|
};
|
|
911
911
|
};
|
|
912
912
|
export type EventLoopUpserted = {
|
|
@@ -997,7 +997,7 @@ export type EventPtyDeleted = {
|
|
|
997
997
|
id: string;
|
|
998
998
|
};
|
|
999
999
|
};
|
|
1000
|
-
export type Event = EventProjectUpdated | EventServerInstanceDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventServerConnected | EventGlobalDisposed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied |
|
|
1000
|
+
export type Event = EventProjectUpdated | EventServerInstanceDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventServerConnected | EventGlobalDisposed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventFileEdited | EventFileWatcherUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventVcsBranchUpdated | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventMonitorCreated | EventMonitorUpdated | EventMonitorOutput | EventMonitorCompleted | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventDelegationCompleted | EventLoopUpserted | EventLoopRemoved | EventLoopRunStarted | EventLoopRunFinished | EventLoopRuntimeChanged | EventLoopAborted | EventSessionV2Updated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted;
|
|
1001
1001
|
export type GlobalEvent = {
|
|
1002
1002
|
directory: string;
|
|
1003
1003
|
payload: Event;
|
|
@@ -1507,6 +1507,10 @@ export type KeybindsConfig = {
|
|
|
1507
1507
|
* Toggle voice recording (push to talk)
|
|
1508
1508
|
*/
|
|
1509
1509
|
voice_record?: string;
|
|
1510
|
+
/**
|
|
1511
|
+
* Open the support assistant dialog
|
|
1512
|
+
*/
|
|
1513
|
+
app_support?: string;
|
|
1510
1514
|
};
|
|
1511
1515
|
/**
|
|
1512
1516
|
* Log level
|
|
@@ -5121,42 +5125,6 @@ export type SessionTodoResponses = {
|
|
|
5121
5125
|
200: Array<Todo>;
|
|
5122
5126
|
};
|
|
5123
5127
|
export type SessionTodoResponse = SessionTodoResponses[keyof SessionTodoResponses];
|
|
5124
|
-
export type SessionInitData = {
|
|
5125
|
-
body?: {
|
|
5126
|
-
modelID: string;
|
|
5127
|
-
providerID: string;
|
|
5128
|
-
messageID: string;
|
|
5129
|
-
};
|
|
5130
|
-
path: {
|
|
5131
|
-
/**
|
|
5132
|
-
* Session ID
|
|
5133
|
-
*/
|
|
5134
|
-
sessionID: string;
|
|
5135
|
-
};
|
|
5136
|
-
query?: {
|
|
5137
|
-
directory?: string;
|
|
5138
|
-
workspace?: string;
|
|
5139
|
-
};
|
|
5140
|
-
url: "/session/{sessionID}/init";
|
|
5141
|
-
};
|
|
5142
|
-
export type SessionInitErrors = {
|
|
5143
|
-
/**
|
|
5144
|
-
* Bad request
|
|
5145
|
-
*/
|
|
5146
|
-
400: BadRequestError;
|
|
5147
|
-
/**
|
|
5148
|
-
* Not found
|
|
5149
|
-
*/
|
|
5150
|
-
404: NotFoundError;
|
|
5151
|
-
};
|
|
5152
|
-
export type SessionInitError = SessionInitErrors[keyof SessionInitErrors];
|
|
5153
|
-
export type SessionInitResponses = {
|
|
5154
|
-
/**
|
|
5155
|
-
* 200
|
|
5156
|
-
*/
|
|
5157
|
-
200: boolean;
|
|
5158
|
-
};
|
|
5159
|
-
export type SessionInitResponse = SessionInitResponses[keyof SessionInitResponses];
|
|
5160
5128
|
export type SessionForkData = {
|
|
5161
5129
|
body?: {
|
|
5162
5130
|
messageID?: string;
|