/** * QAR wire-protocol types — public re-exports. * * The envelope / payload / `QARInfo` types are codegen'd from QAR's JSON * Schema artifacts (see `./generated/`); the SDK-side glue (`./ids.ts`, * `./json.ts`, `./taskEvents.ts`, `./payloads.ts:ToolResponseResult`, * `./info.ts:LeanPrincipal`) layers branded IDs, the consumer-facing * `TaskEvent` projection, and the discriminated-union convenience accepted * by `client.tools.respond` on top. See `./README.md` for the full split. * * The public surface here is the stable contract — its names survive across * codegen runs even when QAR's underlying schema renames or restructures. */ export type { JsonValue, JsonObject, JsonArray, JsonPrimitive } from './json.js'; export type { MessageId, SessionId, TaskId, ToolCallId } from './ids.js'; export type { TraceContext } from './trace.js'; export type { TaskInput, TaskStartByIdPayload, TaskStartWithAgentPayload, TaskStartWithGraphPayload, TaskStartPayload, TaskContinuePayload, TaskCancelPayload, TaskCancelingPayload, TaskResubscribePayload, TaskDeltaPayload, TaskDonePayload, TaskStatus, TerminusReason, ToolCall, HITLBlock, HITLChoiceOption, ToolResponseItem, ToolRequestPayload, ToolResponsePayload, ToolResponseResult, ToolResponseFor, ToolOutcome, StateUpdatePayload, StateUpdateOp, AgentSpawnPayload, SpawnProtocol, ToolActivityPayload, BulletinPostPayload, ArtifactAddPayload, FlowPausePayload, FlowResumePayload, ErrorPayload, } from './payloads.js'; export type { Envelope, EnvelopeBase, EnvelopeKind, EnvelopeVersion, TaskStartEnvelope, TaskContinueEnvelope, TaskCancelEnvelope, TaskCancelingEnvelope, TaskResubscribeEnvelope, TaskDeltaEnvelope, TaskDoneEnvelope, ToolRequestEnvelope, ToolResponseEnvelope, StateUpdateEnvelope, AgentSpawnEnvelope, ToolActivityEnvelope, BulletinPostEnvelope, ArtifactAddEnvelope, FlowPauseEnvelope, FlowResumeEnvelope, ErrorEnvelope, ClientToServerKind, ServerToClientKind, BidirectionalKind, } from './envelopes.js'; export { CLIENT_TO_SERVER_KINDS, SERVER_TO_CLIENT_KINDS, BIDIRECTIONAL_KINDS, } from './envelopes.js'; export type { TaskEvent, TaskEventKind } from './taskEvents.js'; export type { ClientEvent, ClientEventKind, ClientReconnectingEvent, ClientReconnectedEvent, ClientReconnectFailedEvent, ClientCancelAckedEvent, } from './clientEvents.js'; export { isClientEvent } from './clientEvents.js'; export type { QARInfo, ModelEntry, ToolEntry, RateLimitEntry, LeanPrincipal, BearerKind, } from './info.js'; export type { ToolCatalog, ToolCatalogEntry, ToolInvokeResult, OperationAccepted, OperationStatusResponse, ToolErrorEnvelope, ToolErrorDetail, ToolApiErrorCode, OperationStatus, } from './tools.js'; //# sourceMappingURL=index.d.ts.map