The real app on a canvas, edited visually, saved as code. Designers get AI variants, reusable browser states and guided tours that render into narrated videos. Start with a three-week spike that proves Pyro is fast enough to be interactive.
data-pyro-src. React and Tailwind first, then plain CSS, Vue, Svelte. Source edit, dev server reload, canvas in sync.script.json, render a 4K and a 1440p MP4 with chapters and captions.Every station is a feature of the tool. The colour shows which part of the system carries it: blue is editing, green is states, purple is code and agents, coral is tours.
A clickable concept prototype of the tool, filmed scene by scene with Pyro and rendered by the feature-video skill: the same path a tour takes.
Every change is a framework neutral operation: set a style, class, text or attribute; insert, move, wrap, delete; extract a component.
A JSON object that puts the app in a given situation, built as a base plus overrides.
Duplicate a frame and tell an agent "change this into that". Each variant is a Claude Code or Codex thread in its own git worktree with its own dev server and frame.
Ordered steps over states, jumping between screens and profiles, each focusing on tagged elements with narration per language and private notes.
Designers never touch git. A variant's worktree never blocks committing on the base branch.
| Action | What the tool does |
|---|---|
| Duplicate | Branch, worktree, dev server, frame on the canvas |
| Accept | Squash merge or open a PR, then remove worktree, branch, server |
| Reject | Remove worktree and branch |
| Park | Keep the branch, free the worktree, recreate on reopen |
| Conflict | An agent resolves it into a new variant to review |
The tool writes the skill's script.json; the skill renders the video.
| Tour step | Becomes |
|---|---|
| State | One capture; same screen shares a page |
| Focus tags | region from Pyro bounding boxes |
| Action | Before and after scenes, same step |
| Label | Chapter, N · Title |
| Narration | text per language |
| Notes | Kept in the tool, not exported |
AI variants come right after the inspector because the agent edits source itself; they don't wait for the write-back engine.
| Phase | Done when |
|---|
A Tauri app opens a Vite React and Tailwind sample in three Pyro frames on a pan and zoom canvas. Clicking selects an element and draws its box; pointer and keyboard reach the page.
| Measure | Target |
|---|---|
| Style edit to pixels, 3 frames | under 50 ms |
| Hover and click to overlay | under 16 ms |
| Frame cost at 1280 × 900 | under 8 ms incremental |
| Open a state from a fork | under 300 ms |
Starting points: incremental Live snapshots in pyro-render, engine/screencast.rs, engine/input.rs, hit testing in pyro-dom.
pyro-browser as a library outside pyro serve.| Decision | Options | Leaning |
|---|---|---|
| Where it lives | New repo using Pyro crates, or a workspace member here | New repo, pinned Pyro version |
| First users | Designers (states first) or developers (write-back first) | Designers: states before write-back |
| Agent billing | User's own key or login, or a Povio plan | User's own, per provider terms |
| Video mode | Stills with camera moves, or live motion with a pointer | Stills first, Pyro screencast later |
| Distribution | Desktop app, or also cloud | Signed macOS app first |
Source: docs/plans/design-tool.md in the Pyro repo. Prototype: studio.html.