v0.2.0 — Yantra Console + Canvas Preview Fix
What's new in v0.2.0
Canvas preview fixed
yantra canvas <url> now renders the cloned page in the editor preview pane.
Root cause: the pipeline only wrote .tsx files and the iframe had nothing to load.
A new HTML serializer generates a self-contained index.html with data-yantra-id markers (click-to-inspect), inlined CSS, and local copies of images/fonts.
Yantra Console (yantra start)
Replaces the old stub REPL with a unified full-screen terminal app:
- Conversation pane — stream
askanswers (CRG-grounded Q&A); sendrun,index,night,canvas,observe,doctor,help - Live graph side panel — CRG stats + communities + hub symbols, auto-refreshes every 5 s and after
index/run - Live telemetry footer — cost gauge, spans/min, error rate from
.yantra/traces.sqlite
Under the hood
- Shared
commands/metrics.rs— no duplication between graph/observe/console - Shared
commands/ask.rs— one streaming ask pipeline for both CLI and Console - ADR-005 documents the suspend/resume design for terminal-owning subcommands
Installation (Windows)
Download yantra.exe below, place it on your PATH, then:
yantra index .
yantra start