Skip to content

v0.13.0

Choose a tag to compare

@omaclaren omaclaren released this 29 Oct 22:38
· 32 commits to master since this release

An optional REPL page follows the shared REPL sessions live, beside Preview and Working, and wrapped code keeps its indentation.

  • REPL page (--repl). It's off unless you ask for it, and works with pi-repl, agent-repl and Pi Studio, whose shared sessions run in tmux. It lists the shared sessions (pi-repl-python, pi-repl-julia, …). Open one to follow its recent recorded submissions as they arrive: who sent each one (the agent's name, Pi or Pi Studio), its status (pending until its code is done, then done, error or timed out) and time, the code, highlighted, and the output, with Wrap lines for long output lines. That includes code agents send through agent-repl over MCP from Claude Code, Codex and OpenCode. Code typed directly into the terminal isn't recorded, so it doesn't appear.
  • Read-only. The page never runs or sends code, and inspects tmux without changing anything. It follows one lifetime of a session; when the session ends or a new one starts with the same name, it says so and doesn't follow the new one.
  • Quick switching.
    • The REPL link and Ctrl+Alt+R (Control+Option on macOS) return to the REPL page you were last on in that tab.
    • Copy link copies a link to the session for another browser.
    • Option/Alt+Left goes up, from a session to the list and from there to Preview.
  • Privacy. The REPL page shows code and output from any agent or project that uses these sessions, future submissions included, to anyone with the link. It's a separate opt-in from Working, and Working links never gain it. With --repl, links and addresses are never remembered: they stop working when the process stops, and a restart prints new ones.
  • Wrapped code continues 4 columns past its own indent, so a wrapped line no longer looks like a line of its own: in Preview with Wrap on, in Working's code, and on the REPL page. REPL output stays terminal text, with Wrap lines as in Working. Diff blocks in Preview no longer show a blank line between lines.
  • --all now works as well as -a and --all-projects.
  • Same watch controls as pi-markdown-preview 0.26.0.