Package Directory
Browse the Lunora package ecosystem — the server runtime, validators, client SDK, framework adapters, and opt-in add-ons, organized by category.
Lunora ships as a set of focused, independently versioned @lunora/* packages. Install the unscoped lunorash umbrella for the base (server, values, runtime, Durable Objects, client) in a single dependency, then add only the opt-in packages you need. (The CLI bin stays lunora; the npm name is lunorash because lunora is already taken.)
Core Runtime
The type-safe server API, validators, and the Worker + Durable Object runtime.
lunorash
Unscoped umbrella — the base in one install, plus the CLI bin
Server
defineSchema, defineTable, query, mutation, action
Values
v.* validators and return-type inference
Runtime
Worker entry: RPC router, shard resolver, query coordinator
Durable Objects
ShardDO and SessionDO — SQLite, OCC, hibernated subscriptions
Codegen
Emits _generated/{api,server,dataModel}.ts from schema.ts
Client & Frameworks
The browser SDK plus reactive adapters for React, Vue, Solid, Svelte, and Astro.
Client
Browser SDK: WebSocket, optimistic updates, offline queue
React
useQuery / useMutation / useSubscription / useAuth
Vue
Live composables and optimistic mutations
Solid
Live queries, optimistic mutations, reactive loaders
Svelte
Live stores, optimistic mutations, reactive loaders
Astro
Single-worker composition and reactive-loader helpers
DB
TanStack DB binding with a durable offline outbox
Tooling
The CLI, Vite plugin, local Studio, and the shared config layer.
CLI
init, dev, deploy, codegen, run, reset, migrate
Vite
Codegen, wrangler validator, and error overlay
Studio
Local admin UI for schema, data, logs, and advisors
Config
Shared CLI + Vite config and scaffolding layer
Testing
In-memory harness for queries, mutations, and actions
Advisor
Schema and query lints feeding the Studio Advisors table
Seed
Snaplet-style deterministic seeding from defineSchema
MCP
Model Context Protocol server for AI agents
Add-ons
Opt-in packages for auth, mail, storage, AI, scheduling, and more.
Auth
better-auth, D1-backed: email/password, OAuth, passkeys, 2FA
Resend adapter, TSX templates, queue-backed sends
Storage
R2 typed buckets and signed URLs
AI
Workers AI helper on the Vercel AI SDK
Scheduler
runAfter / runAt plus Cron Triggers via SchedulerDO
Container
Cloudflare Containers: defineContainer and typed ctx.containers
Workflow
Durable, multi-step workflows
Rate Limit
Token-bucket, fixed- and sliding-window limiting
Data & Edge
Adapters for global state, external databases, and Cloudflare bindings.
D1
D1 adapter for .global() tables with read-your-writes
Hyperdrive
Connect external Postgres / MySQL via Hyperdrive
Bindings
ctx.kv, ctx.images, ctx.analytics, ctx.pipelines, ctx.vectors, ctx.r2sql in one install
Payment
Provider-agnostic payments: Stripe and Polar adapters, webhook sync
Browser
Cloudflare Browser Rendering: screenshots, PDFs, scraping in actions