Vendor OpenClaw source as Adolf fork baseline
Some checks failed
ClawSweeper Dispatch / dispatch (push) Has been cancelled
CodeQL / Security High (actions) (push) Has been cancelled
CodeQL / Security High (channel-runtime-boundary) (push) Has been cancelled
CodeQL / Security High (core-auth-secrets) (push) Has been cancelled
CodeQL / Security High (mcp-process-tool-boundary) (push) Has been cancelled
CodeQL / Security High (network-ssrf-boundary) (push) Has been cancelled
CodeQL / Security High (plugin-trust-boundary) (push) Has been cancelled
CodeQL / Security High (process-exec-boundary) (push) Has been cancelled
Docs Sync Publish Repo / sync-publish-repo (push) Has been cancelled
Docs / docs (push) Has been cancelled
OpenClaw Stable Main Closeout / Resolve stable release closeout inputs (push) Has been cancelled
OpenClaw Stable Main Closeout / Verify stable main closeout (push) Has been cancelled
Workflow Sanity / no-tabs (push) Has been cancelled
Workflow Sanity / actionlint (push) Has been cancelled
Workflow Sanity / generated-doc-baselines (push) Has been cancelled
CI / runner-admission (push) Has been cancelled
CI / preflight (push) Has been cancelled
CI / security-fast (push) Has been cancelled
CI / pnpm-store-warmup (push) Has been cancelled
CI / build-artifacts (push) Has been cancelled
CI / native-i18n (push) Has been cancelled
CI / ${{ matrix.check_name }} (push) Has been cancelled
CI / ${{ matrix.checkName }} (push) Has been cancelled
CI / checks-node-compat-node22 (push) Has been cancelled
CI / check-bundled-channel-config-metadata (push) Has been cancelled
CI / check-dependencies (push) Has been cancelled
CI / check-guards (push) Has been cancelled
CI / check-lint (push) Has been cancelled
CI / check-prod-types (push) Has been cancelled
CI / check-shrinkwrap (push) Has been cancelled
CI / check-test-types (push) Has been cancelled
CI / check-additional-boundaries-a (push) Has been cancelled
CI / check-additional-boundaries-bcd (push) Has been cancelled
CI / check-additional-extension-bundled (push) Has been cancelled
CI / check-additional-extension-channels (push) Has been cancelled
CI / check-additional-extension-package-boundary (push) Has been cancelled
CI / check-additional-runtime-topology-architecture (push) Has been cancelled
CI / check-session-accessor-boundary (push) Has been cancelled
CI / check-session-transcript-reader-boundary (push) Has been cancelled
CI / check-docs (push) Has been cancelled
CI / skills-python (push) Has been cancelled
CI / macos-swift (push) Has been cancelled
CI / ios-build (push) Has been cancelled
CI / ci-timings-summary (push) Has been cancelled
Native App Locale Refresh / Refresh native fa (push) Has been cancelled
Native App Locale Refresh / Refresh native fr (push) Has been cancelled
Native App Locale Refresh / Refresh native hi (push) Has been cancelled
Native App Locale Refresh / Refresh native id (push) Has been cancelled
Native App Locale Refresh / Refresh native it (push) Has been cancelled
Native App Locale Refresh / Refresh native ja-JP (push) Has been cancelled
Control UI Locale Refresh / plan (push) Has been cancelled
Control UI Locale Refresh / Refresh ${{ matrix.locale }} (push) Has been cancelled
Control UI Locale Refresh / Commit control UI locale refresh (push) Has been cancelled
Live Media Runner Image / Build live media runner image (push) Has been cancelled
Native App Locale Refresh / Refresh native ar (push) Has been cancelled
Native App Locale Refresh / Refresh native de (push) Has been cancelled
Native App Locale Refresh / Refresh native es (push) Has been cancelled
Native App Locale Refresh / Refresh native ko (push) Has been cancelled
Native App Locale Refresh / Refresh native nl (push) Has been cancelled
Native App Locale Refresh / Refresh native pl (push) Has been cancelled
Native App Locale Refresh / Refresh native pt-BR (push) Has been cancelled
Native App Locale Refresh / Refresh native ru (push) Has been cancelled
Native App Locale Refresh / Refresh native sv (push) Has been cancelled
Native App Locale Refresh / Refresh native th (push) Has been cancelled
Native App Locale Refresh / Refresh native tr (push) Has been cancelled
Native App Locale Refresh / Refresh native uk (push) Has been cancelled
Native App Locale Refresh / Refresh native vi (push) Has been cancelled
Native App Locale Refresh / Refresh native zh-CN (push) Has been cancelled
Native App Locale Refresh / Refresh native zh-TW (push) Has been cancelled
Native App Locale Refresh / Commit native locale refresh (push) Has been cancelled
Plugin Init Scaffold Validation / Validate provider scaffold (push) Has been cancelled
Plugin NPM Release / preview_plugins_npm (push) Has been cancelled
Plugin NPM Release / Validate release publish approval (push) Has been cancelled
Plugin NPM Release / preview_plugin_pack (push) Has been cancelled
Plugin NPM Release / publish_plugins_npm (push) Has been cancelled
Sandbox Common Smoke / sandbox-common-smoke (push) Has been cancelled
Website Installer Sync / static (push) Has been cancelled
Website Installer Sync / linux-docker (push) Has been cancelled
Website Installer Sync / macos-installer (push) Has been cancelled
Website Installer Sync / windows-installer (push) Has been cancelled
Website Installer Sync / sync-website (push) Has been cancelled
Some checks failed
ClawSweeper Dispatch / dispatch (push) Has been cancelled
CodeQL / Security High (actions) (push) Has been cancelled
CodeQL / Security High (channel-runtime-boundary) (push) Has been cancelled
CodeQL / Security High (core-auth-secrets) (push) Has been cancelled
CodeQL / Security High (mcp-process-tool-boundary) (push) Has been cancelled
CodeQL / Security High (network-ssrf-boundary) (push) Has been cancelled
CodeQL / Security High (plugin-trust-boundary) (push) Has been cancelled
CodeQL / Security High (process-exec-boundary) (push) Has been cancelled
Docs Sync Publish Repo / sync-publish-repo (push) Has been cancelled
Docs / docs (push) Has been cancelled
OpenClaw Stable Main Closeout / Resolve stable release closeout inputs (push) Has been cancelled
OpenClaw Stable Main Closeout / Verify stable main closeout (push) Has been cancelled
Workflow Sanity / no-tabs (push) Has been cancelled
Workflow Sanity / actionlint (push) Has been cancelled
Workflow Sanity / generated-doc-baselines (push) Has been cancelled
CI / runner-admission (push) Has been cancelled
CI / preflight (push) Has been cancelled
CI / security-fast (push) Has been cancelled
CI / pnpm-store-warmup (push) Has been cancelled
CI / build-artifacts (push) Has been cancelled
CI / native-i18n (push) Has been cancelled
CI / ${{ matrix.check_name }} (push) Has been cancelled
CI / ${{ matrix.checkName }} (push) Has been cancelled
CI / checks-node-compat-node22 (push) Has been cancelled
CI / check-bundled-channel-config-metadata (push) Has been cancelled
CI / check-dependencies (push) Has been cancelled
CI / check-guards (push) Has been cancelled
CI / check-lint (push) Has been cancelled
CI / check-prod-types (push) Has been cancelled
CI / check-shrinkwrap (push) Has been cancelled
CI / check-test-types (push) Has been cancelled
CI / check-additional-boundaries-a (push) Has been cancelled
CI / check-additional-boundaries-bcd (push) Has been cancelled
CI / check-additional-extension-bundled (push) Has been cancelled
CI / check-additional-extension-channels (push) Has been cancelled
CI / check-additional-extension-package-boundary (push) Has been cancelled
CI / check-additional-runtime-topology-architecture (push) Has been cancelled
CI / check-session-accessor-boundary (push) Has been cancelled
CI / check-session-transcript-reader-boundary (push) Has been cancelled
CI / check-docs (push) Has been cancelled
CI / skills-python (push) Has been cancelled
CI / macos-swift (push) Has been cancelled
CI / ios-build (push) Has been cancelled
CI / ci-timings-summary (push) Has been cancelled
Native App Locale Refresh / Refresh native fa (push) Has been cancelled
Native App Locale Refresh / Refresh native fr (push) Has been cancelled
Native App Locale Refresh / Refresh native hi (push) Has been cancelled
Native App Locale Refresh / Refresh native id (push) Has been cancelled
Native App Locale Refresh / Refresh native it (push) Has been cancelled
Native App Locale Refresh / Refresh native ja-JP (push) Has been cancelled
Control UI Locale Refresh / plan (push) Has been cancelled
Control UI Locale Refresh / Refresh ${{ matrix.locale }} (push) Has been cancelled
Control UI Locale Refresh / Commit control UI locale refresh (push) Has been cancelled
Live Media Runner Image / Build live media runner image (push) Has been cancelled
Native App Locale Refresh / Refresh native ar (push) Has been cancelled
Native App Locale Refresh / Refresh native de (push) Has been cancelled
Native App Locale Refresh / Refresh native es (push) Has been cancelled
Native App Locale Refresh / Refresh native ko (push) Has been cancelled
Native App Locale Refresh / Refresh native nl (push) Has been cancelled
Native App Locale Refresh / Refresh native pl (push) Has been cancelled
Native App Locale Refresh / Refresh native pt-BR (push) Has been cancelled
Native App Locale Refresh / Refresh native ru (push) Has been cancelled
Native App Locale Refresh / Refresh native sv (push) Has been cancelled
Native App Locale Refresh / Refresh native th (push) Has been cancelled
Native App Locale Refresh / Refresh native tr (push) Has been cancelled
Native App Locale Refresh / Refresh native uk (push) Has been cancelled
Native App Locale Refresh / Refresh native vi (push) Has been cancelled
Native App Locale Refresh / Refresh native zh-CN (push) Has been cancelled
Native App Locale Refresh / Refresh native zh-TW (push) Has been cancelled
Native App Locale Refresh / Commit native locale refresh (push) Has been cancelled
Plugin Init Scaffold Validation / Validate provider scaffold (push) Has been cancelled
Plugin NPM Release / preview_plugins_npm (push) Has been cancelled
Plugin NPM Release / Validate release publish approval (push) Has been cancelled
Plugin NPM Release / preview_plugin_pack (push) Has been cancelled
Plugin NPM Release / publish_plugins_npm (push) Has been cancelled
Sandbox Common Smoke / sandbox-common-smoke (push) Has been cancelled
Website Installer Sync / static (push) Has been cancelled
Website Installer Sync / linux-docker (push) Has been cancelled
Website Installer Sync / macos-installer (push) Has been cancelled
Website Installer Sync / windows-installer (push) Has been cancelled
Website Installer Sync / sync-website (push) Has been cancelled
Adolf is a fork/vendored clone of github.com/openclaw/openclaw (v2026.6.11), free to diverge. Tree copied sans upstream .git; upstream remote added for future syncs. Node pinned to 24 (.nvmrc); engines already require >=22.19. Preserves docs/ARCHITECTURE.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LeqyaxJF2nbRXJtae2kNB2
This commit is contained in:
645
packages/gateway-protocol/src/schema/protocol-schemas.ts
Normal file
645
packages/gateway-protocol/src/schema/protocol-schemas.ts
Normal file
@@ -0,0 +1,645 @@
|
||||
/**
|
||||
* Central registry for every gateway protocol schema.
|
||||
*
|
||||
* The keys in this object are the public schema names used by validators,
|
||||
* generated static types, and protocol tooling. Add new entries here only after
|
||||
* the owning schema module exports the canonical TypeBox schema.
|
||||
*/
|
||||
import type { TSchema } from "typebox";
|
||||
import {
|
||||
AgentEventSchema,
|
||||
AgentIdentityParamsSchema,
|
||||
AgentIdentityResultSchema,
|
||||
AgentParamsSchema,
|
||||
AgentWaitParamsSchema,
|
||||
MessageActionParamsSchema,
|
||||
PollParamsSchema,
|
||||
SendParamsSchema,
|
||||
WakeParamsSchema,
|
||||
} from "./agent.js";
|
||||
import {
|
||||
AgentSummarySchema,
|
||||
AgentsCreateParamsSchema,
|
||||
AgentsCreateResultSchema,
|
||||
AgentsDeleteParamsSchema,
|
||||
AgentsDeleteResultSchema,
|
||||
AgentsFileEntrySchema,
|
||||
AgentsFilesGetParamsSchema,
|
||||
AgentsFilesGetResultSchema,
|
||||
AgentsFilesListParamsSchema,
|
||||
AgentsFilesListResultSchema,
|
||||
AgentsFilesSetParamsSchema,
|
||||
AgentsFilesSetResultSchema,
|
||||
AgentsListParamsSchema,
|
||||
AgentsListResultSchema,
|
||||
AgentsUpdateParamsSchema,
|
||||
AgentsUpdateResultSchema,
|
||||
ModelChoiceSchema,
|
||||
ModelsListParamsSchema,
|
||||
ModelsListResultSchema,
|
||||
SkillsBinsParamsSchema,
|
||||
SkillsBinsResultSchema,
|
||||
SkillsDetailParamsSchema,
|
||||
SkillsDetailResultSchema,
|
||||
SkillsInstallParamsSchema,
|
||||
SkillsProposalActionParamsSchema,
|
||||
SkillsProposalApplyResultSchema,
|
||||
SkillsProposalCreateParamsSchema,
|
||||
SkillsProposalInspectParamsSchema,
|
||||
SkillsProposalInspectResultSchema,
|
||||
SkillsProposalRecordResultSchema,
|
||||
SkillsProposalRequestRevisionParamsSchema,
|
||||
SkillsProposalRequestRevisionResultSchema,
|
||||
SkillsProposalReviseParamsSchema,
|
||||
SkillsProposalUpdateParamsSchema,
|
||||
SkillsProposalsListParamsSchema,
|
||||
SkillsProposalsListResultSchema,
|
||||
SkillsSearchParamsSchema,
|
||||
SkillsSearchResultSchema,
|
||||
SkillsSecurityVerdictsParamsSchema,
|
||||
SkillsSecurityVerdictsResultSchema,
|
||||
SkillsSkillCardParamsSchema,
|
||||
SkillsSkillCardResultSchema,
|
||||
SkillsStatusParamsSchema,
|
||||
SkillsUploadBeginParamsSchema,
|
||||
SkillsUploadChunkParamsSchema,
|
||||
SkillsUploadCommitParamsSchema,
|
||||
SkillsUpdateParamsSchema,
|
||||
ToolCatalogEntrySchema,
|
||||
ToolCatalogGroupSchema,
|
||||
ToolCatalogProfileSchema,
|
||||
ToolsCatalogParamsSchema,
|
||||
ToolsCatalogResultSchema,
|
||||
ToolsEffectiveEntrySchema,
|
||||
ToolsEffectiveGroupSchema,
|
||||
ToolsEffectiveNoticeSchema,
|
||||
ToolsEffectiveParamsSchema,
|
||||
ToolsEffectiveResultSchema,
|
||||
ToolsInvokeErrorSchema,
|
||||
ToolsInvokeParamsSchema,
|
||||
ToolsInvokeResultSchema,
|
||||
} from "./agents-models-skills.js";
|
||||
import {
|
||||
ArtifactSummarySchema,
|
||||
ArtifactsDownloadParamsSchema,
|
||||
ArtifactsDownloadResultSchema,
|
||||
ArtifactsGetParamsSchema,
|
||||
ArtifactsGetResultSchema,
|
||||
ArtifactsListParamsSchema,
|
||||
ArtifactsListResultSchema,
|
||||
} from "./artifacts.js";
|
||||
import {
|
||||
ChannelsStartParamsSchema,
|
||||
ChannelsStopParamsSchema,
|
||||
ChannelsLogoutParamsSchema,
|
||||
TalkEventSchema,
|
||||
TalkCatalogParamsSchema,
|
||||
TalkCatalogResultSchema,
|
||||
TalkClientCreateParamsSchema,
|
||||
TalkClientCreateResultSchema,
|
||||
TalkAgentControlResultSchema,
|
||||
TalkClientSteerParamsSchema,
|
||||
TalkClientToolCallParamsSchema,
|
||||
TalkClientToolCallResultSchema,
|
||||
TalkConfigParamsSchema,
|
||||
TalkConfigResultSchema,
|
||||
TalkSessionAppendAudioParamsSchema,
|
||||
TalkSessionCancelOutputParamsSchema,
|
||||
TalkSessionCancelTurnParamsSchema,
|
||||
TalkSessionCloseParamsSchema,
|
||||
TalkSessionCreateParamsSchema,
|
||||
TalkSessionCreateResultSchema,
|
||||
TalkSessionJoinParamsSchema,
|
||||
TalkSessionJoinResultSchema,
|
||||
TalkSessionOkResultSchema,
|
||||
TalkSessionSteerParamsSchema,
|
||||
TalkSessionSubmitToolResultParamsSchema,
|
||||
TalkSessionTurnResultSchema,
|
||||
TalkSessionTurnParamsSchema,
|
||||
TalkSpeakParamsSchema,
|
||||
TalkSpeakResultSchema,
|
||||
ChannelsStatusParamsSchema,
|
||||
ChannelsStatusResultSchema,
|
||||
TalkModeParamsSchema,
|
||||
WebLoginStartParamsSchema,
|
||||
WebLoginWaitParamsSchema,
|
||||
} from "./channels.js";
|
||||
import {
|
||||
CommandEntrySchema,
|
||||
CommandsListParamsSchema,
|
||||
CommandsListResultSchema,
|
||||
} from "./commands.js";
|
||||
import {
|
||||
ConfigApplyParamsSchema,
|
||||
ConfigGetParamsSchema,
|
||||
ConfigPatchParamsSchema,
|
||||
ConfigSchemaLookupParamsSchema,
|
||||
ConfigSchemaLookupResultSchema,
|
||||
ConfigSchemaParamsSchema,
|
||||
ConfigSchemaResponseSchema,
|
||||
ConfigSetParamsSchema,
|
||||
UpdateStatusParamsSchema,
|
||||
UpdateRunParamsSchema,
|
||||
} from "./config.js";
|
||||
import { CrestodianChatParamsSchema, CrestodianChatResultSchema } from "./crestodian.js";
|
||||
import {
|
||||
CronAddParamsSchema,
|
||||
CronGetParamsSchema,
|
||||
CronJobSchema,
|
||||
CronListParamsSchema,
|
||||
CronRemoveParamsSchema,
|
||||
CronRunLogEntrySchema,
|
||||
CronRunParamsSchema,
|
||||
CronRunsParamsSchema,
|
||||
CronStatusParamsSchema,
|
||||
CronUpdateParamsSchema,
|
||||
} from "./cron.js";
|
||||
import {
|
||||
DevicePairApproveParamsSchema,
|
||||
DevicePairListParamsSchema,
|
||||
DevicePairRemoveParamsSchema,
|
||||
DevicePairRejectParamsSchema,
|
||||
DevicePairRequestedEventSchema,
|
||||
DevicePairResolvedEventSchema,
|
||||
DevicePairSetupCodeParamsSchema,
|
||||
DevicePairSetupCodeResultSchema,
|
||||
DeviceTokenRevokeParamsSchema,
|
||||
DeviceTokenRotateParamsSchema,
|
||||
} from "./devices.js";
|
||||
import {
|
||||
EnvironmentSummarySchema,
|
||||
EnvironmentsListParamsSchema,
|
||||
EnvironmentsListResultSchema,
|
||||
EnvironmentsStatusParamsSchema,
|
||||
EnvironmentsStatusResultSchema,
|
||||
EnvironmentStatusSchema,
|
||||
} from "./environments.js";
|
||||
import {
|
||||
ExecApprovalsGetParamsSchema,
|
||||
ExecApprovalsNodeGetParamsSchema,
|
||||
ExecApprovalsNodeSetParamsSchema,
|
||||
ExecApprovalsSetParamsSchema,
|
||||
ExecApprovalsSnapshotSchema,
|
||||
ExecApprovalGetParamsSchema,
|
||||
ExecApprovalRequestParamsSchema,
|
||||
ExecApprovalResolveParamsSchema,
|
||||
} from "./exec-approvals.js";
|
||||
import {
|
||||
ConnectParamsSchema,
|
||||
ErrorShapeSchema,
|
||||
EventFrameSchema,
|
||||
GatewayFrameSchema,
|
||||
HelloOkSchema,
|
||||
RequestFrameSchema,
|
||||
ResponseFrameSchema,
|
||||
ShutdownEventSchema,
|
||||
TickEventSchema,
|
||||
} from "./frames.js";
|
||||
import {
|
||||
ChatAbortedEventSchema,
|
||||
ChatAbortParamsSchema,
|
||||
ChatDeltaEventSchema,
|
||||
ChatErrorEventSchema,
|
||||
ChatEventSchema,
|
||||
ChatFinalEventSchema,
|
||||
ChatHistoryParamsSchema,
|
||||
ChatMetadataParamsSchema,
|
||||
ChatMessageGetParamsSchema,
|
||||
ChatMessageGetResultSchema,
|
||||
ChatInjectParamsSchema,
|
||||
ChatSendParamsSchema,
|
||||
LogsTailParamsSchema,
|
||||
LogsTailResultSchema,
|
||||
} from "./logs-chat.js";
|
||||
import {
|
||||
NodeDescribeParamsSchema,
|
||||
NodeEventParamsSchema,
|
||||
NodeEventResultSchema,
|
||||
NodePendingDrainParamsSchema,
|
||||
NodePendingDrainResultSchema,
|
||||
NodePendingEnqueueParamsSchema,
|
||||
NodePendingEnqueueResultSchema,
|
||||
NodePresenceAlivePayloadSchema,
|
||||
NodePresenceAliveReasonSchema,
|
||||
NodeInvokeParamsSchema,
|
||||
NodeInvokeResultParamsSchema,
|
||||
NodeInvokeRequestEventSchema,
|
||||
NodeListParamsSchema,
|
||||
NodePendingAckParamsSchema,
|
||||
NodePairApproveParamsSchema,
|
||||
NodePairListParamsSchema,
|
||||
NodePairRemoveParamsSchema,
|
||||
NodePairRejectParamsSchema,
|
||||
NodePairRequestParamsSchema,
|
||||
NodePairVerifyParamsSchema,
|
||||
NodeRenameParamsSchema,
|
||||
} from "./nodes.js";
|
||||
import {
|
||||
PluginApprovalRequestParamsSchema,
|
||||
PluginApprovalResolveParamsSchema,
|
||||
} from "./plugin-approvals.js";
|
||||
import {
|
||||
PluginControlUiDescriptorSchema,
|
||||
PluginsSessionActionFailureResultSchema,
|
||||
PluginsSessionActionParamsSchema,
|
||||
PluginsSessionActionResultSchema,
|
||||
PluginsSessionActionSuccessResultSchema,
|
||||
PluginsUiDescriptorsParamsSchema,
|
||||
PluginsUiDescriptorsResultSchema,
|
||||
} from "./plugins.js";
|
||||
import { PushTestParamsSchema, PushTestResultSchema } from "./push.js";
|
||||
import {
|
||||
SecretsReloadParamsSchema,
|
||||
SecretsResolveAssignmentSchema,
|
||||
SecretsResolveParamsSchema,
|
||||
SecretsResolveResultSchema,
|
||||
} from "./secrets.js";
|
||||
import {
|
||||
SessionsAbortParamsSchema,
|
||||
SessionsCompactParamsSchema,
|
||||
SessionsCompactionBranchParamsSchema,
|
||||
SessionsCompactionBranchResultSchema,
|
||||
SessionsCompactionGetParamsSchema,
|
||||
SessionsCompactionGetResultSchema,
|
||||
SessionsCompactionListParamsSchema,
|
||||
SessionsCompactionListResultSchema,
|
||||
SessionsCompactionRestoreParamsSchema,
|
||||
SessionsCompactionRestoreResultSchema,
|
||||
SessionFileBrowserEntrySchema,
|
||||
SessionFileBrowserResultSchema,
|
||||
SessionCompactionCheckpointSchema,
|
||||
SessionFileEntrySchema,
|
||||
SessionFileKindSchema,
|
||||
SessionFileRelevanceSchema,
|
||||
SessionOperationEventSchema,
|
||||
SessionsCleanupParamsSchema,
|
||||
SessionsCreateParamsSchema,
|
||||
SessionsDeleteParamsSchema,
|
||||
SessionsDescribeParamsSchema,
|
||||
SessionsFilesGetParamsSchema,
|
||||
SessionsFilesGetResultSchema,
|
||||
SessionsFilesListParamsSchema,
|
||||
SessionsFilesListResultSchema,
|
||||
SessionsListParamsSchema,
|
||||
SessionsMessagesSubscribeParamsSchema,
|
||||
SessionsMessagesUnsubscribeParamsSchema,
|
||||
SessionsPatchParamsSchema,
|
||||
SessionsPluginPatchParamsSchema,
|
||||
SessionsPluginPatchResultSchema,
|
||||
SessionsPreviewParamsSchema,
|
||||
SessionsResetParamsSchema,
|
||||
SessionsResolveParamsSchema,
|
||||
SessionsSendParamsSchema,
|
||||
SessionsUsageParamsSchema,
|
||||
} from "./sessions.js";
|
||||
import { PresenceEntrySchema, SnapshotSchema, StateVersionSchema } from "./snapshot.js";
|
||||
import {
|
||||
TasksCancelParamsSchema,
|
||||
TasksCancelResultSchema,
|
||||
TasksGetParamsSchema,
|
||||
TasksGetResultSchema,
|
||||
TasksListParamsSchema,
|
||||
TasksListResultSchema,
|
||||
TaskSummarySchema,
|
||||
} from "./tasks.js";
|
||||
import {
|
||||
TerminalAckResultSchema,
|
||||
TerminalAttachParamsSchema,
|
||||
TerminalAttachResultSchema,
|
||||
TerminalCloseParamsSchema,
|
||||
TerminalDataEventSchema,
|
||||
TerminalEventSchema,
|
||||
TerminalExitEventSchema,
|
||||
TerminalInputParamsSchema,
|
||||
TerminalListResultSchema,
|
||||
TerminalOpenParamsSchema,
|
||||
TerminalOpenResultSchema,
|
||||
TerminalResizeParamsSchema,
|
||||
TerminalSessionInfoSchema,
|
||||
TerminalTextParamsSchema,
|
||||
TerminalTextResultSchema,
|
||||
} from "./terminal.js";
|
||||
import {
|
||||
WizardCancelParamsSchema,
|
||||
WizardNextParamsSchema,
|
||||
WizardNextResultSchema,
|
||||
WizardStartParamsSchema,
|
||||
WizardStartResultSchema,
|
||||
WizardStatusParamsSchema,
|
||||
WizardStatusResultSchema,
|
||||
WizardStepSchema,
|
||||
} from "./wizard.js";
|
||||
|
||||
/** Public schema registry keyed by stable protocol schema name. */
|
||||
export const ProtocolSchemas = {
|
||||
// Handshake, transport frames, state snapshots, and shared error envelopes.
|
||||
ConnectParams: ConnectParamsSchema,
|
||||
HelloOk: HelloOkSchema,
|
||||
RequestFrame: RequestFrameSchema,
|
||||
ResponseFrame: ResponseFrameSchema,
|
||||
EventFrame: EventFrameSchema,
|
||||
GatewayFrame: GatewayFrameSchema,
|
||||
PresenceEntry: PresenceEntrySchema,
|
||||
StateVersion: StateVersionSchema,
|
||||
Snapshot: SnapshotSchema,
|
||||
ErrorShape: ErrorShapeSchema,
|
||||
|
||||
// Environment and agent-facing control RPC payloads.
|
||||
EnvironmentStatus: EnvironmentStatusSchema,
|
||||
EnvironmentSummary: EnvironmentSummarySchema,
|
||||
EnvironmentsListParams: EnvironmentsListParamsSchema,
|
||||
EnvironmentsListResult: EnvironmentsListResultSchema,
|
||||
EnvironmentsStatusParams: EnvironmentsStatusParamsSchema,
|
||||
EnvironmentsStatusResult: EnvironmentsStatusResultSchema,
|
||||
AgentEvent: AgentEventSchema,
|
||||
MessageActionParams: MessageActionParamsSchema,
|
||||
SendParams: SendParamsSchema,
|
||||
PollParams: PollParamsSchema,
|
||||
AgentParams: AgentParamsSchema,
|
||||
AgentIdentityParams: AgentIdentityParamsSchema,
|
||||
AgentIdentityResult: AgentIdentityResultSchema,
|
||||
AgentWaitParams: AgentWaitParamsSchema,
|
||||
WakeParams: WakeParamsSchema,
|
||||
|
||||
// Node pairing, invocation, presence, and pending-queue payloads.
|
||||
NodePairRequestParams: NodePairRequestParamsSchema,
|
||||
NodePairListParams: NodePairListParamsSchema,
|
||||
NodePairApproveParams: NodePairApproveParamsSchema,
|
||||
NodePairRejectParams: NodePairRejectParamsSchema,
|
||||
NodePairRemoveParams: NodePairRemoveParamsSchema,
|
||||
NodePairVerifyParams: NodePairVerifyParamsSchema,
|
||||
NodeRenameParams: NodeRenameParamsSchema,
|
||||
NodeListParams: NodeListParamsSchema,
|
||||
NodePendingAckParams: NodePendingAckParamsSchema,
|
||||
NodeDescribeParams: NodeDescribeParamsSchema,
|
||||
NodeInvokeParams: NodeInvokeParamsSchema,
|
||||
NodeInvokeResultParams: NodeInvokeResultParamsSchema,
|
||||
NodeEventParams: NodeEventParamsSchema,
|
||||
NodeEventResult: NodeEventResultSchema,
|
||||
NodePresenceAlivePayload: NodePresenceAlivePayloadSchema,
|
||||
NodePresenceAliveReason: NodePresenceAliveReasonSchema,
|
||||
NodePendingDrainParams: NodePendingDrainParamsSchema,
|
||||
NodePendingDrainResult: NodePendingDrainResultSchema,
|
||||
NodePendingEnqueueParams: NodePendingEnqueueParamsSchema,
|
||||
NodePendingEnqueueResult: NodePendingEnqueueResultSchema,
|
||||
NodeInvokeRequestEvent: NodeInvokeRequestEventSchema,
|
||||
|
||||
// Push and secret-resolution payloads used by mobile/control integrations.
|
||||
PushTestParams: PushTestParamsSchema,
|
||||
PushTestResult: PushTestResultSchema,
|
||||
SecretsReloadParams: SecretsReloadParamsSchema,
|
||||
SecretsResolveParams: SecretsResolveParamsSchema,
|
||||
SecretsResolveAssignment: SecretsResolveAssignmentSchema,
|
||||
SecretsResolveResult: SecretsResolveResultSchema,
|
||||
|
||||
// Session lifecycle, message routing, compaction, and usage accounting.
|
||||
SessionsListParams: SessionsListParamsSchema,
|
||||
SessionsCleanupParams: SessionsCleanupParamsSchema,
|
||||
SessionsPreviewParams: SessionsPreviewParamsSchema,
|
||||
SessionsDescribeParams: SessionsDescribeParamsSchema,
|
||||
SessionsResolveParams: SessionsResolveParamsSchema,
|
||||
SessionCompactionCheckpoint: SessionCompactionCheckpointSchema,
|
||||
SessionOperationEvent: SessionOperationEventSchema,
|
||||
SessionsCompactionListParams: SessionsCompactionListParamsSchema,
|
||||
SessionsCompactionGetParams: SessionsCompactionGetParamsSchema,
|
||||
SessionsCompactionBranchParams: SessionsCompactionBranchParamsSchema,
|
||||
SessionsCompactionRestoreParams: SessionsCompactionRestoreParamsSchema,
|
||||
SessionsCompactionListResult: SessionsCompactionListResultSchema,
|
||||
SessionsCompactionGetResult: SessionsCompactionGetResultSchema,
|
||||
SessionsCompactionBranchResult: SessionsCompactionBranchResultSchema,
|
||||
SessionsCompactionRestoreResult: SessionsCompactionRestoreResultSchema,
|
||||
SessionFileBrowserEntry: SessionFileBrowserEntrySchema,
|
||||
SessionFileBrowserResult: SessionFileBrowserResultSchema,
|
||||
SessionFileKind: SessionFileKindSchema,
|
||||
SessionFileEntry: SessionFileEntrySchema,
|
||||
SessionFileRelevance: SessionFileRelevanceSchema,
|
||||
SessionsFilesListParams: SessionsFilesListParamsSchema,
|
||||
SessionsFilesListResult: SessionsFilesListResultSchema,
|
||||
SessionsFilesGetParams: SessionsFilesGetParamsSchema,
|
||||
SessionsFilesGetResult: SessionsFilesGetResultSchema,
|
||||
SessionsCreateParams: SessionsCreateParamsSchema,
|
||||
SessionsSendParams: SessionsSendParamsSchema,
|
||||
SessionsMessagesSubscribeParams: SessionsMessagesSubscribeParamsSchema,
|
||||
SessionsMessagesUnsubscribeParams: SessionsMessagesUnsubscribeParamsSchema,
|
||||
SessionsAbortParams: SessionsAbortParamsSchema,
|
||||
SessionsPatchParams: SessionsPatchParamsSchema,
|
||||
SessionsPluginPatchParams: SessionsPluginPatchParamsSchema,
|
||||
SessionsPluginPatchResult: SessionsPluginPatchResultSchema,
|
||||
SessionsResetParams: SessionsResetParamsSchema,
|
||||
SessionsDeleteParams: SessionsDeleteParamsSchema,
|
||||
SessionsCompactParams: SessionsCompactParamsSchema,
|
||||
SessionsUsageParams: SessionsUsageParamsSchema,
|
||||
|
||||
// Task ledger and config/wizard setup payloads.
|
||||
TaskSummary: TaskSummarySchema,
|
||||
TasksListParams: TasksListParamsSchema,
|
||||
TasksListResult: TasksListResultSchema,
|
||||
TasksGetParams: TasksGetParamsSchema,
|
||||
TasksGetResult: TasksGetResultSchema,
|
||||
TasksCancelParams: TasksCancelParamsSchema,
|
||||
TasksCancelResult: TasksCancelResultSchema,
|
||||
ConfigGetParams: ConfigGetParamsSchema,
|
||||
ConfigSetParams: ConfigSetParamsSchema,
|
||||
ConfigApplyParams: ConfigApplyParamsSchema,
|
||||
ConfigPatchParams: ConfigPatchParamsSchema,
|
||||
ConfigSchemaParams: ConfigSchemaParamsSchema,
|
||||
ConfigSchemaLookupParams: ConfigSchemaLookupParamsSchema,
|
||||
ConfigSchemaResponse: ConfigSchemaResponseSchema,
|
||||
ConfigSchemaLookupResult: ConfigSchemaLookupResultSchema,
|
||||
CrestodianChatParams: CrestodianChatParamsSchema,
|
||||
CrestodianChatResult: CrestodianChatResultSchema,
|
||||
WizardStartParams: WizardStartParamsSchema,
|
||||
WizardNextParams: WizardNextParamsSchema,
|
||||
WizardCancelParams: WizardCancelParamsSchema,
|
||||
WizardStatusParams: WizardStatusParamsSchema,
|
||||
WizardStep: WizardStepSchema,
|
||||
WizardNextResult: WizardNextResultSchema,
|
||||
WizardStartResult: WizardStartResultSchema,
|
||||
WizardStatusResult: WizardStatusResultSchema,
|
||||
|
||||
// Realtime Talk client/session events and channel control payloads.
|
||||
TalkModeParams: TalkModeParamsSchema,
|
||||
TalkEvent: TalkEventSchema,
|
||||
TalkCatalogParams: TalkCatalogParamsSchema,
|
||||
TalkCatalogResult: TalkCatalogResultSchema,
|
||||
TalkClientCreateParams: TalkClientCreateParamsSchema,
|
||||
TalkClientCreateResult: TalkClientCreateResultSchema,
|
||||
TalkClientSteerParams: TalkClientSteerParamsSchema,
|
||||
TalkAgentControlResult: TalkAgentControlResultSchema,
|
||||
TalkClientToolCallParams: TalkClientToolCallParamsSchema,
|
||||
TalkClientToolCallResult: TalkClientToolCallResultSchema,
|
||||
TalkConfigParams: TalkConfigParamsSchema,
|
||||
TalkConfigResult: TalkConfigResultSchema,
|
||||
TalkSessionAppendAudioParams: TalkSessionAppendAudioParamsSchema,
|
||||
TalkSessionCancelOutputParams: TalkSessionCancelOutputParamsSchema,
|
||||
TalkSessionCancelTurnParams: TalkSessionCancelTurnParamsSchema,
|
||||
TalkSessionCreateParams: TalkSessionCreateParamsSchema,
|
||||
TalkSessionCreateResult: TalkSessionCreateResultSchema,
|
||||
TalkSessionJoinParams: TalkSessionJoinParamsSchema,
|
||||
TalkSessionJoinResult: TalkSessionJoinResultSchema,
|
||||
TalkSessionTurnParams: TalkSessionTurnParamsSchema,
|
||||
TalkSessionTurnResult: TalkSessionTurnResultSchema,
|
||||
TalkSessionSteerParams: TalkSessionSteerParamsSchema,
|
||||
TalkSessionSubmitToolResultParams: TalkSessionSubmitToolResultParamsSchema,
|
||||
TalkSessionCloseParams: TalkSessionCloseParamsSchema,
|
||||
TalkSessionOkResult: TalkSessionOkResultSchema,
|
||||
TalkSpeakParams: TalkSpeakParamsSchema,
|
||||
TalkSpeakResult: TalkSpeakResultSchema,
|
||||
ChannelsStatusParams: ChannelsStatusParamsSchema,
|
||||
ChannelsStatusResult: ChannelsStatusResultSchema,
|
||||
ChannelsStartParams: ChannelsStartParamsSchema,
|
||||
ChannelsStopParams: ChannelsStopParamsSchema,
|
||||
ChannelsLogoutParams: ChannelsLogoutParamsSchema,
|
||||
WebLoginStartParams: WebLoginStartParamsSchema,
|
||||
WebLoginWaitParams: WebLoginWaitParamsSchema,
|
||||
|
||||
// Agent files, artifacts, model catalogs, commands, tools, and skill workshop.
|
||||
AgentSummary: AgentSummarySchema,
|
||||
AgentsCreateParams: AgentsCreateParamsSchema,
|
||||
AgentsCreateResult: AgentsCreateResultSchema,
|
||||
AgentsUpdateParams: AgentsUpdateParamsSchema,
|
||||
AgentsUpdateResult: AgentsUpdateResultSchema,
|
||||
AgentsDeleteParams: AgentsDeleteParamsSchema,
|
||||
AgentsDeleteResult: AgentsDeleteResultSchema,
|
||||
AgentsFileEntry: AgentsFileEntrySchema,
|
||||
AgentsFilesListParams: AgentsFilesListParamsSchema,
|
||||
AgentsFilesListResult: AgentsFilesListResultSchema,
|
||||
AgentsFilesGetParams: AgentsFilesGetParamsSchema,
|
||||
AgentsFilesGetResult: AgentsFilesGetResultSchema,
|
||||
AgentsFilesSetParams: AgentsFilesSetParamsSchema,
|
||||
AgentsFilesSetResult: AgentsFilesSetResultSchema,
|
||||
ArtifactSummary: ArtifactSummarySchema,
|
||||
ArtifactsListParams: ArtifactsListParamsSchema,
|
||||
ArtifactsListResult: ArtifactsListResultSchema,
|
||||
ArtifactsGetParams: ArtifactsGetParamsSchema,
|
||||
ArtifactsGetResult: ArtifactsGetResultSchema,
|
||||
ArtifactsDownloadParams: ArtifactsDownloadParamsSchema,
|
||||
ArtifactsDownloadResult: ArtifactsDownloadResultSchema,
|
||||
AgentsListParams: AgentsListParamsSchema,
|
||||
AgentsListResult: AgentsListResultSchema,
|
||||
ModelChoice: ModelChoiceSchema,
|
||||
ModelsListParams: ModelsListParamsSchema,
|
||||
ModelsListResult: ModelsListResultSchema,
|
||||
CommandEntry: CommandEntrySchema,
|
||||
CommandsListParams: CommandsListParamsSchema,
|
||||
CommandsListResult: CommandsListResultSchema,
|
||||
SkillsStatusParams: SkillsStatusParamsSchema,
|
||||
ToolsCatalogParams: ToolsCatalogParamsSchema,
|
||||
ToolCatalogProfile: ToolCatalogProfileSchema,
|
||||
ToolCatalogEntry: ToolCatalogEntrySchema,
|
||||
ToolCatalogGroup: ToolCatalogGroupSchema,
|
||||
ToolsCatalogResult: ToolsCatalogResultSchema,
|
||||
ToolsEffectiveParams: ToolsEffectiveParamsSchema,
|
||||
ToolsEffectiveEntry: ToolsEffectiveEntrySchema,
|
||||
ToolsEffectiveGroup: ToolsEffectiveGroupSchema,
|
||||
ToolsEffectiveNotice: ToolsEffectiveNoticeSchema,
|
||||
ToolsEffectiveResult: ToolsEffectiveResultSchema,
|
||||
ToolsInvokeParams: ToolsInvokeParamsSchema,
|
||||
ToolsInvokeError: ToolsInvokeErrorSchema,
|
||||
ToolsInvokeResult: ToolsInvokeResultSchema,
|
||||
SkillsBinsParams: SkillsBinsParamsSchema,
|
||||
SkillsBinsResult: SkillsBinsResultSchema,
|
||||
SkillsSearchParams: SkillsSearchParamsSchema,
|
||||
SkillsSearchResult: SkillsSearchResultSchema,
|
||||
SkillsDetailParams: SkillsDetailParamsSchema,
|
||||
SkillsDetailResult: SkillsDetailResultSchema,
|
||||
SkillsProposalsListParams: SkillsProposalsListParamsSchema,
|
||||
SkillsProposalsListResult: SkillsProposalsListResultSchema,
|
||||
SkillsProposalInspectParams: SkillsProposalInspectParamsSchema,
|
||||
SkillsProposalInspectResult: SkillsProposalInspectResultSchema,
|
||||
SkillsProposalCreateParams: SkillsProposalCreateParamsSchema,
|
||||
SkillsProposalUpdateParams: SkillsProposalUpdateParamsSchema,
|
||||
SkillsProposalReviseParams: SkillsProposalReviseParamsSchema,
|
||||
SkillsProposalRequestRevisionParams: SkillsProposalRequestRevisionParamsSchema,
|
||||
SkillsProposalRequestRevisionResult: SkillsProposalRequestRevisionResultSchema,
|
||||
SkillsProposalActionParams: SkillsProposalActionParamsSchema,
|
||||
SkillsProposalApplyResult: SkillsProposalApplyResultSchema,
|
||||
SkillsProposalRecordResult: SkillsProposalRecordResultSchema,
|
||||
SkillsSecurityVerdictsParams: SkillsSecurityVerdictsParamsSchema,
|
||||
SkillsSecurityVerdictsResult: SkillsSecurityVerdictsResultSchema,
|
||||
SkillsSkillCardParams: SkillsSkillCardParamsSchema,
|
||||
SkillsSkillCardResult: SkillsSkillCardResultSchema,
|
||||
SkillsUploadBeginParams: SkillsUploadBeginParamsSchema,
|
||||
SkillsUploadChunkParams: SkillsUploadChunkParamsSchema,
|
||||
SkillsUploadCommitParams: SkillsUploadCommitParamsSchema,
|
||||
SkillsInstallParams: SkillsInstallParamsSchema,
|
||||
SkillsUpdateParams: SkillsUpdateParamsSchema,
|
||||
|
||||
// Scheduler, logs, approval, plugin control, device, chat, and lifecycle events.
|
||||
CronJob: CronJobSchema,
|
||||
CronListParams: CronListParamsSchema,
|
||||
CronStatusParams: CronStatusParamsSchema,
|
||||
CronGetParams: CronGetParamsSchema,
|
||||
CronAddParams: CronAddParamsSchema,
|
||||
CronUpdateParams: CronUpdateParamsSchema,
|
||||
CronRemoveParams: CronRemoveParamsSchema,
|
||||
CronRunParams: CronRunParamsSchema,
|
||||
CronRunsParams: CronRunsParamsSchema,
|
||||
CronRunLogEntry: CronRunLogEntrySchema,
|
||||
LogsTailParams: LogsTailParamsSchema,
|
||||
LogsTailResult: LogsTailResultSchema,
|
||||
TerminalOpenParams: TerminalOpenParamsSchema,
|
||||
TerminalOpenResult: TerminalOpenResultSchema,
|
||||
TerminalInputParams: TerminalInputParamsSchema,
|
||||
TerminalResizeParams: TerminalResizeParamsSchema,
|
||||
TerminalCloseParams: TerminalCloseParamsSchema,
|
||||
TerminalAttachParams: TerminalAttachParamsSchema,
|
||||
TerminalAttachResult: TerminalAttachResultSchema,
|
||||
TerminalSessionInfo: TerminalSessionInfoSchema,
|
||||
TerminalListResult: TerminalListResultSchema,
|
||||
TerminalTextParams: TerminalTextParamsSchema,
|
||||
TerminalTextResult: TerminalTextResultSchema,
|
||||
TerminalAckResult: TerminalAckResultSchema,
|
||||
TerminalDataEvent: TerminalDataEventSchema,
|
||||
TerminalExitEvent: TerminalExitEventSchema,
|
||||
TerminalEvent: TerminalEventSchema,
|
||||
ExecApprovalsGetParams: ExecApprovalsGetParamsSchema,
|
||||
ExecApprovalsSetParams: ExecApprovalsSetParamsSchema,
|
||||
ExecApprovalsNodeGetParams: ExecApprovalsNodeGetParamsSchema,
|
||||
ExecApprovalsNodeSetParams: ExecApprovalsNodeSetParamsSchema,
|
||||
ExecApprovalsSnapshot: ExecApprovalsSnapshotSchema,
|
||||
ExecApprovalGetParams: ExecApprovalGetParamsSchema,
|
||||
ExecApprovalRequestParams: ExecApprovalRequestParamsSchema,
|
||||
ExecApprovalResolveParams: ExecApprovalResolveParamsSchema,
|
||||
PluginApprovalRequestParams: PluginApprovalRequestParamsSchema,
|
||||
PluginApprovalResolveParams: PluginApprovalResolveParamsSchema,
|
||||
PluginControlUiDescriptor: PluginControlUiDescriptorSchema,
|
||||
PluginsSessionActionFailureResult: PluginsSessionActionFailureResultSchema,
|
||||
PluginsSessionActionParams: PluginsSessionActionParamsSchema,
|
||||
PluginsSessionActionResult: PluginsSessionActionResultSchema,
|
||||
PluginsSessionActionSuccessResult: PluginsSessionActionSuccessResultSchema,
|
||||
PluginsUiDescriptorsParams: PluginsUiDescriptorsParamsSchema,
|
||||
PluginsUiDescriptorsResult: PluginsUiDescriptorsResultSchema,
|
||||
DevicePairListParams: DevicePairListParamsSchema,
|
||||
DevicePairApproveParams: DevicePairApproveParamsSchema,
|
||||
DevicePairRejectParams: DevicePairRejectParamsSchema,
|
||||
DevicePairRemoveParams: DevicePairRemoveParamsSchema,
|
||||
DevicePairSetupCodeParams: DevicePairSetupCodeParamsSchema,
|
||||
DevicePairSetupCodeResult: DevicePairSetupCodeResultSchema,
|
||||
DeviceTokenRotateParams: DeviceTokenRotateParamsSchema,
|
||||
DeviceTokenRevokeParams: DeviceTokenRevokeParamsSchema,
|
||||
DevicePairRequestedEvent: DevicePairRequestedEventSchema,
|
||||
DevicePairResolvedEvent: DevicePairResolvedEventSchema,
|
||||
ChatHistoryParams: ChatHistoryParamsSchema,
|
||||
ChatMetadataParams: ChatMetadataParamsSchema,
|
||||
ChatMessageGetParams: ChatMessageGetParamsSchema,
|
||||
ChatMessageGetResult: ChatMessageGetResultSchema,
|
||||
ChatSendParams: ChatSendParamsSchema,
|
||||
ChatAbortParams: ChatAbortParamsSchema,
|
||||
ChatInjectParams: ChatInjectParamsSchema,
|
||||
ChatDeltaEvent: ChatDeltaEventSchema,
|
||||
ChatFinalEvent: ChatFinalEventSchema,
|
||||
ChatAbortedEvent: ChatAbortedEventSchema,
|
||||
ChatErrorEvent: ChatErrorEventSchema,
|
||||
ChatEvent: ChatEventSchema,
|
||||
UpdateStatusParams: UpdateStatusParamsSchema,
|
||||
UpdateRunParams: UpdateRunParamsSchema,
|
||||
TickEvent: TickEventSchema,
|
||||
ShutdownEvent: ShutdownEventSchema,
|
||||
} satisfies Record<string, TSchema>;
|
||||
|
||||
export {
|
||||
MIN_CLIENT_PROTOCOL_VERSION,
|
||||
MIN_PROBE_PROTOCOL_VERSION,
|
||||
PROTOCOL_VERSION,
|
||||
} from "../version.js";
|
||||
Reference in New Issue
Block a user