@opencode-ai/sdk 0.0.0-next-14989 → 0.0.0-next-14994
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 +15 -15
- package/dist/v2/gen/sdk.gen.js +13 -13
- package/dist/v2/gen/types.gen.d.ts +45 -43
- 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, AppAgentsErrors, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillsErrors, AppSkillsResponses, Auth as Auth3, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, CommandListErrors, CommandListResponses, Config as Config3, ConfigGetErrors, ConfigGetResponses, ConfigProvidersErrors, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalCapabilitiesGetErrors, ExperimentalCapabilitiesGetResponses, ExperimentalConsoleGetErrors, ExperimentalConsoleGetResponses, ExperimentalConsoleListOrgsErrors, ExperimentalConsoleListOrgsResponses, ExperimentalConsoleSwitchOrgResponses, ExperimentalControlPlaneMoveSessionErrors, ExperimentalControlPlaneMoveSessionResponses, ExperimentalProjectCopyGenerateNameErrors, ExperimentalProjectCopyGenerateNameResponses, ExperimentalResourceListErrors, ExperimentalResourceListResponses, ExperimentalSessionBackgroundErrors, ExperimentalSessionBackgroundResponses, ExperimentalSessionListErrors, ExperimentalSessionListResponses, ExperimentalWorkspaceAdapterListErrors, ExperimentalWorkspaceAdapterListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListErrors, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, ExperimentalWorkspaceStatusErrors, ExperimentalWorkspaceStatusResponses, ExperimentalWorkspaceSyncListErrors, ExperimentalWorkspaceSyncListResponses, ExperimentalWorkspaceWarpErrors, ExperimentalWorkspaceWarpResponses, FileListErrors, FileListResponses, FilePartInput, FilePartSource, FileReadErrors, FileReadResponses, FileStatusErrors, FileStatusResponses, FindFilesErrors, FindFilesResponses, FindSymbolsErrors, FindSymbolsResponses, FindTextErrors, FindTextResponses, FormatterStatusErrors, FormatterStatusResponses, FormCreatePayload2, FormReply2, GlobalConfigGetErrors, GlobalConfigGetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeErrors, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthErrors, GlobalHealthResponses, GlobalUpgradeErrors, GlobalUpgradeResponses, InstanceDisposeErrors, InstanceDisposeResponses, LocationRef2, LspStatusErrors, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectErrors, McpConnectResponses, McpDisconnectErrors, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusErrors, McpStatusResponses, ModelRef2, MoveSessionDestination, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetErrors, PathGetResponses, PermissionListErrors, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PermissionV2Reply2, PermissionV2Source2, ProjectCommands, ProjectCurrentErrors, ProjectCurrentResponses, ProjectDirectoriesErrors, ProjectDirectoriesResponses, ProjectIcon, ProjectInitGitErrors, ProjectInitGitResponses, ProjectListErrors, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, PromptAgentAttachment2, PromptInputFileAttachment2, PromptInputV2, ProviderAuthErrors, ProviderAuthResponses, ProviderListErrors, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyConnectTokenErrors, PtyConnectTokenResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListErrors, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyShellsErrors, PtyShellsResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListErrors, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, QuestionV2Reply2, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionContextEntryKey2, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteMessageErrors, SessionDeleteMessageResponses, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionForkErrors, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListErrors, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShareErrors, SessionShareResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUnshareErrors, SessionUnshareResponses, SessionUpdateErrors, SessionUpdateResponses, SubtaskPartInput, SyncHistoryListErrors, SyncHistoryListResponses, SyncReplayErrors, SyncReplayResponses, SyncStartErrors, SyncStartResponses, SyncStealErrors, SyncStealResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptErrors, TuiClearPromptResponses, TuiControlNextErrors, TuiControlNextResponses, TuiControlResponseErrors, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpErrors, TuiOpenHelpResponses, TuiOpenModelsErrors, TuiOpenModelsResponses, TuiOpenSessionsErrors, TuiOpenSessionsResponses, TuiOpenThemesErrors, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastErrors, TuiShowToastResponses, TuiSubmitPromptErrors, TuiSubmitPromptResponses, V2AgentListErrors, V2AgentListResponses, V2CommandListErrors, V2CommandListResponses, V2CredentialRemoveErrors, V2CredentialRemoveResponses, V2CredentialUpdateErrors, V2CredentialUpdateResponses, V2DebugLocationErrors, V2DebugLocationResponses, V2EventSubscribeResponses, V2FormRequestListErrors, V2FormRequestListResponses, V2FsFindErrors, V2FsFindResponses, V2FsListErrors, V2FsListResponses, V2FsReadErrors, V2FsReadResponses, V2GenerateTextErrors, V2GenerateTextResponses, V2HealthGetErrors, V2HealthGetResponses, V2IntegrationAttemptCancelErrors, V2IntegrationAttemptCancelResponses, V2IntegrationAttemptCompleteErrors, V2IntegrationAttemptCompleteResponses, V2IntegrationAttemptStatusErrors, V2IntegrationAttemptStatusResponses, V2IntegrationConnectKeyErrors, V2IntegrationConnectKeyResponses, V2IntegrationConnectOauthErrors, V2IntegrationConnectOauthResponses, V2IntegrationGetErrors, V2IntegrationGetResponses, V2IntegrationListErrors, V2IntegrationListResponses, V2LocationGetErrors, V2LocationGetResponses, V2McpListErrors, V2McpListResponses, V2ModelDefaultErrors, V2ModelDefaultResponses, V2ModelListErrors, V2ModelListResponses, V2PermissionRequestListErrors, V2PermissionRequestListResponses, V2PermissionSavedListErrors, V2PermissionSavedListResponses, V2PermissionSavedRemoveErrors, V2PermissionSavedRemoveResponses, V2PluginListErrors, V2PluginListResponses, V2ProjectCopyCreateErrors, V2ProjectCopyCreateResponses, V2ProjectCopyRefreshErrors, V2ProjectCopyRefreshResponses, V2ProjectCopyRemoveErrors, V2ProjectCopyRemoveResponses, V2ProjectCurrentErrors, V2ProjectCurrentResponses, V2ProjectDirectoriesErrors, V2ProjectDirectoriesResponses, V2ProjectListErrors, V2ProjectListResponses, V2ProviderGetErrors, V2ProviderGetResponses, V2ProviderListErrors, V2ProviderListResponses, V2PtyConnectErrors, V2PtyConnectResponses, V2PtyConnectTokenErrors, V2PtyConnectTokenResponses, V2PtyCreateErrors, V2PtyCreateResponses, V2PtyGetErrors, V2PtyGetResponses, V2PtyListErrors, V2PtyListResponses, V2PtyRemoveErrors, V2PtyRemoveResponses, V2PtyUpdateErrors, V2PtyUpdateResponses, V2QuestionRequestListErrors, V2QuestionRequestListResponses, V2ReferenceListErrors, V2ReferenceListResponses, V2SessionActiveErrors, V2SessionActiveResponses, V2SessionBackgroundErrors, V2SessionBackgroundResponses, V2SessionCommandErrors, V2SessionCommandResponses, V2SessionCompactErrors, V2SessionCompactResponses, V2SessionContextEntryListErrors, V2SessionContextEntryListResponses, V2SessionContextEntryPutErrors, V2SessionContextEntryPutResponses, V2SessionContextEntryRemoveErrors, V2SessionContextEntryRemoveResponses, V2SessionContextErrors, V2SessionContextResponses, V2SessionCreateErrors, V2SessionCreateResponses, V2SessionForkErrors, V2SessionForkResponses, V2SessionFormCancelErrors, V2SessionFormCancelResponses, V2SessionFormCreateErrors, V2SessionFormCreateResponses, V2SessionFormGetErrors, V2SessionFormGetResponses, V2SessionFormListErrors, V2SessionFormListResponses, V2SessionFormReplyErrors, V2SessionFormReplyResponses, V2SessionFormStateErrors, V2SessionFormStateResponses, V2SessionGetErrors, V2SessionGetResponses, V2SessionInterruptErrors, V2SessionInterruptResponses, V2SessionListErrors, V2SessionListResponses, V2SessionLogResponses, V2SessionMessageErrors, V2SessionMessageResponses, V2SessionMessagesErrors, V2SessionMessagesResponses, V2SessionPermissionCreateErrors, V2SessionPermissionCreateResponses, V2SessionPermissionGetErrors, V2SessionPermissionGetResponses, V2SessionPermissionListErrors, V2SessionPermissionListResponses, V2SessionPermissionReplyErrors, V2SessionPermissionReplyResponses, V2SessionPromptErrors, V2SessionPromptResponses, V2SessionQuestionListErrors, V2SessionQuestionListResponses, V2SessionQuestionRejectErrors, V2SessionQuestionRejectResponses, V2SessionQuestionReplyErrors, V2SessionQuestionReplyResponses, V2SessionRenameErrors, V2SessionRenameResponses, V2SessionRevertClearErrors, V2SessionRevertClearResponses, V2SessionRevertCommitErrors, V2SessionRevertCommitResponses, V2SessionRevertStageErrors, V2SessionRevertStageResponses, V2SessionShellErrors, V2SessionShellResponses, V2SessionSkillErrors, V2SessionSkillResponses, V2SessionSwitchAgentErrors, V2SessionSwitchAgentResponses, V2SessionSwitchModelErrors, V2SessionSwitchModelResponses, V2SessionSyntheticErrors, V2SessionSyntheticResponses, V2SessionWaitErrors, V2SessionWaitResponses, V2ShellCreateErrors, V2ShellCreateResponses, V2ShellGetErrors, V2ShellGetResponses, V2ShellListErrors, V2ShellListResponses, V2ShellOutputErrors, V2ShellOutputResponses, V2ShellRemoveErrors, V2ShellRemoveResponses, V2SkillListErrors, V2SkillListResponses, V2VcsDiffErrors, V2VcsDiffResponses, V2VcsStatusErrors, V2VcsStatusResponses, VcsApplyErrors, VcsApplyResponses, VcsDiffErrors, VcsDiffRawErrors, VcsDiffRawResponses, VcsDiffResponses, VcsGetErrors, VcsGetResponses, VcsMode2, VcsStatusErrors, VcsStatusResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListErrors, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
|
|
2
|
+
import type { AgentPartInput, AppAgentsErrors, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillsErrors, AppSkillsResponses, Auth as Auth3, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, CommandListErrors, CommandListResponses, Config as Config3, ConfigGetErrors, ConfigGetResponses, ConfigProvidersErrors, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalCapabilitiesGetErrors, ExperimentalCapabilitiesGetResponses, ExperimentalConsoleGetErrors, ExperimentalConsoleGetResponses, ExperimentalConsoleListOrgsErrors, ExperimentalConsoleListOrgsResponses, ExperimentalConsoleSwitchOrgResponses, ExperimentalControlPlaneMoveSessionErrors, ExperimentalControlPlaneMoveSessionResponses, ExperimentalProjectCopyGenerateNameErrors, ExperimentalProjectCopyGenerateNameResponses, ExperimentalResourceListErrors, ExperimentalResourceListResponses, ExperimentalSessionBackgroundErrors, ExperimentalSessionBackgroundResponses, ExperimentalSessionListErrors, ExperimentalSessionListResponses, ExperimentalWorkspaceAdapterListErrors, ExperimentalWorkspaceAdapterListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListErrors, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, ExperimentalWorkspaceStatusErrors, ExperimentalWorkspaceStatusResponses, ExperimentalWorkspaceSyncListErrors, ExperimentalWorkspaceSyncListResponses, ExperimentalWorkspaceWarpErrors, ExperimentalWorkspaceWarpResponses, FileListErrors, FileListResponses, FilePartInput, FilePartSource, FileReadErrors, FileReadResponses, FileStatusErrors, FileStatusResponses, FindFilesErrors, FindFilesResponses, FindSymbolsErrors, FindSymbolsResponses, FindTextErrors, FindTextResponses, FormatterStatusErrors, FormatterStatusResponses, FormCreatePayload2, FormReply2, GlobalConfigGetErrors, GlobalConfigGetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeErrors, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthErrors, GlobalHealthResponses, GlobalUpgradeErrors, GlobalUpgradeResponses, InstanceDisposeErrors, InstanceDisposeResponses, InstructionEntryKey2, LocationRef2, LspStatusErrors, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectErrors, McpConnectResponses, McpDisconnectErrors, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusErrors, McpStatusResponses, ModelRef2, MoveSessionDestination, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetErrors, PathGetResponses, PermissionListErrors, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PermissionV2Reply2, PermissionV2Source2, ProjectCommands, ProjectCurrentErrors, ProjectCurrentResponses, ProjectDirectoriesErrors, ProjectDirectoriesResponses, ProjectIcon, ProjectInitGitErrors, ProjectInitGitResponses, ProjectListErrors, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, PromptAgentAttachment2, PromptInputFileAttachment2, PromptInputV2, ProviderAuthErrors, ProviderAuthResponses, ProviderListErrors, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyConnectTokenErrors, PtyConnectTokenResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListErrors, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyShellsErrors, PtyShellsResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListErrors, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, QuestionV2Reply2, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteMessageErrors, SessionDeleteMessageResponses, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionForkErrors, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListErrors, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShareErrors, SessionShareResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUnshareErrors, SessionUnshareResponses, SessionUpdateErrors, SessionUpdateResponses, SubtaskPartInput, SyncHistoryListErrors, SyncHistoryListResponses, SyncReplayErrors, SyncReplayResponses, SyncStartErrors, SyncStartResponses, SyncStealErrors, SyncStealResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptErrors, TuiClearPromptResponses, TuiControlNextErrors, TuiControlNextResponses, TuiControlResponseErrors, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpErrors, TuiOpenHelpResponses, TuiOpenModelsErrors, TuiOpenModelsResponses, TuiOpenSessionsErrors, TuiOpenSessionsResponses, TuiOpenThemesErrors, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastErrors, TuiShowToastResponses, TuiSubmitPromptErrors, TuiSubmitPromptResponses, V2AgentListErrors, V2AgentListResponses, V2CommandListErrors, V2CommandListResponses, V2CredentialRemoveErrors, V2CredentialRemoveResponses, V2CredentialUpdateErrors, V2CredentialUpdateResponses, V2DebugLocationErrors, V2DebugLocationResponses, V2EventSubscribeResponses, V2FormRequestListErrors, V2FormRequestListResponses, V2FsFindErrors, V2FsFindResponses, V2FsListErrors, V2FsListResponses, V2FsReadErrors, V2FsReadResponses, V2GenerateTextErrors, V2GenerateTextResponses, V2HealthGetErrors, V2HealthGetResponses, V2IntegrationAttemptCancelErrors, V2IntegrationAttemptCancelResponses, V2IntegrationAttemptCompleteErrors, V2IntegrationAttemptCompleteResponses, V2IntegrationAttemptStatusErrors, V2IntegrationAttemptStatusResponses, V2IntegrationConnectKeyErrors, V2IntegrationConnectKeyResponses, V2IntegrationConnectOauthErrors, V2IntegrationConnectOauthResponses, V2IntegrationGetErrors, V2IntegrationGetResponses, V2IntegrationListErrors, V2IntegrationListResponses, V2LocationGetErrors, V2LocationGetResponses, V2McpListErrors, V2McpListResponses, V2ModelDefaultErrors, V2ModelDefaultResponses, V2ModelListErrors, V2ModelListResponses, V2PermissionRequestListErrors, V2PermissionRequestListResponses, V2PermissionSavedListErrors, V2PermissionSavedListResponses, V2PermissionSavedRemoveErrors, V2PermissionSavedRemoveResponses, V2PluginListErrors, V2PluginListResponses, V2ProjectCopyCreateErrors, V2ProjectCopyCreateResponses, V2ProjectCopyRefreshErrors, V2ProjectCopyRefreshResponses, V2ProjectCopyRemoveErrors, V2ProjectCopyRemoveResponses, V2ProjectCurrentErrors, V2ProjectCurrentResponses, V2ProjectDirectoriesErrors, V2ProjectDirectoriesResponses, V2ProjectListErrors, V2ProjectListResponses, V2ProviderGetErrors, V2ProviderGetResponses, V2ProviderListErrors, V2ProviderListResponses, V2PtyConnectErrors, V2PtyConnectResponses, V2PtyConnectTokenErrors, V2PtyConnectTokenResponses, V2PtyCreateErrors, V2PtyCreateResponses, V2PtyGetErrors, V2PtyGetResponses, V2PtyListErrors, V2PtyListResponses, V2PtyRemoveErrors, V2PtyRemoveResponses, V2PtyUpdateErrors, V2PtyUpdateResponses, V2QuestionRequestListErrors, V2QuestionRequestListResponses, V2ReferenceListErrors, V2ReferenceListResponses, V2SessionActiveErrors, V2SessionActiveResponses, V2SessionBackgroundErrors, V2SessionBackgroundResponses, V2SessionCommandErrors, V2SessionCommandResponses, V2SessionCompactErrors, V2SessionCompactResponses, V2SessionContextErrors, V2SessionContextResponses, V2SessionCreateErrors, V2SessionCreateResponses, V2SessionForkErrors, V2SessionForkResponses, V2SessionFormCancelErrors, V2SessionFormCancelResponses, V2SessionFormCreateErrors, V2SessionFormCreateResponses, V2SessionFormGetErrors, V2SessionFormGetResponses, V2SessionFormListErrors, V2SessionFormListResponses, V2SessionFormReplyErrors, V2SessionFormReplyResponses, V2SessionFormStateErrors, V2SessionFormStateResponses, V2SessionGetErrors, V2SessionGetResponses, V2SessionInstructionsEntryListErrors, V2SessionInstructionsEntryListResponses, V2SessionInstructionsEntryPutErrors, V2SessionInstructionsEntryPutResponses, V2SessionInstructionsEntryRemoveErrors, V2SessionInstructionsEntryRemoveResponses, V2SessionInterruptErrors, V2SessionInterruptResponses, V2SessionListErrors, V2SessionListResponses, V2SessionLogResponses, V2SessionMessageErrors, V2SessionMessageResponses, V2SessionMessagesErrors, V2SessionMessagesResponses, V2SessionPermissionCreateErrors, V2SessionPermissionCreateResponses, V2SessionPermissionGetErrors, V2SessionPermissionGetResponses, V2SessionPermissionListErrors, V2SessionPermissionListResponses, V2SessionPermissionReplyErrors, V2SessionPermissionReplyResponses, V2SessionPromptErrors, V2SessionPromptResponses, V2SessionQuestionListErrors, V2SessionQuestionListResponses, V2SessionQuestionRejectErrors, V2SessionQuestionRejectResponses, V2SessionQuestionReplyErrors, V2SessionQuestionReplyResponses, V2SessionRenameErrors, V2SessionRenameResponses, V2SessionRevertClearErrors, V2SessionRevertClearResponses, V2SessionRevertCommitErrors, V2SessionRevertCommitResponses, V2SessionRevertStageErrors, V2SessionRevertStageResponses, V2SessionShellErrors, V2SessionShellResponses, V2SessionSkillErrors, V2SessionSkillResponses, V2SessionSwitchAgentErrors, V2SessionSwitchAgentResponses, V2SessionSwitchModelErrors, V2SessionSwitchModelResponses, V2SessionSyntheticErrors, V2SessionSyntheticResponses, V2SessionWaitErrors, V2SessionWaitResponses, V2ShellCreateErrors, V2ShellCreateResponses, V2ShellGetErrors, V2ShellGetResponses, V2ShellListErrors, V2ShellListResponses, V2ShellOutputErrors, V2ShellOutputResponses, V2ShellRemoveErrors, V2ShellRemoveResponses, V2SkillListErrors, V2SkillListResponses, V2VcsDiffErrors, V2VcsDiffResponses, V2VcsStatusErrors, V2VcsStatusResponses, VcsApplyErrors, VcsApplyResponses, VcsDiffErrors, VcsDiffRawErrors, VcsDiffRawResponses, VcsDiffResponses, VcsGetErrors, VcsGetResponses, VcsMode2, VcsStatusErrors, VcsStatusResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListErrors, 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
|
|
@@ -1562,34 +1562,34 @@ export declare class Revert extends HeyApiClient {
|
|
|
1562
1562
|
}
|
|
1563
1563
|
export declare class Entry extends HeyApiClient {
|
|
1564
1564
|
/**
|
|
1565
|
-
* List
|
|
1565
|
+
* List instruction entries
|
|
1566
1566
|
*
|
|
1567
|
-
* List API-managed
|
|
1567
|
+
* List API-managed instruction entries attached to the session.
|
|
1568
1568
|
*/
|
|
1569
1569
|
list<ThrowOnError extends boolean = false>(parameters: {
|
|
1570
1570
|
sessionID: string;
|
|
1571
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1571
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionInstructionsEntryListResponses, V2SessionInstructionsEntryListErrors, ThrowOnError, "fields">;
|
|
1572
1572
|
/**
|
|
1573
|
-
* Remove
|
|
1573
|
+
* Remove instruction entry
|
|
1574
1574
|
*
|
|
1575
|
-
* Remove one
|
|
1575
|
+
* Remove one instruction entry; the removal is announced to the model at the next step boundary.
|
|
1576
1576
|
*/
|
|
1577
1577
|
remove<ThrowOnError extends boolean = false>(parameters: {
|
|
1578
1578
|
sessionID: string;
|
|
1579
|
-
key:
|
|
1580
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1579
|
+
key: InstructionEntryKey2;
|
|
1580
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionInstructionsEntryRemoveResponses, V2SessionInstructionsEntryRemoveErrors, ThrowOnError, "fields">;
|
|
1581
1581
|
/**
|
|
1582
|
-
* Put
|
|
1582
|
+
* Put instruction entry
|
|
1583
1583
|
*
|
|
1584
|
-
* Attach or replace one durable
|
|
1584
|
+
* Attach or replace one durable instruction entry. Changes announce as updates at the next step boundary.
|
|
1585
1585
|
*/
|
|
1586
1586
|
put<ThrowOnError extends boolean = false>(parameters: {
|
|
1587
1587
|
sessionID: string;
|
|
1588
|
-
key:
|
|
1588
|
+
key: InstructionEntryKey2;
|
|
1589
1589
|
value?: unknown;
|
|
1590
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1590
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionInstructionsEntryPutResponses, V2SessionInstructionsEntryPutErrors, ThrowOnError, "fields">;
|
|
1591
1591
|
}
|
|
1592
|
-
export declare class
|
|
1592
|
+
export declare class Instructions extends HeyApiClient {
|
|
1593
1593
|
private _entry?;
|
|
1594
1594
|
get entry(): Entry;
|
|
1595
1595
|
}
|
|
@@ -1938,8 +1938,8 @@ export declare class Session3 extends HeyApiClient {
|
|
|
1938
1938
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionMessagesResponses, V2SessionMessagesErrors, ThrowOnError, "fields">;
|
|
1939
1939
|
private _revert?;
|
|
1940
1940
|
get revert(): Revert;
|
|
1941
|
-
private
|
|
1942
|
-
get
|
|
1941
|
+
private _instructions?;
|
|
1942
|
+
get instructions(): Instructions;
|
|
1943
1943
|
private _form?;
|
|
1944
1944
|
get form(): Form;
|
|
1945
1945
|
private _permission?;
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -3157,22 +3157,22 @@ export class Revert extends HeyApiClient {
|
|
|
3157
3157
|
}
|
|
3158
3158
|
export class Entry extends HeyApiClient {
|
|
3159
3159
|
/**
|
|
3160
|
-
* List
|
|
3160
|
+
* List instruction entries
|
|
3161
3161
|
*
|
|
3162
|
-
* List API-managed
|
|
3162
|
+
* List API-managed instruction entries attached to the session.
|
|
3163
3163
|
*/
|
|
3164
3164
|
list(parameters, options) {
|
|
3165
3165
|
const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "sessionID" }] }]);
|
|
3166
3166
|
return (options?.client ?? this.client).get({
|
|
3167
|
-
url: "/api/session/{sessionID}/
|
|
3167
|
+
url: "/api/session/{sessionID}/instructions/entries",
|
|
3168
3168
|
...options,
|
|
3169
3169
|
...params,
|
|
3170
3170
|
});
|
|
3171
3171
|
}
|
|
3172
3172
|
/**
|
|
3173
|
-
* Remove
|
|
3173
|
+
* Remove instruction entry
|
|
3174
3174
|
*
|
|
3175
|
-
* Remove one
|
|
3175
|
+
* Remove one instruction entry; the removal is announced to the model at the next step boundary.
|
|
3176
3176
|
*/
|
|
3177
3177
|
remove(parameters, options) {
|
|
3178
3178
|
const params = buildClientParams([parameters], [
|
|
@@ -3184,15 +3184,15 @@ export class Entry extends HeyApiClient {
|
|
|
3184
3184
|
},
|
|
3185
3185
|
]);
|
|
3186
3186
|
return (options?.client ?? this.client).delete({
|
|
3187
|
-
url: "/api/session/{sessionID}/
|
|
3187
|
+
url: "/api/session/{sessionID}/instructions/entries/{key}",
|
|
3188
3188
|
...options,
|
|
3189
3189
|
...params,
|
|
3190
3190
|
});
|
|
3191
3191
|
}
|
|
3192
3192
|
/**
|
|
3193
|
-
* Put
|
|
3193
|
+
* Put instruction entry
|
|
3194
3194
|
*
|
|
3195
|
-
* Attach or replace one durable
|
|
3195
|
+
* Attach or replace one durable instruction entry. Changes announce as updates at the next step boundary.
|
|
3196
3196
|
*/
|
|
3197
3197
|
put(parameters, options) {
|
|
3198
3198
|
const params = buildClientParams([parameters], [
|
|
@@ -3205,7 +3205,7 @@ export class Entry extends HeyApiClient {
|
|
|
3205
3205
|
},
|
|
3206
3206
|
]);
|
|
3207
3207
|
return (options?.client ?? this.client).put({
|
|
3208
|
-
url: "/api/session/{sessionID}/
|
|
3208
|
+
url: "/api/session/{sessionID}/instructions/entries/{key}",
|
|
3209
3209
|
...options,
|
|
3210
3210
|
...params,
|
|
3211
3211
|
headers: {
|
|
@@ -3216,7 +3216,7 @@ export class Entry extends HeyApiClient {
|
|
|
3216
3216
|
});
|
|
3217
3217
|
}
|
|
3218
3218
|
}
|
|
3219
|
-
export class
|
|
3219
|
+
export class Instructions extends HeyApiClient {
|
|
3220
3220
|
_entry;
|
|
3221
3221
|
get entry() {
|
|
3222
3222
|
return (this._entry ??= new Entry({ client: this.client }));
|
|
@@ -3954,9 +3954,9 @@ export class Session3 extends HeyApiClient {
|
|
|
3954
3954
|
get revert() {
|
|
3955
3955
|
return (this._revert ??= new Revert({ client: this.client }));
|
|
3956
3956
|
}
|
|
3957
|
-
|
|
3958
|
-
get
|
|
3959
|
-
return (this.
|
|
3957
|
+
_instructions;
|
|
3958
|
+
get instructions() {
|
|
3959
|
+
return (this._instructions ??= new Instructions({ client: this.client }));
|
|
3960
3960
|
}
|
|
3961
3961
|
_form;
|
|
3962
3962
|
get form() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: `${string}://${string}` | (string & {});
|
|
3
3
|
};
|
|
4
|
-
export type Event = EventModelsDevRefreshed | EventIntegrationUpdated | EventIntegrationConnectionUpdated | EventCatalogUpdated | EventAgentUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionAgentSelected | EventSessionModelSelected | EventSessionMoved | EventSessionRenamed | EventSessionForked | EventSessionPromptPromoted | EventSessionPromptAdmitted | EventSessionExecutionSettled |
|
|
4
|
+
export type Event = EventModelsDevRefreshed | EventIntegrationUpdated | EventIntegrationConnectionUpdated | EventCatalogUpdated | EventAgentUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionAgentSelected | EventSessionModelSelected | EventSessionMoved | EventSessionRenamed | EventSessionForked | EventSessionPromptPromoted | EventSessionPromptAdmitted | EventSessionExecutionSettled | EventSessionInstructionsUpdated | EventSessionSynthetic | EventSessionSkillActivated | EventSessionShellStarted | EventSessionShellEnded | EventSessionStepStarted | EventSessionStepEnded | EventSessionStepFailed | EventSessionTextStarted | EventSessionTextDelta | EventSessionTextEnded | EventSessionReasoningStarted | EventSessionReasoningDelta | EventSessionReasoningEnded | EventSessionToolInputStarted | EventSessionToolInputDelta | EventSessionToolInputEnded | EventSessionToolCalled | EventSessionToolProgress | EventSessionToolSuccess | EventSessionToolFailed | EventSessionRetried | EventSessionCompactionStarted | EventSessionCompactionDelta | EventSessionCompactionEnded | EventSessionRevertStaged | EventSessionRevertCleared | EventSessionRevertCommitted | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventInstallationUpdated | EventInstallationUpdateAvailable | EventFilesystemChanged | EventReferenceUpdated | EventPermissionV2Asked | EventPermissionV2Replied | EventPluginAdded | EventPluginUpdated | EventProjectDirectoriesUpdated | EventCommandUpdated | EventConfigUpdated | EventSkillUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventShellCreated | EventShellExited | EventShellDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventFormCreated | EventFormReplied | EventFormCancelled | EventTodoUpdated | EventLspUpdated | EventPermissionAsked | EventPermissionReplied | EventTuiPromptAppend2 | EventTuiCommandExecute2 | EventTuiToastShow2 | EventTuiSessionSelect2 | EventMcpToolsChanged | EventMcpStatusChanged | EventCommandExecuted | EventFileEdited | EventProjectUpdated | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventServerConnected | EventGlobalDisposed | EventServerInstanceDisposed;
|
|
5
5
|
export type QuestionReplied = {
|
|
6
6
|
sessionID: string;
|
|
7
7
|
requestID: string;
|
|
@@ -715,7 +715,7 @@ export type GlobalEvent = {
|
|
|
715
715
|
};
|
|
716
716
|
} | {
|
|
717
717
|
id: string;
|
|
718
|
-
type: "session.
|
|
718
|
+
type: "session.instructions.updated";
|
|
719
719
|
properties: {
|
|
720
720
|
sessionID: string;
|
|
721
721
|
text: string;
|
|
@@ -1393,7 +1393,7 @@ export type GlobalEvent = {
|
|
|
1393
1393
|
properties: {
|
|
1394
1394
|
[key: string]: unknown;
|
|
1395
1395
|
};
|
|
1396
|
-
} | EventServerInstanceDisposed | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionAgentSelected | SyncEventSessionModelSelected | SyncEventSessionMoved | SyncEventSessionRenamed | SyncEventSessionForked | SyncEventSessionPromptPromoted | SyncEventSessionPromptAdmitted |
|
|
1396
|
+
} | EventServerInstanceDisposed | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionAgentSelected | SyncEventSessionModelSelected | SyncEventSessionMoved | SyncEventSessionRenamed | SyncEventSessionForked | SyncEventSessionPromptPromoted | SyncEventSessionPromptAdmitted | SyncEventSessionInstructionsUpdated | SyncEventSessionSynthetic | SyncEventSessionSkillActivated | SyncEventSessionShellStarted | SyncEventSessionShellEnded | SyncEventSessionStepStarted | SyncEventSessionStepEnded | SyncEventSessionStepFailed | SyncEventSessionTextStarted | SyncEventSessionTextEnded | SyncEventSessionReasoningStarted | SyncEventSessionReasoningEnded | SyncEventSessionToolInputStarted | SyncEventSessionToolInputEnded | SyncEventSessionToolCalled | SyncEventSessionToolProgress | SyncEventSessionToolSuccess | SyncEventSessionToolFailed | SyncEventSessionRetried | SyncEventSessionCompactionStarted | SyncEventSessionCompactionEnded | SyncEventSessionRevertStaged | SyncEventSessionRevertCleared | SyncEventSessionRevertCommitted;
|
|
1397
1397
|
};
|
|
1398
1398
|
/**
|
|
1399
1399
|
* Log level
|
|
@@ -2358,7 +2358,7 @@ export type Shell1 = {
|
|
|
2358
2358
|
completed?: number | "NaN" | "Infinity" | "-Infinity";
|
|
2359
2359
|
};
|
|
2360
2360
|
};
|
|
2361
|
-
export type SessionDurableEvent = SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionForked | SessionPromptPromoted | SessionPromptAdmitted |
|
|
2361
|
+
export type SessionDurableEvent = SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionForked | SessionPromptPromoted | SessionPromptAdmitted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextEnded | SessionReasoningStarted | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetried | SessionCompactionStarted | SessionCompactionEnded | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted;
|
|
2362
2362
|
export type SessionLogItem = SessionDurableEvent | EventLogSynced;
|
|
2363
2363
|
export type SessionLogItemStream = string;
|
|
2364
2364
|
export type SessionMessagesResponse = {
|
|
@@ -2440,7 +2440,7 @@ export type QuestionRejected2 = {
|
|
|
2440
2440
|
requestID: string;
|
|
2441
2441
|
};
|
|
2442
2442
|
};
|
|
2443
|
-
export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionUpdated | SessionDeleted | MessageUpdated | MessageRemoved | MessagePartUpdated | MessagePartRemoved | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionForked | SessionPromptPromoted | SessionPromptAdmitted | SessionExecutionSettled |
|
|
2443
|
+
export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionUpdated | SessionDeleted | MessageUpdated | MessageRemoved | MessagePartUpdated | MessagePartRemoved | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionForked | SessionPromptPromoted | SessionPromptAdmitted | SessionExecutionSettled | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextDelta | SessionTextEnded | SessionReasoningStarted | SessionReasoningDelta | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputDelta | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetried | SessionCompactionStarted | SessionCompactionDelta | SessionCompactionEnded | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | MessagePartDelta | SessionDiff | SessionError | InstallationUpdated | InstallationUpdateAvailable | FilesystemChanged | ReferenceUpdated | PermissionV2Asked | PermissionV2Replied | PluginAdded | PluginUpdated | ProjectDirectoriesUpdated | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | ShellCreated | ShellExited | ShellDeleted | QuestionV2Asked | QuestionV2Replied | QuestionV2Rejected | FormCreated | FormReplied | FormCancelled | TodoUpdated | LspUpdated | PermissionAsked | PermissionReplied | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | McpToolsChanged | McpStatusChanged | CommandExecuted | FileEdited | ProjectUpdated | SessionStatus2 | SessionIdle | QuestionAsked | QuestionReplied2 | QuestionRejected2 | SessionCompacted | VcsBranchUpdated | WorkspaceReady | WorkspaceFailed | WorkspaceStatus | WorktreeReady | WorktreeFailed | ServerConnected | GlobalDisposed;
|
|
2444
2444
|
export type V2EventStream = string;
|
|
2445
2445
|
export type ForbiddenError = {
|
|
2446
2446
|
_tag: "ForbiddenError";
|
|
@@ -2548,6 +2548,7 @@ export type PromptSource = {
|
|
|
2548
2548
|
export type PromptFileAttachment = {
|
|
2549
2549
|
uri: string;
|
|
2550
2550
|
mime: string;
|
|
2551
|
+
content?: string;
|
|
2551
2552
|
name?: string;
|
|
2552
2553
|
description?: string;
|
|
2553
2554
|
source?: PromptSource;
|
|
@@ -2958,11 +2959,11 @@ export type SyncEventSessionPromptAdmitted = {
|
|
|
2958
2959
|
};
|
|
2959
2960
|
};
|
|
2960
2961
|
};
|
|
2961
|
-
export type
|
|
2962
|
+
export type SyncEventSessionInstructionsUpdated = {
|
|
2962
2963
|
type: "sync";
|
|
2963
2964
|
id: string;
|
|
2964
2965
|
syncEvent: {
|
|
2965
|
-
type: "session.
|
|
2966
|
+
type: "session.instructions.updated.1";
|
|
2966
2967
|
id: string;
|
|
2967
2968
|
seq: number;
|
|
2968
2969
|
aggregateID: string;
|
|
@@ -3682,9 +3683,9 @@ export type SessionMessageCompaction = {
|
|
|
3682
3683
|
};
|
|
3683
3684
|
};
|
|
3684
3685
|
export type SessionMessage = SessionMessageAgentSelected | SessionMessageModelSelected | SessionMessageUser | SessionMessageSynthetic | SessionMessageSystem | SessionMessageSkill | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction;
|
|
3685
|
-
export type
|
|
3686
|
-
export type
|
|
3687
|
-
key:
|
|
3686
|
+
export type InstructionEntryKey = string;
|
|
3687
|
+
export type InstructionEntryInfo = {
|
|
3688
|
+
key: InstructionEntryKey;
|
|
3688
3689
|
value: unknown;
|
|
3689
3690
|
};
|
|
3690
3691
|
export type SessionAgentSelected = {
|
|
@@ -3817,13 +3818,13 @@ export type SessionPromptAdmitted = {
|
|
|
3817
3818
|
delivery: "steer" | "queue";
|
|
3818
3819
|
};
|
|
3819
3820
|
};
|
|
3820
|
-
export type
|
|
3821
|
+
export type SessionInstructionsUpdated = {
|
|
3821
3822
|
id: string;
|
|
3822
3823
|
created: number;
|
|
3823
3824
|
metadata?: {
|
|
3824
3825
|
[key: string]: unknown;
|
|
3825
3826
|
};
|
|
3826
|
-
type: "session.
|
|
3827
|
+
type: "session.instructions.updated";
|
|
3827
3828
|
durable: {
|
|
3828
3829
|
aggregateID: string;
|
|
3829
3830
|
seq: number;
|
|
@@ -5782,9 +5783,9 @@ export type EventSessionExecutionSettled = {
|
|
|
5782
5783
|
error?: SessionErrorUnknown;
|
|
5783
5784
|
};
|
|
5784
5785
|
};
|
|
5785
|
-
export type
|
|
5786
|
+
export type EventSessionInstructionsUpdated = {
|
|
5786
5787
|
id: string;
|
|
5787
|
-
type: "session.
|
|
5788
|
+
type: "session.instructions.updated";
|
|
5788
5789
|
properties: {
|
|
5789
5790
|
sessionID: string;
|
|
5790
5791
|
text: string;
|
|
@@ -6725,6 +6726,7 @@ export type PromptInputV2 = {
|
|
|
6725
6726
|
export type PromptFileAttachment2 = {
|
|
6726
6727
|
uri: string;
|
|
6727
6728
|
mime: string;
|
|
6729
|
+
content?: string;
|
|
6728
6730
|
name?: string;
|
|
6729
6731
|
description?: string;
|
|
6730
6732
|
source?: PromptSource2;
|
|
@@ -7022,11 +7024,11 @@ export type SessionMessageCompaction2 = {
|
|
|
7022
7024
|
};
|
|
7023
7025
|
export type SessionMessage2 = SessionMessageAgentSelected2 | SessionMessageModelSelected2 | SessionMessageUser2 | SessionMessageSynthetic2 | SessionMessageSystem2 | SessionMessageSkill2 | SessionMessageShell2 | SessionMessageAssistant2 | SessionMessageCompaction2;
|
|
7024
7026
|
/**
|
|
7025
|
-
*
|
|
7027
|
+
* Instruction entry key (lowercase alphanumerics plus . _ -)
|
|
7026
7028
|
*/
|
|
7027
|
-
export type
|
|
7028
|
-
export type
|
|
7029
|
-
key:
|
|
7029
|
+
export type InstructionEntryKey2 = string;
|
|
7030
|
+
export type InstructionEntryInfo2 = {
|
|
7031
|
+
key: InstructionEntryKey2;
|
|
7030
7032
|
value: unknown;
|
|
7031
7033
|
};
|
|
7032
7034
|
export type SessionAgentSelected2 = {
|
|
@@ -7159,13 +7161,13 @@ export type SessionPromptAdmitted2 = {
|
|
|
7159
7161
|
delivery: "steer" | "queue";
|
|
7160
7162
|
};
|
|
7161
7163
|
};
|
|
7162
|
-
export type
|
|
7164
|
+
export type SessionInstructionsUpdated2 = {
|
|
7163
7165
|
id: string;
|
|
7164
7166
|
created: number;
|
|
7165
7167
|
metadata?: {
|
|
7166
7168
|
[key: string]: unknown;
|
|
7167
7169
|
};
|
|
7168
|
-
type: "session.
|
|
7170
|
+
type: "session.instructions.updated";
|
|
7169
7171
|
durable: {
|
|
7170
7172
|
aggregateID: string;
|
|
7171
7173
|
seq: number;
|
|
@@ -7719,7 +7721,7 @@ export type SessionRevertCommitted2 = {
|
|
|
7719
7721
|
messageID: string;
|
|
7720
7722
|
};
|
|
7721
7723
|
};
|
|
7722
|
-
export type SessionDurableEventV2 = SessionAgentSelected2 | SessionModelSelected2 | SessionMoved2 | SessionRenamed2 | SessionForked2 | SessionPromptPromoted2 | SessionPromptAdmitted2 |
|
|
7724
|
+
export type SessionDurableEventV2 = SessionAgentSelected2 | SessionModelSelected2 | SessionMoved2 | SessionRenamed2 | SessionForked2 | SessionPromptPromoted2 | SessionPromptAdmitted2 | SessionInstructionsUpdated2 | SessionSynthetic2 | SessionSkillActivated2 | SessionShellStarted2 | SessionShellEnded2 | SessionStepStarted2 | SessionStepEnded2 | SessionStepFailed2 | SessionTextStarted2 | SessionTextEnded2 | SessionReasoningStarted2 | SessionReasoningEnded2 | SessionToolInputStarted2 | SessionToolInputEnded2 | SessionToolCalled2 | SessionToolProgress2 | SessionToolSuccess2 | SessionToolFailed2 | SessionRetried2 | SessionCompactionStarted2 | SessionCompactionEnded2 | SessionRevertStaged2 | SessionRevertCleared2 | SessionRevertCommitted2;
|
|
7723
7725
|
/**
|
|
7724
7726
|
* Marker emitted once when a log read reaches its captured watermark. The reader holds every event committed at or below seq.
|
|
7725
7727
|
*/
|
|
@@ -9598,7 +9600,7 @@ export type V2EventServerConnected = {
|
|
|
9598
9600
|
[key: string]: unknown;
|
|
9599
9601
|
} | Array<unknown>;
|
|
9600
9602
|
};
|
|
9601
|
-
export type V2EventV2 = ModelsDevRefreshed2 | IntegrationUpdated2 | IntegrationConnectionUpdated2 | CatalogUpdated2 | AgentUpdated2 | SessionCreated2 | SessionUpdated2 | SessionDeleted2 | MessageUpdated2 | MessageRemoved2 | MessagePartUpdated2 | MessagePartRemoved2 | SessionAgentSelected2 | SessionModelSelected2 | SessionMoved2 | SessionRenamed2 | SessionForked2 | SessionPromptPromoted2 | SessionPromptAdmitted2 | SessionExecutionSettled2 |
|
|
9603
|
+
export type V2EventV2 = ModelsDevRefreshed2 | IntegrationUpdated2 | IntegrationConnectionUpdated2 | CatalogUpdated2 | AgentUpdated2 | SessionCreated2 | SessionUpdated2 | SessionDeleted2 | MessageUpdated2 | MessageRemoved2 | MessagePartUpdated2 | MessagePartRemoved2 | SessionAgentSelected2 | SessionModelSelected2 | SessionMoved2 | SessionRenamed2 | SessionForked2 | SessionPromptPromoted2 | SessionPromptAdmitted2 | SessionExecutionSettled2 | SessionInstructionsUpdated2 | SessionSynthetic2 | SessionSkillActivated2 | SessionShellStarted2 | SessionShellEnded2 | SessionStepStarted2 | SessionStepEnded2 | SessionStepFailed2 | SessionTextStarted2 | SessionTextDelta2 | SessionTextEnded2 | SessionReasoningStarted2 | SessionReasoningDelta2 | SessionReasoningEnded2 | SessionToolInputStarted2 | SessionToolInputDelta2 | SessionToolInputEnded2 | SessionToolCalled2 | SessionToolProgress2 | SessionToolSuccess2 | SessionToolFailed2 | SessionRetried2 | SessionCompactionStarted2 | SessionCompactionDelta2 | SessionCompactionEnded2 | SessionRevertStaged2 | SessionRevertCleared2 | SessionRevertCommitted2 | FilesystemChanged2 | ReferenceUpdated2 | PermissionV2Asked2 | PermissionV2Replied2 | PluginAdded2 | PluginUpdated2 | ProjectDirectoriesUpdated2 | CommandUpdated2 | ConfigUpdated2 | SkillUpdated2 | PtyCreated2 | PtyUpdated2 | PtyExited2 | PtyDeleted2 | ShellCreated2 | ShellExited2 | ShellDeleted2 | QuestionV2Asked2 | QuestionV2Replied2 | QuestionV2Rejected2 | FormCreated2 | FormReplied2 | FormCancelled2 | TodoUpdated2 | SessionStatusV22 | SessionIdle2 | TuiPromptAppend2 | TuiCommandExecute2 | TuiToastShow2 | TuiSessionSelect2 | InstallationUpdated2 | InstallationUpdateAvailable2 | VcsBranchUpdated2 | McpStatusChanged2 | PermissionAsked2 | PermissionReplied2 | QuestionAsked2 | QuestionRepliedV2 | QuestionRejectedV2 | SessionError2 | V2EventServerConnected;
|
|
9602
9604
|
export type V2EventStreamV2 = string;
|
|
9603
9605
|
export type PtyNotFoundErrorV2 = {
|
|
9604
9606
|
_tag: "PtyNotFoundError";
|
|
@@ -13960,15 +13962,15 @@ export type V2SessionContextResponses = {
|
|
|
13960
13962
|
};
|
|
13961
13963
|
};
|
|
13962
13964
|
export type V2SessionContextResponse = V2SessionContextResponses[keyof V2SessionContextResponses];
|
|
13963
|
-
export type
|
|
13965
|
+
export type V2SessionInstructionsEntryListData = {
|
|
13964
13966
|
body?: never;
|
|
13965
13967
|
path: {
|
|
13966
13968
|
sessionID: string;
|
|
13967
13969
|
};
|
|
13968
13970
|
query?: never;
|
|
13969
|
-
url: "/api/session/{sessionID}/
|
|
13971
|
+
url: "/api/session/{sessionID}/instructions/entries";
|
|
13970
13972
|
};
|
|
13971
|
-
export type
|
|
13973
|
+
export type V2SessionInstructionsEntryListErrors = {
|
|
13972
13974
|
/**
|
|
13973
13975
|
* InvalidRequestError
|
|
13974
13976
|
*/
|
|
@@ -13982,26 +13984,26 @@ export type V2SessionContextEntryListErrors = {
|
|
|
13982
13984
|
*/
|
|
13983
13985
|
404: SessionNotFoundErrorV2;
|
|
13984
13986
|
};
|
|
13985
|
-
export type
|
|
13986
|
-
export type
|
|
13987
|
+
export type V2SessionInstructionsEntryListError = V2SessionInstructionsEntryListErrors[keyof V2SessionInstructionsEntryListErrors];
|
|
13988
|
+
export type V2SessionInstructionsEntryListResponses = {
|
|
13987
13989
|
/**
|
|
13988
13990
|
* Success
|
|
13989
13991
|
*/
|
|
13990
13992
|
200: {
|
|
13991
|
-
data: Array<
|
|
13993
|
+
data: Array<InstructionEntryInfo2>;
|
|
13992
13994
|
};
|
|
13993
13995
|
};
|
|
13994
|
-
export type
|
|
13995
|
-
export type
|
|
13996
|
+
export type V2SessionInstructionsEntryListResponse = V2SessionInstructionsEntryListResponses[keyof V2SessionInstructionsEntryListResponses];
|
|
13997
|
+
export type V2SessionInstructionsEntryRemoveData = {
|
|
13996
13998
|
body?: never;
|
|
13997
13999
|
path: {
|
|
13998
14000
|
sessionID: string;
|
|
13999
|
-
key:
|
|
14001
|
+
key: InstructionEntryKey2;
|
|
14000
14002
|
};
|
|
14001
14003
|
query?: never;
|
|
14002
|
-
url: "/api/session/{sessionID}/
|
|
14004
|
+
url: "/api/session/{sessionID}/instructions/entries/{key}";
|
|
14003
14005
|
};
|
|
14004
|
-
export type
|
|
14006
|
+
export type V2SessionInstructionsEntryRemoveErrors = {
|
|
14005
14007
|
/**
|
|
14006
14008
|
* InvalidRequestError
|
|
14007
14009
|
*/
|
|
@@ -14015,26 +14017,26 @@ export type V2SessionContextEntryRemoveErrors = {
|
|
|
14015
14017
|
*/
|
|
14016
14018
|
404: SessionNotFoundErrorV2;
|
|
14017
14019
|
};
|
|
14018
|
-
export type
|
|
14019
|
-
export type
|
|
14020
|
+
export type V2SessionInstructionsEntryRemoveError = V2SessionInstructionsEntryRemoveErrors[keyof V2SessionInstructionsEntryRemoveErrors];
|
|
14021
|
+
export type V2SessionInstructionsEntryRemoveResponses = {
|
|
14020
14022
|
/**
|
|
14021
14023
|
* <No Content>
|
|
14022
14024
|
*/
|
|
14023
14025
|
204: void;
|
|
14024
14026
|
};
|
|
14025
|
-
export type
|
|
14026
|
-
export type
|
|
14027
|
+
export type V2SessionInstructionsEntryRemoveResponse = V2SessionInstructionsEntryRemoveResponses[keyof V2SessionInstructionsEntryRemoveResponses];
|
|
14028
|
+
export type V2SessionInstructionsEntryPutData = {
|
|
14027
14029
|
body: {
|
|
14028
14030
|
value: unknown;
|
|
14029
14031
|
};
|
|
14030
14032
|
path: {
|
|
14031
14033
|
sessionID: string;
|
|
14032
|
-
key:
|
|
14034
|
+
key: InstructionEntryKey2;
|
|
14033
14035
|
};
|
|
14034
14036
|
query?: never;
|
|
14035
|
-
url: "/api/session/{sessionID}/
|
|
14037
|
+
url: "/api/session/{sessionID}/instructions/entries/{key}";
|
|
14036
14038
|
};
|
|
14037
|
-
export type
|
|
14039
|
+
export type V2SessionInstructionsEntryPutErrors = {
|
|
14038
14040
|
/**
|
|
14039
14041
|
* InvalidRequestError
|
|
14040
14042
|
*/
|
|
@@ -14048,14 +14050,14 @@ export type V2SessionContextEntryPutErrors = {
|
|
|
14048
14050
|
*/
|
|
14049
14051
|
404: SessionNotFoundErrorV2;
|
|
14050
14052
|
};
|
|
14051
|
-
export type
|
|
14052
|
-
export type
|
|
14053
|
+
export type V2SessionInstructionsEntryPutError = V2SessionInstructionsEntryPutErrors[keyof V2SessionInstructionsEntryPutErrors];
|
|
14054
|
+
export type V2SessionInstructionsEntryPutResponses = {
|
|
14053
14055
|
/**
|
|
14054
14056
|
* <No Content>
|
|
14055
14057
|
*/
|
|
14056
14058
|
204: void;
|
|
14057
14059
|
};
|
|
14058
|
-
export type
|
|
14060
|
+
export type V2SessionInstructionsEntryPutResponse = V2SessionInstructionsEntryPutResponses[keyof V2SessionInstructionsEntryPutResponses];
|
|
14059
14061
|
export type V2SessionLogData = {
|
|
14060
14062
|
body?: never;
|
|
14061
14063
|
path: {
|