Skip to content

v0.2.0 — Production-grade

Latest

Choose a tag to compare

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

Quilt Rust v0.2.0

The second release of the Rust port. The engine is now production-grade with full test coverage, 10 working end-to-end examples, and complete embedding surfaces (TUI, web server, MCP).

Highlights

  • 68 tests pass, 2 ignored, 0 failed. All 5 pre-existing test failures from v0.1.0-alpha are now fixed.
  • 5 production binaries: quilt (CLI), quilt-tui (terminal UI), quilt-web (HTTP+SSE), plus the lib and MCP server.
  • 10 examples (4 original + 6 new) all load and evaluate end-to-end with 0 errors.
  • Zero compiler warnings across the workspace.
  • Sensor default field lets demo sheets work without an adapter.

What's in this release

Engine

  • 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
  • Effectful cell evaluators are Send + 'static, so the engine works correctly inside async runtimes
  • rhai-sandboxed program cells with qget/qset/qcall/qlist runtime helpers
  • Formula helpers accept both binary and array forms: max(a, b) and max([a, b, c])

New crates

  • quilt-tui: terminal UI built on crossterm. j/k navigate, s to set, r to reload, q to quit. tmux-friendly.
  • quilt-web: axum-based HTTP server. REST API + SSE for live updates. Bundled HTML/JS client at /.

New examples

  1. weather-monitor — three sensors → heat-index → listener alerts → caller-aware router
  2. chat-router — LLM routing by tier (premium/standard/free) and message length
  3. ab-test-router — deterministic A/B split using FNV-1a hash
  4. iot-dashboard — three thermometers → room status → building status
  5. rate-limiter — token-bucket rate limiter with per-caller state
  6. task-scheduler — reactive task scheduler with overdue listener

What you can do with v0.2.0

  • Ship an MCP server backed by a sheet: quilt serve --mcp sheet.yaml
  • Embed Quilt in a long-running daemon — the engine is Arc-safe
  • Run the TUI for an interactive terminal view
  • Serve over HTTP for browser-based dashboards (with SSE for live updates)
  • Drop a sheet into an edge deviceno_std-friendly build

What's next (v0.3.0)

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