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
// The node.maximize chord accepts every non-group node, so every node kind with a header owes the
// matching header button — otherwise the feature is reachable only by a shortcut nobody can see.
// Browser, web, video and files nodes (the ones that most want the room) shipped without it.
// Rendering each node needs a React Flow store and a session, so this is a source-level pin.
import { describe, it, expect } from 'vitest'
import fs from 'node:fs'
import path from 'node:path'
const read = (f: string): string =>
fs.readFileSync(path.join(__dirname, f), 'utf8').replace(/\r\n/g, '\n')
const HEADER_NODES = [
'TerminalNode.tsx',
'EditorNode.tsx',
'DiffNode.tsx',
'BrowserNode.tsx',
'WebNode.tsx',
'VideoNode.tsx',
'FilesNode.tsx',
'WhiteboardNode.tsx'
]
describe('maximize header button', () => {
it.each(HEADER_NODES)('%s renders MaximizeButton bound to premaxRect', (file) => {
expect(read(file)).toMatch(/<MaximizeButton id=\{id\} maximized=\{!!data\.premaxRect\} \/>/)
})
})