You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pi is one of the agents Codemux already integrates (visible in the agent picker tab bar alongside Claude, Codex, OpenCode, Gemini). Like the others, it currently launches on a remote pushed workspace with a fresh conversation — no history continuity.
Pi CLI is installed locally — use it for research
The user (@Zeus-Deus) has the Pi CLI installed on their machine. The agent picking up this issue can:
Run `pi --help` (and any subcommands) directly to learn the CLI surface
Start a Pi session, send a message, then poke around for where it stored conversation state (`/.pi`, `/.config/pi`, etc.)
Find the resume command and the session id format empirically
Supplement with online research (Pi project repo, docs site) as needed
Post research findings as a comment on this issue before writing the adapter code.
Required research questions
What command launches Pi? Confirm by checking `src-tauri/src/agent_provider/` and `src-tauri/src/commands/presets.rs` — what's the actual binary name and preset command Codemux uses today?
Where does Pi store conversation history? Run a session, then find new/modified files under `~/`. Document the path pattern (per-project? cwd-encoded? single DB?)
What's the resume invocation? `pi --resume `, `pi chat resume`, interactive-only, or something else?
How to capture the session id locally? Hooks, output scanning, file watching, or polling whatever store Pi uses?
Acceptance criteria
Push workspace with a Pi pane → conversation continues on remote
Pull back → conversation continues on laptop
3+ push/pull cycles preserve full history
(OR if Pi doesn't expose session resume: document the limitation in `docs/features/remote-hosts.md` and close without implementation.)
Implementation pattern
Mirror what PR #15 did for Claude (commit `495f62f`):
Context
Pi is one of the agents Codemux already integrates (visible in the agent picker tab bar alongside Claude, Codex, OpenCode, Gemini). Like the others, it currently launches on a remote pushed workspace with a fresh conversation — no history continuity.
Pi CLI is installed locally — use it for research
The user (@Zeus-Deus) has the Pi CLI installed on their machine. The agent picking up this issue can:
/.pi`, `/.config/pi`, etc.)Post research findings as a comment on this issue before writing the adapter code.
Required research questions
Acceptance criteria
(OR if Pi doesn't expose session resume: document the limitation in `docs/features/remote-hosts.md` and close without implementation.)
Implementation pattern
Mirror what PR #15 did for Claude (commit `495f62f`):
References
Out of scope
Estimate
Research: 30 min (Pi CLI is already installed; just probe + read).
Implementation: 2 hours if file-based, half-day if DB-based.