import { Static, TSchema, Type } from "typebox"; //#region packages/gateway-protocol/src/schema/agent.d.ts declare const AgentEventSchema: Type.TObject<{ runId: Type.TString; seq: Type.TInteger; stream: Type.TString; ts: Type.TInteger; spawnedBy: Type.TOptional; isHeartbeat: Type.TOptional; data: Type.TRecord<"^.*$", Type.TUnknown>; }>; declare const MessageActionParamsSchema: Type.TObject<{ channel: Type.TString; action: Type.TString; params: Type.TRecord<"^.*$", Type.TUnknown>; accountId: Type.TOptional; requesterSenderId: Type.TOptional; senderIsOwner: Type.TOptional; sessionKey: Type.TOptional; sessionId: Type.TOptional; inboundTurnKind: Type.TOptional; agentId: Type.TOptional; toolContext: Type.TOptional; currentGraphChannelId: Type.TOptional; currentChannelProvider: Type.TOptional; currentThreadTs: Type.TOptional; currentMessageId: Type.TOptional>; replyToMode: Type.TOptional, Type.TLiteral<"first">, Type.TLiteral<"all">, Type.TLiteral<"batched">]>>; hasRepliedRef: Type.TOptional>; skipCrossContextDecoration: Type.TOptional; }>>; idempotencyKey: Type.TString; }>; declare const SendParamsSchema: Type.TObject<{ to: Type.TString; message: Type.TOptional; mediaUrl: Type.TOptional; mediaUrls: Type.TOptional>; asVoice: Type.TOptional; gifPlayback: Type.TOptional; channel: Type.TOptional; accountId: Type.TOptional; /** Optional agent id for per-agent media root resolution on gateway sends. */ agentId: Type.TOptional; /** Reply target message id for native quoted/threaded sends where supported. */ replyToId: Type.TOptional; /** Thread id (channel-specific meaning, e.g. Telegram forum topic id). */ threadId: Type.TOptional; /** Force document-style media sends where supported. */ forceDocument: Type.TOptional; /** Send silently (no notification) where supported. */ silent: Type.TOptional; /** Channel-specific parse mode for formatted text. */ parseMode: Type.TOptional>; /** Optional session key for mirroring delivered output back into the transcript. */ sessionKey: Type.TOptional; idempotencyKey: Type.TString; }>; declare const PollParamsSchema: Type.TObject<{ to: Type.TString; question: Type.TString; options: Type.TArray; maxSelections: Type.TOptional; /** Poll duration in seconds (channel-specific limits may apply). */ durationSeconds: Type.TOptional; durationHours: Type.TOptional; /** Send silently (no notification) where supported. */ silent: Type.TOptional; /** Poll anonymity where supported (e.g. Telegram polls default to anonymous). */ isAnonymous: Type.TOptional; /** Thread id (channel-specific meaning, e.g. Telegram forum topic id). */ threadId: Type.TOptional; channel: Type.TOptional; accountId: Type.TOptional; idempotencyKey: Type.TString; }>; declare const AgentParamsSchema: Type.TObject<{ message: Type.TString; agentId: Type.TOptional; provider: Type.TOptional; model: Type.TOptional; to: Type.TOptional; replyTo: Type.TOptional; sessionId: Type.TOptional; sessionKey: Type.TOptional; thinking: Type.TOptional; deliver: Type.TOptional; attachments: Type.TOptional>; channel: Type.TOptional; replyChannel: Type.TOptional; accountId: Type.TOptional; replyAccountId: Type.TOptional; threadId: Type.TOptional; groupId: Type.TOptional; groupChannel: Type.TOptional; groupSpace: Type.TOptional; timeout: Type.TOptional; bestEffortDeliver: Type.TOptional; lane: Type.TOptional; cleanupBundleMcpOnRunEnd: Type.TOptional; modelRun: Type.TOptional; promptMode: Type.TOptional, Type.TLiteral<"minimal">, Type.TLiteral<"none">]>>; extraSystemPrompt: Type.TOptional; bootstrapContextMode: Type.TOptional, Type.TLiteral<"lightweight">]>>; bootstrapContextRunKind: Type.TOptional, Type.TLiteral<"heartbeat">, Type.TLiteral<"cron">]>>; acpTurnSource: Type.TOptional>; internalRuntimeHandoffId: Type.TOptional; internalEvents: Type.TOptional; source: Type.TString; childSessionKey: Type.TString; childSessionId: Type.TOptional; announceType: Type.TString; taskLabel: Type.TString; status: Type.TString; statusLabel: Type.TString; result: Type.TString; attachments: Type.TOptional; path: Type.TOptional; url: Type.TOptional; mediaUrl: Type.TOptional; filePath: Type.TOptional; mimeType: Type.TOptional; name: Type.TOptional; }>>>; mediaUrls: Type.TOptional>; statsLine: Type.TOptional; replyInstruction: Type.TString; }>>>; inputProvenance: Type.TOptional; sourceSessionKey: Type.TOptional; sourceChannel: Type.TOptional; sourceTool: Type.TOptional; }>>; suppressPromptPersistence: Type.TOptional; sessionEffects: Type.TOptional, Type.TLiteral<"internal">]>>; sourceReplyDeliveryMode: Type.TOptional, Type.TLiteral<"message_tool_only">]>>; disableMessageTool: Type.TOptional; voiceWakeTrigger: Type.TOptional; idempotencyKey: Type.TString; label: Type.TOptional; }>; declare const AgentIdentityParamsSchema: Type.TObject<{ agentId: Type.TOptional; sessionKey: Type.TOptional; }>; declare const AgentIdentityResultSchema: Type.TObject<{ agentId: Type.TString; name: Type.TOptional; avatar: Type.TOptional; avatarSource: Type.TOptional; avatarStatus: Type.TOptional; avatarReason: Type.TOptional; emoji: Type.TOptional; }>; declare const WakeParamsSchema: Type.TObject<{ mode: Type.TUnion<[Type.TLiteral<"now">, Type.TLiteral<"next-heartbeat">]>; text: Type.TString; sessionKey: Type.TOptional; }>; //#endregion //#region packages/gateway-protocol/src/schema/agents-models-skills.d.ts declare const AgentSummarySchema: Type.TObject<{ id: Type.TString; name: Type.TOptional; identity: Type.TOptional; theme: Type.TOptional; emoji: Type.TOptional; avatar: Type.TOptional; avatarUrl: Type.TOptional; }>>; workspace: Type.TOptional; model: Type.TOptional; fallbacks: Type.TOptional>; }>>; agentRuntime: Type.TOptional, Type.TLiteral<"none">]>>; source: Type.TUnion<[Type.TLiteral<"env">, Type.TLiteral<"agent">, Type.TLiteral<"defaults">, Type.TLiteral<"model">, Type.TLiteral<"provider">, Type.TLiteral<"implicit">]>; }>>; }>; declare const AgentsListParamsSchema: Type.TObject<{}>; declare const AgentsListResultSchema: Type.TObject<{ defaultId: Type.TString; mainKey: Type.TString; scope: Type.TUnion<[Type.TLiteral<"per-sender">, Type.TLiteral<"global">]>; agents: Type.TArray; identity: Type.TOptional; theme: Type.TOptional; emoji: Type.TOptional; avatar: Type.TOptional; avatarUrl: Type.TOptional; }>>; workspace: Type.TOptional; model: Type.TOptional; fallbacks: Type.TOptional>; }>>; agentRuntime: Type.TOptional, Type.TLiteral<"none">]>>; source: Type.TUnion<[Type.TLiteral<"env">, Type.TLiteral<"agent">, Type.TLiteral<"defaults">, Type.TLiteral<"model">, Type.TLiteral<"provider">, Type.TLiteral<"implicit">]>; }>>; }>>; }>; declare const AgentsCreateParamsSchema: Type.TObject<{ name: Type.TString; workspace: Type.TString; model: Type.TOptional; emoji: Type.TOptional; avatar: Type.TOptional; }>; declare const AgentsCreateResultSchema: Type.TObject<{ ok: Type.TLiteral; agentId: Type.TString; name: Type.TString; workspace: Type.TString; model: Type.TOptional; }>; declare const AgentsUpdateParamsSchema: Type.TObject<{ agentId: Type.TString; name: Type.TOptional; workspace: Type.TOptional; model: Type.TOptional; emoji: Type.TOptional; avatar: Type.TOptional; }>; declare const AgentsUpdateResultSchema: Type.TObject<{ ok: Type.TLiteral; agentId: Type.TString; }>; declare const AgentsDeleteParamsSchema: Type.TObject<{ agentId: Type.TString; deleteFiles: Type.TOptional; }>; declare const AgentsDeleteResultSchema: Type.TObject<{ ok: Type.TLiteral; agentId: Type.TString; removedBindings: Type.TInteger; }>; declare const AgentsFileEntrySchema: Type.TObject<{ name: Type.TString; path: Type.TString; missing: Type.TBoolean; size: Type.TOptional; updatedAtMs: Type.TOptional; content: Type.TOptional; }>; declare const AgentsFilesListParamsSchema: Type.TObject<{ agentId: Type.TString; }>; declare const AgentsFilesListResultSchema: Type.TObject<{ agentId: Type.TString; workspace: Type.TString; files: Type.TArray; updatedAtMs: Type.TOptional; content: Type.TOptional; }>>; }>; declare const AgentsFilesGetParamsSchema: Type.TObject<{ agentId: Type.TString; name: Type.TString; }>; declare const AgentsFilesGetResultSchema: Type.TObject<{ agentId: Type.TString; workspace: Type.TString; file: Type.TObject<{ name: Type.TString; path: Type.TString; missing: Type.TBoolean; size: Type.TOptional; updatedAtMs: Type.TOptional; content: Type.TOptional; }>; }>; declare const AgentsFilesSetParamsSchema: Type.TObject<{ agentId: Type.TString; name: Type.TString; content: Type.TString; }>; declare const AgentsFilesSetResultSchema: Type.TObject<{ ok: Type.TLiteral; agentId: Type.TString; workspace: Type.TString; file: Type.TObject<{ name: Type.TString; path: Type.TString; missing: Type.TBoolean; size: Type.TOptional; updatedAtMs: Type.TOptional; content: Type.TOptional; }>; }>; declare const ModelsListParamsSchema: Type.TObject<{ view: Type.TOptional, Type.TLiteral<"configured">, Type.TLiteral<"all">]>>; }>; declare const SkillsStatusParamsSchema: Type.TObject<{ agentId: Type.TOptional; }>; declare const SkillsUploadBeginParamsSchema: Type.TObject<{ kind: Type.TLiteral<"skill-archive">; slug: Type.TString; sizeBytes: Type.TInteger; sha256: Type.TOptional; force: Type.TOptional; idempotencyKey: Type.TOptional; }>; declare const SkillsUploadChunkParamsSchema: Type.TObject<{ uploadId: Type.TString; offset: Type.TInteger; dataBase64: Type.TString; }>; declare const SkillsUploadCommitParamsSchema: Type.TObject<{ uploadId: Type.TString; sha256: Type.TOptional; }>; declare const SkillsInstallParamsSchema: Type.TUnion<[Type.TObject<{ name: Type.TString; installId: Type.TString; dangerouslyForceUnsafeInstall: Type.TOptional; timeoutMs: Type.TOptional; }>, Type.TObject<{ source: Type.TLiteral<"clawhub">; slug: Type.TString; version: Type.TOptional; force: Type.TOptional; timeoutMs: Type.TOptional; }>, Type.TObject<{ source: Type.TLiteral<"upload">; uploadId: Type.TString; slug: Type.TString; force: Type.TOptional; sha256: Type.TOptional; timeoutMs: Type.TOptional; }>]>; declare const SkillsUpdateParamsSchema: Type.TUnion<[Type.TObject<{ skillKey: Type.TString; enabled: Type.TOptional; apiKey: Type.TOptional; env: Type.TOptional>; }>, Type.TObject<{ source: Type.TLiteral<"clawhub">; slug: Type.TOptional; all: Type.TOptional; }>]>; declare const SkillsSearchParamsSchema: Type.TObject<{ query: Type.TOptional; limit: Type.TOptional; }>; declare const SkillsSearchResultSchema: Type.TObject<{ results: Type.TArray; version: Type.TOptional; updatedAt: Type.TOptional; }>>; }>; declare const SkillsDetailParamsSchema: Type.TObject<{ slug: Type.TString; }>; declare const SkillsSecurityVerdictsParamsSchema: Type.TObject<{ agentId: Type.TOptional; }>; declare const SkillsDetailResultSchema: Type.TObject<{ skill: Type.TUnion<[Type.TObject<{ slug: Type.TString; displayName: Type.TString; summary: Type.TOptional; tags: Type.TOptional>; createdAt: Type.TInteger; updatedAt: Type.TInteger; }>, Type.TNull]>; latestVersion: Type.TOptional; }>, Type.TNull]>>; metadata: Type.TOptional, Type.TNull]>>; systems: Type.TOptional, Type.TNull]>>; }>, Type.TNull]>>; owner: Type.TOptional>; displayName: Type.TOptional>; image: Type.TOptional>; }>, Type.TNull]>>; }>; declare const SkillsSecurityVerdictsResultSchema: Type.TObject<{ schema: Type.TLiteral<"openclaw.skills.security-verdicts.v1">; items: Type.TArray; requestedSlug: Type.TString; requestedVersion: Type.TString; slug: Type.TOptional>; version: Type.TOptional>; displayName: Type.TOptional>; publisherHandle: Type.TOptional>; publisherDisplayName: Type.TOptional>; createdAt: Type.TOptional>; checkedAt: Type.TOptional>; skillUrl: Type.TOptional>; securityAuditUrl: Type.TOptional>; securityStatus: Type.TOptional>; securityPassed: Type.TOptional>; error: Type.TOptional; message: Type.TOptional; }>>; }>>; }>; declare const SkillsSkillCardParamsSchema: Type.TObject<{ agentId: Type.TOptional; skillKey: Type.TString; }>; declare const SkillsSkillCardResultSchema: Type.TObject<{ schema: Type.TLiteral<"openclaw.skills.skill-card.v1">; skillKey: Type.TString; path: Type.TString; sizeBytes: Type.TInteger; content: Type.TString; }>; declare const ToolsCatalogParamsSchema: Type.TObject<{ agentId: Type.TOptional; includePlugins: Type.TOptional; }>; declare const ToolsEffectiveParamsSchema: Type.TObject<{ agentId: Type.TOptional; sessionKey: Type.TString; }>; declare const ToolsInvokeParamsSchema: Type.TObject<{ name: Type.TString; args: Type.TOptional>; sessionKey: Type.TOptional; agentId: Type.TOptional; confirm: Type.TOptional; idempotencyKey: Type.TOptional; }>; //#endregion //#region packages/gateway-protocol/src/schema/artifacts.d.ts declare const ArtifactSummarySchema: Type.TObject<{ id: Type.TString; type: Type.TString; title: Type.TString; mimeType: Type.TOptional; sizeBytes: Type.TOptional; sessionKey: Type.TOptional; runId: Type.TOptional; taskId: Type.TOptional; messageSeq: Type.TOptional; source: Type.TOptional; download: Type.TObject<{ mode: Type.TUnion<[Type.TLiteral<"bytes">, Type.TLiteral<"url">, Type.TLiteral<"unsupported">]>; }>; }>; declare const ArtifactsListParamsSchema: Type.TObject<{ sessionKey: Type.TOptional; runId: Type.TOptional; taskId: Type.TOptional; agentId: Type.TOptional; }>; declare const ArtifactsGetParamsSchema: Type.TObject<{ artifactId: Type.TString; sessionKey: Type.TOptional; runId: Type.TOptional; taskId: Type.TOptional; agentId: Type.TOptional; }>; declare const ArtifactsDownloadParamsSchema: Type.TObject<{ artifactId: Type.TString; sessionKey: Type.TOptional; runId: Type.TOptional; taskId: Type.TOptional; agentId: Type.TOptional; }>; //#endregion //#region packages/gateway-protocol/src/schema/channels.d.ts declare const TalkConfigParamsSchema: Type.TObject<{ includeSecrets: Type.TOptional; }>; declare const TalkSpeakParamsSchema: Type.TObject<{ text: Type.TString; voiceId: Type.TOptional; modelId: Type.TOptional; outputFormat: Type.TOptional; speed: Type.TOptional; rateWpm: Type.TOptional; stability: Type.TOptional; similarity: Type.TOptional; style: Type.TOptional; speakerBoost: Type.TOptional; seed: Type.TOptional; normalize: Type.TOptional; language: Type.TOptional; latencyTier: Type.TOptional; }>; declare const TalkEventSchema: Type.TObject<{ id: Type.TString; type: Type.TUnion<[Type.TLiteral<"session.started">, Type.TLiteral<"session.ready">, Type.TLiteral<"session.closed">, Type.TLiteral<"session.error">, Type.TLiteral<"session.replaced">, Type.TLiteral<"turn.started">, Type.TLiteral<"turn.ended">, Type.TLiteral<"turn.cancelled">, Type.TLiteral<"capture.started">, Type.TLiteral<"capture.stopped">, Type.TLiteral<"capture.cancelled">, Type.TLiteral<"capture.once">, Type.TLiteral<"input.audio.delta">, Type.TLiteral<"input.audio.committed">, Type.TLiteral<"transcript.delta">, Type.TLiteral<"transcript.done">, Type.TLiteral<"output.text.delta">, Type.TLiteral<"output.text.done">, Type.TLiteral<"output.audio.started">, Type.TLiteral<"output.audio.delta">, Type.TLiteral<"output.audio.done">, Type.TLiteral<"tool.call">, Type.TLiteral<"tool.progress">, Type.TLiteral<"tool.result">, Type.TLiteral<"tool.error">, Type.TLiteral<"usage.metrics">, Type.TLiteral<"latency.metrics">, Type.TLiteral<"health.changed">]>; sessionId: Type.TString; turnId: Type.TOptional; captureId: Type.TOptional; seq: Type.TInteger; timestamp: Type.TString; mode: Type.TUnion<[Type.TLiteral<"realtime">, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>; transport: Type.TUnion<[Type.TLiteral<"webrtc">, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>; brain: Type.TUnion<[Type.TLiteral<"agent-consult">, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>; provider: Type.TOptional; final: Type.TOptional; callId: Type.TOptional; itemId: Type.TOptional; parentId: Type.TOptional; payload: Type.TUnknown; }>; declare const TalkClientCreateParamsSchema: Type.TObject<{ sessionKey: Type.TOptional; provider: Type.TOptional; model: Type.TOptional; voice: Type.TOptional; vadThreshold: Type.TOptional; silenceDurationMs: Type.TOptional; prefixPaddingMs: Type.TOptional; reasoningEffort: Type.TOptional; mode: Type.TOptional, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>>; transport: Type.TOptional, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>>; brain: Type.TOptional, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>>; }>; declare const TalkClientToolCallParamsSchema: Type.TObject<{ sessionKey: Type.TString; callId: Type.TString; name: Type.TString; args: Type.TOptional; relaySessionId: Type.TOptional; }>; declare const TalkClientToolCallResultSchema: Type.TObject<{ runId: Type.TString; idempotencyKey: Type.TString; }>; declare const TalkClientSteerParamsSchema: Type.TObject<{ sessionKey: Type.TString; text: Type.TString; mode: Type.TOptional, Type.TLiteral<"steer">, Type.TLiteral<"cancel">, Type.TLiteral<"followup">]>>; }>; declare const TalkAgentControlResultSchema: Type.TObject<{ ok: Type.TBoolean; mode: Type.TUnion<[Type.TLiteral<"status">, Type.TLiteral<"steer">, Type.TLiteral<"cancel">, Type.TLiteral<"followup">]>; sessionKey: Type.TString; sessionId: Type.TOptional; active: Type.TBoolean; queued: Type.TOptional; aborted: Type.TOptional; target: Type.TOptional, Type.TLiteral<"reply_run">]>>; reason: Type.TOptional; message: Type.TString; speak: Type.TBoolean; show: Type.TBoolean; suppress: Type.TBoolean; providerResult: Type.TOptional; message: Type.TString; }>>; enqueuedAtMs: Type.TOptional; deliveredAtMs: Type.TOptional; }>; declare const TalkSessionJoinParamsSchema: Type.TObject<{ sessionId: Type.TString; token: Type.TString; }>; declare const TalkSessionCreateParamsSchema: Type.TObject<{ sessionKey: Type.TOptional; spawnedBy: Type.TOptional; provider: Type.TOptional; model: Type.TOptional; voice: Type.TOptional; vadThreshold: Type.TOptional; silenceDurationMs: Type.TOptional; prefixPaddingMs: Type.TOptional; reasoningEffort: Type.TOptional; mode: Type.TOptional, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>>; transport: Type.TOptional, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>>; brain: Type.TOptional, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>>; ttlMs: Type.TOptional; }>; declare const TalkSessionAppendAudioParamsSchema: Type.TObject<{ sessionId: Type.TString; audioBase64: Type.TString; timestamp: Type.TOptional; }>; declare const TalkSessionTurnParamsSchema: Type.TObject<{ sessionId: Type.TString; turnId: Type.TOptional; }>; declare const TalkSessionCancelTurnParamsSchema: Type.TObject<{ sessionId: Type.TString; turnId: Type.TOptional; reason: Type.TOptional; }>; declare const TalkSessionCancelOutputParamsSchema: Type.TObject<{ sessionId: Type.TString; turnId: Type.TOptional; reason: Type.TOptional; }>; declare const TalkSessionSubmitToolResultParamsSchema: Type.TObject<{ sessionId: Type.TString; callId: Type.TString; result: Type.TUnknown; options: Type.TOptional; willContinue: Type.TOptional; }>>; }>; declare const TalkSessionSteerParamsSchema: Type.TObject<{ sessionId: Type.TString; sessionKey: Type.TOptional; text: Type.TString; mode: Type.TOptional, Type.TLiteral<"steer">, Type.TLiteral<"cancel">, Type.TLiteral<"followup">]>>; }>; declare const TalkSessionCloseParamsSchema: Type.TObject<{ sessionId: Type.TString; }>; declare const TalkCatalogParamsSchema: Type.TObject<{}>; declare const TalkCatalogResultSchema: Type.TObject<{ modes: Type.TArray, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>>; transports: Type.TArray, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>>; brains: Type.TArray, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>>; speech: Type.TObject<{ activeProvider: Type.TOptional; providers: Type.TArray>; voices: Type.TOptional>; defaultModel: Type.TOptional; modes: Type.TOptional, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>>>; transports: Type.TOptional, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>>>; brains: Type.TOptional, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>>>; inputAudioFormats: Type.TOptional, Type.TLiteral<"g711_ulaw">]>; sampleRateHz: Type.TInteger; channels: Type.TInteger; }>>>; outputAudioFormats: Type.TOptional, Type.TLiteral<"g711_ulaw">]>; sampleRateHz: Type.TInteger; channels: Type.TInteger; }>>>; supportsBrowserSession: Type.TOptional; supportsBargeIn: Type.TOptional; supportsToolCalls: Type.TOptional; supportsVideoFrames: Type.TOptional; supportsSessionResumption: Type.TOptional; }>>; }>; transcription: Type.TObject<{ activeProvider: Type.TOptional; providers: Type.TArray>; voices: Type.TOptional>; defaultModel: Type.TOptional; modes: Type.TOptional, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>>>; transports: Type.TOptional, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>>>; brains: Type.TOptional, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>>>; inputAudioFormats: Type.TOptional, Type.TLiteral<"g711_ulaw">]>; sampleRateHz: Type.TInteger; channels: Type.TInteger; }>>>; outputAudioFormats: Type.TOptional, Type.TLiteral<"g711_ulaw">]>; sampleRateHz: Type.TInteger; channels: Type.TInteger; }>>>; supportsBrowserSession: Type.TOptional; supportsBargeIn: Type.TOptional; supportsToolCalls: Type.TOptional; supportsVideoFrames: Type.TOptional; supportsSessionResumption: Type.TOptional; }>>; }>; realtime: Type.TObject<{ activeProvider: Type.TOptional; providers: Type.TArray>; voices: Type.TOptional>; defaultModel: Type.TOptional; modes: Type.TOptional, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>>>; transports: Type.TOptional, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>>>; brains: Type.TOptional, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>>>; inputAudioFormats: Type.TOptional, Type.TLiteral<"g711_ulaw">]>; sampleRateHz: Type.TInteger; channels: Type.TInteger; }>>>; outputAudioFormats: Type.TOptional, Type.TLiteral<"g711_ulaw">]>; sampleRateHz: Type.TInteger; channels: Type.TInteger; }>>>; supportsBrowserSession: Type.TOptional; supportsBargeIn: Type.TOptional; supportsToolCalls: Type.TOptional; supportsVideoFrames: Type.TOptional; supportsSessionResumption: Type.TOptional; }>>; }>; }>; declare const TalkSessionCreateResultSchema: Type.TObject<{ sessionId: Type.TString; provider: Type.TOptional; mode: Type.TUnion<[Type.TLiteral<"realtime">, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>; transport: Type.TUnion<[Type.TLiteral<"webrtc">, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>; brain: Type.TUnion<[Type.TLiteral<"agent-consult">, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>; relaySessionId: Type.TOptional; transcriptionSessionId: Type.TOptional; handoffId: Type.TOptional; roomId: Type.TOptional; roomUrl: Type.TOptional; token: Type.TOptional; audio: Type.TOptional; model: Type.TOptional; voice: Type.TOptional; expiresAt: Type.TOptional; }>; declare const TalkSessionTurnResultSchema: Type.TObject<{ ok: Type.TBoolean; turnId: Type.TOptional; events: Type.TOptional, Type.TLiteral<"session.ready">, Type.TLiteral<"session.closed">, Type.TLiteral<"session.error">, Type.TLiteral<"session.replaced">, Type.TLiteral<"turn.started">, Type.TLiteral<"turn.ended">, Type.TLiteral<"turn.cancelled">, Type.TLiteral<"capture.started">, Type.TLiteral<"capture.stopped">, Type.TLiteral<"capture.cancelled">, Type.TLiteral<"capture.once">, Type.TLiteral<"input.audio.delta">, Type.TLiteral<"input.audio.committed">, Type.TLiteral<"transcript.delta">, Type.TLiteral<"transcript.done">, Type.TLiteral<"output.text.delta">, Type.TLiteral<"output.text.done">, Type.TLiteral<"output.audio.started">, Type.TLiteral<"output.audio.delta">, Type.TLiteral<"output.audio.done">, Type.TLiteral<"tool.call">, Type.TLiteral<"tool.progress">, Type.TLiteral<"tool.result">, Type.TLiteral<"tool.error">, Type.TLiteral<"usage.metrics">, Type.TLiteral<"latency.metrics">, Type.TLiteral<"health.changed">]>; sessionId: Type.TString; turnId: Type.TOptional; captureId: Type.TOptional; seq: Type.TInteger; timestamp: Type.TString; mode: Type.TUnion<[Type.TLiteral<"realtime">, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>; transport: Type.TUnion<[Type.TLiteral<"webrtc">, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>; brain: Type.TUnion<[Type.TLiteral<"agent-consult">, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>; provider: Type.TOptional; final: Type.TOptional; callId: Type.TOptional; itemId: Type.TOptional; parentId: Type.TOptional; payload: Type.TUnknown; }>>>; }>; declare const TalkSessionJoinResultSchema: Type.TObject<{ id: Type.TString; roomId: Type.TString; roomUrl: Type.TString; sessionKey: Type.TString; sessionId: Type.TOptional; channel: Type.TOptional; target: Type.TOptional; provider: Type.TOptional; model: Type.TOptional; voice: Type.TOptional; mode: Type.TUnion<[Type.TLiteral<"realtime">, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>; transport: Type.TUnion<[Type.TLiteral<"webrtc">, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>; brain: Type.TUnion<[Type.TLiteral<"agent-consult">, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>; createdAt: Type.TNumber; expiresAt: Type.TNumber; room: Type.TObject<{ activeClientId: Type.TOptional; activeTurnId: Type.TOptional; recentTalkEvents: Type.TArray, Type.TLiteral<"session.ready">, Type.TLiteral<"session.closed">, Type.TLiteral<"session.error">, Type.TLiteral<"session.replaced">, Type.TLiteral<"turn.started">, Type.TLiteral<"turn.ended">, Type.TLiteral<"turn.cancelled">, Type.TLiteral<"capture.started">, Type.TLiteral<"capture.stopped">, Type.TLiteral<"capture.cancelled">, Type.TLiteral<"capture.once">, Type.TLiteral<"input.audio.delta">, Type.TLiteral<"input.audio.committed">, Type.TLiteral<"transcript.delta">, Type.TLiteral<"transcript.done">, Type.TLiteral<"output.text.delta">, Type.TLiteral<"output.text.done">, Type.TLiteral<"output.audio.started">, Type.TLiteral<"output.audio.delta">, Type.TLiteral<"output.audio.done">, Type.TLiteral<"tool.call">, Type.TLiteral<"tool.progress">, Type.TLiteral<"tool.result">, Type.TLiteral<"tool.error">, Type.TLiteral<"usage.metrics">, Type.TLiteral<"latency.metrics">, Type.TLiteral<"health.changed">]>; sessionId: Type.TString; turnId: Type.TOptional; captureId: Type.TOptional; seq: Type.TInteger; timestamp: Type.TString; mode: Type.TUnion<[Type.TLiteral<"realtime">, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>; transport: Type.TUnion<[Type.TLiteral<"webrtc">, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>; brain: Type.TUnion<[Type.TLiteral<"agent-consult">, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>; provider: Type.TOptional; final: Type.TOptional; callId: Type.TOptional; itemId: Type.TOptional; parentId: Type.TOptional; payload: Type.TUnknown; }>>; }>; }>; declare const TalkSessionOkResultSchema: Type.TObject<{ ok: Type.TBoolean; }>; declare const TalkClientCreateResultSchema: Type.TUnion<[Type.TObject<{ provider: Type.TString; transport: Type.TLiteral<"webrtc">; clientSecret: Type.TString; offerUrl: Type.TOptional; offerHeaders: Type.TOptional>; model: Type.TOptional; voice: Type.TOptional; expiresAt: Type.TOptional; }>, Type.TObject<{ provider: Type.TString; transport: Type.TLiteral<"provider-websocket">; protocol: Type.TString; clientSecret: Type.TString; websocketUrl: Type.TString; audio: Type.TObject<{ inputEncoding: Type.TUnion<[Type.TLiteral<"pcm16">, Type.TLiteral<"g711_ulaw">]>; inputSampleRateHz: Type.TInteger; outputEncoding: Type.TUnion<[Type.TLiteral<"pcm16">, Type.TLiteral<"g711_ulaw">]>; outputSampleRateHz: Type.TInteger; }>; initialMessage: Type.TOptional; model: Type.TOptional; voice: Type.TOptional; expiresAt: Type.TOptional; }>, Type.TObject<{ provider: Type.TString; transport: Type.TLiteral<"gateway-relay">; relaySessionId: Type.TString; audio: Type.TObject<{ inputEncoding: Type.TUnion<[Type.TLiteral<"pcm16">, Type.TLiteral<"g711_ulaw">]>; inputSampleRateHz: Type.TInteger; outputEncoding: Type.TUnion<[Type.TLiteral<"pcm16">, Type.TLiteral<"g711_ulaw">]>; outputSampleRateHz: Type.TInteger; }>; model: Type.TOptional; voice: Type.TOptional; expiresAt: Type.TOptional; }>, Type.TObject<{ provider: Type.TString; transport: Type.TLiteral<"managed-room">; roomUrl: Type.TString; token: Type.TOptional; model: Type.TOptional; voice: Type.TOptional; expiresAt: Type.TOptional; }>]>; declare const TalkConfigResultSchema: Type.TObject<{ config: Type.TObject<{ talk: Type.TOptional; providers: Type.TOptional; provider: Type.TString; id: Type.TString; }>, Type.TObject<{ source: Type.TLiteral<"file">; provider: Type.TString; id: Type.TUnsafe; }>, Type.TObject<{ source: Type.TLiteral<"exec">; provider: Type.TString; id: Type.TString; }>]>]>>; }>>>; realtime: Type.TOptional; providers: Type.TOptional; provider: Type.TString; id: Type.TString; }>, Type.TObject<{ source: Type.TLiteral<"file">; provider: Type.TString; id: Type.TUnsafe; }>, Type.TObject<{ source: Type.TLiteral<"exec">; provider: Type.TString; id: Type.TString; }>]>]>>; }>>>; model: Type.TOptional; speakerVoice: Type.TOptional; speakerVoiceId: Type.TOptional; voice: Type.TOptional; instructions: Type.TOptional; mode: Type.TOptional, Type.TLiteral<"stt-tts">, Type.TLiteral<"transcription">]>>; transport: Type.TOptional, Type.TLiteral<"provider-websocket">, Type.TLiteral<"gateway-relay">, Type.TLiteral<"managed-room">]>>; brain: Type.TOptional, Type.TLiteral<"direct-tools">, Type.TLiteral<"none">]>>; }>>; resolved: Type.TOptional; provider: Type.TString; id: Type.TString; }>, Type.TObject<{ source: Type.TLiteral<"file">; provider: Type.TString; id: Type.TUnsafe; }>, Type.TObject<{ source: Type.TLiteral<"exec">; provider: Type.TString; id: Type.TString; }>]>]>>; }>; }>>; consultThinkingLevel: Type.TOptional; consultFastMode: Type.TOptional; speechLocale: Type.TOptional; interruptOnSpeech: Type.TOptional; silenceTimeoutMs: Type.TOptional; }>>; session: Type.TOptional; }>>; ui: Type.TOptional; }>>; }>; }>; declare const TalkSpeakResultSchema: Type.TObject<{ audioBase64: Type.TString; provider: Type.TString; outputFormat: Type.TOptional; voiceCompatible: Type.TOptional; mimeType: Type.TOptional; fileExtension: Type.TOptional; }>; declare const ChannelsStatusParamsSchema: Type.TObject<{ probe: Type.TOptional; timeoutMs: Type.TOptional; channel: Type.TOptional; }>; declare const ChannelsStatusResultSchema: Type.TObject<{ ts: Type.TInteger; channelOrder: Type.TArray; channelLabels: Type.TRecord<"^.*$", Type.TString>; channelDetailLabels: Type.TOptional>; channelSystemImages: Type.TOptional>; channelMeta: Type.TOptional; }>>>; channels: Type.TRecord<"^.*$", Type.TUnknown>; channelAccounts: Type.TRecord<"^.*$", Type.TArray; enabled: Type.TOptional; configured: Type.TOptional; linked: Type.TOptional; running: Type.TOptional; connected: Type.TOptional; reconnectAttempts: Type.TOptional; lastConnectedAt: Type.TOptional; lastError: Type.TOptional; healthState: Type.TOptional; lastStartAt: Type.TOptional; lastStopAt: Type.TOptional; lastInboundAt: Type.TOptional; lastOutboundAt: Type.TOptional; lastTransportActivityAt: Type.TOptional; busy: Type.TOptional; activeRuns: Type.TOptional; lastRunActivityAt: Type.TOptional; lastProbeAt: Type.TOptional; mode: Type.TOptional; dmPolicy: Type.TOptional; allowFrom: Type.TOptional>; tokenSource: Type.TOptional; botTokenSource: Type.TOptional; appTokenSource: Type.TOptional; baseUrl: Type.TOptional; allowUnmentionedGroups: Type.TOptional; cliPath: Type.TOptional>; dbPath: Type.TOptional>; port: Type.TOptional>; probe: Type.TOptional; audit: Type.TOptional; application: Type.TOptional; }>>>; channelDefaultAccountId: Type.TRecord<"^.*$", Type.TString>; eventLoop: Type.TOptional, Type.TLiteral<"event_loop_utilization">, Type.TLiteral<"cpu">]>>; intervalMs: Type.TInteger; delayP99Ms: Type.TNumber; delayMaxMs: Type.TNumber; utilization: Type.TNumber; cpuCoreRatio: Type.TNumber; }>>; partial: Type.TOptional; warnings: Type.TOptional>; }>; declare const ChannelsLogoutParamsSchema: Type.TObject<{ channel: Type.TString; accountId: Type.TOptional; }>; declare const ChannelsPairingListParamsSchema: Type.TObject<{ channel: Type.TOptional; }>; declare const ChannelsPairingApproveParamsSchema: Type.TObject<{ channel: Type.TString; code: Type.TString; notify: Type.TOptional; }>; declare const ChannelsStopParamsSchema: Type.TObject<{ channel: Type.TString; accountId: Type.TOptional; }>; declare const ChannelsStartParamsSchema: Type.TObject<{ channel: Type.TString; accountId: Type.TOptional; }>; declare const WebLoginStartParamsSchema: Type.TObject<{ force: Type.TOptional; timeoutMs: Type.TOptional; verbose: Type.TOptional; accountId: Type.TOptional; }>; declare const WebLoginWaitParamsSchema: Type.TObject<{ timeoutMs: Type.TOptional; accountId: Type.TOptional; currentQrDataUrl: Type.TOptional; }>; //#endregion //#region packages/gateway-protocol/src/schema/commands.d.ts declare const CommandsListParamsSchema: Type.TObject<{ agentId: Type.TOptional; provider: Type.TOptional; scope: Type.TOptional, Type.TLiteral<"native">, Type.TLiteral<"both">]>>; includeArgs: Type.TOptional; }>; declare const CommandsListResultSchema: Type.TObject<{ commands: Type.TArray; textAliases: Type.TOptional>; description: Type.TString; category: Type.TOptional, Type.TLiteral<"options">, Type.TLiteral<"status">, Type.TLiteral<"management">, Type.TLiteral<"media">, Type.TLiteral<"tools">, Type.TLiteral<"docks">]>>; source: Type.TUnion<[Type.TLiteral<"native">, Type.TLiteral<"skill">, Type.TLiteral<"plugin">]>; scope: Type.TUnion<[Type.TLiteral<"text">, Type.TLiteral<"native">, Type.TLiteral<"both">]>; acceptsArgs: Type.TBoolean; args: Type.TOptional, Type.TLiteral<"number">, Type.TLiteral<"boolean">]>; required: Type.TOptional; choices: Type.TOptional>>; dynamic: Type.TOptional; }>>>; }>>; }>; //#endregion //#region packages/gateway-protocol/src/schema/config.d.ts declare const ConfigGetParamsSchema: Type.TObject<{}>; declare const ConfigSetParamsSchema: Type.TObject<{ raw: Type.TString; baseHash: Type.TOptional; }>; declare const ConfigApplyParamsSchema: Type.TObject<{ raw: Type.TString; baseHash: Type.TOptional; sessionKey: Type.TOptional; deliveryContext: Type.TOptional; to: Type.TOptional; accountId: Type.TOptional; threadId: Type.TOptional>; }>>; note: Type.TOptional; restartDelayMs: Type.TOptional; }>; declare const ConfigPatchParamsSchema: Type.TObject<{ raw: Type.TString; baseHash: Type.TOptional; sessionKey: Type.TOptional; deliveryContext: Type.TOptional; to: Type.TOptional; accountId: Type.TOptional; threadId: Type.TOptional>; }>>; note: Type.TOptional; restartDelayMs: Type.TOptional; }>; declare const ConfigSchemaParamsSchema: Type.TObject<{}>; declare const ConfigSchemaLookupParamsSchema: Type.TObject<{ path: Type.TString; }>; declare const UpdateStatusParamsSchema: Type.TObject<{}>; declare const UpdateRunParamsSchema: Type.TObject<{ sessionKey: Type.TOptional; deliveryContext: Type.TOptional; to: Type.TOptional; accountId: Type.TOptional; threadId: Type.TOptional>; }>>; note: Type.TOptional; continuationMessage: Type.TOptional; restartDelayMs: Type.TOptional; timeoutMs: Type.TOptional; }>; declare const ConfigSchemaResponseSchema: Type.TObject<{ schema: Type.TUnknown; uiHints: Type.TRecord<"^.*$", Type.TObject<{ label: Type.TOptional; help: Type.TOptional; tags: Type.TOptional>; group: Type.TOptional; order: Type.TOptional; advanced: Type.TOptional; sensitive: Type.TOptional; placeholder: Type.TOptional; itemTemplate: Type.TOptional; }>>; version: Type.TString; generatedAt: Type.TString; }>; declare const ConfigSchemaLookupResultSchema: Type.TObject<{ path: Type.TString; schema: Type.TUnknown; reloadKind: Type.TOptional, Type.TLiteral<"hot">, Type.TLiteral<"none">]>>; hint: Type.TOptional; help: Type.TOptional; tags: Type.TOptional>; group: Type.TOptional; order: Type.TOptional; advanced: Type.TOptional; sensitive: Type.TOptional; placeholder: Type.TOptional; itemTemplate: Type.TOptional; }>>; hintPath: Type.TOptional; children: Type.TArray]>>; required: Type.TBoolean; hasChildren: Type.TBoolean; reloadKind: Type.TOptional, Type.TLiteral<"hot">, Type.TLiteral<"none">]>>; hint: Type.TOptional; help: Type.TOptional; tags: Type.TOptional>; group: Type.TOptional; order: Type.TOptional; advanced: Type.TOptional; sensitive: Type.TOptional; placeholder: Type.TOptional; itemTemplate: Type.TOptional; }>>; hintPath: Type.TOptional; }>>; }>; //#endregion //#region packages/gateway-protocol/src/schema/cron.d.ts declare const CronJobSchema: Type.TObject<{ id: Type.TString; agentId: Type.TOptional; sessionKey: Type.TOptional; name: Type.TString; description: Type.TOptional; enabled: Type.TBoolean; deleteAfterRun: Type.TOptional; createdAtMs: Type.TInteger; updatedAtMs: Type.TInteger; schedule: Type.TUnion<[Type.TObject<{ kind: Type.TLiteral<"at">; at: Type.TString; }>, Type.TObject<{ kind: Type.TLiteral<"every">; everyMs: Type.TInteger; anchorMs: Type.TOptional; }>, Type.TObject<{ kind: Type.TLiteral<"cron">; expr: Type.TString; tz: Type.TOptional; staggerMs: Type.TOptional; }>]>; sessionTarget: Type.TUnion<[Type.TLiteral<"main">, Type.TLiteral<"isolated">, Type.TLiteral<"current">, Type.TString]>; wakeMode: Type.TUnion<[Type.TLiteral<"next-heartbeat">, Type.TLiteral<"now">]>; payload: Type.TUnion<[Type.TObject<{ kind: Type.TLiteral<"systemEvent">; text: Type.TString; }>, Type.TObject<{ kind: Type.TLiteral<"agentTurn">; message: Type.TSchema; model: Type.TOptional; fallbacks: Type.TOptional>; thinking: Type.TOptional; timeoutSeconds: Type.TOptional; allowUnsafeExternalContent: Type.TOptional; lightContext: Type.TOptional; toolsAllow: Type.TOptional; }>]>; delivery: Type.TOptional; channel: Type.TOptional, Type.TString]>>; threadId: Type.TOptional>; accountId: Type.TOptional; bestEffort: Type.TOptional; failureDestination: Type.TOptional, Type.TString]>>; to: Type.TOptional; accountId: Type.TOptional; mode: Type.TOptional, Type.TLiteral<"webhook">]>>; }>>; mode: Type.TLiteral<"none">; }>, Type.TObject<{ to: Type.TOptional; channel: Type.TOptional, Type.TString]>>; threadId: Type.TOptional>; accountId: Type.TOptional; bestEffort: Type.TOptional; failureDestination: Type.TOptional, Type.TString]>>; to: Type.TOptional; accountId: Type.TOptional; mode: Type.TOptional, Type.TLiteral<"webhook">]>>; }>>; mode: Type.TLiteral<"announce">; }>, Type.TObject<{ to: Type.TString; channel: Type.TOptional, Type.TString]>>; threadId: Type.TOptional>; accountId: Type.TOptional; bestEffort: Type.TOptional; failureDestination: Type.TOptional, Type.TString]>>; to: Type.TOptional; accountId: Type.TOptional; mode: Type.TOptional, Type.TLiteral<"webhook">]>>; }>>; mode: Type.TLiteral<"webhook">; }>]>>; failureAlert: Type.TOptional, Type.TObject<{ after: Type.TOptional; channel: Type.TOptional, Type.TString]>>; to: Type.TOptional; cooldownMs: Type.TOptional; includeSkipped: Type.TOptional; mode: Type.TOptional, Type.TLiteral<"webhook">]>>; accountId: Type.TOptional; }>]>>; state: Type.TObject<{ nextRunAtMs: Type.TOptional; runningAtMs: Type.TOptional; lastRunAtMs: Type.TOptional; lastRunStatus: Type.TOptional, Type.TLiteral<"error">, Type.TLiteral<"skipped">]>>; lastStatus: Type.TOptional, Type.TLiteral<"error">, Type.TLiteral<"skipped">]>>; lastError: Type.TOptional; lastDiagnostics: Type.TOptional; entries: Type.TArray, Type.TLiteral<"cron-setup">, Type.TLiteral<"model-preflight">, Type.TLiteral<"agent-run">, Type.TLiteral<"tool">, Type.TLiteral<"exec">, Type.TLiteral<"delivery">]>; severity: Type.TUnion<[Type.TLiteral<"info">, Type.TLiteral<"warn">, Type.TLiteral<"error">]>; message: Type.TString; toolName: Type.TOptional; exitCode: Type.TOptional>; truncated: Type.TOptional; }>>; }>>; lastDiagnosticSummary: Type.TOptional; lastErrorReason: Type.TOptional, Type.TLiteral<"auth_permanent">, Type.TLiteral<"format">, Type.TLiteral<"rate_limit">, Type.TLiteral<"overloaded">, Type.TLiteral<"billing">, Type.TLiteral<"server_error">, Type.TLiteral<"timeout">, Type.TLiteral<"model_not_found">, Type.TLiteral<"session_expired">, Type.TLiteral<"empty_response">, Type.TLiteral<"no_error_details">, Type.TLiteral<"unclassified">, Type.TLiteral<"unknown">]>>; lastDurationMs: Type.TOptional; consecutiveErrors: Type.TOptional; consecutiveSkipped: Type.TOptional; lastDelivered: Type.TOptional; lastDeliveryStatus: Type.TOptional, Type.TLiteral<"not-delivered">, Type.TLiteral<"unknown">, Type.TLiteral<"not-requested">]>>; lastDeliveryError: Type.TOptional; lastFailureNotificationDelivered: Type.TOptional; lastFailureNotificationDeliveryStatus: Type.TOptional, Type.TLiteral<"not-delivered">, Type.TLiteral<"unknown">, Type.TLiteral<"not-requested">]>>; lastFailureNotificationDeliveryError: Type.TOptional; lastFailureAlertAtMs: Type.TOptional; }>; }>; declare const CronListParamsSchema: Type.TObject<{ includeDisabled: Type.TOptional; limit: Type.TOptional; offset: Type.TOptional; query: Type.TOptional; enabled: Type.TOptional, Type.TLiteral<"enabled">, Type.TLiteral<"disabled">]>>; scheduleKind: Type.TOptional, Type.TLiteral<"at">, Type.TLiteral<"every">, Type.TLiteral<"cron">]>>; lastRunStatus: Type.TOptional, Type.TLiteral<"ok">, Type.TLiteral<"error">, Type.TLiteral<"skipped">, Type.TLiteral<"unknown">]>>; sortBy: Type.TOptional, Type.TLiteral<"updatedAtMs">, Type.TLiteral<"name">]>>; sortDir: Type.TOptional, Type.TLiteral<"desc">]>>; agentId: Type.TOptional; }>; declare const CronStatusParamsSchema: Type.TObject<{}>; declare const CronGetParamsSchema: Type.TUnion<[Type.TObject<{ id: Type.TString; }>, Type.TObject<{ jobId: Type.TString; }>]>; declare const CronAddParamsSchema: Type.TObject<{ schedule: Type.TUnion<[Type.TObject<{ kind: Type.TLiteral<"at">; at: Type.TString; }>, Type.TObject<{ kind: Type.TLiteral<"every">; everyMs: Type.TInteger; anchorMs: Type.TOptional; }>, Type.TObject<{ kind: Type.TLiteral<"cron">; expr: Type.TString; tz: Type.TOptional; staggerMs: Type.TOptional; }>]>; sessionTarget: Type.TUnion<[Type.TLiteral<"main">, Type.TLiteral<"isolated">, Type.TLiteral<"current">, Type.TString]>; wakeMode: Type.TUnion<[Type.TLiteral<"next-heartbeat">, Type.TLiteral<"now">]>; payload: Type.TUnion<[Type.TObject<{ kind: Type.TLiteral<"systemEvent">; text: Type.TString; }>, Type.TObject<{ kind: Type.TLiteral<"agentTurn">; message: Type.TSchema; model: Type.TOptional; fallbacks: Type.TOptional>; thinking: Type.TOptional; timeoutSeconds: Type.TOptional; allowUnsafeExternalContent: Type.TOptional; lightContext: Type.TOptional; toolsAllow: Type.TOptional; }>]>; delivery: Type.TOptional; channel: Type.TOptional, Type.TString]>>; threadId: Type.TOptional>; accountId: Type.TOptional; bestEffort: Type.TOptional; failureDestination: Type.TOptional, Type.TString]>>; to: Type.TOptional; accountId: Type.TOptional; mode: Type.TOptional, Type.TLiteral<"webhook">]>>; }>>; mode: Type.TLiteral<"none">; }>, Type.TObject<{ to: Type.TOptional; channel: Type.TOptional, Type.TString]>>; threadId: Type.TOptional>; accountId: Type.TOptional; bestEffort: Type.TOptional; failureDestination: Type.TOptional, Type.TString]>>; to: Type.TOptional; accountId: Type.TOptional; mode: Type.TOptional, Type.TLiteral<"webhook">]>>; }>>; mode: Type.TLiteral<"announce">; }>, Type.TObject<{ to: Type.TString; channel: Type.TOptional, Type.TString]>>; threadId: Type.TOptional>; accountId: Type.TOptional; bestEffort: Type.TOptional; failureDestination: Type.TOptional, Type.TString]>>; to: Type.TOptional; accountId: Type.TOptional; mode: Type.TOptional, Type.TLiteral<"webhook">]>>; }>>; mode: Type.TLiteral<"webhook">; }>]>>; failureAlert: Type.TOptional, Type.TObject<{ after: Type.TOptional; channel: Type.TOptional, Type.TString]>>; to: Type.TOptional; cooldownMs: Type.TOptional; includeSkipped: Type.TOptional; mode: Type.TOptional, Type.TLiteral<"webhook">]>>; accountId: Type.TOptional; }>]>>; agentId: Type.TOptional>; sessionKey: Type.TOptional>; description: Type.TOptional; enabled: Type.TOptional; deleteAfterRun: Type.TOptional; name: Type.TString; }>; declare const CronUpdateParamsSchema: Type.TUnion<[Type.TObject<{ id: Type.TString; }>, Type.TObject<{ jobId: Type.TString; }>]>; declare const CronRemoveParamsSchema: Type.TUnion<[Type.TObject<{ id: Type.TString; }>, Type.TObject<{ jobId: Type.TString; }>]>; declare const CronRunParamsSchema: Type.TUnion<[Type.TObject<{ id: Type.TString; }>, Type.TObject<{ jobId: Type.TString; }>]>; declare const CronRunsParamsSchema: Type.TObject<{ scope: Type.TOptional, Type.TLiteral<"all">]>>; id: Type.TOptional; jobId: Type.TOptional; runId: Type.TOptional; limit: Type.TOptional; offset: Type.TOptional; statuses: Type.TOptional, Type.TLiteral<"error">, Type.TLiteral<"skipped">]>>>; status: Type.TOptional, Type.TLiteral<"ok">, Type.TLiteral<"error">, Type.TLiteral<"skipped">]>>; deliveryStatuses: Type.TOptional, Type.TLiteral<"not-delivered">, Type.TLiteral<"unknown">, Type.TLiteral<"not-requested">]>>>; deliveryStatus: Type.TOptional, Type.TLiteral<"not-delivered">, Type.TLiteral<"unknown">, Type.TLiteral<"not-requested">]>>; query: Type.TOptional; sortDir: Type.TOptional, Type.TLiteral<"desc">]>>; }>; //#endregion //#region packages/gateway-protocol/src/version.d.ts declare const PROTOCOL_VERSION: 4; declare const MIN_CLIENT_PROTOCOL_VERSION: 4; declare const MIN_PROBE_PROTOCOL_VERSION: 4; //#endregion //#region packages/gateway-protocol/src/schema/protocol-schemas.d.ts declare const ProtocolSchemas: { ConnectParams: import("typebox").TObject<{ minProtocol: import("typebox").TInteger; maxProtocol: import("typebox").TInteger; client: import("typebox").TObject<{ id: import("typebox").TEnum<["webchat-ui", "openclaw-control-ui", "openclaw-tui", "webchat", "cli", "gateway-client", "openclaw-macos", "openclaw-ios", "openclaw-android", "node-host", "test", "fingerprint", "openclaw-probe"]>; displayName: import("typebox").TOptional; version: import("typebox").TString; platform: import("typebox").TString; deviceFamily: import("typebox").TOptional; modelIdentifier: import("typebox").TOptional; mode: import("typebox").TEnum<["webchat", "cli", "test", "probe", "ui", "backend", "node"]>; instanceId: import("typebox").TOptional; }>; caps: import("typebox").TOptional>; commands: import("typebox").TOptional>; permissions: import("typebox").TOptional>; pathEnv: import("typebox").TOptional; role: import("typebox").TOptional; scopes: import("typebox").TOptional>; device: import("typebox").TOptional>; auth: import("typebox").TOptional; bootstrapToken: import("typebox").TOptional; deviceToken: import("typebox").TOptional; password: import("typebox").TOptional; approvalRuntimeToken: import("typebox").TOptional; }>>; locale: import("typebox").TOptional; userAgent: import("typebox").TOptional; }>; HelloOk: import("typebox").TObject<{ type: import("typebox").TLiteral<"hello-ok">; protocol: import("typebox").TInteger; server: import("typebox").TObject<{ version: import("typebox").TString; connId: import("typebox").TString; }>; features: import("typebox").TObject<{ methods: import("typebox").TArray; events: import("typebox").TArray; }>; snapshot: import("typebox").TObject<{ presence: import("typebox").TArray; ip: import("typebox").TOptional; version: import("typebox").TOptional; platform: import("typebox").TOptional; deviceFamily: import("typebox").TOptional; modelIdentifier: import("typebox").TOptional; mode: import("typebox").TOptional; lastInputSeconds: import("typebox").TOptional; reason: import("typebox").TOptional; tags: import("typebox").TOptional>; text: import("typebox").TOptional; ts: import("typebox").TInteger; deviceId: import("typebox").TOptional; roles: import("typebox").TOptional>; scopes: import("typebox").TOptional>; instanceId: import("typebox").TOptional; }>>; health: import("typebox").TAny; stateVersion: import("typebox").TObject<{ presence: import("typebox").TInteger; health: import("typebox").TInteger; }>; uptimeMs: import("typebox").TInteger; configPath: import("typebox").TOptional; stateDir: import("typebox").TOptional; sessionDefaults: import("typebox").TOptional; }>>; authMode: import("typebox").TOptional, import("typebox").TLiteral<"token">, import("typebox").TLiteral<"password">, import("typebox").TLiteral<"trusted-proxy">]>>; updateAvailable: import("typebox").TOptional>; }>; pluginSurfaceUrls: import("typebox").TOptional>; auth: import("typebox").TObject<{ deviceToken: import("typebox").TOptional; role: import("typebox").TString; scopes: import("typebox").TArray; issuedAtMs: import("typebox").TOptional; deviceTokens: import("typebox").TOptional; issuedAtMs: import("typebox").TInteger; }>>>; }>; policy: import("typebox").TObject<{ maxPayload: import("typebox").TInteger; maxBufferedBytes: import("typebox").TInteger; tickIntervalMs: import("typebox").TInteger; }>; }>; RequestFrame: import("typebox").TObject<{ type: import("typebox").TLiteral<"req">; id: import("typebox").TString; method: import("typebox").TString; params: import("typebox").TOptional; }>; ResponseFrame: import("typebox").TObject<{ type: import("typebox").TLiteral<"res">; id: import("typebox").TString; ok: import("typebox").TBoolean; payload: import("typebox").TOptional; error: import("typebox").TOptional; retryable: import("typebox").TOptional; retryAfterMs: import("typebox").TOptional; }>>; }>; EventFrame: import("typebox").TObject<{ type: import("typebox").TLiteral<"event">; event: import("typebox").TString; payload: import("typebox").TOptional; seq: import("typebox").TOptional; stateVersion: import("typebox").TOptional>; }>; GatewayFrame: import("typebox").TUnion<[import("typebox").TObject<{ type: import("typebox").TLiteral<"req">; id: import("typebox").TString; method: import("typebox").TString; params: import("typebox").TOptional; }>, import("typebox").TObject<{ type: import("typebox").TLiteral<"res">; id: import("typebox").TString; ok: import("typebox").TBoolean; payload: import("typebox").TOptional; error: import("typebox").TOptional; retryable: import("typebox").TOptional; retryAfterMs: import("typebox").TOptional; }>>; }>, import("typebox").TObject<{ type: import("typebox").TLiteral<"event">; event: import("typebox").TString; payload: import("typebox").TOptional; seq: import("typebox").TOptional; stateVersion: import("typebox").TOptional>; }>]>; PresenceEntry: import("typebox").TObject<{ host: import("typebox").TOptional; ip: import("typebox").TOptional; version: import("typebox").TOptional; platform: import("typebox").TOptional; deviceFamily: import("typebox").TOptional; modelIdentifier: import("typebox").TOptional; mode: import("typebox").TOptional; lastInputSeconds: import("typebox").TOptional; reason: import("typebox").TOptional; tags: import("typebox").TOptional>; text: import("typebox").TOptional; ts: import("typebox").TInteger; deviceId: import("typebox").TOptional; roles: import("typebox").TOptional>; scopes: import("typebox").TOptional>; instanceId: import("typebox").TOptional; }>; StateVersion: import("typebox").TObject<{ presence: import("typebox").TInteger; health: import("typebox").TInteger; }>; Snapshot: import("typebox").TObject<{ presence: import("typebox").TArray; ip: import("typebox").TOptional; version: import("typebox").TOptional; platform: import("typebox").TOptional; deviceFamily: import("typebox").TOptional; modelIdentifier: import("typebox").TOptional; mode: import("typebox").TOptional; lastInputSeconds: import("typebox").TOptional; reason: import("typebox").TOptional; tags: import("typebox").TOptional>; text: import("typebox").TOptional; ts: import("typebox").TInteger; deviceId: import("typebox").TOptional; roles: import("typebox").TOptional>; scopes: import("typebox").TOptional>; instanceId: import("typebox").TOptional; }>>; health: import("typebox").TAny; stateVersion: import("typebox").TObject<{ presence: import("typebox").TInteger; health: import("typebox").TInteger; }>; uptimeMs: import("typebox").TInteger; configPath: import("typebox").TOptional; stateDir: import("typebox").TOptional; sessionDefaults: import("typebox").TOptional; }>>; authMode: import("typebox").TOptional, import("typebox").TLiteral<"token">, import("typebox").TLiteral<"password">, import("typebox").TLiteral<"trusted-proxy">]>>; updateAvailable: import("typebox").TOptional>; }>; ErrorShape: import("typebox").TObject<{ code: import("typebox").TString; message: import("typebox").TString; details: import("typebox").TOptional; retryable: import("typebox").TOptional; retryAfterMs: import("typebox").TOptional; }>; EnvironmentStatus: import("typebox").TString; EnvironmentSummary: import("typebox").TObject<{ id: import("typebox").TString; type: import("typebox").TString; label: import("typebox").TOptional; status: import("typebox").TString; capabilities: import("typebox").TOptional>; }>; EnvironmentsListParams: import("typebox").TObject<{}>; EnvironmentsListResult: import("typebox").TObject<{ environments: import("typebox").TArray; status: import("typebox").TString; capabilities: import("typebox").TOptional>; }>>; }>; EnvironmentsStatusParams: import("typebox").TObject<{ environmentId: import("typebox").TString; }>; EnvironmentsStatusResult: import("typebox").TObject<{ id: import("typebox").TString; type: import("typebox").TString; label: import("typebox").TOptional; status: import("typebox").TString; capabilities: import("typebox").TOptional>; }>; AgentEvent: import("typebox").TObject<{ runId: import("typebox").TString; seq: import("typebox").TInteger; stream: import("typebox").TString; ts: import("typebox").TInteger; spawnedBy: import("typebox").TOptional; isHeartbeat: import("typebox").TOptional; data: import("typebox").TRecord<"^.*$", import("typebox").TUnknown>; }>; MessageActionParams: import("typebox").TObject<{ channel: import("typebox").TString; action: import("typebox").TString; params: import("typebox").TRecord<"^.*$", import("typebox").TUnknown>; accountId: import("typebox").TOptional; requesterSenderId: import("typebox").TOptional; senderIsOwner: import("typebox").TOptional; sessionKey: import("typebox").TOptional; sessionId: import("typebox").TOptional; inboundTurnKind: import("typebox").TOptional; agentId: import("typebox").TOptional; toolContext: import("typebox").TOptional; currentGraphChannelId: import("typebox").TOptional; currentChannelProvider: import("typebox").TOptional; currentThreadTs: import("typebox").TOptional; currentMessageId: import("typebox").TOptional>; replyToMode: import("typebox").TOptional, import("typebox").TLiteral<"first">, import("typebox").TLiteral<"all">, import("typebox").TLiteral<"batched">]>>; hasRepliedRef: import("typebox").TOptional>; skipCrossContextDecoration: import("typebox").TOptional; }>>; idempotencyKey: import("typebox").TString; }>; SendParams: import("typebox").TObject<{ to: import("typebox").TString; message: import("typebox").TOptional; mediaUrl: import("typebox").TOptional; mediaUrls: import("typebox").TOptional>; asVoice: import("typebox").TOptional; gifPlayback: import("typebox").TOptional; channel: import("typebox").TOptional; accountId: import("typebox").TOptional; agentId: import("typebox").TOptional; replyToId: import("typebox").TOptional; threadId: import("typebox").TOptional; forceDocument: import("typebox").TOptional; silent: import("typebox").TOptional; parseMode: import("typebox").TOptional>; sessionKey: import("typebox").TOptional; idempotencyKey: import("typebox").TString; }>; PollParams: import("typebox").TObject<{ to: import("typebox").TString; question: import("typebox").TString; options: import("typebox").TArray; maxSelections: import("typebox").TOptional; durationSeconds: import("typebox").TOptional; durationHours: import("typebox").TOptional; silent: import("typebox").TOptional; isAnonymous: import("typebox").TOptional; threadId: import("typebox").TOptional; channel: import("typebox").TOptional; accountId: import("typebox").TOptional; idempotencyKey: import("typebox").TString; }>; AgentParams: import("typebox").TObject<{ message: import("typebox").TString; agentId: import("typebox").TOptional; provider: import("typebox").TOptional; model: import("typebox").TOptional; to: import("typebox").TOptional; replyTo: import("typebox").TOptional; sessionId: import("typebox").TOptional; sessionKey: import("typebox").TOptional; thinking: import("typebox").TOptional; deliver: import("typebox").TOptional; attachments: import("typebox").TOptional>; channel: import("typebox").TOptional; replyChannel: import("typebox").TOptional; accountId: import("typebox").TOptional; replyAccountId: import("typebox").TOptional; threadId: import("typebox").TOptional; groupId: import("typebox").TOptional; groupChannel: import("typebox").TOptional; groupSpace: import("typebox").TOptional; timeout: import("typebox").TOptional; bestEffortDeliver: import("typebox").TOptional; lane: import("typebox").TOptional; cleanupBundleMcpOnRunEnd: import("typebox").TOptional; modelRun: import("typebox").TOptional; promptMode: import("typebox").TOptional, import("typebox").TLiteral<"minimal">, import("typebox").TLiteral<"none">]>>; extraSystemPrompt: import("typebox").TOptional; bootstrapContextMode: import("typebox").TOptional, import("typebox").TLiteral<"lightweight">]>>; bootstrapContextRunKind: import("typebox").TOptional, import("typebox").TLiteral<"heartbeat">, import("typebox").TLiteral<"cron">]>>; acpTurnSource: import("typebox").TOptional>; internalRuntimeHandoffId: import("typebox").TOptional; internalEvents: import("typebox").TOptional; source: import("typebox").TString; childSessionKey: import("typebox").TString; childSessionId: import("typebox").TOptional; announceType: import("typebox").TString; taskLabel: import("typebox").TString; status: import("typebox").TString; statusLabel: import("typebox").TString; result: import("typebox").TString; attachments: import("typebox").TOptional; path: import("typebox").TOptional; url: import("typebox").TOptional; mediaUrl: import("typebox").TOptional; filePath: import("typebox").TOptional; mimeType: import("typebox").TOptional; name: import("typebox").TOptional; }>>>; mediaUrls: import("typebox").TOptional>; statsLine: import("typebox").TOptional; replyInstruction: import("typebox").TString; }>>>; inputProvenance: import("typebox").TOptional; sourceSessionKey: import("typebox").TOptional; sourceChannel: import("typebox").TOptional; sourceTool: import("typebox").TOptional; }>>; suppressPromptPersistence: import("typebox").TOptional; sessionEffects: import("typebox").TOptional, import("typebox").TLiteral<"internal">]>>; sourceReplyDeliveryMode: import("typebox").TOptional, import("typebox").TLiteral<"message_tool_only">]>>; disableMessageTool: import("typebox").TOptional; voiceWakeTrigger: import("typebox").TOptional; idempotencyKey: import("typebox").TString; label: import("typebox").TOptional; }>; AgentIdentityParams: import("typebox").TObject<{ agentId: import("typebox").TOptional; sessionKey: import("typebox").TOptional; }>; AgentIdentityResult: import("typebox").TObject<{ agentId: import("typebox").TString; name: import("typebox").TOptional; avatar: import("typebox").TOptional; avatarSource: import("typebox").TOptional; avatarStatus: import("typebox").TOptional; avatarReason: import("typebox").TOptional; emoji: import("typebox").TOptional; }>; AgentWaitParams: import("typebox").TObject<{ runId: import("typebox").TString; timeoutMs: import("typebox").TOptional; }>; WakeParams: import("typebox").TObject<{ mode: import("typebox").TUnion<[import("typebox").TLiteral<"now">, import("typebox").TLiteral<"next-heartbeat">]>; text: import("typebox").TString; sessionKey: import("typebox").TOptional; }>; NodePairRequestParams: import("typebox").TObject<{ nodeId: import("typebox").TString; displayName: import("typebox").TOptional; platform: import("typebox").TOptional; version: import("typebox").TOptional; coreVersion: import("typebox").TOptional; uiVersion: import("typebox").TOptional; deviceFamily: import("typebox").TOptional; modelIdentifier: import("typebox").TOptional; caps: import("typebox").TOptional>; commands: import("typebox").TOptional>; permissions: import("typebox").TOptional>; remoteIp: import("typebox").TOptional; silent: import("typebox").TOptional; }>; NodePairListParams: import("typebox").TObject<{}>; NodePairApproveParams: import("typebox").TObject<{ requestId: import("typebox").TString; }>; NodePairRejectParams: import("typebox").TObject<{ requestId: import("typebox").TString; }>; NodePairRemoveParams: import("typebox").TObject<{ nodeId: import("typebox").TString; }>; NodePairVerifyParams: import("typebox").TObject<{ nodeId: import("typebox").TString; token: import("typebox").TString; }>; NodeRenameParams: import("typebox").TObject<{ nodeId: import("typebox").TString; displayName: import("typebox").TString; }>; NodeListParams: import("typebox").TObject<{}>; NodePendingAckParams: import("typebox").TObject<{ ids: import("typebox").TArray; }>; NodeDescribeParams: import("typebox").TObject<{ nodeId: import("typebox").TString; }>; NodeInvokeParams: import("typebox").TObject<{ nodeId: import("typebox").TString; command: import("typebox").TString; params: import("typebox").TOptional; timeoutMs: import("typebox").TOptional; idempotencyKey: import("typebox").TString; }>; NodeInvokeResultParams: import("typebox").TObject<{ id: import("typebox").TString; nodeId: import("typebox").TString; ok: import("typebox").TBoolean; payload: import("typebox").TOptional; payloadJSON: import("typebox").TOptional; error: import("typebox").TOptional; message: import("typebox").TOptional; }>>; }>; NodeEventParams: import("typebox").TObject<{ event: import("typebox").TString; payload: import("typebox").TOptional; payloadJSON: import("typebox").TOptional; }>; NodeEventResult: import("typebox").TObject<{ ok: import("typebox").TBoolean; event: import("typebox").TString; handled: import("typebox").TBoolean; reason: import("typebox").TOptional; }>; NodePresenceAlivePayload: import("typebox").TObject<{ trigger: import("typebox").TString; sentAtMs: import("typebox").TOptional; displayName: import("typebox").TOptional; version: import("typebox").TOptional; platform: import("typebox").TOptional; deviceFamily: import("typebox").TOptional; modelIdentifier: import("typebox").TOptional; pushTransport: import("typebox").TOptional; }>; NodePresenceAliveReason: import("typebox").TString; NodePendingDrainParams: import("typebox").TObject<{ maxItems: import("typebox").TOptional; }>; NodePendingDrainResult: import("typebox").TObject<{ nodeId: import("typebox").TString; revision: import("typebox").TInteger; items: import("typebox").TArray>; payload: import("typebox").TOptional>; }>>; hasMore: import("typebox").TBoolean; }>; NodePendingEnqueueParams: import("typebox").TObject<{ nodeId: import("typebox").TString; type: import("typebox").TString; priority: import("typebox").TOptional; expiresInMs: import("typebox").TOptional; wake: import("typebox").TOptional; }>; NodePendingEnqueueResult: import("typebox").TObject<{ nodeId: import("typebox").TString; revision: import("typebox").TInteger; queued: import("typebox").TObject<{ id: import("typebox").TString; type: import("typebox").TString; priority: import("typebox").TString; createdAtMs: import("typebox").TInteger; expiresAtMs: import("typebox").TOptional>; payload: import("typebox").TOptional>; }>; wakeTriggered: import("typebox").TBoolean; }>; NodeInvokeRequestEvent: import("typebox").TObject<{ id: import("typebox").TString; nodeId: import("typebox").TString; command: import("typebox").TString; paramsJSON: import("typebox").TOptional; timeoutMs: import("typebox").TOptional; idempotencyKey: import("typebox").TOptional; }>; PushTestParams: import("typebox").TObject<{ nodeId: import("typebox").TString; title: import("typebox").TOptional; body: import("typebox").TOptional; environment: import("typebox").TOptional; }>; PushTestResult: import("typebox").TObject<{ ok: import("typebox").TBoolean; status: import("typebox").TInteger; apnsId: import("typebox").TOptional; reason: import("typebox").TOptional; tokenSuffix: import("typebox").TString; topic: import("typebox").TString; environment: import("typebox").TString; transport: import("typebox").TString; }>; SecretsReloadParams: import("typebox").TObject<{}>; SecretsResolveParams: import("typebox").TObject<{ commandName: import("typebox").TString; targetIds: import("typebox").TArray; allowedPaths: import("typebox").TOptional>; forcedActivePaths: import("typebox").TOptional>; optionalActivePaths: import("typebox").TOptional>; providerOverrides: import("typebox").TOptional; webFetch: import("typebox").TOptional; }>>; }>; SecretsResolveAssignment: import("typebox").TObject<{ path: import("typebox").TOptional; pathSegments: import("typebox").TArray; value: import("typebox").TUnknown; }>; SecretsResolveResult: import("typebox").TObject<{ ok: import("typebox").TOptional; assignments: import("typebox").TOptional; pathSegments: import("typebox").TArray; value: import("typebox").TUnknown; }>>>; diagnostics: import("typebox").TOptional>; inactiveRefPaths: import("typebox").TOptional>; }>; SessionsListParams: import("typebox").TObject<{ limit: import("typebox").TOptional; offset: import("typebox").TOptional; activeMinutes: import("typebox").TOptional; includeGlobal: import("typebox").TOptional; includeUnknown: import("typebox").TOptional; configuredAgentsOnly: import("typebox").TOptional; includeDerivedTitles: import("typebox").TOptional; includeLastMessage: import("typebox").TOptional; label: import("typebox").TOptional; spawnedBy: import("typebox").TOptional; agentId: import("typebox").TOptional; search: import("typebox").TOptional; }>; SessionsCleanupParams: import("typebox").TObject<{ agent: import("typebox").TOptional; allAgents: import("typebox").TOptional; enforce: import("typebox").TOptional; activeKey: import("typebox").TOptional; fixMissing: import("typebox").TOptional; fixDmScope: import("typebox").TOptional; }>; SessionsPreviewParams: import("typebox").TObject<{ keys: import("typebox").TArray; limit: import("typebox").TOptional; maxChars: import("typebox").TOptional; }>; SessionsDescribeParams: import("typebox").TObject<{ key: import("typebox").TString; includeDerivedTitles: import("typebox").TOptional; includeLastMessage: import("typebox").TOptional; }>; SessionsResolveParams: import("typebox").TObject<{ key: import("typebox").TOptional; sessionId: import("typebox").TOptional; label: import("typebox").TOptional; agentId: import("typebox").TOptional; spawnedBy: import("typebox").TOptional; includeGlobal: import("typebox").TOptional; includeUnknown: import("typebox").TOptional; }>; SessionCompactionCheckpoint: import("typebox").TObject<{ checkpointId: import("typebox").TString; sessionKey: import("typebox").TString; sessionId: import("typebox").TString; createdAt: import("typebox").TInteger; reason: import("typebox").TUnion<[import("typebox").TLiteral<"manual">, import("typebox").TLiteral<"auto-threshold">, import("typebox").TLiteral<"overflow-retry">, import("typebox").TLiteral<"timeout-retry">]>; tokensBefore: import("typebox").TOptional; tokensAfter: import("typebox").TOptional; summary: import("typebox").TOptional; firstKeptEntryId: import("typebox").TOptional; preCompaction: import("typebox").TObject<{ sessionId: import("typebox").TString; sessionFile: import("typebox").TOptional; leafId: import("typebox").TOptional; entryId: import("typebox").TOptional; }>; postCompaction: import("typebox").TObject<{ sessionId: import("typebox").TString; sessionFile: import("typebox").TOptional; leafId: import("typebox").TOptional; entryId: import("typebox").TOptional; }>; }>; SessionOperationEvent: import("typebox").TObject<{ operationId: import("typebox").TString; operation: import("typebox").TLiteral<"compact">; phase: import("typebox").TUnion<[import("typebox").TLiteral<"start">, import("typebox").TLiteral<"end">]>; sessionKey: import("typebox").TString; ts: import("typebox").TInteger; completed: import("typebox").TOptional; reason: import("typebox").TOptional; }>; SessionsCompactionListParams: import("typebox").TObject<{ key: import("typebox").TString; }>; SessionsCompactionGetParams: import("typebox").TObject<{ key: import("typebox").TString; checkpointId: import("typebox").TString; }>; SessionsCompactionBranchParams: import("typebox").TObject<{ key: import("typebox").TString; checkpointId: import("typebox").TString; }>; SessionsCompactionRestoreParams: import("typebox").TObject<{ key: import("typebox").TString; checkpointId: import("typebox").TString; }>; SessionsCompactionListResult: import("typebox").TObject<{ ok: import("typebox").TLiteral; key: import("typebox").TString; checkpoints: import("typebox").TArray, import("typebox").TLiteral<"auto-threshold">, import("typebox").TLiteral<"overflow-retry">, import("typebox").TLiteral<"timeout-retry">]>; tokensBefore: import("typebox").TOptional; tokensAfter: import("typebox").TOptional; summary: import("typebox").TOptional; firstKeptEntryId: import("typebox").TOptional; preCompaction: import("typebox").TObject<{ sessionId: import("typebox").TString; sessionFile: import("typebox").TOptional; leafId: import("typebox").TOptional; entryId: import("typebox").TOptional; }>; postCompaction: import("typebox").TObject<{ sessionId: import("typebox").TString; sessionFile: import("typebox").TOptional; leafId: import("typebox").TOptional; entryId: import("typebox").TOptional; }>; }>>; }>; SessionsCompactionGetResult: import("typebox").TObject<{ ok: import("typebox").TLiteral; key: import("typebox").TString; checkpoint: import("typebox").TObject<{ checkpointId: import("typebox").TString; sessionKey: import("typebox").TString; sessionId: import("typebox").TString; createdAt: import("typebox").TInteger; reason: import("typebox").TUnion<[import("typebox").TLiteral<"manual">, import("typebox").TLiteral<"auto-threshold">, import("typebox").TLiteral<"overflow-retry">, import("typebox").TLiteral<"timeout-retry">]>; tokensBefore: import("typebox").TOptional; tokensAfter: import("typebox").TOptional; summary: import("typebox").TOptional; firstKeptEntryId: import("typebox").TOptional; preCompaction: import("typebox").TObject<{ sessionId: import("typebox").TString; sessionFile: import("typebox").TOptional; leafId: import("typebox").TOptional; entryId: import("typebox").TOptional; }>; postCompaction: import("typebox").TObject<{ sessionId: import("typebox").TString; sessionFile: import("typebox").TOptional; leafId: import("typebox").TOptional; entryId: import("typebox").TOptional; }>; }>; }>; SessionsCompactionBranchResult: import("typebox").TObject<{ ok: import("typebox").TLiteral; sourceKey: import("typebox").TString; key: import("typebox").TString; sessionId: import("typebox").TString; checkpoint: import("typebox").TObject<{ checkpointId: import("typebox").TString; sessionKey: import("typebox").TString; sessionId: import("typebox").TString; createdAt: import("typebox").TInteger; reason: import("typebox").TUnion<[import("typebox").TLiteral<"manual">, import("typebox").TLiteral<"auto-threshold">, import("typebox").TLiteral<"overflow-retry">, import("typebox").TLiteral<"timeout-retry">]>; tokensBefore: import("typebox").TOptional; tokensAfter: import("typebox").TOptional; summary: import("typebox").TOptional; firstKeptEntryId: import("typebox").TOptional; preCompaction: import("typebox").TObject<{ sessionId: import("typebox").TString; sessionFile: import("typebox").TOptional; leafId: import("typebox").TOptional; entryId: import("typebox").TOptional; }>; postCompaction: import("typebox").TObject<{ sessionId: import("typebox").TString; sessionFile: import("typebox").TOptional; leafId: import("typebox").TOptional; entryId: import("typebox").TOptional; }>; }>; entry: import("typebox").TObject<{ sessionId: import("typebox").TString; updatedAt: import("typebox").TInteger; }>; }>; SessionsCompactionRestoreResult: import("typebox").TObject<{ ok: import("typebox").TLiteral; key: import("typebox").TString; sessionId: import("typebox").TString; checkpoint: import("typebox").TObject<{ checkpointId: import("typebox").TString; sessionKey: import("typebox").TString; sessionId: import("typebox").TString; createdAt: import("typebox").TInteger; reason: import("typebox").TUnion<[import("typebox").TLiteral<"manual">, import("typebox").TLiteral<"auto-threshold">, import("typebox").TLiteral<"overflow-retry">, import("typebox").TLiteral<"timeout-retry">]>; tokensBefore: import("typebox").TOptional; tokensAfter: import("typebox").TOptional; summary: import("typebox").TOptional; firstKeptEntryId: import("typebox").TOptional; preCompaction: import("typebox").TObject<{ sessionId: import("typebox").TString; sessionFile: import("typebox").TOptional; leafId: import("typebox").TOptional; entryId: import("typebox").TOptional; }>; postCompaction: import("typebox").TObject<{ sessionId: import("typebox").TString; sessionFile: import("typebox").TOptional; leafId: import("typebox").TOptional; entryId: import("typebox").TOptional; }>; }>; entry: import("typebox").TObject<{ sessionId: import("typebox").TString; updatedAt: import("typebox").TInteger; }>; }>; SessionsCreateParams: import("typebox").TObject<{ key: import("typebox").TOptional; agentId: import("typebox").TOptional; label: import("typebox").TOptional; model: import("typebox").TOptional; parentSessionKey: import("typebox").TOptional; emitCommandHooks: import("typebox").TOptional; task: import("typebox").TOptional; message: import("typebox").TOptional; }>; SessionsSendParams: import("typebox").TObject<{ key: import("typebox").TString; message: import("typebox").TString; thinking: import("typebox").TOptional; attachments: import("typebox").TOptional>; timeoutMs: import("typebox").TOptional; idempotencyKey: import("typebox").TOptional; }>; SessionsMessagesSubscribeParams: import("typebox").TObject<{ key: import("typebox").TString; }>; SessionsMessagesUnsubscribeParams: import("typebox").TObject<{ key: import("typebox").TString; }>; SessionsAbortParams: import("typebox").TObject<{ key: import("typebox").TOptional; runId: import("typebox").TOptional; agentId: import("typebox").TOptional; }>; SessionsPatchParams: import("typebox").TObject<{ key: import("typebox").TString; label: import("typebox").TOptional>; thinkingLevel: import("typebox").TOptional>; fastMode: import("typebox").TOptional>; verboseLevel: import("typebox").TOptional>; traceLevel: import("typebox").TOptional>; reasoningLevel: import("typebox").TOptional>; responseUsage: import("typebox").TOptional, import("typebox").TLiteral<"tokens">, import("typebox").TLiteral<"full">, import("typebox").TLiteral<"on">, import("typebox").TNull]>>; elevatedLevel: import("typebox").TOptional>; execHost: import("typebox").TOptional>; execSecurity: import("typebox").TOptional>; execAsk: import("typebox").TOptional>; execNode: import("typebox").TOptional>; model: import("typebox").TOptional>; spawnedBy: import("typebox").TOptional>; spawnedWorkspaceDir: import("typebox").TOptional>; spawnedCwd: import("typebox").TOptional>; spawnDepth: import("typebox").TOptional>; subagentRole: import("typebox").TOptional, import("typebox").TLiteral<"leaf">, import("typebox").TNull]>>; subagentControlScope: import("typebox").TOptional, import("typebox").TLiteral<"none">, import("typebox").TNull]>>; inheritedToolAllow: import("typebox").TOptional, import("typebox").TNull]>>; inheritedToolDeny: import("typebox").TOptional, import("typebox").TNull]>>; sendPolicy: import("typebox").TOptional, import("typebox").TLiteral<"deny">, import("typebox").TNull]>>; groupActivation: import("typebox").TOptional, import("typebox").TLiteral<"always">, import("typebox").TNull]>>; }>; SessionsPluginPatchParams: import("typebox").TObject<{ key: import("typebox").TString; pluginId: import("typebox").TString; namespace: import("typebox").TString; value: import("typebox").TOptional; unset: import("typebox").TOptional; }>; SessionsPluginPatchResult: import("typebox").TObject<{ ok: import("typebox").TLiteral; key: import("typebox").TString; value: import("typebox").TOptional; }>; SessionsResetParams: import("typebox").TObject<{ key: import("typebox").TString; reason: import("typebox").TOptional, import("typebox").TLiteral<"reset">]>>; }>; SessionsDeleteParams: import("typebox").TObject<{ key: import("typebox").TString; deleteTranscript: import("typebox").TOptional; emitLifecycleHooks: import("typebox").TOptional; }>; SessionsCompactParams: import("typebox").TObject<{ key: import("typebox").TString; maxLines: import("typebox").TOptional; }>; SessionsUsageParams: import("typebox").TObject<{ key: import("typebox").TOptional; agentId: import("typebox").TOptional; agentScope: import("typebox").TOptional>; startDate: import("typebox").TOptional; endDate: import("typebox").TOptional; mode: import("typebox").TOptional, import("typebox").TLiteral<"gateway">, import("typebox").TLiteral<"specific">]>>; range: import("typebox").TOptional, import("typebox").TLiteral<"30d">, import("typebox").TLiteral<"90d">, import("typebox").TLiteral<"1y">, import("typebox").TLiteral<"all">]>>; groupBy: import("typebox").TOptional, import("typebox").TLiteral<"family">]>>; includeHistorical: import("typebox").TOptional; utcOffset: import("typebox").TOptional; limit: import("typebox").TOptional; includeContextWeight: import("typebox").TOptional; }>; TaskSummary: import("typebox").TObject<{ id: import("typebox").TString; kind: import("typebox").TOptional; runtime: import("typebox").TOptional; status: import("typebox").TUnion<[import("typebox").TLiteral<"queued">, import("typebox").TLiteral<"running">, import("typebox").TLiteral<"completed">, import("typebox").TLiteral<"failed">, import("typebox").TLiteral<"cancelled">, import("typebox").TLiteral<"timed_out">]>; title: import("typebox").TOptional; agentId: import("typebox").TOptional; sessionKey: import("typebox").TOptional; childSessionKey: import("typebox").TOptional; ownerKey: import("typebox").TOptional; runId: import("typebox").TOptional; taskId: import("typebox").TOptional; flowId: import("typebox").TOptional; parentTaskId: import("typebox").TOptional; sourceId: import("typebox").TOptional; createdAt: import("typebox").TOptional>; updatedAt: import("typebox").TOptional>; startedAt: import("typebox").TOptional>; endedAt: import("typebox").TOptional>; progressSummary: import("typebox").TOptional; terminalSummary: import("typebox").TOptional; error: import("typebox").TOptional; }>; TasksListParams: import("typebox").TObject<{ status: import("typebox").TOptional, import("typebox").TLiteral<"running">, import("typebox").TLiteral<"completed">, import("typebox").TLiteral<"failed">, import("typebox").TLiteral<"cancelled">, import("typebox").TLiteral<"timed_out">]>, import("typebox").TArray, import("typebox").TLiteral<"running">, import("typebox").TLiteral<"completed">, import("typebox").TLiteral<"failed">, import("typebox").TLiteral<"cancelled">, import("typebox").TLiteral<"timed_out">]>>]>>; agentId: import("typebox").TOptional; sessionKey: import("typebox").TOptional; limit: import("typebox").TOptional; cursor: import("typebox").TOptional; }>; TasksListResult: import("typebox").TObject<{ tasks: import("typebox").TArray; runtime: import("typebox").TOptional; status: import("typebox").TUnion<[import("typebox").TLiteral<"queued">, import("typebox").TLiteral<"running">, import("typebox").TLiteral<"completed">, import("typebox").TLiteral<"failed">, import("typebox").TLiteral<"cancelled">, import("typebox").TLiteral<"timed_out">]>; title: import("typebox").TOptional; agentId: import("typebox").TOptional; sessionKey: import("typebox").TOptional; childSessionKey: import("typebox").TOptional; ownerKey: import("typebox").TOptional; runId: import("typebox").TOptional; taskId: import("typebox").TOptional; flowId: import("typebox").TOptional; parentTaskId: import("typebox").TOptional; sourceId: import("typebox").TOptional; createdAt: import("typebox").TOptional>; updatedAt: import("typebox").TOptional>; startedAt: import("typebox").TOptional>; endedAt: import("typebox").TOptional>; progressSummary: import("typebox").TOptional; terminalSummary: import("typebox").TOptional; error: import("typebox").TOptional; }>>; nextCursor: import("typebox").TOptional; }>; TasksGetParams: import("typebox").TObject<{ taskId: import("typebox").TString; }>; TasksGetResult: import("typebox").TObject<{ task: import("typebox").TObject<{ id: import("typebox").TString; kind: import("typebox").TOptional; runtime: import("typebox").TOptional; status: import("typebox").TUnion<[import("typebox").TLiteral<"queued">, import("typebox").TLiteral<"running">, import("typebox").TLiteral<"completed">, import("typebox").TLiteral<"failed">, import("typebox").TLiteral<"cancelled">, import("typebox").TLiteral<"timed_out">]>; title: import("typebox").TOptional; agentId: import("typebox").TOptional; sessionKey: import("typebox").TOptional; childSessionKey: import("typebox").TOptional; ownerKey: import("typebox").TOptional; runId: import("typebox").TOptional; taskId: import("typebox").TOptional; flowId: import("typebox").TOptional; parentTaskId: import("typebox").TOptional; sourceId: import("typebox").TOptional; createdAt: import("typebox").TOptional>; updatedAt: import("typebox").TOptional>; startedAt: import("typebox").TOptional>; endedAt: import("typebox").TOptional>; progressSummary: import("typebox").TOptional; terminalSummary: import("typebox").TOptional; error: import("typebox").TOptional; }>; }>; TasksCancelParams: import("typebox").TObject<{ taskId: import("typebox").TString; reason: import("typebox").TOptional; }>; TasksCancelResult: import("typebox").TObject<{ found: import("typebox").TBoolean; cancelled: import("typebox").TBoolean; reason: import("typebox").TOptional; task: import("typebox").TOptional; runtime: import("typebox").TOptional; status: import("typebox").TUnion<[import("typebox").TLiteral<"queued">, import("typebox").TLiteral<"running">, import("typebox").TLiteral<"completed">, import("typebox").TLiteral<"failed">, import("typebox").TLiteral<"cancelled">, import("typebox").TLiteral<"timed_out">]>; title: import("typebox").TOptional; agentId: import("typebox").TOptional; sessionKey: import("typebox").TOptional; childSessionKey: import("typebox").TOptional; ownerKey: import("typebox").TOptional; runId: import("typebox").TOptional; taskId: import("typebox").TOptional; flowId: import("typebox").TOptional; parentTaskId: import("typebox").TOptional; sourceId: import("typebox").TOptional; createdAt: import("typebox").TOptional>; updatedAt: import("typebox").TOptional>; startedAt: import("typebox").TOptional>; endedAt: import("typebox").TOptional>; progressSummary: import("typebox").TOptional; terminalSummary: import("typebox").TOptional; error: import("typebox").TOptional; }>>; }>; ConfigGetParams: import("typebox").TObject<{}>; ConfigSetParams: import("typebox").TObject<{ raw: import("typebox").TString; baseHash: import("typebox").TOptional; }>; ConfigApplyParams: import("typebox").TObject<{ raw: import("typebox").TString; baseHash: import("typebox").TOptional; sessionKey: import("typebox").TOptional; deliveryContext: import("typebox").TOptional; to: import("typebox").TOptional; accountId: import("typebox").TOptional; threadId: import("typebox").TOptional>; }>>; note: import("typebox").TOptional; restartDelayMs: import("typebox").TOptional; }>; ConfigPatchParams: import("typebox").TObject<{ raw: import("typebox").TString; baseHash: import("typebox").TOptional; sessionKey: import("typebox").TOptional; deliveryContext: import("typebox").TOptional; to: import("typebox").TOptional; accountId: import("typebox").TOptional; threadId: import("typebox").TOptional>; }>>; note: import("typebox").TOptional; restartDelayMs: import("typebox").TOptional; }>; ConfigSchemaParams: import("typebox").TObject<{}>; ConfigSchemaLookupParams: import("typebox").TObject<{ path: import("typebox").TString; }>; ConfigSchemaResponse: import("typebox").TObject<{ schema: import("typebox").TUnknown; uiHints: import("typebox").TRecord<"^.*$", import("typebox").TObject<{ label: import("typebox").TOptional; help: import("typebox").TOptional; tags: import("typebox").TOptional>; group: import("typebox").TOptional; order: import("typebox").TOptional; advanced: import("typebox").TOptional; sensitive: import("typebox").TOptional; placeholder: import("typebox").TOptional; itemTemplate: import("typebox").TOptional; }>>; version: import("typebox").TString; generatedAt: import("typebox").TString; }>; ConfigSchemaLookupResult: import("typebox").TObject<{ path: import("typebox").TString; schema: import("typebox").TUnknown; reloadKind: import("typebox").TOptional, import("typebox").TLiteral<"hot">, import("typebox").TLiteral<"none">]>>; hint: import("typebox").TOptional; help: import("typebox").TOptional; tags: import("typebox").TOptional>; group: import("typebox").TOptional; order: import("typebox").TOptional; advanced: import("typebox").TOptional; sensitive: import("typebox").TOptional; placeholder: import("typebox").TOptional; itemTemplate: import("typebox").TOptional; }>>; hintPath: import("typebox").TOptional; children: import("typebox").TArray]>>; required: import("typebox").TBoolean; hasChildren: import("typebox").TBoolean; reloadKind: import("typebox").TOptional, import("typebox").TLiteral<"hot">, import("typebox").TLiteral<"none">]>>; hint: import("typebox").TOptional; help: import("typebox").TOptional; tags: import("typebox").TOptional>; group: import("typebox").TOptional; order: import("typebox").TOptional; advanced: import("typebox").TOptional; sensitive: import("typebox").TOptional; placeholder: import("typebox").TOptional; itemTemplate: import("typebox").TOptional; }>>; hintPath: import("typebox").TOptional; }>>; }>; WizardStartParams: import("typebox").TObject<{ mode: import("typebox").TOptional, import("typebox").TLiteral<"remote">]>>; workspace: import("typebox").TOptional; }>; WizardNextParams: import("typebox").TObject<{ sessionId: import("typebox").TString; answer: import("typebox").TOptional; }>>; }>; WizardCancelParams: import("typebox").TObject<{ sessionId: import("typebox").TString; }>; WizardStatusParams: import("typebox").TObject<{ sessionId: import("typebox").TString; }>; WizardStep: import("typebox").TObject<{ id: import("typebox").TString; type: import("typebox").TUnion<[import("typebox").TLiteral<"note">, import("typebox").TLiteral<"select">, import("typebox").TLiteral<"text">, import("typebox").TLiteral<"confirm">, import("typebox").TLiteral<"multiselect">, import("typebox").TLiteral<"progress">, import("typebox").TLiteral<"action">]>; title: import("typebox").TOptional; message: import("typebox").TOptional; format: import("typebox").TOptional]>>; options: import("typebox").TOptional; }>>>; initialValue: import("typebox").TOptional; placeholder: import("typebox").TOptional; sensitive: import("typebox").TOptional; executor: import("typebox").TOptional, import("typebox").TLiteral<"client">]>>; }>; WizardNextResult: import("typebox").TObject<{ done: import("typebox").TBoolean; step: import("typebox").TOptional, import("typebox").TLiteral<"select">, import("typebox").TLiteral<"text">, import("typebox").TLiteral<"confirm">, import("typebox").TLiteral<"multiselect">, import("typebox").TLiteral<"progress">, import("typebox").TLiteral<"action">]>; title: import("typebox").TOptional; message: import("typebox").TOptional; format: import("typebox").TOptional]>>; options: import("typebox").TOptional; }>>>; initialValue: import("typebox").TOptional; placeholder: import("typebox").TOptional; sensitive: import("typebox").TOptional; executor: import("typebox").TOptional, import("typebox").TLiteral<"client">]>>; }>>; status: import("typebox").TOptional, import("typebox").TLiteral<"done">, import("typebox").TLiteral<"cancelled">, import("typebox").TLiteral<"error">]>>; error: import("typebox").TOptional; }>; WizardStartResult: import("typebox").TObject<{ done: import("typebox").TBoolean; step: import("typebox").TOptional, import("typebox").TLiteral<"select">, import("typebox").TLiteral<"text">, import("typebox").TLiteral<"confirm">, import("typebox").TLiteral<"multiselect">, import("typebox").TLiteral<"progress">, import("typebox").TLiteral<"action">]>; title: import("typebox").TOptional; message: import("typebox").TOptional; format: import("typebox").TOptional]>>; options: import("typebox").TOptional; }>>>; initialValue: import("typebox").TOptional; placeholder: import("typebox").TOptional; sensitive: import("typebox").TOptional; executor: import("typebox").TOptional, import("typebox").TLiteral<"client">]>>; }>>; status: import("typebox").TOptional, import("typebox").TLiteral<"done">, import("typebox").TLiteral<"cancelled">, import("typebox").TLiteral<"error">]>>; error: import("typebox").TOptional; sessionId: import("typebox").TString; }>; WizardStatusResult: import("typebox").TObject<{ status: import("typebox").TUnion<[import("typebox").TLiteral<"running">, import("typebox").TLiteral<"done">, import("typebox").TLiteral<"cancelled">, import("typebox").TLiteral<"error">]>; error: import("typebox").TOptional; }>; TalkModeParams: import("typebox").TObject<{ enabled: import("typebox").TBoolean; phase: import("typebox").TOptional; }>; TalkEvent: import("typebox").TObject<{ id: import("typebox").TString; type: import("typebox").TUnion<[import("typebox").TLiteral<"session.started">, import("typebox").TLiteral<"session.ready">, import("typebox").TLiteral<"session.closed">, import("typebox").TLiteral<"session.error">, import("typebox").TLiteral<"session.replaced">, import("typebox").TLiteral<"turn.started">, import("typebox").TLiteral<"turn.ended">, import("typebox").TLiteral<"turn.cancelled">, import("typebox").TLiteral<"capture.started">, import("typebox").TLiteral<"capture.stopped">, import("typebox").TLiteral<"capture.cancelled">, import("typebox").TLiteral<"capture.once">, import("typebox").TLiteral<"input.audio.delta">, import("typebox").TLiteral<"input.audio.committed">, import("typebox").TLiteral<"transcript.delta">, import("typebox").TLiteral<"transcript.done">, import("typebox").TLiteral<"output.text.delta">, import("typebox").TLiteral<"output.text.done">, import("typebox").TLiteral<"output.audio.started">, import("typebox").TLiteral<"output.audio.delta">, import("typebox").TLiteral<"output.audio.done">, import("typebox").TLiteral<"tool.call">, import("typebox").TLiteral<"tool.progress">, import("typebox").TLiteral<"tool.result">, import("typebox").TLiteral<"tool.error">, import("typebox").TLiteral<"usage.metrics">, import("typebox").TLiteral<"latency.metrics">, import("typebox").TLiteral<"health.changed">]>; sessionId: import("typebox").TString; turnId: import("typebox").TOptional; captureId: import("typebox").TOptional; seq: import("typebox").TInteger; timestamp: import("typebox").TString; mode: import("typebox").TUnion<[import("typebox").TLiteral<"realtime">, import("typebox").TLiteral<"stt-tts">, import("typebox").TLiteral<"transcription">]>; transport: import("typebox").TUnion<[import("typebox").TLiteral<"webrtc">, import("typebox").TLiteral<"provider-websocket">, import("typebox").TLiteral<"gateway-relay">, import("typebox").TLiteral<"managed-room">]>; brain: import("typebox").TUnion<[import("typebox").TLiteral<"agent-consult">, import("typebox").TLiteral<"direct-tools">, import("typebox").TLiteral<"none">]>; provider: import("typebox").TOptional; final: import("typebox").TOptional; callId: import("typebox").TOptional; itemId: import("typebox").TOptional; parentId: import("typebox").TOptional; payload: import("typebox").TUnknown; }>; TalkCatalogParams: import("typebox").TObject<{}>; TalkCatalogResult: import("typebox").TObject<{ modes: import("typebox").TArray, import("typebox").TLiteral<"stt-tts">, import("typebox").TLiteral<"transcription">]>>; transports: import("typebox").TArray, import("typebox").TLiteral<"provider-websocket">, import("typebox").TLiteral<"gateway-relay">, import("typebox").TLiteral<"managed-room">]>>; brains: import("typebox").TArray, import("typebox").TLiteral<"direct-tools">, import("typebox").TLiteral<"none">]>>; speech: import("typebox").TObject<{ activeProvider: import("typebox").TOptional; providers: import("typebox").TArray>; voices: import("typebox").TOptional>; defaultModel: import("typebox").TOptional; modes: import("typebox").TOptional, import("typebox").TLiteral<"stt-tts">, import("typebox").TLiteral<"transcription">]>>>; transports: import("typebox").TOptional, import("typebox").TLiteral<"provider-websocket">, import("typebox").TLiteral<"gateway-relay">, import("typebox").TLiteral<"managed-room">]>>>; brains: import("typebox").TOptional, import("typebox").TLiteral<"direct-tools">, import("typebox").TLiteral<"none">]>>>; inputAudioFormats: import("typebox").TOptional, import("typebox").TLiteral<"g711_ulaw">]>; sampleRateHz: import("typebox").TInteger; channels: import("typebox").TInteger; }>>>; outputAudioFormats: import("typebox").TOptional, import("typebox").TLiteral<"g711_ulaw">]>; sampleRateHz: import("typebox").TInteger; channels: import("typebox").TInteger; }>>>; supportsBrowserSession: import("typebox").TOptional; supportsBargeIn: import("typebox").TOptional; supportsToolCalls: import("typebox").TOptional; supportsVideoFrames: import("typebox").TOptional; supportsSessionResumption: import("typebox").TOptional; }>>; }>; transcription: import("typebox").TObject<{ activeProvider: import("typebox").TOptional; providers: import("typebox").TArray>; voices: import("typebox").TOptional>; defaultModel: import("typebox").TOptional; modes: import("typebox").TOptional, import("typebox").TLiteral<"stt-tts">, import("typebox").TLiteral<"transcription">]>>>; transports: import("typebox").TOptional, import("typebox").TLiteral<"provider-websocket">, import("typebox").TLiteral<"gateway-relay">, import("typebox").TLiteral<"managed-room">]>>>; brains: import("typebox").TOptional, import("typebox").TLiteral<"direct-tools">, import("typebox").TLiteral<"none">]>>>; inputAudioFormats: import("typebox").TOptional, import("typebox").TLiteral<"g711_ulaw">]>; sampleRateHz: import("typebox").TInteger; channels: import("typebox").TInteger; }>>>; outputAudioFormats: import("typebox").TOptional, import("typebox").TLiteral<"g711_ulaw">]>; sampleRateHz: import("typebox").TInteger; channels: import("typebox").TInteger; }>>>; supportsBrowserSession: import("typebox").TOptional; supportsBargeIn: import("typebox").TOptional; supportsToolCalls: import("typebox").TOptional; supportsVideoFrames: import("typebox").TOptional; supportsSessionResumption: import("typebox").TOptional; }>>; }>; realtime: import("typebox").TObject<{ activeProvider: import("typebox").TOptional; providers: import("typebox").TArray>; voices: import("typebox").TOptional>; defaultModel: import("typebox").TOptional; modes: import("typebox").TOptional, import("typebox").TLiteral<"stt-tts">, import("typebox").TLiteral<"transcription">]>>>; transports: import("typebox").TOptional, import("typebox").TLiteral<"provider-websocket">, import("typebox").TLiteral<"gateway-relay">, import("typebox").TLiteral<"managed-room">]>>>; brains: import("typebox").TOptional, import("typebox").TLiteral<"direct-tools">, import("typebox").TLiteral<"none">]>>>; inputAudioFormats: import("typebox").TOptional, import("typebox").TLiteral<"g711_ulaw">]>; sampleRateHz: import("typebox").TInteger; channels: import("typebox").TInteger; }>>>; outputAudioFormats: import("typebox").TOptional, import("typebox").TLiteral<"g711_ulaw">]>; sampleRateHz: import("typebox").TInteger; channels: import("typebox").TInteger; }>>>; supportsBrowserSession: import("typebox").TOptional; supportsBargeIn: import("typebox").TOptional; supportsToolCalls: import("typebox").TOptional; supportsVideoFrames: import("typebox").TOptional; supportsSessionResumption: import("typebox").TOptional; }>>; }>; }>; TalkClientCreateParams: import("typebox").TObject<{ sessionKey: import("typebox").TOptional; provider: import("typebox").TOptional; model: import("typebox").TOptional; voice: import("typebox").TOptional; vadThreshold: import("typebox").TOptional; silenceDurationMs: import("typebox").TOptional; prefixPaddingMs: import("typebox").TOptional; reasoningEffort: import("typebox").TOptional; mode: import("typebox").TOptional, import("typebox").TLiteral<"stt-tts">, import("typebox").TLiteral<"transcription">]>>; transport: import("typebox").TOptional, import("typebox").TLiteral<"provider-websocket">, import("typebox").TLiteral<"gateway-relay">, import("typebox").TLiteral<"managed-room">]>>; brain: import("typebox").TOptional, import("typebox").TLiteral<"direct-tools">, import("typebox").TLiteral<"none">]>>; }>; TalkClientCreateResult: import("typebox").TUnion<[import("typebox").TObject<{ provider: import("typebox").TString; transport: import("typebox").TLiteral<"webrtc">; clientSecret: import("typebox").TString; offerUrl: import("typebox").TOptional; offerHeaders: import("typebox").TOptional>; model: import("typebox").TOptional; voice: import("typebox").TOptional; expiresAt: import("typebox").TOptional; }>, import("typebox").TObject<{ provider: import("typebox").TString; transport: import("typebox").TLiteral<"provider-websocket">; protocol: import("typebox").TString; clientSecret: import("typebox").TString; websocketUrl: import("typebox").TString; audio: import("typebox").TObject<{ inputEncoding: import("typebox").TUnion<[import("typebox").TLiteral<"pcm16">, import("typebox").TLiteral<"g711_ulaw">]>; inputSampleRateHz: import("typebox").TInteger; outputEncoding: import("typebox").TUnion<[import("typebox").TLiteral<"pcm16">, import("typebox").TLiteral<"g711_ulaw">]>; outputSampleRateHz: import("typebox").TInteger; }>; initialMessage: import("typebox").TOptional; model: import("typebox").TOptional; voice: import("typebox").TOptional; expiresAt: import("typebox").TOptional; }>, import("typebox").TObject<{ provider: import("typebox").TString; transport: import("typebox").TLiteral<"gateway-relay">; relaySessionId: import("typebox").TString; audio: import("typebox").TObject<{ inputEncoding: import("typebox").TUnion<[import("typebox").TLiteral<"pcm16">, import("typebox").TLiteral<"g711_ulaw">]>; inputSampleRateHz: import("typebox").TInteger; outputEncoding: import("typebox").TUnion<[import("typebox").TLiteral<"pcm16">, import("typebox").TLiteral<"g711_ulaw">]>; outputSampleRateHz: import("typebox").TInteger; }>; model: import("typebox").TOptional; voice: import("typebox").TOptional; expiresAt: import("typebox").TOptional; }>, import("typebox").TObject<{ provider: import("typebox").TString; transport: import("typebox").TLiteral<"managed-room">; roomUrl: import("typebox").TString; token: import("typebox").TOptional; model: import("typebox").TOptional; voice: import("typebox").TOptional; expiresAt: import("typebox").TOptional; }>]>; TalkClientSteerParams: import("typebox").TObject<{ sessionKey: import("typebox").TString; text: import("typebox").TString; mode: import("typebox").TOptional, import("typebox").TLiteral<"steer">, import("typebox").TLiteral<"cancel">, import("typebox").TLiteral<"followup">]>>; }>; TalkAgentControlResult: import("typebox").TObject<{ ok: import("typebox").TBoolean; mode: import("typebox").TUnion<[import("typebox").TLiteral<"status">, import("typebox").TLiteral<"steer">, import("typebox").TLiteral<"cancel">, import("typebox").TLiteral<"followup">]>; sessionKey: import("typebox").TString; sessionId: import("typebox").TOptional; active: import("typebox").TBoolean; queued: import("typebox").TOptional; aborted: import("typebox").TOptional; target: import("typebox").TOptional, import("typebox").TLiteral<"reply_run">]>>; reason: import("typebox").TOptional; message: import("typebox").TString; speak: import("typebox").TBoolean; show: import("typebox").TBoolean; suppress: import("typebox").TBoolean; providerResult: import("typebox").TOptional; message: import("typebox").TString; }>>; enqueuedAtMs: import("typebox").TOptional; deliveredAtMs: import("typebox").TOptional; }>; TalkClientToolCallParams: import("typebox").TObject<{ sessionKey: import("typebox").TString; callId: import("typebox").TString; name: import("typebox").TString; args: import("typebox").TOptional; relaySessionId: import("typebox").TOptional; }>; TalkClientToolCallResult: import("typebox").TObject<{ runId: import("typebox").TString; idempotencyKey: import("typebox").TString; }>; TalkConfigParams: import("typebox").TObject<{ includeSecrets: import("typebox").TOptional; }>; TalkConfigResult: import("typebox").TObject<{ config: import("typebox").TObject<{ talk: import("typebox").TOptional; providers: import("typebox").TOptional; provider: import("typebox").TString; id: import("typebox").TString; }>, import("typebox").TObject<{ source: import("typebox").TLiteral<"file">; provider: import("typebox").TString; id: import("typebox").TUnsafe; }>, import("typebox").TObject<{ source: import("typebox").TLiteral<"exec">; provider: import("typebox").TString; id: import("typebox").TString; }>]>]>>; }>>>; realtime: import("typebox").TOptional; providers: import("typebox").TOptional; provider: import("typebox").TString; id: import("typebox").TString; }>, import("typebox").TObject<{ source: import("typebox").TLiteral<"file">; provider: import("typebox").TString; id: import("typebox").TUnsafe; }>, import("typebox").TObject<{ source: import("typebox").TLiteral<"exec">; provider: import("typebox").TString; id: import("typebox").TString; }>]>]>>; }>>>; model: import("typebox").TOptional; speakerVoice: import("typebox").TOptional; speakerVoiceId: import("typebox").TOptional; voice: import("typebox").TOptional; instructions: import("typebox").TOptional; mode: import("typebox").TOptional, import("typebox").TLiteral<"stt-tts">, import("typebox").TLiteral<"transcription">]>>; transport: import("typebox").TOptional, import("typebox").TLiteral<"provider-websocket">, import("typebox").TLiteral<"gateway-relay">, import("typebox").TLiteral<"managed-room">]>>; brain: import("typebox").TOptional, import("typebox").TLiteral<"direct-tools">, import("typebox").TLiteral<"none">]>>; }>>; resolved: import("typebox").TOptional; provider: import("typebox").TString; id: import("typebox").TString; }>, import("typebox").TObject<{ source: import("typebox").TLiteral<"file">; provider: import("typebox").TString; id: import("typebox").TUnsafe; }>, import("typebox").TObject<{ source: import("typebox").TLiteral<"exec">; provider: import("typebox").TString; id: import("typebox").TString; }>]>]>>; }>; }>>; consultThinkingLevel: import("typebox").TOptional; consultFastMode: import("typebox").TOptional; speechLocale: import("typebox").TOptional; interruptOnSpeech: import("typebox").TOptional; silenceTimeoutMs: import("typebox").TOptional; }>>; session: import("typebox").TOptional; }>>; ui: import("typebox").TOptional; }>>; }>; }>; TalkSessionAppendAudioParams: import("typebox").TObject<{ sessionId: import("typebox").TString; audioBase64: import("typebox").TString; timestamp: import("typebox").TOptional; }>; TalkSessionCancelOutputParams: import("typebox").TObject<{ sessionId: import("typebox").TString; turnId: import("typebox").TOptional; reason: import("typebox").TOptional; }>; TalkSessionCancelTurnParams: import("typebox").TObject<{ sessionId: import("typebox").TString; turnId: import("typebox").TOptional; reason: import("typebox").TOptional; }>; TalkSessionCreateParams: import("typebox").TObject<{ sessionKey: import("typebox").TOptional; spawnedBy: import("typebox").TOptional; provider: import("typebox").TOptional; model: import("typebox").TOptional; voice: import("typebox").TOptional; vadThreshold: import("typebox").TOptional; silenceDurationMs: import("typebox").TOptional; prefixPaddingMs: import("typebox").TOptional; reasoningEffort: import("typebox").TOptional; mode: import("typebox").TOptional, import("typebox").TLiteral<"stt-tts">, import("typebox").TLiteral<"transcription">]>>; transport: import("typebox").TOptional, import("typebox").TLiteral<"provider-websocket">, import("typebox").TLiteral<"gateway-relay">, import("typebox").TLiteral<"managed-room">]>>; brain: import("typebox").TOptional, import("typebox").TLiteral<"direct-tools">, import("typebox").TLiteral<"none">]>>; ttlMs: import("typebox").TOptional; }>; TalkSessionCreateResult: import("typebox").TObject<{ sessionId: import("typebox").TString; provider: import("typebox").TOptional; mode: import("typebox").TUnion<[import("typebox").TLiteral<"realtime">, import("typebox").TLiteral<"stt-tts">, import("typebox").TLiteral<"transcription">]>; transport: import("typebox").TUnion<[import("typebox").TLiteral<"webrtc">, import("typebox").TLiteral<"provider-websocket">, import("typebox").TLiteral<"gateway-relay">, import("typebox").TLiteral<"managed-room">]>; brain: import("typebox").TUnion<[import("typebox").TLiteral<"agent-consult">, import("typebox").TLiteral<"direct-tools">, import("typebox").TLiteral<"none">]>; relaySessionId: import("typebox").TOptional; transcriptionSessionId: import("typebox").TOptional; handoffId: import("typebox").TOptional; roomId: import("typebox").TOptional; roomUrl: import("typebox").TOptional; token: import("typebox").TOptional; audio: import("typebox").TOptional; model: import("typebox").TOptional; voice: import("typebox").TOptional; expiresAt: import("typebox").TOptional; }>; TalkSessionJoinParams: import("typebox").TObject<{ sessionId: import("typebox").TString; token: import("typebox").TString; }>; TalkSessionJoinResult: import("typebox").TObject<{ id: import("typebox").TString; roomId: import("typebox").TString; roomUrl: import("typebox").TString; sessionKey: import("typebox").TString; sessionId: import("typebox").TOptional; channel: import("typebox").TOptional; target: import("typebox").TOptional; provider: import("typebox").TOptional; model: import("typebox").TOptional; voice: import("typebox").TOptional; mode: import("typebox").TUnion<[import("typebox").TLiteral<"realtime">, import("typebox").TLiteral<"stt-tts">, import("typebox").TLiteral<"transcription">]>; transport: import("typebox").TUnion<[import("typebox").TLiteral<"webrtc">, import("typebox").TLiteral<"provider-websocket">, import("typebox").TLiteral<"gateway-relay">, import("typebox").TLiteral<"managed-room">]>; brain: import("typebox").TUnion<[import("typebox").TLiteral<"agent-consult">, import("typebox").TLiteral<"direct-tools">, import("typebox").TLiteral<"none">]>; createdAt: import("typebox").TNumber; expiresAt: import("typebox").TNumber; room: import("typebox").TObject<{ activeClientId: import("typebox").TOptional; activeTurnId: import("typebox").TOptional; recentTalkEvents: import("typebox").TArray, import("typebox").TLiteral<"session.ready">, import("typebox").TLiteral<"session.closed">, import("typebox").TLiteral<"session.error">, import("typebox").TLiteral<"session.replaced">, import("typebox").TLiteral<"turn.started">, import("typebox").TLiteral<"turn.ended">, import("typebox").TLiteral<"turn.cancelled">, import("typebox").TLiteral<"capture.started">, import("typebox").TLiteral<"capture.stopped">, import("typebox").TLiteral<"capture.cancelled">, import("typebox").TLiteral<"capture.once">, import("typebox").TLiteral<"input.audio.delta">, import("typebox").TLiteral<"input.audio.committed">, import("typebox").TLiteral<"transcript.delta">, import("typebox").TLiteral<"transcript.done">, import("typebox").TLiteral<"output.text.delta">, import("typebox").TLiteral<"output.text.done">, import("typebox").TLiteral<"output.audio.started">, import("typebox").TLiteral<"output.audio.delta">, import("typebox").TLiteral<"output.audio.done">, import("typebox").TLiteral<"tool.call">, import("typebox").TLiteral<"tool.progress">, import("typebox").TLiteral<"tool.result">, import("typebox").TLiteral<"tool.error">, import("typebox").TLiteral<"usage.metrics">, import("typebox").TLiteral<"latency.metrics">, import("typebox").TLiteral<"health.changed">]>; sessionId: import("typebox").TString; turnId: import("typebox").TOptional; captureId: import("typebox").TOptional; seq: import("typebox").TInteger; timestamp: import("typebox").TString; mode: import("typebox").TUnion<[import("typebox").TLiteral<"realtime">, import("typebox").TLiteral<"stt-tts">, import("typebox").TLiteral<"transcription">]>; transport: import("typebox").TUnion<[import("typebox").TLiteral<"webrtc">, import("typebox").TLiteral<"provider-websocket">, import("typebox").TLiteral<"gateway-relay">, import("typebox").TLiteral<"managed-room">]>; brain: import("typebox").TUnion<[import("typebox").TLiteral<"agent-consult">, import("typebox").TLiteral<"direct-tools">, import("typebox").TLiteral<"none">]>; provider: import("typebox").TOptional; final: import("typebox").TOptional; callId: import("typebox").TOptional; itemId: import("typebox").TOptional; parentId: import("typebox").TOptional; payload: import("typebox").TUnknown; }>>; }>; }>; TalkSessionTurnParams: import("typebox").TObject<{ sessionId: import("typebox").TString; turnId: import("typebox").TOptional; }>; TalkSessionTurnResult: import("typebox").TObject<{ ok: import("typebox").TBoolean; turnId: import("typebox").TOptional; events: import("typebox").TOptional, import("typebox").TLiteral<"session.ready">, import("typebox").TLiteral<"session.closed">, import("typebox").TLiteral<"session.error">, import("typebox").TLiteral<"session.replaced">, import("typebox").TLiteral<"turn.started">, import("typebox").TLiteral<"turn.ended">, import("typebox").TLiteral<"turn.cancelled">, import("typebox").TLiteral<"capture.started">, import("typebox").TLiteral<"capture.stopped">, import("typebox").TLiteral<"capture.cancelled">, import("typebox").TLiteral<"capture.once">, import("typebox").TLiteral<"input.audio.delta">, import("typebox").TLiteral<"input.audio.committed">, import("typebox").TLiteral<"transcript.delta">, import("typebox").TLiteral<"transcript.done">, import("typebox").TLiteral<"output.text.delta">, import("typebox").TLiteral<"output.text.done">, import("typebox").TLiteral<"output.audio.started">, import("typebox").TLiteral<"output.audio.delta">, import("typebox").TLiteral<"output.audio.done">, import("typebox").TLiteral<"tool.call">, import("typebox").TLiteral<"tool.progress">, import("typebox").TLiteral<"tool.result">, import("typebox").TLiteral<"tool.error">, import("typebox").TLiteral<"usage.metrics">, import("typebox").TLiteral<"latency.metrics">, import("typebox").TLiteral<"health.changed">]>; sessionId: import("typebox").TString; turnId: import("typebox").TOptional; captureId: import("typebox").TOptional; seq: import("typebox").TInteger; timestamp: import("typebox").TString; mode: import("typebox").TUnion<[import("typebox").TLiteral<"realtime">, import("typebox").TLiteral<"stt-tts">, import("typebox").TLiteral<"transcription">]>; transport: import("typebox").TUnion<[import("typebox").TLiteral<"webrtc">, import("typebox").TLiteral<"provider-websocket">, import("typebox").TLiteral<"gateway-relay">, import("typebox").TLiteral<"managed-room">]>; brain: import("typebox").TUnion<[import("typebox").TLiteral<"agent-consult">, import("typebox").TLiteral<"direct-tools">, import("typebox").TLiteral<"none">]>; provider: import("typebox").TOptional; final: import("typebox").TOptional; callId: import("typebox").TOptional; itemId: import("typebox").TOptional; parentId: import("typebox").TOptional; payload: import("typebox").TUnknown; }>>>; }>; TalkSessionSteerParams: import("typebox").TObject<{ sessionId: import("typebox").TString; sessionKey: import("typebox").TOptional; text: import("typebox").TString; mode: import("typebox").TOptional, import("typebox").TLiteral<"steer">, import("typebox").TLiteral<"cancel">, import("typebox").TLiteral<"followup">]>>; }>; TalkSessionSubmitToolResultParams: import("typebox").TObject<{ sessionId: import("typebox").TString; callId: import("typebox").TString; result: import("typebox").TUnknown; options: import("typebox").TOptional; willContinue: import("typebox").TOptional; }>>; }>; TalkSessionCloseParams: import("typebox").TObject<{ sessionId: import("typebox").TString; }>; TalkSessionOkResult: import("typebox").TObject<{ ok: import("typebox").TBoolean; }>; TalkSpeakParams: import("typebox").TObject<{ text: import("typebox").TString; voiceId: import("typebox").TOptional; modelId: import("typebox").TOptional; outputFormat: import("typebox").TOptional; speed: import("typebox").TOptional; rateWpm: import("typebox").TOptional; stability: import("typebox").TOptional; similarity: import("typebox").TOptional; style: import("typebox").TOptional; speakerBoost: import("typebox").TOptional; seed: import("typebox").TOptional; normalize: import("typebox").TOptional; language: import("typebox").TOptional; latencyTier: import("typebox").TOptional; }>; TalkSpeakResult: import("typebox").TObject<{ audioBase64: import("typebox").TString; provider: import("typebox").TString; outputFormat: import("typebox").TOptional; voiceCompatible: import("typebox").TOptional; mimeType: import("typebox").TOptional; fileExtension: import("typebox").TOptional; }>; ChannelsStatusParams: import("typebox").TObject<{ probe: import("typebox").TOptional; timeoutMs: import("typebox").TOptional; channel: import("typebox").TOptional; }>; ChannelsStatusResult: import("typebox").TObject<{ ts: import("typebox").TInteger; channelOrder: import("typebox").TArray; channelLabels: import("typebox").TRecord<"^.*$", import("typebox").TString>; channelDetailLabels: import("typebox").TOptional>; channelSystemImages: import("typebox").TOptional>; channelMeta: import("typebox").TOptional; }>>>; channels: import("typebox").TRecord<"^.*$", import("typebox").TUnknown>; channelAccounts: import("typebox").TRecord<"^.*$", import("typebox").TArray; enabled: import("typebox").TOptional; configured: import("typebox").TOptional; linked: import("typebox").TOptional; running: import("typebox").TOptional; connected: import("typebox").TOptional; reconnectAttempts: import("typebox").TOptional; lastConnectedAt: import("typebox").TOptional; lastError: import("typebox").TOptional; healthState: import("typebox").TOptional; lastStartAt: import("typebox").TOptional; lastStopAt: import("typebox").TOptional; lastInboundAt: import("typebox").TOptional; lastOutboundAt: import("typebox").TOptional; lastTransportActivityAt: import("typebox").TOptional; busy: import("typebox").TOptional; activeRuns: import("typebox").TOptional; lastRunActivityAt: import("typebox").TOptional; lastProbeAt: import("typebox").TOptional; mode: import("typebox").TOptional; dmPolicy: import("typebox").TOptional; allowFrom: import("typebox").TOptional>; tokenSource: import("typebox").TOptional; botTokenSource: import("typebox").TOptional; appTokenSource: import("typebox").TOptional; baseUrl: import("typebox").TOptional; allowUnmentionedGroups: import("typebox").TOptional; cliPath: import("typebox").TOptional>; dbPath: import("typebox").TOptional>; port: import("typebox").TOptional>; probe: import("typebox").TOptional; audit: import("typebox").TOptional; application: import("typebox").TOptional; }>>>; channelDefaultAccountId: import("typebox").TRecord<"^.*$", import("typebox").TString>; eventLoop: import("typebox").TOptional, import("typebox").TLiteral<"event_loop_utilization">, import("typebox").TLiteral<"cpu">]>>; intervalMs: import("typebox").TInteger; delayP99Ms: import("typebox").TNumber; delayMaxMs: import("typebox").TNumber; utilization: import("typebox").TNumber; cpuCoreRatio: import("typebox").TNumber; }>>; partial: import("typebox").TOptional; warnings: import("typebox").TOptional>; }>; ChannelsStartParams: import("typebox").TObject<{ channel: import("typebox").TString; accountId: import("typebox").TOptional; }>; ChannelsStopParams: import("typebox").TObject<{ channel: import("typebox").TString; accountId: import("typebox").TOptional; }>; ChannelsLogoutParams: import("typebox").TObject<{ channel: import("typebox").TString; accountId: import("typebox").TOptional; }>; ChannelsPairingListParams: import("typebox").TObject<{ channel: import("typebox").TOptional; }>; ChannelsPairingApproveParams: import("typebox").TObject<{ channel: import("typebox").TString; code: import("typebox").TString; notify: import("typebox").TOptional; }>; WebLoginStartParams: import("typebox").TObject<{ force: import("typebox").TOptional; timeoutMs: import("typebox").TOptional; verbose: import("typebox").TOptional; accountId: import("typebox").TOptional; }>; WebLoginWaitParams: import("typebox").TObject<{ timeoutMs: import("typebox").TOptional; accountId: import("typebox").TOptional; currentQrDataUrl: import("typebox").TOptional; }>; AgentSummary: import("typebox").TObject<{ id: import("typebox").TString; name: import("typebox").TOptional; identity: import("typebox").TOptional; theme: import("typebox").TOptional; emoji: import("typebox").TOptional; avatar: import("typebox").TOptional; avatarUrl: import("typebox").TOptional; }>>; workspace: import("typebox").TOptional; model: import("typebox").TOptional; fallbacks: import("typebox").TOptional>; }>>; agentRuntime: import("typebox").TOptional, import("typebox").TLiteral<"none">]>>; source: import("typebox").TUnion<[import("typebox").TLiteral<"env">, import("typebox").TLiteral<"agent">, import("typebox").TLiteral<"defaults">, import("typebox").TLiteral<"model">, import("typebox").TLiteral<"provider">, import("typebox").TLiteral<"implicit">]>; }>>; }>; AgentsCreateParams: import("typebox").TObject<{ name: import("typebox").TString; workspace: import("typebox").TString; model: import("typebox").TOptional; emoji: import("typebox").TOptional; avatar: import("typebox").TOptional; }>; AgentsCreateResult: import("typebox").TObject<{ ok: import("typebox").TLiteral; agentId: import("typebox").TString; name: import("typebox").TString; workspace: import("typebox").TString; model: import("typebox").TOptional; }>; AgentsUpdateParams: import("typebox").TObject<{ agentId: import("typebox").TString; name: import("typebox").TOptional; workspace: import("typebox").TOptional; model: import("typebox").TOptional; emoji: import("typebox").TOptional; avatar: import("typebox").TOptional; }>; AgentsUpdateResult: import("typebox").TObject<{ ok: import("typebox").TLiteral; agentId: import("typebox").TString; }>; AgentsDeleteParams: import("typebox").TObject<{ agentId: import("typebox").TString; deleteFiles: import("typebox").TOptional; }>; AgentsDeleteResult: import("typebox").TObject<{ ok: import("typebox").TLiteral; agentId: import("typebox").TString; removedBindings: import("typebox").TInteger; }>; AgentsFileEntry: import("typebox").TObject<{ name: import("typebox").TString; path: import("typebox").TString; missing: import("typebox").TBoolean; size: import("typebox").TOptional; updatedAtMs: import("typebox").TOptional; content: import("typebox").TOptional; }>; AgentsFilesListParams: import("typebox").TObject<{ agentId: import("typebox").TString; }>; AgentsFilesListResult: import("typebox").TObject<{ agentId: import("typebox").TString; workspace: import("typebox").TString; files: import("typebox").TArray; updatedAtMs: import("typebox").TOptional; content: import("typebox").TOptional; }>>; }>; AgentsFilesGetParams: import("typebox").TObject<{ agentId: import("typebox").TString; name: import("typebox").TString; }>; AgentsFilesGetResult: import("typebox").TObject<{ agentId: import("typebox").TString; workspace: import("typebox").TString; file: import("typebox").TObject<{ name: import("typebox").TString; path: import("typebox").TString; missing: import("typebox").TBoolean; size: import("typebox").TOptional; updatedAtMs: import("typebox").TOptional; content: import("typebox").TOptional; }>; }>; AgentsFilesSetParams: import("typebox").TObject<{ agentId: import("typebox").TString; name: import("typebox").TString; content: import("typebox").TString; }>; AgentsFilesSetResult: import("typebox").TObject<{ ok: import("typebox").TLiteral; agentId: import("typebox").TString; workspace: import("typebox").TString; file: import("typebox").TObject<{ name: import("typebox").TString; path: import("typebox").TString; missing: import("typebox").TBoolean; size: import("typebox").TOptional; updatedAtMs: import("typebox").TOptional; content: import("typebox").TOptional; }>; }>; ArtifactSummary: import("typebox").TObject<{ id: import("typebox").TString; type: import("typebox").TString; title: import("typebox").TString; mimeType: import("typebox").TOptional; sizeBytes: import("typebox").TOptional; sessionKey: import("typebox").TOptional; runId: import("typebox").TOptional; taskId: import("typebox").TOptional; messageSeq: import("typebox").TOptional; source: import("typebox").TOptional; download: import("typebox").TObject<{ mode: import("typebox").TUnion<[import("typebox").TLiteral<"bytes">, import("typebox").TLiteral<"url">, import("typebox").TLiteral<"unsupported">]>; }>; }>; ArtifactsListParams: import("typebox").TObject<{ sessionKey: import("typebox").TOptional; runId: import("typebox").TOptional; taskId: import("typebox").TOptional; agentId: import("typebox").TOptional; }>; ArtifactsListResult: import("typebox").TObject<{ artifacts: import("typebox").TArray; sizeBytes: import("typebox").TOptional; sessionKey: import("typebox").TOptional; runId: import("typebox").TOptional; taskId: import("typebox").TOptional; messageSeq: import("typebox").TOptional; source: import("typebox").TOptional; download: import("typebox").TObject<{ mode: import("typebox").TUnion<[import("typebox").TLiteral<"bytes">, import("typebox").TLiteral<"url">, import("typebox").TLiteral<"unsupported">]>; }>; }>>; }>; ArtifactsGetParams: import("typebox").TObject<{ artifactId: import("typebox").TString; sessionKey: import("typebox").TOptional; runId: import("typebox").TOptional; taskId: import("typebox").TOptional; agentId: import("typebox").TOptional; }>; ArtifactsGetResult: import("typebox").TObject<{ artifact: import("typebox").TObject<{ id: import("typebox").TString; type: import("typebox").TString; title: import("typebox").TString; mimeType: import("typebox").TOptional; sizeBytes: import("typebox").TOptional; sessionKey: import("typebox").TOptional; runId: import("typebox").TOptional; taskId: import("typebox").TOptional; messageSeq: import("typebox").TOptional; source: import("typebox").TOptional; download: import("typebox").TObject<{ mode: import("typebox").TUnion<[import("typebox").TLiteral<"bytes">, import("typebox").TLiteral<"url">, import("typebox").TLiteral<"unsupported">]>; }>; }>; }>; ArtifactsDownloadParams: import("typebox").TObject<{ artifactId: import("typebox").TString; sessionKey: import("typebox").TOptional; runId: import("typebox").TOptional; taskId: import("typebox").TOptional; agentId: import("typebox").TOptional; }>; ArtifactsDownloadResult: import("typebox").TObject<{ artifact: import("typebox").TObject<{ id: import("typebox").TString; type: import("typebox").TString; title: import("typebox").TString; mimeType: import("typebox").TOptional; sizeBytes: import("typebox").TOptional; sessionKey: import("typebox").TOptional; runId: import("typebox").TOptional; taskId: import("typebox").TOptional; messageSeq: import("typebox").TOptional; source: import("typebox").TOptional; download: import("typebox").TObject<{ mode: import("typebox").TUnion<[import("typebox").TLiteral<"bytes">, import("typebox").TLiteral<"url">, import("typebox").TLiteral<"unsupported">]>; }>; }>; encoding: import("typebox").TOptional>; data: import("typebox").TOptional; url: import("typebox").TOptional; }>; AgentsListParams: import("typebox").TObject<{}>; AgentsListResult: import("typebox").TObject<{ defaultId: import("typebox").TString; mainKey: import("typebox").TString; scope: import("typebox").TUnion<[import("typebox").TLiteral<"per-sender">, import("typebox").TLiteral<"global">]>; agents: import("typebox").TArray; identity: import("typebox").TOptional; theme: import("typebox").TOptional; emoji: import("typebox").TOptional; avatar: import("typebox").TOptional; avatarUrl: import("typebox").TOptional; }>>; workspace: import("typebox").TOptional; model: import("typebox").TOptional; fallbacks: import("typebox").TOptional>; }>>; agentRuntime: import("typebox").TOptional, import("typebox").TLiteral<"none">]>>; source: import("typebox").TUnion<[import("typebox").TLiteral<"env">, import("typebox").TLiteral<"agent">, import("typebox").TLiteral<"defaults">, import("typebox").TLiteral<"model">, import("typebox").TLiteral<"provider">, import("typebox").TLiteral<"implicit">]>; }>>; }>>; }>; ModelChoice: import("typebox").TObject<{ id: import("typebox").TString; name: import("typebox").TString; provider: import("typebox").TString; alias: import("typebox").TOptional; contextWindow: import("typebox").TOptional; reasoning: import("typebox").TOptional; }>; ModelsListParams: import("typebox").TObject<{ view: import("typebox").TOptional, import("typebox").TLiteral<"configured">, import("typebox").TLiteral<"all">]>>; }>; ModelsListResult: import("typebox").TObject<{ models: import("typebox").TArray; contextWindow: import("typebox").TOptional; reasoning: import("typebox").TOptional; }>>; }>; CommandEntry: import("typebox").TObject<{ name: import("typebox").TString; nativeName: import("typebox").TOptional; textAliases: import("typebox").TOptional>; description: import("typebox").TString; category: import("typebox").TOptional, import("typebox").TLiteral<"options">, import("typebox").TLiteral<"status">, import("typebox").TLiteral<"management">, import("typebox").TLiteral<"media">, import("typebox").TLiteral<"tools">, import("typebox").TLiteral<"docks">]>>; source: import("typebox").TUnion<[import("typebox").TLiteral<"native">, import("typebox").TLiteral<"skill">, import("typebox").TLiteral<"plugin">]>; scope: import("typebox").TUnion<[import("typebox").TLiteral<"text">, import("typebox").TLiteral<"native">, import("typebox").TLiteral<"both">]>; acceptsArgs: import("typebox").TBoolean; args: import("typebox").TOptional, import("typebox").TLiteral<"number">, import("typebox").TLiteral<"boolean">]>; required: import("typebox").TOptional; choices: import("typebox").TOptional>>; dynamic: import("typebox").TOptional; }>>>; }>; CommandsListParams: import("typebox").TObject<{ agentId: import("typebox").TOptional; provider: import("typebox").TOptional; scope: import("typebox").TOptional, import("typebox").TLiteral<"native">, import("typebox").TLiteral<"both">]>>; includeArgs: import("typebox").TOptional; }>; CommandsListResult: import("typebox").TObject<{ commands: import("typebox").TArray; textAliases: import("typebox").TOptional>; description: import("typebox").TString; category: import("typebox").TOptional, import("typebox").TLiteral<"options">, import("typebox").TLiteral<"status">, import("typebox").TLiteral<"management">, import("typebox").TLiteral<"media">, import("typebox").TLiteral<"tools">, import("typebox").TLiteral<"docks">]>>; source: import("typebox").TUnion<[import("typebox").TLiteral<"native">, import("typebox").TLiteral<"skill">, import("typebox").TLiteral<"plugin">]>; scope: import("typebox").TUnion<[import("typebox").TLiteral<"text">, import("typebox").TLiteral<"native">, import("typebox").TLiteral<"both">]>; acceptsArgs: import("typebox").TBoolean; args: import("typebox").TOptional, import("typebox").TLiteral<"number">, import("typebox").TLiteral<"boolean">]>; required: import("typebox").TOptional; choices: import("typebox").TOptional>>; dynamic: import("typebox").TOptional; }>>>; }>>; }>; SkillsStatusParams: import("typebox").TObject<{ agentId: import("typebox").TOptional; }>; ToolsCatalogParams: import("typebox").TObject<{ agentId: import("typebox").TOptional; includePlugins: import("typebox").TOptional; }>; ToolCatalogProfile: import("typebox").TObject<{ id: import("typebox").TUnion<[import("typebox").TLiteral<"minimal">, import("typebox").TLiteral<"coding">, import("typebox").TLiteral<"messaging">, import("typebox").TLiteral<"full">]>; label: import("typebox").TString; }>; ToolCatalogEntry: import("typebox").TObject<{ id: import("typebox").TString; label: import("typebox").TString; description: import("typebox").TString; source: import("typebox").TUnion<[import("typebox").TLiteral<"core">, import("typebox").TLiteral<"plugin">]>; pluginId: import("typebox").TOptional; optional: import("typebox").TOptional; risk: import("typebox").TOptional, import("typebox").TLiteral<"medium">, import("typebox").TLiteral<"high">]>>; tags: import("typebox").TOptional>; defaultProfiles: import("typebox").TArray, import("typebox").TLiteral<"coding">, import("typebox").TLiteral<"messaging">, import("typebox").TLiteral<"full">]>>; }>; ToolCatalogGroup: import("typebox").TObject<{ id: import("typebox").TString; label: import("typebox").TString; source: import("typebox").TUnion<[import("typebox").TLiteral<"core">, import("typebox").TLiteral<"plugin">]>; pluginId: import("typebox").TOptional; tools: import("typebox").TArray, import("typebox").TLiteral<"plugin">]>; pluginId: import("typebox").TOptional; optional: import("typebox").TOptional; risk: import("typebox").TOptional, import("typebox").TLiteral<"medium">, import("typebox").TLiteral<"high">]>>; tags: import("typebox").TOptional>; defaultProfiles: import("typebox").TArray, import("typebox").TLiteral<"coding">, import("typebox").TLiteral<"messaging">, import("typebox").TLiteral<"full">]>>; }>>; }>; ToolsCatalogResult: import("typebox").TObject<{ agentId: import("typebox").TString; profiles: import("typebox").TArray, import("typebox").TLiteral<"coding">, import("typebox").TLiteral<"messaging">, import("typebox").TLiteral<"full">]>; label: import("typebox").TString; }>>; groups: import("typebox").TArray, import("typebox").TLiteral<"plugin">]>; pluginId: import("typebox").TOptional; tools: import("typebox").TArray, import("typebox").TLiteral<"plugin">]>; pluginId: import("typebox").TOptional; optional: import("typebox").TOptional; risk: import("typebox").TOptional, import("typebox").TLiteral<"medium">, import("typebox").TLiteral<"high">]>>; tags: import("typebox").TOptional>; defaultProfiles: import("typebox").TArray, import("typebox").TLiteral<"coding">, import("typebox").TLiteral<"messaging">, import("typebox").TLiteral<"full">]>>; }>>; }>>; }>; ToolsEffectiveParams: import("typebox").TObject<{ agentId: import("typebox").TOptional; sessionKey: import("typebox").TString; }>; ToolsEffectiveEntry: import("typebox").TObject<{ id: import("typebox").TString; label: import("typebox").TString; description: import("typebox").TString; rawDescription: import("typebox").TString; source: import("typebox").TUnion<[import("typebox").TLiteral<"core">, import("typebox").TLiteral<"plugin">, import("typebox").TLiteral<"channel">, import("typebox").TLiteral<"mcp">]>; pluginId: import("typebox").TOptional; channelId: import("typebox").TOptional; risk: import("typebox").TOptional, import("typebox").TLiteral<"medium">, import("typebox").TLiteral<"high">]>>; tags: import("typebox").TOptional>; }>; ToolsEffectiveGroup: import("typebox").TObject<{ id: import("typebox").TUnion<[import("typebox").TLiteral<"core">, import("typebox").TLiteral<"plugin">, import("typebox").TLiteral<"channel">, import("typebox").TLiteral<"mcp">]>; label: import("typebox").TString; source: import("typebox").TUnion<[import("typebox").TLiteral<"core">, import("typebox").TLiteral<"plugin">, import("typebox").TLiteral<"channel">, import("typebox").TLiteral<"mcp">]>; tools: import("typebox").TArray, import("typebox").TLiteral<"plugin">, import("typebox").TLiteral<"channel">, import("typebox").TLiteral<"mcp">]>; pluginId: import("typebox").TOptional; channelId: import("typebox").TOptional; risk: import("typebox").TOptional, import("typebox").TLiteral<"medium">, import("typebox").TLiteral<"high">]>>; tags: import("typebox").TOptional>; }>>; }>; ToolsEffectiveNotice: import("typebox").TObject<{ id: import("typebox").TString; severity: import("typebox").TUnion<[import("typebox").TLiteral<"info">, import("typebox").TLiteral<"warning">]>; message: import("typebox").TString; }>; ToolsEffectiveResult: import("typebox").TObject<{ agentId: import("typebox").TString; profile: import("typebox").TString; groups: import("typebox").TArray, import("typebox").TLiteral<"plugin">, import("typebox").TLiteral<"channel">, import("typebox").TLiteral<"mcp">]>; label: import("typebox").TString; source: import("typebox").TUnion<[import("typebox").TLiteral<"core">, import("typebox").TLiteral<"plugin">, import("typebox").TLiteral<"channel">, import("typebox").TLiteral<"mcp">]>; tools: import("typebox").TArray, import("typebox").TLiteral<"plugin">, import("typebox").TLiteral<"channel">, import("typebox").TLiteral<"mcp">]>; pluginId: import("typebox").TOptional; channelId: import("typebox").TOptional; risk: import("typebox").TOptional, import("typebox").TLiteral<"medium">, import("typebox").TLiteral<"high">]>>; tags: import("typebox").TOptional>; }>>; }>>; notices: import("typebox").TOptional, import("typebox").TLiteral<"warning">]>; message: import("typebox").TString; }>>>; }>; ToolsInvokeParams: import("typebox").TObject<{ name: import("typebox").TString; args: import("typebox").TOptional>; sessionKey: import("typebox").TOptional; agentId: import("typebox").TOptional; confirm: import("typebox").TOptional; idempotencyKey: import("typebox").TOptional; }>; ToolsInvokeError: import("typebox").TObject<{ code: import("typebox").TString; message: import("typebox").TString; details: import("typebox").TOptional; }>; ToolsInvokeResult: import("typebox").TObject<{ ok: import("typebox").TBoolean; toolName: import("typebox").TString; output: import("typebox").TOptional; requiresApproval: import("typebox").TOptional; approvalId: import("typebox").TOptional; source: import("typebox").TOptional, import("typebox").TLiteral<"plugin">, import("typebox").TLiteral<"mcp">, import("typebox").TLiteral<"channel">, import("typebox").TString]>>; error: import("typebox").TOptional; }>>; }>; SkillsBinsParams: import("typebox").TObject<{}>; SkillsBinsResult: import("typebox").TObject<{ bins: import("typebox").TArray; }>; SkillsSearchParams: import("typebox").TObject<{ query: import("typebox").TOptional; limit: import("typebox").TOptional; }>; SkillsSearchResult: import("typebox").TObject<{ results: import("typebox").TArray; version: import("typebox").TOptional; updatedAt: import("typebox").TOptional; }>>; }>; SkillsDetailParams: import("typebox").TObject<{ slug: import("typebox").TString; }>; SkillsDetailResult: import("typebox").TObject<{ skill: import("typebox").TUnion<[import("typebox").TObject<{ slug: import("typebox").TString; displayName: import("typebox").TString; summary: import("typebox").TOptional; tags: import("typebox").TOptional>; createdAt: import("typebox").TInteger; updatedAt: import("typebox").TInteger; }>, import("typebox").TNull]>; latestVersion: import("typebox").TOptional; }>, import("typebox").TNull]>>; metadata: import("typebox").TOptional, import("typebox").TNull]>>; systems: import("typebox").TOptional, import("typebox").TNull]>>; }>, import("typebox").TNull]>>; owner: import("typebox").TOptional>; displayName: import("typebox").TOptional>; image: import("typebox").TOptional>; }>, import("typebox").TNull]>>; }>; SkillsSecurityVerdictsParams: import("typebox").TObject<{ agentId: import("typebox").TOptional; }>; SkillsSecurityVerdictsResult: import("typebox").TObject<{ schema: import("typebox").TLiteral<"openclaw.skills.security-verdicts.v1">; items: import("typebox").TArray; requestedSlug: import("typebox").TString; requestedVersion: import("typebox").TString; slug: import("typebox").TOptional>; version: import("typebox").TOptional>; displayName: import("typebox").TOptional>; publisherHandle: import("typebox").TOptional>; publisherDisplayName: import("typebox").TOptional>; createdAt: import("typebox").TOptional>; checkedAt: import("typebox").TOptional>; skillUrl: import("typebox").TOptional>; securityAuditUrl: import("typebox").TOptional>; securityStatus: import("typebox").TOptional>; securityPassed: import("typebox").TOptional>; error: import("typebox").TOptional; message: import("typebox").TOptional; }>>; }>>; }>; SkillsSkillCardParams: import("typebox").TObject<{ agentId: import("typebox").TOptional; skillKey: import("typebox").TString; }>; SkillsSkillCardResult: import("typebox").TObject<{ schema: import("typebox").TLiteral<"openclaw.skills.skill-card.v1">; skillKey: import("typebox").TString; path: import("typebox").TString; sizeBytes: import("typebox").TInteger; content: import("typebox").TString; }>; SkillsUploadBeginParams: import("typebox").TObject<{ kind: import("typebox").TLiteral<"skill-archive">; slug: import("typebox").TString; sizeBytes: import("typebox").TInteger; sha256: import("typebox").TOptional; force: import("typebox").TOptional; idempotencyKey: import("typebox").TOptional; }>; SkillsUploadChunkParams: import("typebox").TObject<{ uploadId: import("typebox").TString; offset: import("typebox").TInteger; dataBase64: import("typebox").TString; }>; SkillsUploadCommitParams: import("typebox").TObject<{ uploadId: import("typebox").TString; sha256: import("typebox").TOptional; }>; SkillsInstallParams: import("typebox").TUnion<[import("typebox").TObject<{ name: import("typebox").TString; installId: import("typebox").TString; dangerouslyForceUnsafeInstall: import("typebox").TOptional; timeoutMs: import("typebox").TOptional; }>, import("typebox").TObject<{ source: import("typebox").TLiteral<"clawhub">; slug: import("typebox").TString; version: import("typebox").TOptional; force: import("typebox").TOptional; timeoutMs: import("typebox").TOptional; }>, import("typebox").TObject<{ source: import("typebox").TLiteral<"upload">; uploadId: import("typebox").TString; slug: import("typebox").TString; force: import("typebox").TOptional; sha256: import("typebox").TOptional; timeoutMs: import("typebox").TOptional; }>]>; SkillsUpdateParams: import("typebox").TUnion<[import("typebox").TObject<{ skillKey: import("typebox").TString; enabled: import("typebox").TOptional; apiKey: import("typebox").TOptional; env: import("typebox").TOptional>; }>, import("typebox").TObject<{ source: import("typebox").TLiteral<"clawhub">; slug: import("typebox").TOptional; all: import("typebox").TOptional; }>]>; CronJob: import("typebox").TObject<{ id: import("typebox").TString; agentId: import("typebox").TOptional; sessionKey: import("typebox").TOptional; name: import("typebox").TString; description: import("typebox").TOptional; enabled: import("typebox").TBoolean; deleteAfterRun: import("typebox").TOptional; createdAtMs: import("typebox").TInteger; updatedAtMs: import("typebox").TInteger; schedule: import("typebox").TUnion<[import("typebox").TObject<{ kind: import("typebox").TLiteral<"at">; at: import("typebox").TString; }>, import("typebox").TObject<{ kind: import("typebox").TLiteral<"every">; everyMs: import("typebox").TInteger; anchorMs: import("typebox").TOptional; }>, import("typebox").TObject<{ kind: import("typebox").TLiteral<"cron">; expr: import("typebox").TString; tz: import("typebox").TOptional; staggerMs: import("typebox").TOptional; }>]>; sessionTarget: import("typebox").TUnion<[import("typebox").TLiteral<"main">, import("typebox").TLiteral<"isolated">, import("typebox").TLiteral<"current">, import("typebox").TString]>; wakeMode: import("typebox").TUnion<[import("typebox").TLiteral<"next-heartbeat">, import("typebox").TLiteral<"now">]>; payload: import("typebox").TUnion<[import("typebox").TObject<{ kind: import("typebox").TLiteral<"systemEvent">; text: import("typebox").TString; }>, import("typebox").TObject<{ kind: import("typebox").TLiteral<"agentTurn">; message: TSchema; model: import("typebox").TOptional; fallbacks: import("typebox").TOptional>; thinking: import("typebox").TOptional; timeoutSeconds: import("typebox").TOptional; allowUnsafeExternalContent: import("typebox").TOptional; lightContext: import("typebox").TOptional; toolsAllow: import("typebox").TOptional; }>]>; delivery: import("typebox").TOptional; channel: import("typebox").TOptional, import("typebox").TString]>>; threadId: import("typebox").TOptional>; accountId: import("typebox").TOptional; bestEffort: import("typebox").TOptional; failureDestination: import("typebox").TOptional, import("typebox").TString]>>; to: import("typebox").TOptional; accountId: import("typebox").TOptional; mode: import("typebox").TOptional, import("typebox").TLiteral<"webhook">]>>; }>>; mode: import("typebox").TLiteral<"none">; }>, import("typebox").TObject<{ to: import("typebox").TOptional; channel: import("typebox").TOptional, import("typebox").TString]>>; threadId: import("typebox").TOptional>; accountId: import("typebox").TOptional; bestEffort: import("typebox").TOptional; failureDestination: import("typebox").TOptional, import("typebox").TString]>>; to: import("typebox").TOptional; accountId: import("typebox").TOptional; mode: import("typebox").TOptional, import("typebox").TLiteral<"webhook">]>>; }>>; mode: import("typebox").TLiteral<"announce">; }>, import("typebox").TObject<{ to: import("typebox").TString; channel: import("typebox").TOptional, import("typebox").TString]>>; threadId: import("typebox").TOptional>; accountId: import("typebox").TOptional; bestEffort: import("typebox").TOptional; failureDestination: import("typebox").TOptional, import("typebox").TString]>>; to: import("typebox").TOptional; accountId: import("typebox").TOptional; mode: import("typebox").TOptional, import("typebox").TLiteral<"webhook">]>>; }>>; mode: import("typebox").TLiteral<"webhook">; }>]>>; failureAlert: import("typebox").TOptional, import("typebox").TObject<{ after: import("typebox").TOptional; channel: import("typebox").TOptional, import("typebox").TString]>>; to: import("typebox").TOptional; cooldownMs: import("typebox").TOptional; includeSkipped: import("typebox").TOptional; mode: import("typebox").TOptional, import("typebox").TLiteral<"webhook">]>>; accountId: import("typebox").TOptional; }>]>>; state: import("typebox").TObject<{ nextRunAtMs: import("typebox").TOptional; runningAtMs: import("typebox").TOptional; lastRunAtMs: import("typebox").TOptional; lastRunStatus: import("typebox").TOptional, import("typebox").TLiteral<"error">, import("typebox").TLiteral<"skipped">]>>; lastStatus: import("typebox").TOptional, import("typebox").TLiteral<"error">, import("typebox").TLiteral<"skipped">]>>; lastError: import("typebox").TOptional; lastDiagnostics: import("typebox").TOptional; entries: import("typebox").TArray, import("typebox").TLiteral<"cron-setup">, import("typebox").TLiteral<"model-preflight">, import("typebox").TLiteral<"agent-run">, import("typebox").TLiteral<"tool">, import("typebox").TLiteral<"exec">, import("typebox").TLiteral<"delivery">]>; severity: import("typebox").TUnion<[import("typebox").TLiteral<"info">, import("typebox").TLiteral<"warn">, import("typebox").TLiteral<"error">]>; message: import("typebox").TString; toolName: import("typebox").TOptional; exitCode: import("typebox").TOptional>; truncated: import("typebox").TOptional; }>>; }>>; lastDiagnosticSummary: import("typebox").TOptional; lastErrorReason: import("typebox").TOptional, import("typebox").TLiteral<"auth_permanent">, import("typebox").TLiteral<"format">, import("typebox").TLiteral<"rate_limit">, import("typebox").TLiteral<"overloaded">, import("typebox").TLiteral<"billing">, import("typebox").TLiteral<"server_error">, import("typebox").TLiteral<"timeout">, import("typebox").TLiteral<"model_not_found">, import("typebox").TLiteral<"session_expired">, import("typebox").TLiteral<"empty_response">, import("typebox").TLiteral<"no_error_details">, import("typebox").TLiteral<"unclassified">, import("typebox").TLiteral<"unknown">]>>; lastDurationMs: import("typebox").TOptional; consecutiveErrors: import("typebox").TOptional; consecutiveSkipped: import("typebox").TOptional; lastDelivered: import("typebox").TOptional; lastDeliveryStatus: import("typebox").TOptional, import("typebox").TLiteral<"not-delivered">, import("typebox").TLiteral<"unknown">, import("typebox").TLiteral<"not-requested">]>>; lastDeliveryError: import("typebox").TOptional; lastFailureNotificationDelivered: import("typebox").TOptional; lastFailureNotificationDeliveryStatus: import("typebox").TOptional, import("typebox").TLiteral<"not-delivered">, import("typebox").TLiteral<"unknown">, import("typebox").TLiteral<"not-requested">]>>; lastFailureNotificationDeliveryError: import("typebox").TOptional; lastFailureAlertAtMs: import("typebox").TOptional; }>; }>; CronListParams: import("typebox").TObject<{ includeDisabled: import("typebox").TOptional; limit: import("typebox").TOptional; offset: import("typebox").TOptional; query: import("typebox").TOptional; enabled: import("typebox").TOptional, import("typebox").TLiteral<"enabled">, import("typebox").TLiteral<"disabled">]>>; scheduleKind: import("typebox").TOptional, import("typebox").TLiteral<"at">, import("typebox").TLiteral<"every">, import("typebox").TLiteral<"cron">]>>; lastRunStatus: import("typebox").TOptional, import("typebox").TLiteral<"ok">, import("typebox").TLiteral<"error">, import("typebox").TLiteral<"skipped">, import("typebox").TLiteral<"unknown">]>>; sortBy: import("typebox").TOptional, import("typebox").TLiteral<"updatedAtMs">, import("typebox").TLiteral<"name">]>>; sortDir: import("typebox").TOptional, import("typebox").TLiteral<"desc">]>>; agentId: import("typebox").TOptional; }>; CronStatusParams: import("typebox").TObject<{}>; CronGetParams: import("typebox").TUnion<[import("typebox").TObject<{ id: import("typebox").TString; }>, import("typebox").TObject<{ jobId: import("typebox").TString; }>]>; CronAddParams: import("typebox").TObject<{ schedule: import("typebox").TUnion<[import("typebox").TObject<{ kind: import("typebox").TLiteral<"at">; at: import("typebox").TString; }>, import("typebox").TObject<{ kind: import("typebox").TLiteral<"every">; everyMs: import("typebox").TInteger; anchorMs: import("typebox").TOptional; }>, import("typebox").TObject<{ kind: import("typebox").TLiteral<"cron">; expr: import("typebox").TString; tz: import("typebox").TOptional; staggerMs: import("typebox").TOptional; }>]>; sessionTarget: import("typebox").TUnion<[import("typebox").TLiteral<"main">, import("typebox").TLiteral<"isolated">, import("typebox").TLiteral<"current">, import("typebox").TString]>; wakeMode: import("typebox").TUnion<[import("typebox").TLiteral<"next-heartbeat">, import("typebox").TLiteral<"now">]>; payload: import("typebox").TUnion<[import("typebox").TObject<{ kind: import("typebox").TLiteral<"systemEvent">; text: import("typebox").TString; }>, import("typebox").TObject<{ kind: import("typebox").TLiteral<"agentTurn">; message: TSchema; model: import("typebox").TOptional; fallbacks: import("typebox").TOptional>; thinking: import("typebox").TOptional; timeoutSeconds: import("typebox").TOptional; allowUnsafeExternalContent: import("typebox").TOptional; lightContext: import("typebox").TOptional; toolsAllow: import("typebox").TOptional; }>]>; delivery: import("typebox").TOptional; channel: import("typebox").TOptional, import("typebox").TString]>>; threadId: import("typebox").TOptional>; accountId: import("typebox").TOptional; bestEffort: import("typebox").TOptional; failureDestination: import("typebox").TOptional, import("typebox").TString]>>; to: import("typebox").TOptional; accountId: import("typebox").TOptional; mode: import("typebox").TOptional, import("typebox").TLiteral<"webhook">]>>; }>>; mode: import("typebox").TLiteral<"none">; }>, import("typebox").TObject<{ to: import("typebox").TOptional; channel: import("typebox").TOptional, import("typebox").TString]>>; threadId: import("typebox").TOptional>; accountId: import("typebox").TOptional; bestEffort: import("typebox").TOptional; failureDestination: import("typebox").TOptional, import("typebox").TString]>>; to: import("typebox").TOptional; accountId: import("typebox").TOptional; mode: import("typebox").TOptional, import("typebox").TLiteral<"webhook">]>>; }>>; mode: import("typebox").TLiteral<"announce">; }>, import("typebox").TObject<{ to: import("typebox").TString; channel: import("typebox").TOptional, import("typebox").TString]>>; threadId: import("typebox").TOptional>; accountId: import("typebox").TOptional; bestEffort: import("typebox").TOptional; failureDestination: import("typebox").TOptional, import("typebox").TString]>>; to: import("typebox").TOptional; accountId: import("typebox").TOptional; mode: import("typebox").TOptional, import("typebox").TLiteral<"webhook">]>>; }>>; mode: import("typebox").TLiteral<"webhook">; }>]>>; failureAlert: import("typebox").TOptional, import("typebox").TObject<{ after: import("typebox").TOptional; channel: import("typebox").TOptional, import("typebox").TString]>>; to: import("typebox").TOptional; cooldownMs: import("typebox").TOptional; includeSkipped: import("typebox").TOptional; mode: import("typebox").TOptional, import("typebox").TLiteral<"webhook">]>>; accountId: import("typebox").TOptional; }>]>>; agentId: import("typebox").TOptional>; sessionKey: import("typebox").TOptional>; description: import("typebox").TOptional; enabled: import("typebox").TOptional; deleteAfterRun: import("typebox").TOptional; name: import("typebox").TString; }>; CronUpdateParams: import("typebox").TUnion<[import("typebox").TObject<{ id: import("typebox").TString; }>, import("typebox").TObject<{ jobId: import("typebox").TString; }>]>; CronRemoveParams: import("typebox").TUnion<[import("typebox").TObject<{ id: import("typebox").TString; }>, import("typebox").TObject<{ jobId: import("typebox").TString; }>]>; CronRunParams: import("typebox").TUnion<[import("typebox").TObject<{ id: import("typebox").TString; }>, import("typebox").TObject<{ jobId: import("typebox").TString; }>]>; CronRunsParams: import("typebox").TObject<{ scope: import("typebox").TOptional, import("typebox").TLiteral<"all">]>>; id: import("typebox").TOptional; jobId: import("typebox").TOptional; runId: import("typebox").TOptional; limit: import("typebox").TOptional; offset: import("typebox").TOptional; statuses: import("typebox").TOptional, import("typebox").TLiteral<"error">, import("typebox").TLiteral<"skipped">]>>>; status: import("typebox").TOptional, import("typebox").TLiteral<"ok">, import("typebox").TLiteral<"error">, import("typebox").TLiteral<"skipped">]>>; deliveryStatuses: import("typebox").TOptional, import("typebox").TLiteral<"not-delivered">, import("typebox").TLiteral<"unknown">, import("typebox").TLiteral<"not-requested">]>>>; deliveryStatus: import("typebox").TOptional, import("typebox").TLiteral<"not-delivered">, import("typebox").TLiteral<"unknown">, import("typebox").TLiteral<"not-requested">]>>; query: import("typebox").TOptional; sortDir: import("typebox").TOptional, import("typebox").TLiteral<"desc">]>>; }>; CronRunLogEntry: import("typebox").TObject<{ ts: import("typebox").TInteger; jobId: import("typebox").TString; action: import("typebox").TLiteral<"finished">; status: import("typebox").TOptional, import("typebox").TLiteral<"error">, import("typebox").TLiteral<"skipped">]>>; error: import("typebox").TOptional; errorReason: import("typebox").TOptional, import("typebox").TLiteral<"auth_permanent">, import("typebox").TLiteral<"format">, import("typebox").TLiteral<"rate_limit">, import("typebox").TLiteral<"overloaded">, import("typebox").TLiteral<"billing">, import("typebox").TLiteral<"server_error">, import("typebox").TLiteral<"timeout">, import("typebox").TLiteral<"model_not_found">, import("typebox").TLiteral<"session_expired">, import("typebox").TLiteral<"empty_response">, import("typebox").TLiteral<"no_error_details">, import("typebox").TLiteral<"unclassified">, import("typebox").TLiteral<"unknown">]>>; summary: import("typebox").TOptional; diagnostics: import("typebox").TOptional; entries: import("typebox").TArray, import("typebox").TLiteral<"cron-setup">, import("typebox").TLiteral<"model-preflight">, import("typebox").TLiteral<"agent-run">, import("typebox").TLiteral<"tool">, import("typebox").TLiteral<"exec">, import("typebox").TLiteral<"delivery">]>; severity: import("typebox").TUnion<[import("typebox").TLiteral<"info">, import("typebox").TLiteral<"warn">, import("typebox").TLiteral<"error">]>; message: import("typebox").TString; toolName: import("typebox").TOptional; exitCode: import("typebox").TOptional>; truncated: import("typebox").TOptional; }>>; }>>; delivered: import("typebox").TOptional; deliveryStatus: import("typebox").TOptional, import("typebox").TLiteral<"not-delivered">, import("typebox").TLiteral<"unknown">, import("typebox").TLiteral<"not-requested">]>>; deliveryError: import("typebox").TOptional; failureNotificationDelivery: import("typebox").TOptional; status: import("typebox").TUnion<[import("typebox").TLiteral<"delivered">, import("typebox").TLiteral<"not-delivered">, import("typebox").TLiteral<"unknown">, import("typebox").TLiteral<"not-requested">]>; error: import("typebox").TOptional; }>>; sessionId: import("typebox").TOptional; sessionKey: import("typebox").TOptional; runId: import("typebox").TOptional; runAtMs: import("typebox").TOptional; durationMs: import("typebox").TOptional; nextRunAtMs: import("typebox").TOptional; model: import("typebox").TOptional; provider: import("typebox").TOptional; usage: import("typebox").TOptional; output_tokens: import("typebox").TOptional; total_tokens: import("typebox").TOptional; cache_read_tokens: import("typebox").TOptional; cache_write_tokens: import("typebox").TOptional; }>>; jobName: import("typebox").TOptional; }>; LogsTailParams: import("typebox").TObject<{ cursor: import("typebox").TOptional; limit: import("typebox").TOptional; maxBytes: import("typebox").TOptional; }>; LogsTailResult: import("typebox").TObject<{ file: import("typebox").TString; cursor: import("typebox").TInteger; size: import("typebox").TInteger; lines: import("typebox").TArray; truncated: import("typebox").TOptional; reset: import("typebox").TOptional; }>; ExecApprovalsGetParams: import("typebox").TObject<{}>; ExecApprovalsSetParams: import("typebox").TObject<{ file: import("typebox").TObject<{ version: import("typebox").TLiteral<1>; socket: import("typebox").TOptional; token: import("typebox").TOptional; }>>; defaults: import("typebox").TOptional; ask: import("typebox").TOptional; askFallback: import("typebox").TOptional; autoAllowSkills: import("typebox").TOptional; }>>; agents: import("typebox").TOptional; pattern: import("typebox").TString; source: import("typebox").TOptional>; commandText: import("typebox").TOptional; argPattern: import("typebox").TOptional; lastUsedAt: import("typebox").TOptional; lastUsedCommand: import("typebox").TOptional; lastResolvedPath: import("typebox").TOptional; }>>>; security: import("typebox").TOptional; ask: import("typebox").TOptional; askFallback: import("typebox").TOptional; autoAllowSkills: import("typebox").TOptional; }>>>; }>; baseHash: import("typebox").TOptional; }>; ExecApprovalsNodeGetParams: import("typebox").TObject<{ nodeId: import("typebox").TString; }>; ExecApprovalsNodeSetParams: import("typebox").TObject<{ nodeId: import("typebox").TString; file: import("typebox").TObject<{ version: import("typebox").TLiteral<1>; socket: import("typebox").TOptional; token: import("typebox").TOptional; }>>; defaults: import("typebox").TOptional; ask: import("typebox").TOptional; askFallback: import("typebox").TOptional; autoAllowSkills: import("typebox").TOptional; }>>; agents: import("typebox").TOptional; pattern: import("typebox").TString; source: import("typebox").TOptional>; commandText: import("typebox").TOptional; argPattern: import("typebox").TOptional; lastUsedAt: import("typebox").TOptional; lastUsedCommand: import("typebox").TOptional; lastResolvedPath: import("typebox").TOptional; }>>>; security: import("typebox").TOptional; ask: import("typebox").TOptional; askFallback: import("typebox").TOptional; autoAllowSkills: import("typebox").TOptional; }>>>; }>; baseHash: import("typebox").TOptional; }>; ExecApprovalsSnapshot: import("typebox").TObject<{ path: import("typebox").TString; exists: import("typebox").TBoolean; hash: import("typebox").TString; file: import("typebox").TObject<{ version: import("typebox").TLiteral<1>; socket: import("typebox").TOptional; token: import("typebox").TOptional; }>>; defaults: import("typebox").TOptional; ask: import("typebox").TOptional; askFallback: import("typebox").TOptional; autoAllowSkills: import("typebox").TOptional; }>>; agents: import("typebox").TOptional; pattern: import("typebox").TString; source: import("typebox").TOptional>; commandText: import("typebox").TOptional; argPattern: import("typebox").TOptional; lastUsedAt: import("typebox").TOptional; lastUsedCommand: import("typebox").TOptional; lastResolvedPath: import("typebox").TOptional; }>>>; security: import("typebox").TOptional; ask: import("typebox").TOptional; askFallback: import("typebox").TOptional; autoAllowSkills: import("typebox").TOptional; }>>>; }>; }>; ExecApprovalGetParams: import("typebox").TObject<{ id: import("typebox").TString; }>; ExecApprovalRequestParams: import("typebox").TObject<{ id: import("typebox").TOptional; command: import("typebox").TOptional; commandArgv: import("typebox").TOptional>; systemRunPlan: import("typebox").TOptional; cwd: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>; commandText: import("typebox").TString; commandPreview: import("typebox").TOptional>; agentId: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>; sessionKey: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>; mutableFileOperand: import("typebox").TOptional, import("typebox").TNull]>>; }>>; env: import("typebox").TOptional>; cwd: import("typebox").TOptional>; nodeId: import("typebox").TOptional>; host: import("typebox").TOptional>; security: import("typebox").TOptional>; ask: import("typebox").TOptional>; warningText: import("typebox").TOptional>; commandSpans: import("typebox").TOptional>>; agentId: import("typebox").TOptional>; resolvedPath: import("typebox").TOptional>; sessionKey: import("typebox").TOptional>; turnSourceChannel: import("typebox").TOptional>; turnSourceTo: import("typebox").TOptional>; turnSourceAccountId: import("typebox").TOptional>; turnSourceThreadId: import("typebox").TOptional>; requireDeliveryRoute: import("typebox").TOptional; suppressDelivery: import("typebox").TOptional; timeoutMs: import("typebox").TOptional; twoPhase: import("typebox").TOptional; }>; ExecApprovalResolveParams: import("typebox").TObject<{ id: import("typebox").TString; decision: import("typebox").TString; }>; PluginApprovalRequestParams: import("typebox").TObject<{ pluginId: import("typebox").TOptional; title: import("typebox").TString; description: import("typebox").TString; severity: import("typebox").TOptional; toolName: import("typebox").TOptional; toolCallId: import("typebox").TOptional; allowedDecisions: import("typebox").TOptional>; agentId: import("typebox").TOptional; sessionKey: import("typebox").TOptional; turnSourceChannel: import("typebox").TOptional; turnSourceTo: import("typebox").TOptional; turnSourceAccountId: import("typebox").TOptional; turnSourceThreadId: import("typebox").TOptional>; timeoutMs: import("typebox").TOptional; twoPhase: import("typebox").TOptional; }>; PluginApprovalResolveParams: import("typebox").TObject<{ id: import("typebox").TString; decision: import("typebox").TString; }>; PluginControlUiDescriptor: import("typebox").TObject<{ id: import("typebox").TString; pluginId: import("typebox").TString; pluginName: import("typebox").TOptional; surface: import("typebox").TUnion<[import("typebox").TLiteral<"session">, import("typebox").TLiteral<"tool">, import("typebox").TLiteral<"run">, import("typebox").TLiteral<"settings">]>; label: import("typebox").TString; description: import("typebox").TOptional; placement: import("typebox").TOptional; schema: import("typebox").TOptional; requiredScopes: import("typebox").TOptional>; }>; PluginsSessionActionFailureResult: import("typebox").TObject<{ ok: import("typebox").TLiteral; error: import("typebox").TString; code: import("typebox").TOptional; details: import("typebox").TOptional; }>; PluginsSessionActionParams: import("typebox").TObject<{ pluginId: import("typebox").TString; actionId: import("typebox").TString; sessionKey: import("typebox").TOptional; payload: import("typebox").TOptional; }>; PluginsSessionActionResult: import("typebox").TUnion<[import("typebox").TObject<{ ok: import("typebox").TLiteral; result: import("typebox").TOptional; continueAgent: import("typebox").TOptional; reply: import("typebox").TOptional; }>, import("typebox").TObject<{ ok: import("typebox").TLiteral; error: import("typebox").TString; code: import("typebox").TOptional; details: import("typebox").TOptional; }>]>; PluginsSessionActionSuccessResult: import("typebox").TObject<{ ok: import("typebox").TLiteral; result: import("typebox").TOptional; continueAgent: import("typebox").TOptional; reply: import("typebox").TOptional; }>; PluginsUiDescriptorsParams: import("typebox").TObject<{}>; PluginsUiDescriptorsResult: import("typebox").TObject<{ ok: import("typebox").TLiteral; descriptors: import("typebox").TArray; surface: import("typebox").TUnion<[import("typebox").TLiteral<"session">, import("typebox").TLiteral<"tool">, import("typebox").TLiteral<"run">, import("typebox").TLiteral<"settings">]>; label: import("typebox").TString; description: import("typebox").TOptional; placement: import("typebox").TOptional; schema: import("typebox").TOptional; requiredScopes: import("typebox").TOptional>; }>>; }>; DevicePairListParams: import("typebox").TObject<{}>; DevicePairApproveParams: import("typebox").TObject<{ requestId: import("typebox").TString; }>; DevicePairRejectParams: import("typebox").TObject<{ requestId: import("typebox").TString; }>; DevicePairRemoveParams: import("typebox").TObject<{ deviceId: import("typebox").TString; }>; DeviceTokenRotateParams: import("typebox").TObject<{ deviceId: import("typebox").TString; role: import("typebox").TString; scopes: import("typebox").TOptional>; }>; DeviceTokenRevokeParams: import("typebox").TObject<{ deviceId: import("typebox").TString; role: import("typebox").TString; }>; DevicePairRequestedEvent: import("typebox").TObject<{ requestId: import("typebox").TString; deviceId: import("typebox").TString; publicKey: import("typebox").TString; displayName: import("typebox").TOptional; platform: import("typebox").TOptional; deviceFamily: import("typebox").TOptional; clientId: import("typebox").TOptional; clientMode: import("typebox").TOptional; role: import("typebox").TOptional; roles: import("typebox").TOptional>; scopes: import("typebox").TOptional>; remoteIp: import("typebox").TOptional; silent: import("typebox").TOptional; isRepair: import("typebox").TOptional; ts: import("typebox").TInteger; }>; DevicePairResolvedEvent: import("typebox").TObject<{ requestId: import("typebox").TString; deviceId: import("typebox").TString; decision: import("typebox").TString; ts: import("typebox").TInteger; }>; ChatHistoryParams: import("typebox").TObject<{ sessionKey: import("typebox").TString; limit: import("typebox").TOptional; maxChars: import("typebox").TOptional; }>; ChatSendParams: import("typebox").TObject<{ sessionKey: import("typebox").TString; sessionId: import("typebox").TOptional; message: import("typebox").TString; thinking: import("typebox").TOptional; fastMode: import("typebox").TOptional; deliver: import("typebox").TOptional; originatingChannel: import("typebox").TOptional; originatingTo: import("typebox").TOptional; originatingAccountId: import("typebox").TOptional; originatingThreadId: import("typebox").TOptional; attachments: import("typebox").TOptional>; timeoutMs: import("typebox").TOptional; systemInputProvenance: import("typebox").TOptional; sourceSessionKey: import("typebox").TOptional; sourceChannel: import("typebox").TOptional; sourceTool: import("typebox").TOptional; }>>; systemProvenanceReceipt: import("typebox").TOptional; customInstructions: import("typebox").TOptional; idempotencyKey: import("typebox").TString; }>; ChatAbortParams: import("typebox").TObject<{ sessionKey: import("typebox").TString; runId: import("typebox").TOptional; }>; ChatInjectParams: import("typebox").TObject<{ sessionKey: import("typebox").TString; message: import("typebox").TString; label: import("typebox").TOptional; }>; ChatDeltaEvent: import("typebox").TObject<{ state: import("typebox").TLiteral<"delta">; message: import("typebox").TOptional; deltaText: import("typebox").TString; replace: import("typebox").TOptional; usage: import("typebox").TOptional; runId: import("typebox").TString; sessionKey: import("typebox").TString; spawnedBy: import("typebox").TOptional; seq: import("typebox").TInteger; }>; ChatFinalEvent: import("typebox").TObject<{ state: import("typebox").TLiteral<"final">; message: import("typebox").TOptional; usage: import("typebox").TOptional; stopReason: import("typebox").TOptional; runId: import("typebox").TString; sessionKey: import("typebox").TString; spawnedBy: import("typebox").TOptional; seq: import("typebox").TInteger; }>; ChatAbortedEvent: import("typebox").TObject<{ state: import("typebox").TLiteral<"aborted">; message: import("typebox").TOptional; stopReason: import("typebox").TOptional; runId: import("typebox").TString; sessionKey: import("typebox").TString; spawnedBy: import("typebox").TOptional; seq: import("typebox").TInteger; }>; ChatErrorEvent: import("typebox").TObject<{ state: import("typebox").TLiteral<"error">; message: import("typebox").TOptional; errorMessage: import("typebox").TOptional; errorKind: import("typebox").TOptional, import("typebox").TLiteral<"timeout">, import("typebox").TLiteral<"rate_limit">, import("typebox").TLiteral<"context_length">, import("typebox").TLiteral<"unknown">]>>; usage: import("typebox").TOptional; stopReason: import("typebox").TOptional; runId: import("typebox").TString; sessionKey: import("typebox").TString; spawnedBy: import("typebox").TOptional; seq: import("typebox").TInteger; }>; ChatEvent: import("typebox").TUnion<[import("typebox").TObject<{ state: import("typebox").TLiteral<"delta">; message: import("typebox").TOptional; deltaText: import("typebox").TString; replace: import("typebox").TOptional; usage: import("typebox").TOptional; runId: import("typebox").TString; sessionKey: import("typebox").TString; spawnedBy: import("typebox").TOptional; seq: import("typebox").TInteger; }>, import("typebox").TObject<{ state: import("typebox").TLiteral<"final">; message: import("typebox").TOptional; usage: import("typebox").TOptional; stopReason: import("typebox").TOptional; runId: import("typebox").TString; sessionKey: import("typebox").TString; spawnedBy: import("typebox").TOptional; seq: import("typebox").TInteger; }>, import("typebox").TObject<{ state: import("typebox").TLiteral<"aborted">; message: import("typebox").TOptional; stopReason: import("typebox").TOptional; runId: import("typebox").TString; sessionKey: import("typebox").TString; spawnedBy: import("typebox").TOptional; seq: import("typebox").TInteger; }>, import("typebox").TObject<{ state: import("typebox").TLiteral<"error">; message: import("typebox").TOptional; errorMessage: import("typebox").TOptional; errorKind: import("typebox").TOptional, import("typebox").TLiteral<"timeout">, import("typebox").TLiteral<"rate_limit">, import("typebox").TLiteral<"context_length">, import("typebox").TLiteral<"unknown">]>>; usage: import("typebox").TOptional; stopReason: import("typebox").TOptional; runId: import("typebox").TString; sessionKey: import("typebox").TString; spawnedBy: import("typebox").TOptional; seq: import("typebox").TInteger; }>]>; UpdateStatusParams: import("typebox").TObject<{}>; UpdateRunParams: import("typebox").TObject<{ sessionKey: import("typebox").TOptional; deliveryContext: import("typebox").TOptional; to: import("typebox").TOptional; accountId: import("typebox").TOptional; threadId: import("typebox").TOptional>; }>>; note: import("typebox").TOptional; continuationMessage: import("typebox").TOptional; restartDelayMs: import("typebox").TOptional; timeoutMs: import("typebox").TOptional; }>; TickEvent: import("typebox").TObject<{ ts: import("typebox").TInteger; }>; ShutdownEvent: import("typebox").TObject<{ reason: import("typebox").TString; restartExpectedMs: import("typebox").TOptional; }>; }; //#endregion //#region packages/gateway-protocol/src/schema/types.d.ts type ProtocolSchemaName = keyof typeof ProtocolSchemas; type SchemaType = Static<(typeof ProtocolSchemas)[TName]>; type ConnectParams = SchemaType<"ConnectParams">; type HelloOk = SchemaType<"HelloOk">; type RequestFrame = SchemaType<"RequestFrame">; type ResponseFrame = SchemaType<"ResponseFrame">; type EventFrame = SchemaType<"EventFrame">; type GatewayFrame = SchemaType<"GatewayFrame">; type Snapshot = SchemaType<"Snapshot">; type PresenceEntry = SchemaType<"PresenceEntry">; type ErrorShape = SchemaType<"ErrorShape">; type StateVersion = SchemaType<"StateVersion">; type EnvironmentStatus = SchemaType<"EnvironmentStatus">; type EnvironmentSummary = SchemaType<"EnvironmentSummary">; type EnvironmentsListParams = SchemaType<"EnvironmentsListParams">; type EnvironmentsListResult = SchemaType<"EnvironmentsListResult">; type EnvironmentsStatusParams = SchemaType<"EnvironmentsStatusParams">; type EnvironmentsStatusResult = SchemaType<"EnvironmentsStatusResult">; type AgentEvent = SchemaType<"AgentEvent">; type AgentIdentityParams = SchemaType<"AgentIdentityParams">; type AgentIdentityResult = SchemaType<"AgentIdentityResult">; type PollParams = SchemaType<"PollParams">; type AgentWaitParams = SchemaType<"AgentWaitParams">; type WakeParams = SchemaType<"WakeParams">; type NodePairRequestParams = SchemaType<"NodePairRequestParams">; type NodePairListParams = SchemaType<"NodePairListParams">; type NodePairApproveParams = SchemaType<"NodePairApproveParams">; type NodePairRejectParams = SchemaType<"NodePairRejectParams">; type NodePairRemoveParams = SchemaType<"NodePairRemoveParams">; type NodePairVerifyParams = SchemaType<"NodePairVerifyParams">; type NodeListParams = SchemaType<"NodeListParams">; type NodeInvokeParams = SchemaType<"NodeInvokeParams">; type NodeInvokeResultParams = SchemaType<"NodeInvokeResultParams">; type NodeEventParams = SchemaType<"NodeEventParams">; type NodeEventResult = SchemaType<"NodeEventResult">; type NodePresenceAlivePayload = SchemaType<"NodePresenceAlivePayload">; type NodePresenceAliveReason = SchemaType<"NodePresenceAliveReason">; type NodePendingDrainParams = SchemaType<"NodePendingDrainParams">; type NodePendingDrainResult = SchemaType<"NodePendingDrainResult">; type NodePendingEnqueueParams = SchemaType<"NodePendingEnqueueParams">; type NodePendingEnqueueResult = SchemaType<"NodePendingEnqueueResult">; type SessionsListParams = SchemaType<"SessionsListParams">; type SessionsCleanupParams = SchemaType<"SessionsCleanupParams">; type SessionsPreviewParams = SchemaType<"SessionsPreviewParams">; type SessionsDescribeParams = SchemaType<"SessionsDescribeParams">; type SessionsResolveParams = SchemaType<"SessionsResolveParams">; type SessionOperationEvent = SchemaType<"SessionOperationEvent">; type SessionsPatchParams = SchemaType<"SessionsPatchParams">; type SessionsResetParams = SchemaType<"SessionsResetParams">; type SessionsDeleteParams = SchemaType<"SessionsDeleteParams">; type SessionsCompactParams = SchemaType<"SessionsCompactParams">; type SessionsUsageParams = SchemaType<"SessionsUsageParams">; type TaskSummary = SchemaType<"TaskSummary">; type TasksListParams = SchemaType<"TasksListParams">; type TasksListResult = SchemaType<"TasksListResult">; type TasksGetParams = SchemaType<"TasksGetParams">; type TasksGetResult = SchemaType<"TasksGetResult">; type TasksCancelParams = SchemaType<"TasksCancelParams">; type TasksCancelResult = SchemaType<"TasksCancelResult">; type ConfigGetParams = SchemaType<"ConfigGetParams">; type ConfigSetParams = SchemaType<"ConfigSetParams">; type ConfigApplyParams = SchemaType<"ConfigApplyParams">; type ConfigPatchParams = SchemaType<"ConfigPatchParams">; type ConfigSchemaParams = SchemaType<"ConfigSchemaParams">; type ConfigSchemaResponse = SchemaType<"ConfigSchemaResponse">; type UpdateStatusParams = SchemaType<"UpdateStatusParams">; type WizardStartParams = SchemaType<"WizardStartParams">; type WizardNextParams = SchemaType<"WizardNextParams">; type WizardCancelParams = SchemaType<"WizardCancelParams">; type WizardStatusParams = SchemaType<"WizardStatusParams">; type WizardStep = SchemaType<"WizardStep">; type WizardNextResult = SchemaType<"WizardNextResult">; type WizardStartResult = SchemaType<"WizardStartResult">; type WizardStatusResult = SchemaType<"WizardStatusResult">; type TalkModeParams = SchemaType<"TalkModeParams">; type TalkCatalogParams = SchemaType<"TalkCatalogParams">; type TalkCatalogResult = SchemaType<"TalkCatalogResult">; type TalkConfigParams = SchemaType<"TalkConfigParams">; type TalkConfigResult = SchemaType<"TalkConfigResult">; type TalkClientCreateParams = SchemaType<"TalkClientCreateParams">; type TalkClientCreateResult = SchemaType<"TalkClientCreateResult">; type TalkClientSteerParams = SchemaType<"TalkClientSteerParams">; type TalkAgentControlResult = SchemaType<"TalkAgentControlResult">; type TalkClientToolCallParams = SchemaType<"TalkClientToolCallParams">; type TalkClientToolCallResult = SchemaType<"TalkClientToolCallResult">; type TalkSessionCreateParams = SchemaType<"TalkSessionCreateParams">; type TalkSessionCreateResult = SchemaType<"TalkSessionCreateResult">; type TalkSessionJoinParams = SchemaType<"TalkSessionJoinParams">; type TalkSessionJoinResult = SchemaType<"TalkSessionJoinResult">; type TalkSessionAppendAudioParams = SchemaType<"TalkSessionAppendAudioParams">; type TalkSessionTurnParams = SchemaType<"TalkSessionTurnParams">; type TalkSessionCancelTurnParams = SchemaType<"TalkSessionCancelTurnParams">; type TalkSessionCancelOutputParams = SchemaType<"TalkSessionCancelOutputParams">; type TalkSessionTurnResult = SchemaType<"TalkSessionTurnResult">; type TalkSessionSteerParams = SchemaType<"TalkSessionSteerParams">; type TalkSessionSubmitToolResultParams = SchemaType<"TalkSessionSubmitToolResultParams">; type TalkSessionCloseParams = SchemaType<"TalkSessionCloseParams">; type TalkSessionOkResult = SchemaType<"TalkSessionOkResult">; type TalkSpeakParams = SchemaType<"TalkSpeakParams">; type TalkSpeakResult = SchemaType<"TalkSpeakResult">; type ChannelsStatusParams = SchemaType<"ChannelsStatusParams">; type ChannelsStatusResult = SchemaType<"ChannelsStatusResult">; type ChannelsStartParams = SchemaType<"ChannelsStartParams">; type ChannelsStopParams = SchemaType<"ChannelsStopParams">; type ChannelsLogoutParams = SchemaType<"ChannelsLogoutParams">; type ChannelsPairingListParams = SchemaType<"ChannelsPairingListParams">; type ChannelsPairingApproveParams = SchemaType<"ChannelsPairingApproveParams">; type WebLoginStartParams = SchemaType<"WebLoginStartParams">; type WebLoginWaitParams = SchemaType<"WebLoginWaitParams">; type AgentSummary = SchemaType<"AgentSummary">; type AgentsFileEntry = SchemaType<"AgentsFileEntry">; type AgentsCreateParams = SchemaType<"AgentsCreateParams">; type AgentsCreateResult = SchemaType<"AgentsCreateResult">; type AgentsUpdateParams = SchemaType<"AgentsUpdateParams">; type AgentsUpdateResult = SchemaType<"AgentsUpdateResult">; type AgentsDeleteParams = SchemaType<"AgentsDeleteParams">; type AgentsDeleteResult = SchemaType<"AgentsDeleteResult">; type AgentsFilesListParams = SchemaType<"AgentsFilesListParams">; type AgentsFilesListResult = SchemaType<"AgentsFilesListResult">; type AgentsFilesGetParams = SchemaType<"AgentsFilesGetParams">; type AgentsFilesGetResult = SchemaType<"AgentsFilesGetResult">; type AgentsFilesSetParams = SchemaType<"AgentsFilesSetParams">; type AgentsFilesSetResult = SchemaType<"AgentsFilesSetResult">; type ArtifactSummary = SchemaType<"ArtifactSummary">; type ArtifactsListParams = SchemaType<"ArtifactsListParams">; type ArtifactsListResult = SchemaType<"ArtifactsListResult">; type ArtifactsGetParams = SchemaType<"ArtifactsGetParams">; type ArtifactsGetResult = SchemaType<"ArtifactsGetResult">; type ArtifactsDownloadParams = SchemaType<"ArtifactsDownloadParams">; type ArtifactsDownloadResult = SchemaType<"ArtifactsDownloadResult">; type AgentsListParams = SchemaType<"AgentsListParams">; type AgentsListResult = SchemaType<"AgentsListResult">; type CommandEntry = SchemaType<"CommandEntry">; type CommandsListParams = SchemaType<"CommandsListParams">; type CommandsListResult = SchemaType<"CommandsListResult">; type PluginsSessionActionParams = SchemaType<"PluginsSessionActionParams">; type PluginsSessionActionResult = SchemaType<"PluginsSessionActionResult">; type SkillsStatusParams = SchemaType<"SkillsStatusParams">; type ToolsCatalogParams = SchemaType<"ToolsCatalogParams">; type ToolsCatalogResult = SchemaType<"ToolsCatalogResult">; type ToolsEffectiveParams = SchemaType<"ToolsEffectiveParams">; type ToolsEffectiveResult = SchemaType<"ToolsEffectiveResult">; type ToolsInvokeParams = SchemaType<"ToolsInvokeParams">; type ToolsInvokeResult = SchemaType<"ToolsInvokeResult">; type SkillsBinsParams = SchemaType<"SkillsBinsParams">; type SkillsBinsResult = SchemaType<"SkillsBinsResult">; type SkillsSearchParams = SchemaType<"SkillsSearchParams">; type SkillsSearchResult = SchemaType<"SkillsSearchResult">; type SkillsDetailParams = SchemaType<"SkillsDetailParams">; type SkillsDetailResult = SchemaType<"SkillsDetailResult">; type SkillsSecurityVerdictsParams = SchemaType<"SkillsSecurityVerdictsParams">; type SkillsSecurityVerdictsResult = SchemaType<"SkillsSecurityVerdictsResult">; type SkillsSkillCardParams = SchemaType<"SkillsSkillCardParams">; type SkillsSkillCardResult = SchemaType<"SkillsSkillCardResult">; type SkillsUploadBeginParams = SchemaType<"SkillsUploadBeginParams">; type SkillsUploadChunkParams = SchemaType<"SkillsUploadChunkParams">; type SkillsUploadCommitParams = SchemaType<"SkillsUploadCommitParams">; type SkillsInstallParams = SchemaType<"SkillsInstallParams">; type SkillsUpdateParams = SchemaType<"SkillsUpdateParams">; type CronJob = SchemaType<"CronJob">; type CronListParams = SchemaType<"CronListParams">; type CronStatusParams = SchemaType<"CronStatusParams">; type CronGetParams = SchemaType<"CronGetParams">; type CronAddParams = SchemaType<"CronAddParams">; type CronUpdateParams = SchemaType<"CronUpdateParams">; type CronRemoveParams = SchemaType<"CronRemoveParams">; type CronRunParams = SchemaType<"CronRunParams">; type CronRunsParams = SchemaType<"CronRunsParams">; type CronRunLogEntry = SchemaType<"CronRunLogEntry">; type LogsTailParams = SchemaType<"LogsTailParams">; type LogsTailResult = SchemaType<"LogsTailResult">; type ExecApprovalsGetParams = SchemaType<"ExecApprovalsGetParams">; type ExecApprovalsSetParams = SchemaType<"ExecApprovalsSetParams">; type ExecApprovalsSnapshot = SchemaType<"ExecApprovalsSnapshot">; type ExecApprovalGetParams = SchemaType<"ExecApprovalGetParams">; type ExecApprovalRequestParams = SchemaType<"ExecApprovalRequestParams">; type ExecApprovalResolveParams = SchemaType<"ExecApprovalResolveParams">; type DevicePairListParams = SchemaType<"DevicePairListParams">; type DevicePairApproveParams = SchemaType<"DevicePairApproveParams">; type DevicePairRejectParams = SchemaType<"DevicePairRejectParams">; type ChatInjectParams = SchemaType<"ChatInjectParams">; type ChatEvent = SchemaType<"ChatEvent">; type UpdateRunParams = SchemaType<"UpdateRunParams">; type TickEvent = SchemaType<"TickEvent">; type ShutdownEvent = SchemaType<"ShutdownEvent">; //#endregion //#region packages/gateway-protocol/src/schema/error-codes.d.ts declare const ErrorCodes: { readonly NOT_LINKED: "NOT_LINKED"; readonly NOT_PAIRED: "NOT_PAIRED"; readonly AGENT_TIMEOUT: "AGENT_TIMEOUT"; readonly INVALID_REQUEST: "INVALID_REQUEST"; readonly APPROVAL_NOT_FOUND: "APPROVAL_NOT_FOUND"; readonly UNAVAILABLE: "UNAVAILABLE"; }; type ErrorCode = (typeof ErrorCodes)[keyof typeof ErrorCodes]; declare function errorShape(code: ErrorCode, message: string, opts?: { details?: unknown; retryable?: boolean; retryAfterMs?: number; }): ErrorShape; //#endregion //#region packages/gateway-protocol/src/schema/environments.d.ts declare const EnvironmentStatusSchema: Type.TString; declare const EnvironmentSummarySchema: Type.TObject<{ id: Type.TString; type: Type.TString; label: Type.TOptional; status: Type.TString; capabilities: Type.TOptional>; }>; declare const EnvironmentsListParamsSchema: Type.TObject<{}>; declare const EnvironmentsListResultSchema: Type.TObject<{ environments: Type.TArray; status: Type.TString; capabilities: Type.TOptional>; }>>; }>; declare const EnvironmentsStatusParamsSchema: Type.TObject<{ environmentId: Type.TString; }>; declare const EnvironmentsStatusResultSchema: Type.TObject<{ id: Type.TString; type: Type.TString; label: Type.TOptional; status: Type.TString; capabilities: Type.TOptional>; }>; //#endregion //#region packages/gateway-protocol/src/schema/exec-approvals.d.ts declare const ExecApprovalsGetParamsSchema: Type.TObject<{}>; declare const ExecApprovalsSetParamsSchema: Type.TObject<{ file: Type.TObject<{ version: Type.TLiteral<1>; socket: Type.TOptional; token: Type.TOptional; }>>; defaults: Type.TOptional; ask: Type.TOptional; askFallback: Type.TOptional; autoAllowSkills: Type.TOptional; }>>; agents: Type.TOptional; pattern: Type.TString; source: Type.TOptional>; commandText: Type.TOptional; argPattern: Type.TOptional; lastUsedAt: Type.TOptional; lastUsedCommand: Type.TOptional; lastResolvedPath: Type.TOptional; }>>>; security: Type.TOptional; ask: Type.TOptional; askFallback: Type.TOptional; autoAllowSkills: Type.TOptional; }>>>; }>; baseHash: Type.TOptional; }>; declare const ExecApprovalGetParamsSchema: Type.TObject<{ id: Type.TString; }>; declare const ExecApprovalRequestParamsSchema: Type.TObject<{ id: Type.TOptional; command: Type.TOptional; commandArgv: Type.TOptional>; systemRunPlan: Type.TOptional; cwd: Type.TUnion<[Type.TString, Type.TNull]>; commandText: Type.TString; commandPreview: Type.TOptional>; agentId: Type.TUnion<[Type.TString, Type.TNull]>; sessionKey: Type.TUnion<[Type.TString, Type.TNull]>; mutableFileOperand: Type.TOptional, Type.TNull]>>; }>>; env: Type.TOptional>; cwd: Type.TOptional>; nodeId: Type.TOptional>; host: Type.TOptional>; security: Type.TOptional>; ask: Type.TOptional>; warningText: Type.TOptional>; commandSpans: Type.TOptional>>; agentId: Type.TOptional>; resolvedPath: Type.TOptional>; sessionKey: Type.TOptional>; turnSourceChannel: Type.TOptional>; turnSourceTo: Type.TOptional>; turnSourceAccountId: Type.TOptional>; turnSourceThreadId: Type.TOptional>; requireDeliveryRoute: Type.TOptional; suppressDelivery: Type.TOptional; timeoutMs: Type.TOptional; twoPhase: Type.TOptional; }>; declare const ExecApprovalResolveParamsSchema: Type.TObject<{ id: Type.TString; decision: Type.TString; }>; //#endregion //#region packages/gateway-protocol/src/schema/frames.d.ts declare const TickEventSchema: Type.TObject<{ ts: Type.TInteger; }>; declare const ShutdownEventSchema: Type.TObject<{ reason: Type.TString; restartExpectedMs: Type.TOptional; }>; declare const ConnectParamsSchema: Type.TObject<{ minProtocol: Type.TInteger; maxProtocol: Type.TInteger; client: Type.TObject<{ id: Type.TEnum<["webchat-ui", "openclaw-control-ui", "openclaw-tui", "webchat", "cli", "gateway-client", "openclaw-macos", "openclaw-ios", "openclaw-android", "node-host", "test", "fingerprint", "openclaw-probe"]>; displayName: Type.TOptional; version: Type.TString; platform: Type.TString; deviceFamily: Type.TOptional; modelIdentifier: Type.TOptional; mode: Type.TEnum<["webchat", "cli", "test", "probe", "ui", "backend", "node"]>; instanceId: Type.TOptional; }>; caps: Type.TOptional>; commands: Type.TOptional>; permissions: Type.TOptional>; pathEnv: Type.TOptional; role: Type.TOptional; scopes: Type.TOptional>; device: Type.TOptional>; auth: Type.TOptional; bootstrapToken: Type.TOptional; deviceToken: Type.TOptional; password: Type.TOptional; approvalRuntimeToken: Type.TOptional; }>>; locale: Type.TOptional; userAgent: Type.TOptional; }>; declare const HelloOkSchema: Type.TObject<{ type: Type.TLiteral<"hello-ok">; protocol: Type.TInteger; server: Type.TObject<{ version: Type.TString; connId: Type.TString; }>; features: Type.TObject<{ methods: Type.TArray; events: Type.TArray; }>; snapshot: Type.TObject<{ presence: Type.TArray; ip: Type.TOptional; version: Type.TOptional; platform: Type.TOptional; deviceFamily: Type.TOptional; modelIdentifier: Type.TOptional; mode: Type.TOptional; lastInputSeconds: Type.TOptional; reason: Type.TOptional; tags: Type.TOptional>; text: Type.TOptional; ts: Type.TInteger; deviceId: Type.TOptional; roles: Type.TOptional>; scopes: Type.TOptional>; instanceId: Type.TOptional; }>>; health: Type.TAny; stateVersion: Type.TObject<{ presence: Type.TInteger; health: Type.TInteger; }>; uptimeMs: Type.TInteger; configPath: Type.TOptional; stateDir: Type.TOptional; sessionDefaults: Type.TOptional; }>>; authMode: Type.TOptional, Type.TLiteral<"token">, Type.TLiteral<"password">, Type.TLiteral<"trusted-proxy">]>>; updateAvailable: Type.TOptional>; }>; pluginSurfaceUrls: Type.TOptional>; auth: Type.TObject<{ deviceToken: Type.TOptional; role: Type.TString; scopes: Type.TArray; issuedAtMs: Type.TOptional; deviceTokens: Type.TOptional; issuedAtMs: Type.TInteger; }>>>; }>; policy: Type.TObject<{ maxPayload: Type.TInteger; maxBufferedBytes: Type.TInteger; tickIntervalMs: Type.TInteger; }>; }>; declare const ErrorShapeSchema: Type.TObject<{ code: Type.TString; message: Type.TString; details: Type.TOptional; retryable: Type.TOptional; retryAfterMs: Type.TOptional; }>; declare const RequestFrameSchema: Type.TObject<{ type: Type.TLiteral<"req">; id: Type.TString; method: Type.TString; params: Type.TOptional; }>; declare const ResponseFrameSchema: Type.TObject<{ type: Type.TLiteral<"res">; id: Type.TString; ok: Type.TBoolean; payload: Type.TOptional; error: Type.TOptional; retryable: Type.TOptional; retryAfterMs: Type.TOptional; }>>; }>; declare const EventFrameSchema: Type.TObject<{ type: Type.TLiteral<"event">; event: Type.TString; payload: Type.TOptional; seq: Type.TOptional; stateVersion: Type.TOptional>; }>; declare const GatewayFrameSchema: Type.TUnion<[Type.TObject<{ type: Type.TLiteral<"req">; id: Type.TString; method: Type.TString; params: Type.TOptional; }>, Type.TObject<{ type: Type.TLiteral<"res">; id: Type.TString; ok: Type.TBoolean; payload: Type.TOptional; error: Type.TOptional; retryable: Type.TOptional; retryAfterMs: Type.TOptional; }>>; }>, Type.TObject<{ type: Type.TLiteral<"event">; event: Type.TString; payload: Type.TOptional; seq: Type.TOptional; stateVersion: Type.TOptional>; }>]>; //#endregion //#region packages/gateway-protocol/src/schema/logs-chat.d.ts declare const LogsTailParamsSchema: Type.TObject<{ cursor: Type.TOptional; limit: Type.TOptional; maxBytes: Type.TOptional; }>; declare const LogsTailResultSchema: Type.TObject<{ file: Type.TString; cursor: Type.TInteger; size: Type.TInteger; lines: Type.TArray; truncated: Type.TOptional; reset: Type.TOptional; }>; declare const ChatHistoryParamsSchema: Type.TObject<{ sessionKey: Type.TString; limit: Type.TOptional; maxChars: Type.TOptional; }>; declare const ChatSendParamsSchema: Type.TObject<{ sessionKey: Type.TString; sessionId: Type.TOptional; message: Type.TString; thinking: Type.TOptional; fastMode: Type.TOptional; deliver: Type.TOptional; originatingChannel: Type.TOptional; originatingTo: Type.TOptional; originatingAccountId: Type.TOptional; originatingThreadId: Type.TOptional; attachments: Type.TOptional>; timeoutMs: Type.TOptional; systemInputProvenance: Type.TOptional; sourceSessionKey: Type.TOptional; sourceChannel: Type.TOptional; sourceTool: Type.TOptional; }>>; systemProvenanceReceipt: Type.TOptional; customInstructions: Type.TOptional; idempotencyKey: Type.TString; }>; declare const ChatInjectParamsSchema: Type.TObject<{ sessionKey: Type.TString; message: Type.TString; label: Type.TOptional; }>; declare const ChatEventSchema: Type.TUnion<[Type.TObject<{ state: Type.TLiteral<"delta">; message: Type.TOptional; deltaText: Type.TString; replace: Type.TOptional; usage: Type.TOptional; runId: Type.TString; sessionKey: Type.TString; spawnedBy: Type.TOptional; seq: Type.TInteger; }>, Type.TObject<{ state: Type.TLiteral<"final">; message: Type.TOptional; usage: Type.TOptional; stopReason: Type.TOptional; runId: Type.TString; sessionKey: Type.TString; spawnedBy: Type.TOptional; seq: Type.TInteger; }>, Type.TObject<{ state: Type.TLiteral<"aborted">; message: Type.TOptional; stopReason: Type.TOptional; runId: Type.TString; sessionKey: Type.TString; spawnedBy: Type.TOptional; seq: Type.TInteger; }>, Type.TObject<{ state: Type.TLiteral<"error">; message: Type.TOptional; errorMessage: Type.TOptional; errorKind: Type.TOptional, Type.TLiteral<"timeout">, Type.TLiteral<"rate_limit">, Type.TLiteral<"context_length">, Type.TLiteral<"unknown">]>>; usage: Type.TOptional; stopReason: Type.TOptional; runId: Type.TString; sessionKey: Type.TString; spawnedBy: Type.TOptional; seq: Type.TInteger; }>]>; //#endregion //#region packages/gateway-protocol/src/schema/nodes.d.ts declare const NodePresenceAliveReasonSchema: Type.TString; declare const NodePresenceAlivePayloadSchema: Type.TObject<{ trigger: Type.TString; sentAtMs: Type.TOptional; displayName: Type.TOptional; version: Type.TOptional; platform: Type.TOptional; deviceFamily: Type.TOptional; modelIdentifier: Type.TOptional; pushTransport: Type.TOptional; }>; declare const NodeEventResultSchema: Type.TObject<{ ok: Type.TBoolean; event: Type.TString; handled: Type.TBoolean; reason: Type.TOptional; }>; declare const NodePairRequestParamsSchema: Type.TObject<{ nodeId: Type.TString; displayName: Type.TOptional; platform: Type.TOptional; version: Type.TOptional; coreVersion: Type.TOptional; uiVersion: Type.TOptional; deviceFamily: Type.TOptional; modelIdentifier: Type.TOptional; caps: Type.TOptional>; commands: Type.TOptional>; permissions: Type.TOptional>; remoteIp: Type.TOptional; silent: Type.TOptional; }>; declare const NodePairListParamsSchema: Type.TObject<{}>; declare const NodePairApproveParamsSchema: Type.TObject<{ requestId: Type.TString; }>; declare const NodePairRejectParamsSchema: Type.TObject<{ requestId: Type.TString; }>; declare const NodePairRemoveParamsSchema: Type.TObject<{ nodeId: Type.TString; }>; declare const NodePairVerifyParamsSchema: Type.TObject<{ nodeId: Type.TString; token: Type.TString; }>; declare const NodeListParamsSchema: Type.TObject<{}>; declare const NodePendingAckParamsSchema: Type.TObject<{ ids: Type.TArray; }>; declare const NodeInvokeParamsSchema: Type.TObject<{ nodeId: Type.TString; command: Type.TString; params: Type.TOptional; timeoutMs: Type.TOptional; idempotencyKey: Type.TString; }>; declare const NodePendingDrainParamsSchema: Type.TObject<{ maxItems: Type.TOptional; }>; declare const NodePendingDrainResultSchema: Type.TObject<{ nodeId: Type.TString; revision: Type.TInteger; items: Type.TArray>; payload: Type.TOptional>; }>>; hasMore: Type.TBoolean; }>; declare const NodePendingEnqueueParamsSchema: Type.TObject<{ nodeId: Type.TString; type: Type.TString; priority: Type.TOptional; expiresInMs: Type.TOptional; wake: Type.TOptional; }>; declare const NodePendingEnqueueResultSchema: Type.TObject<{ nodeId: Type.TString; revision: Type.TInteger; queued: Type.TObject<{ id: Type.TString; type: Type.TString; priority: Type.TString; createdAtMs: Type.TInteger; expiresAtMs: Type.TOptional>; payload: Type.TOptional>; }>; wakeTriggered: Type.TBoolean; }>; //#endregion //#region packages/gateway-protocol/src/schema/push.d.ts declare const PushTestParamsSchema: Type.TObject<{ nodeId: Type.TString; title: Type.TOptional; body: Type.TOptional; environment: Type.TOptional; }>; declare const PushTestResultSchema: Type.TObject<{ ok: Type.TBoolean; status: Type.TInteger; apnsId: Type.TOptional; reason: Type.TOptional; tokenSuffix: Type.TString; topic: Type.TString; environment: Type.TString; transport: Type.TString; }>; declare const WebPushVapidPublicKeyParamsSchema: Type.TObject<{}>; declare const WebPushSubscribeParamsSchema: Type.TObject<{ endpoint: Type.TString; keys: Type.TObject<{ p256dh: Type.TString; auth: Type.TString; }>; }>; declare const WebPushUnsubscribeParamsSchema: Type.TObject<{ endpoint: Type.TString; }>; declare const WebPushTestParamsSchema: Type.TObject<{ title: Type.TOptional; body: Type.TOptional; }>; type WebPushVapidPublicKeyParams = Record; type WebPushSubscribeParams = { endpoint: string; keys: { p256dh: string; auth: string; }; }; type WebPushUnsubscribeParams = { endpoint: string; }; type WebPushTestParams = { title?: string; body?: string; }; //#endregion //#region packages/gateway-protocol/src/schema/sessions.d.ts declare const SessionsListParamsSchema: Type.TObject<{ /** * Maximum rows to return. Omitted Gateway RPC calls use a bounded default * to keep large session stores from monopolizing the event loop. */ limit: Type.TOptional; offset: Type.TOptional; activeMinutes: Type.TOptional; includeGlobal: Type.TOptional; includeUnknown: Type.TOptional; /** * Limit returned agent-scoped rows to agents currently present in config. * Broad disk discovery remains the default for recovery/ACP consumers. */ configuredAgentsOnly: Type.TOptional; /** * Read first 8KB of each session transcript to derive title from first user message. * Performs a file read per session - use `limit` to bound result set on large stores. */ includeDerivedTitles: Type.TOptional; /** * Read last 16KB of each session transcript to extract most recent message preview. * Performs a file read per session - use `limit` to bound result set on large stores. */ includeLastMessage: Type.TOptional; label: Type.TOptional; spawnedBy: Type.TOptional; agentId: Type.TOptional; search: Type.TOptional; }>; declare const SessionsCleanupParamsSchema: Type.TObject<{ agent: Type.TOptional; allAgents: Type.TOptional; enforce: Type.TOptional; activeKey: Type.TOptional; fixMissing: Type.TOptional; fixDmScope: Type.TOptional; }>; declare const SessionsPreviewParamsSchema: Type.TObject<{ keys: Type.TArray; limit: Type.TOptional; maxChars: Type.TOptional; }>; declare const SessionsDescribeParamsSchema: Type.TObject<{ key: Type.TString; includeDerivedTitles: Type.TOptional; includeLastMessage: Type.TOptional; }>; declare const SessionsResolveParamsSchema: Type.TObject<{ key: Type.TOptional; sessionId: Type.TOptional; label: Type.TOptional; agentId: Type.TOptional; spawnedBy: Type.TOptional; includeGlobal: Type.TOptional; includeUnknown: Type.TOptional; }>; declare const SessionsCreateParamsSchema: Type.TObject<{ key: Type.TOptional; agentId: Type.TOptional; label: Type.TOptional; model: Type.TOptional; parentSessionKey: Type.TOptional; emitCommandHooks: Type.TOptional; task: Type.TOptional; message: Type.TOptional; }>; declare const SessionsSendParamsSchema: Type.TObject<{ key: Type.TString; message: Type.TString; thinking: Type.TOptional; attachments: Type.TOptional>; timeoutMs: Type.TOptional; idempotencyKey: Type.TOptional; }>; declare const SessionsAbortParamsSchema: Type.TObject<{ key: Type.TOptional; runId: Type.TOptional; agentId: Type.TOptional; }>; declare const SessionsPatchParamsSchema: Type.TObject<{ key: Type.TString; label: Type.TOptional>; thinkingLevel: Type.TOptional>; fastMode: Type.TOptional>; verboseLevel: Type.TOptional>; traceLevel: Type.TOptional>; reasoningLevel: Type.TOptional>; responseUsage: Type.TOptional, Type.TLiteral<"tokens">, Type.TLiteral<"full">, Type.TLiteral<"on">, Type.TNull]>>; elevatedLevel: Type.TOptional>; execHost: Type.TOptional>; execSecurity: Type.TOptional>; execAsk: Type.TOptional>; execNode: Type.TOptional>; model: Type.TOptional>; spawnedBy: Type.TOptional>; spawnedWorkspaceDir: Type.TOptional>; spawnedCwd: Type.TOptional>; spawnDepth: Type.TOptional>; subagentRole: Type.TOptional, Type.TLiteral<"leaf">, Type.TNull]>>; subagentControlScope: Type.TOptional, Type.TLiteral<"none">, Type.TNull]>>; inheritedToolAllow: Type.TOptional, Type.TNull]>>; inheritedToolDeny: Type.TOptional, Type.TNull]>>; sendPolicy: Type.TOptional, Type.TLiteral<"deny">, Type.TNull]>>; groupActivation: Type.TOptional, Type.TLiteral<"always">, Type.TNull]>>; }>; declare const SessionsPluginPatchParamsSchema: Type.TObject<{ key: Type.TString; pluginId: Type.TString; namespace: Type.TString; value: Type.TOptional; unset: Type.TOptional; }>; declare const SessionsResetParamsSchema: Type.TObject<{ key: Type.TString; reason: Type.TOptional, Type.TLiteral<"reset">]>>; }>; declare const SessionsDeleteParamsSchema: Type.TObject<{ key: Type.TString; deleteTranscript: Type.TOptional; emitLifecycleHooks: Type.TOptional; }>; declare const SessionsCompactParamsSchema: Type.TObject<{ key: Type.TString; maxLines: Type.TOptional; }>; declare const SessionsCompactionListParamsSchema: Type.TObject<{ key: Type.TString; }>; declare const SessionsCompactionGetParamsSchema: Type.TObject<{ key: Type.TString; checkpointId: Type.TString; }>; declare const SessionsCompactionBranchParamsSchema: Type.TObject<{ key: Type.TString; checkpointId: Type.TString; }>; declare const SessionsCompactionRestoreParamsSchema: Type.TObject<{ key: Type.TString; checkpointId: Type.TString; }>; declare const SessionsUsageParamsSchema: Type.TObject<{ /** Specific session key to analyze; if omitted returns sessions for the effective agent. */key: Type.TOptional; /** Agent scope for list-style usage queries. */ agentId: Type.TOptional; /** Explicit all-agent scope for list-style usage queries. */ agentScope: Type.TOptional>; /** Start date for range filter (YYYY-MM-DD). */ startDate: Type.TOptional; /** End date for range filter (YYYY-MM-DD). */ endDate: Type.TOptional; /** How start/end dates should be interpreted. Defaults to UTC when omitted. */ mode: Type.TOptional, Type.TLiteral<"gateway">, Type.TLiteral<"specific">]>>; /** Preset range for usage queries when explicit start/end dates are omitted. */ range: Type.TOptional, Type.TLiteral<"30d">, Type.TLiteral<"90d">, Type.TLiteral<"1y">, Type.TLiteral<"all">]>>; /** Usage row grouping. `family` rolls up known rotated session ids for a logical key. */ groupBy: Type.TOptional, Type.TLiteral<"family">]>>; /** Backward-compatible alias for requesting family grouping. */ includeHistorical: Type.TOptional; /** UTC offset to use when mode is `specific` (for example, UTC-4 or UTC+5:30). */ utcOffset: Type.TOptional; /** Maximum sessions to return (default 50). */ limit: Type.TOptional; /** Include context weight breakdown (systemPromptReport). */ includeContextWeight: Type.TOptional; }>; //#endregion //#region packages/gateway-protocol/src/schema/snapshot.d.ts declare const PresenceEntrySchema: Type.TObject<{ host: Type.TOptional; ip: Type.TOptional; version: Type.TOptional; platform: Type.TOptional; deviceFamily: Type.TOptional; modelIdentifier: Type.TOptional; mode: Type.TOptional; lastInputSeconds: Type.TOptional; reason: Type.TOptional; tags: Type.TOptional>; text: Type.TOptional; ts: Type.TInteger; deviceId: Type.TOptional; roles: Type.TOptional>; scopes: Type.TOptional>; instanceId: Type.TOptional; }>; declare const StateVersionSchema: Type.TObject<{ presence: Type.TInteger; health: Type.TInteger; }>; declare const SnapshotSchema: Type.TObject<{ presence: Type.TArray; ip: Type.TOptional; version: Type.TOptional; platform: Type.TOptional; deviceFamily: Type.TOptional; modelIdentifier: Type.TOptional; mode: Type.TOptional; lastInputSeconds: Type.TOptional; reason: Type.TOptional; tags: Type.TOptional>; text: Type.TOptional; ts: Type.TInteger; deviceId: Type.TOptional; roles: Type.TOptional>; scopes: Type.TOptional>; instanceId: Type.TOptional; }>>; health: Type.TAny; stateVersion: Type.TObject<{ presence: Type.TInteger; health: Type.TInteger; }>; uptimeMs: Type.TInteger; configPath: Type.TOptional; stateDir: Type.TOptional; sessionDefaults: Type.TOptional; }>>; authMode: Type.TOptional, Type.TLiteral<"token">, Type.TLiteral<"password">, Type.TLiteral<"trusted-proxy">]>>; updateAvailable: Type.TOptional>; }>; //#endregion //#region packages/gateway-protocol/src/schema/tasks.d.ts declare const TaskSummarySchema: Type.TObject<{ id: Type.TString; kind: Type.TOptional; runtime: Type.TOptional; status: Type.TUnion<[Type.TLiteral<"queued">, Type.TLiteral<"running">, Type.TLiteral<"completed">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">, Type.TLiteral<"timed_out">]>; title: Type.TOptional; agentId: Type.TOptional; sessionKey: Type.TOptional; childSessionKey: Type.TOptional; ownerKey: Type.TOptional; runId: Type.TOptional; taskId: Type.TOptional; flowId: Type.TOptional; parentTaskId: Type.TOptional; sourceId: Type.TOptional; createdAt: Type.TOptional>; updatedAt: Type.TOptional>; startedAt: Type.TOptional>; endedAt: Type.TOptional>; progressSummary: Type.TOptional; terminalSummary: Type.TOptional; error: Type.TOptional; }>; declare const TasksListParamsSchema: Type.TObject<{ status: Type.TOptional, Type.TLiteral<"running">, Type.TLiteral<"completed">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">, Type.TLiteral<"timed_out">]>, Type.TArray, Type.TLiteral<"running">, Type.TLiteral<"completed">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">, Type.TLiteral<"timed_out">]>>]>>; agentId: Type.TOptional; sessionKey: Type.TOptional; limit: Type.TOptional; cursor: Type.TOptional; }>; declare const TasksListResultSchema: Type.TObject<{ tasks: Type.TArray; runtime: Type.TOptional; status: Type.TUnion<[Type.TLiteral<"queued">, Type.TLiteral<"running">, Type.TLiteral<"completed">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">, Type.TLiteral<"timed_out">]>; title: Type.TOptional; agentId: Type.TOptional; sessionKey: Type.TOptional; childSessionKey: Type.TOptional; ownerKey: Type.TOptional; runId: Type.TOptional; taskId: Type.TOptional; flowId: Type.TOptional; parentTaskId: Type.TOptional; sourceId: Type.TOptional; createdAt: Type.TOptional>; updatedAt: Type.TOptional>; startedAt: Type.TOptional>; endedAt: Type.TOptional>; progressSummary: Type.TOptional; terminalSummary: Type.TOptional; error: Type.TOptional; }>>; nextCursor: Type.TOptional; }>; declare const TasksGetParamsSchema: Type.TObject<{ taskId: Type.TString; }>; declare const TasksGetResultSchema: Type.TObject<{ task: Type.TObject<{ id: Type.TString; kind: Type.TOptional; runtime: Type.TOptional; status: Type.TUnion<[Type.TLiteral<"queued">, Type.TLiteral<"running">, Type.TLiteral<"completed">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">, Type.TLiteral<"timed_out">]>; title: Type.TOptional; agentId: Type.TOptional; sessionKey: Type.TOptional; childSessionKey: Type.TOptional; ownerKey: Type.TOptional; runId: Type.TOptional; taskId: Type.TOptional; flowId: Type.TOptional; parentTaskId: Type.TOptional; sourceId: Type.TOptional; createdAt: Type.TOptional>; updatedAt: Type.TOptional>; startedAt: Type.TOptional>; endedAt: Type.TOptional>; progressSummary: Type.TOptional; terminalSummary: Type.TOptional; error: Type.TOptional; }>; }>; declare const TasksCancelParamsSchema: Type.TObject<{ taskId: Type.TString; reason: Type.TOptional; }>; declare const TasksCancelResultSchema: Type.TObject<{ found: Type.TBoolean; cancelled: Type.TBoolean; reason: Type.TOptional; task: Type.TOptional; runtime: Type.TOptional; status: Type.TUnion<[Type.TLiteral<"queued">, Type.TLiteral<"running">, Type.TLiteral<"completed">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">, Type.TLiteral<"timed_out">]>; title: Type.TOptional; agentId: Type.TOptional; sessionKey: Type.TOptional; childSessionKey: Type.TOptional; ownerKey: Type.TOptional; runId: Type.TOptional; taskId: Type.TOptional; flowId: Type.TOptional; parentTaskId: Type.TOptional; sourceId: Type.TOptional; createdAt: Type.TOptional>; updatedAt: Type.TOptional>; startedAt: Type.TOptional>; endedAt: Type.TOptional>; progressSummary: Type.TOptional; terminalSummary: Type.TOptional; error: Type.TOptional; }>>; }>; //#endregion //#region packages/gateway-protocol/src/schema/plugins.d.ts declare const PluginsUiDescriptorsParamsSchema: Type.TObject<{}>; declare const PluginsSessionActionParamsSchema: Type.TObject<{ pluginId: Type.TString; actionId: Type.TString; sessionKey: Type.TOptional; payload: Type.TOptional; }>; declare const PluginsSessionActionResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; result: Type.TOptional; continueAgent: Type.TOptional; reply: Type.TOptional; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TString; code: Type.TOptional; details: Type.TOptional; }>]>; //#endregion //#region packages/gateway-protocol/src/schema/wizard.d.ts declare const WizardStartParamsSchema: Type.TObject<{ mode: Type.TOptional, Type.TLiteral<"remote">]>>; workspace: Type.TOptional; }>; declare const WizardNextParamsSchema: Type.TObject<{ sessionId: Type.TString; answer: Type.TOptional; }>>; }>; declare const WizardCancelParamsSchema: Type.TObject<{ sessionId: Type.TString; }>; declare const WizardStatusParamsSchema: Type.TObject<{ sessionId: Type.TString; }>; declare const WizardStepSchema: Type.TObject<{ id: Type.TString; type: Type.TUnion<[Type.TLiteral<"note">, Type.TLiteral<"select">, Type.TLiteral<"text">, Type.TLiteral<"confirm">, Type.TLiteral<"multiselect">, Type.TLiteral<"progress">, Type.TLiteral<"action">]>; title: Type.TOptional; message: Type.TOptional; format: Type.TOptional]>>; options: Type.TOptional; }>>>; initialValue: Type.TOptional; placeholder: Type.TOptional; sensitive: Type.TOptional; executor: Type.TOptional, Type.TLiteral<"client">]>>; }>; declare const WizardNextResultSchema: Type.TObject<{ done: Type.TBoolean; step: Type.TOptional, Type.TLiteral<"select">, Type.TLiteral<"text">, Type.TLiteral<"confirm">, Type.TLiteral<"multiselect">, Type.TLiteral<"progress">, Type.TLiteral<"action">]>; title: Type.TOptional; message: Type.TOptional; format: Type.TOptional]>>; options: Type.TOptional; }>>>; initialValue: Type.TOptional; placeholder: Type.TOptional; sensitive: Type.TOptional; executor: Type.TOptional, Type.TLiteral<"client">]>>; }>>; status: Type.TOptional, Type.TLiteral<"done">, Type.TLiteral<"cancelled">, Type.TLiteral<"error">]>>; error: Type.TOptional; }>; declare const WizardStartResultSchema: Type.TObject<{ done: Type.TBoolean; step: Type.TOptional, Type.TLiteral<"select">, Type.TLiteral<"text">, Type.TLiteral<"confirm">, Type.TLiteral<"multiselect">, Type.TLiteral<"progress">, Type.TLiteral<"action">]>; title: Type.TOptional; message: Type.TOptional; format: Type.TOptional]>>; options: Type.TOptional; }>>>; initialValue: Type.TOptional; placeholder: Type.TOptional; sensitive: Type.TOptional; executor: Type.TOptional, Type.TLiteral<"client">]>>; }>>; status: Type.TOptional, Type.TLiteral<"done">, Type.TLiteral<"cancelled">, Type.TLiteral<"error">]>>; error: Type.TOptional; sessionId: Type.TString; }>; declare const WizardStatusResultSchema: Type.TObject<{ status: Type.TUnion<[Type.TLiteral<"running">, Type.TLiteral<"done">, Type.TLiteral<"cancelled">, Type.TLiteral<"error">]>; error: Type.TOptional; }>; //#endregion export { NodePairApproveParamsSchema as $, TalkSessionCloseParamsSchema as $a, WizardCancelParams as $i, ExecApprovalGetParams as $n, AgentIdentityResultSchema as $o, SkillsSkillCardParams as $r, AgentsFilesListResult as $t, SessionsDeleteParamsSchema as A, CommandsListParamsSchema as Aa, TalkSessionTurnParams as Ai, ConfigSetParams as An, AgentsListResultSchema as Ao, RequestFrame as Ar, ExecApprovalsGetParamsSchema as At, PushTestParamsSchema as B, TalkCatalogParamsSchema as Ba, TasksListResult as Bi, CronStatusParams as Bn, SkillsSecurityVerdictsResultSchema as Bo, SessionsResetParams as Br, AgentEvent as Bt, SessionsCleanupParamsSchema as C, ConfigSchemaLookupParamsSchema as Ca, TalkSessionCreateParams as Ci, CommandsListParams as Cn, AgentsFilesGetParamsSchema as Co, NodePendingEnqueueResult as Cr, RequestFrameSchema as Ct, SessionsCompactionListParamsSchema as D, ConfigSetParamsSchema as Da, TalkSessionOkResult as Di, ConfigPatchParams as Dn, AgentsFilesSetParamsSchema as Do, PluginsSessionActionResult as Dr, ExecApprovalGetParamsSchema as Dt, SessionsCompactionGetParamsSchema as E, ConfigSchemaResponseSchema as Ea, TalkSessionJoinResult as Ei, ConfigGetParams as En, AgentsFilesListResultSchema as Eo, PluginsSessionActionParams as Er, TickEventSchema as Et, SessionsPreviewParamsSchema as F, ChannelsStartParamsSchema as Fa, TasksCancelParams as Fi, CronListParams as Fn, SkillsDetailResultSchema as Fo, SessionsDeleteParams as Fr, EnvironmentsListResultSchema as Ft, WebPushTestParamsSchema as G, TalkClientToolCallParamsSchema as Ga, ToolsEffectiveResult as Gi, EnvironmentStatus as Gn, SkillsUploadBeginParamsSchema as Go, SkillsBinsResult as Gr, AgentsCreateParams as Gt, WebPushSubscribeParams as H, TalkClientCreateParamsSchema as Ha, ToolsCatalogParams as Hi, DevicePairApproveParams as Hn, SkillsSkillCardResultSchema as Ho, SessionsUsageParams as Hr, AgentIdentityResult as Ht, SessionsResetParamsSchema as I, ChannelsStatusParamsSchema as Ia, TasksCancelResult as Ii, CronRemoveParams as In, SkillsInstallParamsSchema as Io, SessionsDescribeParams as Ir, EnvironmentsStatusParamsSchema as It, WebPushVapidPublicKeyParams as J, TalkConfigResultSchema as Ja, UpdateRunParams as Ji, EnvironmentsListResult as Jn, ToolsCatalogParamsSchema as Jo, SkillsInstallParams as Jr, AgentsDeleteResult as Jt, WebPushUnsubscribeParams as K, TalkClientToolCallResultSchema as Ka, ToolsInvokeParams as Ki, EnvironmentSummary as Kn, SkillsUploadChunkParamsSchema as Ko, SkillsDetailParams as Kr, AgentsCreateResult as Kt, SessionsResolveParamsSchema as L, ChannelsStatusResultSchema as La, TasksGetParams as Li, CronRunLogEntry as Ln, SkillsSearchParamsSchema as Lo, SessionsListParams as Lr, EnvironmentsStatusResultSchema as Lt, SessionsListParamsSchema as M, ChannelsLogoutParamsSchema as Ma, TalkSpeakParams as Mi, CronAddParams as Mn, AgentsUpdateResultSchema as Mo, SessionOperationEvent as Mr, EnvironmentStatusSchema as Mt, SessionsPatchParamsSchema as N, ChannelsPairingApproveParamsSchema as Na, TalkSpeakResult as Ni, CronGetParams as Nn, ModelsListParamsSchema as No, SessionsCleanupParams as Nr, EnvironmentSummarySchema as Nt, SessionsCompactionRestoreParamsSchema as O, UpdateRunParamsSchema as Oa, TalkSessionSteerParams as Oi, ConfigSchemaParams as On, AgentsFilesSetResultSchema as Oo, PollParams as Or, ExecApprovalRequestParamsSchema as Ot, SessionsPluginPatchParamsSchema as P, ChannelsPairingListParamsSchema as Pa, TaskSummary as Pi, CronJob as Pn, SkillsDetailParamsSchema as Po, SessionsCompactParams as Pr, EnvironmentsListParamsSchema as Pt, NodeListParamsSchema as Q, TalkSessionCancelTurnParamsSchema as Qa, WebLoginWaitParams as Qi, EventFrame as Qn, AgentIdentityParamsSchema as Qo, SkillsSecurityVerdictsResult as Qr, AgentsFilesListParams as Qt, SessionsSendParamsSchema as R, ChannelsStopParamsSchema as Ra, TasksGetResult as Ri, CronRunParams as Rn, SkillsSearchResultSchema as Ro, SessionsPatchParams as Rr, ErrorCodes as Rt, SessionsAbortParamsSchema as S, ConfigPatchParamsSchema as Sa, TalkSessionCloseParams as Si, CommandEntry as Sn, AgentsFileEntrySchema as So, NodePendingEnqueueParams as Sr, HelloOkSchema as St, SessionsCompactionBranchParamsSchema as T, ConfigSchemaParamsSchema as Ta, TalkSessionJoinParams as Ti, ConfigApplyParams as Tn, AgentsFilesListParamsSchema as To, NodePresenceAliveReason as Tr, ShutdownEventSchema as Tt, WebPushSubscribeParamsSchema as U, TalkClientCreateResultSchema as Ua, ToolsCatalogResult as Ui, DevicePairListParams as Un, SkillsStatusParamsSchema as Uo, ShutdownEvent as Ur, AgentSummary as Ut, PushTestResultSchema as V, TalkCatalogResultSchema as Va, TickEvent as Vi, CronUpdateParams as Vn, SkillsSkillCardParamsSchema as Vo, SessionsResolveParams as Vr, AgentIdentityParams as Vt, WebPushTestParams as W, TalkClientSteerParamsSchema as Wa, ToolsEffectiveParams as Wi, DevicePairRejectParams as Wn, SkillsUpdateParamsSchema as Wo, SkillsBinsParams as Wr, AgentWaitParams as Wt, NodeEventResultSchema as X, TalkSessionAppendAudioParamsSchema as Xa, WakeParams as Xi, EnvironmentsStatusResult as Xn, ToolsInvokeParamsSchema as Xo, SkillsSearchResult as Xr, AgentsFilesGetParams as Xt, WebPushVapidPublicKeyParamsSchema as Y, TalkEventSchema as Ya, UpdateStatusParams as Yi, EnvironmentsStatusParams as Yn, ToolsEffectiveParamsSchema as Yo, SkillsSearchParams as Yr, AgentsFileEntry as Yt, NodeInvokeParamsSchema as Z, TalkSessionCancelOutputParamsSchema as Za, WebLoginStartParams as Zi, ErrorShape as Zn, AgentEventSchema as Zo, SkillsSecurityVerdictsParams as Zr, AgentsFilesGetResult as Zt, TasksListParamsSchema as _, CronRunsParamsSchema as _a, TalkConfigResult as _i, ChannelsStatusParams as _n, AgentSummarySchema as _o, NodePairRemoveParams as _r, LogsTailResultSchema as _t, WizardStartResultSchema as a, WizardStatusResult as aa, SkillsUploadCommitParams as ai, AgentsUpdateResult as an, TalkSessionSteerParamsSchema as ao, GatewayFrame as ar, NodePendingAckParamsSchema as at, SnapshotSchema as b, ConfigApplyParamsSchema as ba, TalkSessionCancelOutputParams as bi, ChatEvent as bn, AgentsDeleteParamsSchema as bo, NodePendingDrainParams as br, EventFrameSchema as bt, WizardStepSchema as c, MIN_CLIENT_PROTOCOL_VERSION as ca, TalkAgentControlResult as ci, ArtifactsDownloadResult as cn, TalkSessionTurnResultSchema as co, LogsTailResult as cr, NodePendingEnqueueParamsSchema as ct, PluginsUiDescriptorsParamsSchema as d, CronAddParamsSchema as da, TalkClientCreateParams as di, ArtifactsListParams as dn, WebLoginStartParamsSchema as do, NodeInvokeParams as dr, NodePresenceAliveReasonSchema as dt, WizardNextParams as ea, SkillsSkillCardResult as ei, AgentsFilesSetParams as en, TalkSessionCreateParamsSchema as eo, ExecApprovalRequestParams as er, AgentParamsSchema as es, NodePairListParamsSchema as et, TaskSummarySchema as f, CronGetParamsSchema as fa, TalkClientCreateResult as fi, ArtifactsListResult as fn, WebLoginWaitParamsSchema as fo, NodeInvokeResultParams as fr, ChatEventSchema as ft, TasksGetResultSchema as g, CronRunParamsSchema as ga, TalkConfigParams as gi, ChannelsStartParams as gn, ArtifactsListParamsSchema as go, NodePairRejectParams as gr, LogsTailParamsSchema as gt, TasksGetParamsSchema as h, CronRemoveParamsSchema as ha, TalkClientToolCallResult as hi, ChannelsPairingListParams as hn, ArtifactsGetParamsSchema as ho, NodePairListParams as hr, ChatSendParamsSchema as ht, WizardStartParamsSchema as i, WizardStatusParams as ia, SkillsUploadChunkParams as ii, AgentsUpdateParams as in, TalkSessionOkResultSchema as io, ExecApprovalsSnapshot as ir, WakeParamsSchema as is, NodePairVerifyParamsSchema as it, SessionsDescribeParamsSchema as j, CommandsListResultSchema as ja, TalkSessionTurnResult as ji, ConnectParams as jn, AgentsUpdateParamsSchema as jo, ResponseFrame as jr, ExecApprovalsSetParamsSchema as jt, SessionsCreateParamsSchema as k, UpdateStatusParamsSchema as ka, TalkSessionSubmitToolResultParams as ki, ConfigSchemaResponse as kn, AgentsListParamsSchema as ko, PresenceEntry as kr, ExecApprovalResolveParamsSchema as kt, PluginsSessionActionParamsSchema as l, MIN_PROBE_PROTOCOL_VERSION as la, TalkCatalogParams as li, ArtifactsGetParams as ln, TalkSpeakParamsSchema as lo, NodeEventParams as lr, NodePendingEnqueueResultSchema as lt, TasksCancelResultSchema as m, CronListParamsSchema as ma, TalkClientToolCallParams as mi, ChannelsPairingApproveParams as mn, ArtifactsDownloadParamsSchema as mo, NodePairApproveParams as mr, ChatInjectParamsSchema as mt, WizardNextParamsSchema as n, WizardStartParams as na, SkillsUpdateParams as ni, AgentsListParams as nn, TalkSessionJoinParamsSchema as no, ExecApprovalsGetParams as nr, PollParamsSchema as ns, NodePairRemoveParamsSchema as nt, WizardStatusParamsSchema as o, WizardStep as oa, Snapshot as oi, ArtifactSummary as on, TalkSessionSubmitToolResultParamsSchema as oo, HelloOk as or, NodePendingDrainParamsSchema as ot, TasksCancelParamsSchema as p, CronJobSchema as pa, TalkClientSteerParams as pi, ChannelsLogoutParams as pn, ArtifactSummarySchema as po, NodeListParams as pr, ChatHistoryParamsSchema as pt, WebPushUnsubscribeParamsSchema as q, TalkConfigParamsSchema as qa, ToolsInvokeResult as qi, EnvironmentsListParams as qn, SkillsUploadCommitParamsSchema as qo, SkillsDetailResult as qr, AgentsDeleteParams as qt, WizardNextResultSchema as r, WizardStartResult as ra, SkillsUploadBeginParams as ri, AgentsListResult as rn, TalkSessionJoinResultSchema as ro, ExecApprovalsSetParams as rr, SendParamsSchema as rs, NodePairRequestParamsSchema as rt, WizardStatusResultSchema as s, ProtocolSchemas as sa, StateVersion as si, ArtifactsDownloadParams as sn, TalkSessionTurnParamsSchema as so, LogsTailParams as sr, NodePendingDrainResultSchema as st, WizardCancelParamsSchema as t, WizardNextResult as ta, SkillsStatusParams as ti, AgentsFilesSetResult as tn, TalkSessionCreateResultSchema as to, ExecApprovalResolveParams as tr, MessageActionParamsSchema as ts, NodePairRejectParamsSchema as tt, PluginsSessionActionResultSchema as u, PROTOCOL_VERSION as ua, TalkCatalogResult as ui, ArtifactsGetResult as un, TalkSpeakResultSchema as uo, NodeEventResult as ur, NodePresenceAlivePayloadSchema as ut, TasksListResultSchema as v, CronStatusParamsSchema as va, TalkModeParams as vi, ChannelsStatusResult as vn, AgentsCreateParamsSchema as vo, NodePairRequestParams as vr, ConnectParamsSchema as vt, SessionsCompactParamsSchema as w, ConfigSchemaLookupResultSchema as wa, TalkSessionCreateResult as wi, CommandsListResult as wn, AgentsFilesGetResultSchema as wo, NodePresenceAlivePayload as wr, ResponseFrameSchema as wt, StateVersionSchema as x, ConfigGetParamsSchema as xa, TalkSessionCancelTurnParams as xi, ChatInjectParams as xn, AgentsDeleteResultSchema as xo, NodePendingDrainResult as xr, GatewayFrameSchema as xt, PresenceEntrySchema as y, CronUpdateParamsSchema as ya, TalkSessionAppendAudioParams as yi, ChannelsStopParams as yn, AgentsCreateResultSchema as yo, NodePairVerifyParams as yr, ErrorShapeSchema as yt, SessionsUsageParamsSchema as z, TalkAgentControlResultSchema as za, TasksListParams as zi, CronRunsParams as zn, SkillsSecurityVerdictsParamsSchema as zo, SessionsPreviewParams as zr, errorShape as zt };