Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.
TypeScript adhdagent-orchestrationai-agentscanvasclaude-codecodexcoding-agentsdeveloper-toolselectrongeminilinuxmacosmultiplexeropencodeparallel-agentsterminalterminal-emulatorterminal-multiplexertmuxworkspace-manager
// What both the reader (core/chat-teammate.ts) and the ⌘M panel need to say about a teammate's
// idle notification.
import type { ChatTeammateIdle } from './types'
/** How an idle notification's outcome reads, as Claude Code's TUI words it ("Teammate @x finished").
* A notification that names no reason reads "finished", as it does in the TUI. */
export function idleOutcome(reason: ChatTeammateIdle['reason']): string {
return reason === 'failed' ? 'failed' : reason === 'interrupted' ? 'was interrupted' : 'finished'
}