Add web terminal page with split panes and spatial navigation
Closed
LA
2mo ago+15564+15564+01234567890123456789012345678901234567890123456789-113-113-012345678901234567890123456789
Summary
- Adds
/terminalroute with full split-pane terminal UI (per-pane tabs, drag-drop, workspace sidebar) - Restructures marketing pages into
(main)/route group to keep footer off/terminal - Implements Ghostty's spatial navigation algorithm for Cmd+Ctrl+HJKL directional focus
- Includes PTY WebSocket server, dual renderer support (xterm.js + ghostty-web), and 67 Playwright e2e tests
Test plan
-
next buildpasses - 65/67 Playwright e2e tests pass (2 pre-existing drag tolerance failures)
- 13 spatial navigation tests covering all directions in 2x2 grid, roundtrips, edge no-ops, full circuit
- Manual verification of
/terminalpage in browser - Verify marketing pages still render correctly under
(main)/route group
Summary by CodeRabbit
-
New Features
- Multi-workspace terminal support with drag-and-drop pane management
- Multiplexed session handling with shared WebSocket connections
- Ghostty and Xterm terminal renderers with configurable themes
- Keyboard shortcuts for workspace navigation, splitting, and pane control
- Session notifications and metadata tracking
- NPM distribution for cross-platform cmuxd binary support
-
Documentation
- Architecture and protocol documentation for cmuxd server implementation