The complete toolkit
From the schema-first server to the live client and framework adapters — explore the full collection of Lunora packages, built to work together.
D1
D1 adapter for .global() tables; wraps the Sessions API for read-your-writes.
Durable Objects
ShardDO (SQLite, OCC, hibernated WebSocket subscriptions) and SessionDO.
Errors
Unified error layer: one LunoraError + a central catalog of codes, statuses, and actionable hints, rendered across CLI, overlay, Studio, and the client.
Fingerprint
Zero-dependency error fingerprinting: one stable grouping hash that collapses noisy errors into Issues.
lunora
Unscoped umbrella — one install for the base packages (server, values, runtime, do, client) via subpaths, plus the lunora CLI bin.
Runtime
Worker entry: RPC router, shard resolver, query coordinator.
Server
Authoring API: defineSchema, defineTable, query, mutation, action.
SQL Store
Internal dialect-parameterized SQL store core behind the .global() backends — depend on @lunora/d1 or @lunora/hyperdrive instead.
Values
v.* validators and return-type inference.
Cloudflare Host
The Cloudflare host: the platform contracts over Durable Object primitives.
Node Host
The Node host: the platform contracts over better-sqlite3 and an in-process socket registry.
Platform Contracts
Provider-neutral host contracts every Lunora deployment target implements.
Shard Engine
The host-neutral reactive engine — ctx.db, CDC op-log, relay tier, indexes.
Observability
Host-neutral telemetry: logs, metrics, traces, request logs and issue grouping.
Angular
Angular adapter: signal-based live queries and mutations over the shared client core.
Astro
Astro integration: single-worker composition plus reactive-loader server helpers.
Client
Browser SDK: WebSocket transport, optimistic updates, offline queue.
Nuxt
Nuxt module: single-worker composition (mounts /_lunora/* into Nitro) plus reactive-loader server helpers.
React
useQuery / useMutation / useSubscription / useAuth hooks.
React Native
React Native / Expo integration: the React hooks plus an AsyncStorage client factory and a better-auth Expo bridge.
Solid
Live queries, optimistic mutations, reactive loaders for SolidJS.
Studio
Local admin UI for your schema, data, logs, and advisors.
Svelte
Live stores, optimistic mutations, reactive loaders.
TanStack DB
defineCollections wires Lunora queries/mutations into live, indexed client collections + a durable offline outbox.
Vue
Live composables, optimistic mutations, reactive loaders.
Vite Plugin
Vite plugin over @cloudflare/vite-plugin — codegen, wrangler validator, error overlay.
Codegen
Emits _generated/{api,server,dataModel}.ts from your schema.ts.
CLI
Subcommands: init, dev, deploy, codegen, run, reset, migrate.
Config
Shared CLI + Vite config/scaffolding layer (wrangler validator, .dev.vars grammar).
Testing
In-memory harness for queries/mutations/actions plus E2E mail-catcher helpers.
Advisor
Schema & query lints (splinter-style advisors) feeding the Studio Advisors table.
Agent
Durable AI agents on Cloudflare Workflows: defineAgent tool-loops with approvals, memory, and streaming.
AI
Workers AI helper on the Vercel AI SDK — ctx.ai with generateText / streamText / embed.
Auth
Auth built on better-auth, D1-backed: email/password, OAuth, passkeys, 2FA, organizations.
Bindings
Lightweight Cloudflare binding helpers in one install, per-binding subpaths: kv, images, analytics, pipelines, vectors, r2sql.
Browser
Browser Rendering — Playwright on Cloudflare Workers.
Cloudflare Access
Cloudflare Access (Zero Trust) identity: verify the Cf-Access-Jwt-Assertion JWT and feed ctx.auth / RLS.
Containers
Cloudflare Containers: defineContainer → generated container DOs + typed ctx.containers.
Flags
OpenFeature feature flags: ctx.flags + useFlag, with a first-class Cloudflare Flagship provider and any OpenFeature provider pluggable.
Hyperdrive
Connect an external Postgres/MySQL database via Cloudflare Hyperdrive (ctx.sql).
Resend adapter, TSX templates, queue-backed sends.
MCP
Model Context Protocol server exposing a Lunora deployment to AI agents.
Notifications
Multi-channel notifications: ctx.notify / ctx.push over @visulima/notification.
Payment
Payment provider integration (Stripe) with typed actions and webhooks.
Queue
Cloudflare Queues: defineQueue producers + a generated queue() push consumer (or HTTP pull).
Rate Limit
Token-bucket / fixed-window / sliding-window limiting with pluggable stores and middleware.
Replica
Local-first replica runtime: event sourcing, a pluggable SQLite LocalMirror, and EventsSync catch-up.
Scheduler
runAfter / runAt plus Cron Triggers via SchedulerDO.
Seed
Snaplet-style deterministic seeding introspected from defineSchema.
Storage
R2 typed buckets and signed URLs.
Workflows
Durable, multi-step workflows wired into the worker entry.
x402
Agentic payments over x402: charge agents per request and let your agents pay 402-gated resources.
Build with confidence
Every Lunora package is open source and built to work together. Check the docs or jump back home to start building.