/** * vapor-chamber - Lightweight command bus for Vue Vapor * * Architecture: * CORE (zero dependencies, framework-agnostic): * command-bus - dispatch, register, plugins, hooks, wildcard, request/respond * testing - createTestBus, snapshot, time-travel * * OPTIONAL (tree-shaken when unused): * plugins - logger, validator, authGuard, and history, which installs itself on its bus * pace - debounce or throttle a dispatch at the sender * plugins-io - createChannel * chamber - Vue composables: useCommand, useCommandGroup, useCommandHistory, ... * chamber-vapor - Vue 3.6+ Vapor-specific API (requires Vue 3.6) * http - postCommand, createHttpClient, CSRF token reading * transports - httpTransport, wsTransport, defineTransport, createSseBridge * form - createFormBus, reactive form state * schema - LLM tool-use layer, synthesize, toTools * devtools - @vue/devtools-api integration (requires @vue/devtools-api) * transitions - hook -> bus dispatch bridge * ssr - storeStates, seedStores: the stores' states for a server render * directives - v-vc-command Vue directive (requires Vue) * vite - HMR plugin (requires Vite, see 'vapor-chamber/vite') * iife - IIFE bundles (see 'vapor-chamber/iife') * * Sub-path exports that avoid pulling in optional code: * 'vapor-chamber/transports' - httpTransport, wsTransport, createSseBridge * 'vapor-chamber/transitions' - hook -> bus dispatch * 'vapor-chamber/ssr' - the stores' states for a server render * 'vapor-chamber/directives' - v-vc-command directive * 'vapor-chamber/vite' - Vite HMR plugin * 'vapor-chamber/fast-lane' - minimal-allocation dispatcher for hot loops * 'vapor-chamber/observable' - Symbol.observable interop (RxJS / xstream / callbag) * 'vapor-chamber/standard-schema' - Standard Schema v1 validator plugin (Zod / Valibot / ArkType) * 'vapor-chamber/alien-signals' - alien-signals as the reactive primitive (non-Vue) * 'vapor-chamber/reactive' - opt-in deep reactivity (deepSignal) * 'vapor-chamber/outbox' - offline outbox (durable queue + Idempotency-Key replay) * 'vapor-chamber/mcp' - MCP server from a schema bus (agent surface) * 'vapor-chamber/stream-parser' - incremental JSON parser for streamed fetch/SSE bodies * 'vapor-chamber/iife' - IIFE bundle (full) * 'vapor-chamber/iife-core' - IIFE bundle (no Vapor custom-element, no Suspense paths) * 'vapor-chamber/iife-elements' - IIFE bundle (core + Vapor custom-element) * * History: CHANGELOG.md. */ export { createCommandBus, createAsyncCommandBus, commandKey, configureUid, createCommandPool, unsealBus, inspectBus, BusError, RETRYABLE_CONDITIONS, conditionOf, conditionOfStatus, failureCondition, ownerOf, type CommandPool, type BusInspection, type PluginInspection, type BusErrorCode, type Condition, type FailCode, type Fail, type BusSeverity, type BaseBus, type Command, type CommandResult, type MetaResponse, type MetaRequest, type CommandMeta, type CommandBus, type AsyncCommandBus, type Handler, type AsyncHandler, type PluginParts, type WorkTicket, type Transport, type ActionScope, type ScopeOptions, type Hook, type AsyncHook, type BatchCommand, type BatchOptions, type BatchResult, type DeadLetterMode, type CommandBusOptions, type AsyncCommandBusOptions, type RetryOptions, type RetryPolicy, type NamingConvention, type RegisterOptions, type Listener, type CommandMap, type TargetOf, type PayloadOf, type ResultOf, } from './command-bus'; export { onSettled, type MaybeAsyncResult } from './settled'; export { createActionFilter, type ActionFilter, type ActionFilterExpression } from './action-filter'; export { _okResult as ok, _errResult as err } from './command-bus'; export { matchesPattern } from './pattern'; export { configureReport, consoleSink, formatReport, type Report, type ReportFormat, type ReportLevel, type ReportSink } from './report'; export { countOption } from './bounds'; export { createTestBus, type TestBus, type RecordedDispatch } from './testing'; export { createChamber, createWorkflow, createReaction, type Chamber, type ChamberHandlers, type ChamberOptions, type WorkflowStep, type WorkflowResult, type Workflow, type ReactionOptions, type Reaction, } from './utilities'; export { cache, circuitBreaker, rateLimit, metrics, idempotent, supersede, type CacheOptions, type CircuitBreakerOptions, type RateLimitOptions, type MetricsEntry, type MetricsOptions, type IdempotentOptions, type SupersedeOptions, } from './plugins-extra'; export { logger, validator, history, authGuard, createChannel, type HistoryState, type ChannelOptions, } from './plugins'; export { pace, type PaceOptions, type Paced, type Send } from './pace'; export { indexedDbStorage } from './idb'; export { saveTo, type PersistStorage, type SaveToOptions, type StorePersist } from './store-persist'; export { shareTabs, type StoreShare } from './store-share'; export { commandState, type CommandState, type CommandStateOptions } from './command-state'; export { signal, configureSignal, type Signal, type CreateSignal, getCommandBus, setCommandBus, resetCommandBus, type BusOption, type ResultOn, useCommand, type GlobalCommands, type SharedCommandMap, useSharedCommandState, type UseSharedCommandStateOptions, useCommandHistory, useCommandGroup, useCommandError, useCommandQuery, isVaporAvailable, waitForVueDetection, configureVue, untracked, } from './chamber'; export { getVaporInteropPlugin, defineVaporCommand, type VaporCommandOptions, defineVaporCustomElement, defineVaporComponent, defineVaporAsyncComponent, useVaporAsyncCommand, } from './chamber-vapor'; export { readCsrfToken, invalidateCsrfCache, postCommand, createHttpClient, type HttpConfig, type HttpResponse, type HttpRequestConfig, type HttpClient, type HttpMethod, type ResponseType, type SafeResult, type DownloadResult, type InterceptorManager, } from './http'; export { classifyError, isRetryableStatus, problemOf, type ErrorClassification, type ProblemDetails, } from './http-errors'; export { createBuffer, type BufferOptions, type CommandBuffer } from './buffer'; export { Accepted } from './accepted'; export { httpTransport, wsTransport, defineTransport, createSseBridge, createEchoBridge, type HttpTransportOptions, type HttpBatchOptions, type WsTransportOptions, type SseBridgeOptions, type EchoBridgeOptions, type EchoSubscription, type EchoChannelType, type CommandEnvelope, type BackendResponse, } from './transports'; export { createTransitionBridge, useTransitionCommand, type TransitionPhase, type TransitionBridgeOptions, type TransitionHooks, type TransitionBridge, } from './transitions'; export { storeStates, seedStores, serializeForScript, liveStores } from './ssr'; export { announce, setAnnouncer, type AnnounceOptions, type Announcer } from './a11y'; export { createDirectivePlugin } from './directives'; export { bindCommands } from './command-binding'; export { bindDisplay } from './page-bindings'; export { defineWidget, emitDOMEvent, type WidgetComponent, type WidgetOptions, type WidgetWhen } from './widget'; export { createFormBus, type FormBusOptions, type FormBus, type FormRules, } from './form'; export { createSchemaCommandBus, createAsyncSchemaCommandBus, schemaLogger, toTools, toAnthropicTools, toOpenAITools, synthesize, type BusSchema, type ActionAnnotations, type ActionSchema, type FieldMap, type FieldType, type InferMap, defineSchema, type SchemaCommandBus, type AsyncSchemaCommandBus, type SchemaCommandBusOptions, type AsyncSchemaCommandBusOptions, type SynthesizeOptions, type LlmAdapter, type AnthropicTool, type OpenAITool, type ToolCallInput, schemaValidator, describeSchema, busApiSchema, } from './schema'; export { ERROR_CODE_REGISTRY, getErrorEntry, describeErrorCodes, isRetryableCode, type ErrorCodeEntry } from './error-registry'; //# sourceMappingURL=index.d.ts.map