Claude Code. Any Model. The most powerful AI coding agent now speaks every language.
{
"paneId": "c94698-muw5tusq-t01-f3762b",
"sessionUuid": "511fd190-5ff6-4692-bcaf-e2879c6b9469",
"sockRoot": "/tmp/cpt-958e59a8",
"panePid": 94706,
"ps": "94704 94698 94704 Tue Oct 6 15:09:49 2026 /bin/sh -c \\012set -f\\012export LC_ALL=C\\012PANE=$1 UUID=$2 CTL=$3 SOCKP=$4 REC=$5 TURN=$6 ROOT=$7\\012pstable() { ps -ax -ww -o pid=,pgid=,lstart=,command=; }\\012mag=\"\"\\012mag_ok() {\\012 case \"$mag\" in (''|*[!0-9]*) return 1;; esac\\012 pstable | while read -r p g d1 d2 d3 d4 d5 cmd; do\\012 [ \"$p\" = \"$mag\" ] || continue\\012 case \"$cmd\" in (*\"--id $PANE --sock-dir\"*) echo y;; esac\\012 break\\012 done | grep -q y\\012}\\012find_mag() {\\012 if [ -f \"$CTL/magmux.pid\" ]; then mag=$(head -n 1 \"$CTL/magmux.pid\"); fi\\012 mag_ok && return 0\\012 mag=$(pstable | while read -r p g d1 d2 d3 d4 d5 cmd; do\\012 case \"$cmd\" in (*\"--id $PANE --sock-dir\"*) echo \"$p\"; break;; esac\\012 done)\\012 mag_ok\\012}\\012pg=\"\"\\012ident_in_pg() {\\012 pstable | while read -r p g d1 d2 d3 d4 d5 cmd; do\\012 [ \"$g\" = \"$pg\" ] || continue\\012 case \"$cmd\" in (*\"--session-id $UUID\"*|*\"$CTL/pane-launch.sh\"*) echo y; break;; esac\\012 done | grep -q y\\012}\\012member_in_pg() {\\012 [ -f \"$CTL/group\" ] || return 1\\012 pstable | while read -r p g d1 d2 d3 d4 d5 cmd; do\\012 [ \"$g\" = \"$pg\" ] || continue\\012 if grep -Fxq -- \"$p $d1 $d2 $d3 $d4 $d5\" \"$CTL/group\"; then echo y; break; fi\\012 done | grep -q y\\012}\\012group_ok() {\\012 case \"$pg\" in (''|*[!0-9]*|0|1) return 1;; esac\\012 member_in_pg || ident_in_pg\\012}\\012find_pg() {\\012 pg=\"\"\\012 if [ -f \"$CTL/group\" ]; then pg=$(head -n 1 \"$CTL/group\"); fi\\012 case \"$pg\" in (''|*[!0-9]*) pg=\"\";; esac\\012 if [ -z \"$pg\" ] && mag_ok; then\\012 lead=$(pgrep -P \"$mag\" | head -n 1)\\012 [ -n \"$lead\" ] && pg=$(ps -o pgid= -p \"$lead\" | tr -d ' ')\\012 fi\\012 group_ok\\012}\\012launch_dir_ok() {\\012 case \"$1\" in (\"$ROOT\"/launch-??????) ;; (*) return 1;; esac\\012 b=${1#\"$ROOT\"/launch-}\\012 case \"$b\" in (*[!A-Za-z0-9]*) return 1;; esac\\012 [ -d \"$1\" ] && [ ! -L \"$1\" ]\\012}\\012\\012while IFS= read -r l; do [ \"$l\" = done ] && exit 0; done\\012# EOF without \"done\": the owner is gone (SIGKILL included: the kernel closed its end).\\012find_mag\\012find_pg\\012for s in TERM KILL; do\\012 group_ok && kill -\"$s\" -\"$pg\" 2>/dev/null\\012 mag_ok && kill -\"$s\" \"$mag\" 2>/dev/null\\012 [ \"$s\" = TERM ] && sleep 2\\012done\\012sleep 1\\012if group_ok || mag_ok; then exit 1; fi\\012[ \"$SOCKP\" = \"$ROOT/magmux-$PANE.sock\" ] && rm -f -- \"$SOCKP\"\\012[ \"$REC\" = \"$ROOT/panes/$PANE.json\" ] && rm -f -- \"$REC\"\\012launch_dir_ok \"$CTL\" && rm -rf -- \"$CTL\"\\012launch_dir_ok \"$TURN\" && rm -rf -- \"$TURN\"\\012exit 0\\012 claudish-pane-watcher c94698-muw5tusq-t01-f3762b 511fd190-5ff6-4692-bcaf-e2879c6b9469 /tmp/cpt-958e59a8/launch-l6DJCS /tmp/cpt-958e59a8/magmux-c94698-muw5tusq-t01-f3762b.sock /tmp/cpt-958e59a8/panes/c94698-muw5tusq-t01-f3762b.json /tmp/cpt-958e59a8/launch-K8Q8dA /tmp/cpt-958e59a8\n94705 94698 94705 Tue Oct 6 15:09:49 2026 /opt/ubrew/bin/magmux --headless --no-status --id c94698-muw5tusq-t01-f3762b --sock-dir /tmp/cpt-958e59a8 -e . '/tmp/cpt-958e59a8/launch-l6DJCS/pane-launch.sh'\n94706 94705 94706 Tue Oct 6 15:09:49 2026 /opt/u/.bun/bin/bun run /opt/u/mag/claudish/.claude/worktrees/claudish-mcp-magmux/packages/cli/src/pane/test-helpers/fake-interactive-child.ts -i --model contract-fake-model -y --quiet --session-id 511fd190-5ff6-4692-bcaf-e2879c6b9469 --add-dir /tmp/cpt-958e59a8/launch-K8Q8dA"
}