Commit Graph

7 Commits

Author SHA1 Message Date
GitHub Copilot 67831a50ee Include pre-built terminal.js bundle in repo
Users can pip install directly from git URL without needing Bun.
Developers regenerate with: make bundle
2026-01-25 12:49:08 +00:00
GitHub Copilot 6f624b8565 Replace textual-serve with direct xterm.js 6.0 bundle
- Add package.json with @xterm/xterm 6.0 and all addons
- Create terminal.ts client with WebSocket protocol support
- Bundle with Bun (bun run build -> terminal.js)
- Remove textual-serve dependency from pyproject.toml
- Remove canvas monkey-patch workaround (no longer needed)
- Add scrollback support (configurable via data-scrollback)
- Update static file routing to serve from /static/
- Add Makefile targets: bundle, bundle-watch, bundle-clean
- Update tests for new static path structure

Benefits:
- Full control over xterm.js configuration
- Scrollback history now works (default 1000 lines)
- Custom font family without workarounds
- Smaller footprint (no unused Roboto Mono fonts)
- Latest xterm.js 6.0 features available
2026-01-25 12:45:50 +00:00
GitHub Copilot 5512c84ae1 screenshot 2026-01-24 22:14:00 +00:00
GitHub Copilot 80e82454d7 Fix ASCII diagram box alignment in ARCHITECTURE.md
Ensure all lines have consistent length and box borders align properly.
2026-01-24 20:38:50 +00:00
GitHub Copilot ba5ff120c9 Fix ASCII diagram alignment in ARCHITECTURE.md 2026-01-24 20:29:32 +00:00
GitHub Copilot 45645ab724 Add ARCHITECTURE.md documentation
Comprehensive architecture document covering:
- System overview with ASCII diagram
- Core components and their responsibilities
- Data flow for terminal I/O, screenshots, and SSE
- Session lifecycle
- WebSocket protocol specification
- API endpoints reference
- Key design decisions and rationale
- File structure overview
2026-01-24 20:28:56 +00:00
Rui Carmo a0e31d43fd merge 2026-01-21 23:53:57 +00:00