All your machines, one app. For you and your AI agents: agent sessions, desktops, files, logs and GitHub across your Macs, Linux and Windows machines, with an MCP server.
Codex's newer menus get their Enter; no Hand off in the demo
Adib Hanna00d9337d5eb2
diff --git a/README.md b/README.mdindex 921decd..52474d5 100644--- a/README.md+++ b/README.md@@ -388,7 +388,7 @@ Start an AI agent on one of your machines and come back to it whenever you like,- **What it changed.** Each session shows its branch, the lines and files it changed since the default branch, its commits and uncommitted files, and the branch's pull request with its checks (click it to open it on GitHub). Muxin looks when a session stops working, and at least every minute while sessions run.- **Actions.** A session's **Actions** button (or its right-click menu) asks its agent to commit, commit and push, open or update the pull request, review the changes, fix the review comments, resolve conflicts or write a recap. Each one types a prompt into the agent; change any of them in **Settings › Prompts** (`[settings.prompts]` in `config.toml`), where `{branch}`, `{base}` and `{pull}` are filled in.- **Hand off to another agent.** Started with Claude Code and want Codex to finish (or Claude Code ran out of usage)? **Hand off** on a session's page picks the agent. Muxin writes a note in the session's folder, `.muxin/handoff.md`. It has where the git work stands, the agent's to-do list, and the conversation so far: what you asked, what the agent said, and one line per tool call. Muxin reads that from the agent's own transcript (Claude Code, Codex, Gemini CLI and Pi keep one on the machine; for OpenCode and Amp the note has what the terminal showed instead). Then the new agent starts in the same folder, asked to read the note first, and the old session ends. The note stays out of git (`.muxin/` goes in the checkout's `info/exclude`). **A fresh … session** does the same with the same agent, for a conversation that's grown too long. A box changes agents the same way, in the box.-- **Move it to another machine.** Started on your laptop and want it to keep going on a server? **Hand off › Move to Beelink…** picks the agent there. The branch's commits that aren't on GitHub yet, its uncommitted changes and its new files go along, copied through Muxin (the machines don't need to reach each other), into a workspace there: a worktree of a checkout of the same repository when the machine has one, else a fresh clone with your GitHub login (a repository without a remote goes whole). The work stays on its branch; a branch there that went its own way isn't touched. Then the agent starts on the note, and the session here ends. The folder here stays as it was. Git checkouts only, and not to Windows machines yet.+- **Move it to another machine.** Started on your laptop and want it to keep going on a server? **Hand off › Move to Beelink…** picks the agent there. The branch's commits that aren't on GitHub yet, its uncommitted changes and its new files go along, copied through Muxin (the machines don't need to reach each other), into a workspace there: a worktree of a checkout of the same repository when the machine has one, else a fresh clone with your GitHub login (a repository without a remote goes whole). The work stays on its branch; a branch there that went its own way isn't touched. Then the agent starts on the note, and the session here ends. The folder here stays as it was. Git checkouts only, and not to Windows machines yet. A box stays on its machine: hand it to another agent there.- **Agents can drive agents.** `session_start`, `session_read` (the screen as text), `session_question` and `session_answer` (what it asks, and an answer), `session_send` (type into it), `session_action`, `session_handoff` and `session_stop` are MCP tools and CLI commands too.```shdiff --git a/src/fleet/sessions/question.rs b/src/fleet/sessions/question.rsindex e265b74..e9f4ff6 100644--- a/src/fleet/sessions/question.rs+++ b/src/fleet/sessions/question.rs@@ -29,11 +29,12 @@ pub fn keys_for(key: &str, selected: Option<&str>, confirm: bool) -> (String, bo}}-/// The menu says a number needs Enter after it ("Press enter to continue").+/// The menu says a number needs Enter after it ("Press enter to continue",+/// Codex's newer "enter continue · esc back").fn asks_for_enter(lines: &[&str]) -> bool {lines.iter().rev().take(6).any(|l| {let l = l.to_lowercase();- l.contains("press enter to") || l.contains("enter to confirm")+ ["press enter to", "enter to confirm", "enter to continue", "enter continue", "enter confirm"].iter().any(|p| l.contains(p))})}@@ -407,5 +408,11 @@ mod tests {assert!(q.confirm);let claude = "Do you want to proceed?\n❯ 1. Yes\n 2. No\n";assert!(!read(claude).confirm);+ // Codex 0.163's folder screen.+ let newer = " Folder access\n /tmp/app\n Trust this folder? Codex can read, edit, and run files here, subject to your permission settings.\n› 1. Trust and continue\n 2. Back to Agent Command Center\n enter continue · esc back\n";+ let q = read(newer);+ assert_eq!(q.options.iter().map(|o| o.key.as_str()).collect::<Vec<_>>(), ["1", "2"]);+ assert!(q.confirm);+ assert_eq!(keys_for("1", q.selected.as_deref(), q.confirm), ("1".to_string(), true));}}diff --git a/src/ui/sessions.rs b/src/ui/sessions.rsindex b8dabff..7c53181 100644--- a/src/ui/sessions.rs+++ b/src/ui/sessions.rs@@ -602,7 +602,7 @@ impl Root {)})// Another agent takes over (an exited one's work too: it may have run out of usage).- .when(info.agent != "shell" && !info.agent.is_empty() && info.persistent && offline.is_none() && (!in_box || box_agent), |d| {+ .when(info.agent != "shell" && !info.agent.is_empty() && info.persistent && offline.is_none() && (!in_box || box_agent) && !self.engine.is_demo(), |d| {let sid = info.id.clone();let handing = self.handing_off.contains(&info.id);d.child(