mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
Replace the fixed, stop-based walkthrough with an agent-built one. Every request (Generate, Update, Regenerate, /walkthrough, the multi-run button and the agent's open_walkthrough) now spawns a separate walkthrough session. That session reads the diff through a new walkthrough_changes action, writes one self-contained HTML file into a Manager-owned directory, and calls publish_walkthrough; the panel renders the file in a sandboxed frame shared with the inline artifact card and the file browser HTML preview. Publication marks the walkthrough ready while execution is tracked separately, so Stop, the 15-minute limit, polling, refine gating and interruption when the target session is deleted follow the agent instead of the first publish. One diff copy is reused per run. Regenerate interrupts the previous session and removes its output directory. Walkthrough sessions are kept and listed, with their completion and error push notifications muted. The stop pipeline, its wire schemas and the concurrency limiter it used are removed.