Skip to content

v0.2.0 — Production-grade

Latest

Choose a tag to compare

@SuperInstance SuperInstance released this 18 Aug 23:25
· 38 commits to main since this release

Quilt v0.2.0

The second release of Quilt. Both implementations (TypeScript and Rust) are now production-grade with full test coverage, working end-to-end examples, and complete embedding surfaces.

Highlights

  • 10 production examples (4 original + 6 new) covering sensors, formulas, listeners, routers, A/B testing, rate limiting, task scheduling, IoT dashboards, weather monitoring, and LLM routing.
  • Rust port reaches production parity with TypeScript. Same engine, same sheet format, different tradeoffs.
  • Rust gains TUI and web server (quilt-tui for terminals, quilt-web for HTTP+SSE).
  • 98 tests pass total across both languages: 30 in TS, 68 in Rust. Zero compiler warnings, zero TypeScript errors.
  • Sensor default field: demo sheets work without an adapter wired up.
  • Cross-runtime portability: most YAML sheets work in both runtimes (with documented caveats around ternaries vs if/else).

What's in this release

Engine (both languages)

  • All 8 cell kinds (value, formula, api, program, sensor, listener, router, io) work end-to-end
  • Chained formulas: feels_like_f = (feels_like_c * 9 / 5) + 32 recomputes when either input changes
  • Per-context memoization: same cell called from different contexts can return different cached values
  • Reactive propagation: setting a value invalidates dependents and recomputes them

Rust-specific

  • quilt-cli: init / run / serve / get / set / inspect / tui
  • quilt-tui: terminal UI with j/k navigation, s to set, r to reload, q to quit
  • quilt-web: axum-based HTTP server with SSE for live updates; bundled HTML/JS client
  • quilt-mcp: MCP server on stdio via rmcp
  • rhai-sandboxed program cells with qget/qset/qcall/qlist runtime helpers
  • 5 production binaries, 68 tests pass, 0 warnings

TypeScript-specific

  • @quilt/cli, @quilt/mcp, @quilt/tui packages
  • new Function formula engine with with (cells) for cell reference
  • 15 vitest tests + 15 node:test tests, all green
  • Zero TypeScript errors across all 4 packages

What you can do with v0.2.0

  • Ship an MCP server backed by a sheet: quilt serve --mcp sheet.yaml for Claude Code / Cursor
  • Embed Quilt in a long-running daemon: the engine is Arc-safe and handles concurrent reads
  • Run the TUI for an interactive terminal view of a sheet
  • Serve over HTTP for browser-based dashboards
  • Drop a sheet into an edge device: no_std-friendly Rust build

Examples shipped

  1. boat-autopilot — sensors + PID + voice intent + model router
  2. agent-dashboard — tasks, status, shared human+agent workspace
  3. model-router — caller-aware model selection
  4. sensor-anomaly — self-tuning anomaly detector
  5. weather-monitor — three sensors → heat-index → listener alerts → caller-aware router
  6. chat-router — LLM routing by tier (premium/standard/free) and message length
  7. ab-test-router — deterministic A/B split using FNV-1a hash
  8. iot-dashboard — three thermometers → room status → building status
  9. rate-limiter — token-bucket rate limiter with per-caller state
  10. task-scheduler — reactive task scheduler with overdue listener

What's next (v0.3.0)

  • Full WebAssembly build with all cell evaluators working in-browser
  • A bytecode VM for the formula DSL (faster than new Function / rhai for short formulas)
  • A gRPC protocol so any language can talk to the engine
  • A persistence layer (snapshot to disk, restore on startup)