Commit Graph

9 Commits

Author SHA1 Message Date
GitHub Copilot f0afcd2ed6 Persist dev dependencies in Makefile 2026-01-28 21:11:38 +00:00
GitHub Copilot 126a4bc712 Fix screenshot affecting terminal state in open sessions
- Add get_screen_snapshot() method that doesn't mutate terminal state
- Use change counter for reliable activity detection instead of dirty flag
- Update screenshot handler to use non-mutating snapshot method
- Refactor tests to use shared fixtures and reduce duplication
- Update copilot-instructions.md with detailed Makefile usage
2026-01-28 20:15:51 +00:00
GitHub Copilot b4d7f2e98a Bump minor version and update ghostty-web 2026-01-28 16:13:08 +00:00
GitHub Copilot 8463b37e9e Fix theme support and improve tooling
- Fix ITheme property: selection -> selectionBackground (ghostty-web compat)
- Add dynamic body background color matching theme
- Add THEME_BACKGROUNDS mapping in local_server.py
- Add tsconfig.json for TypeScript type checking
- Update Makefile to use bun run for all frontend commands
- Add typecheck script to package.json (make build now typechecks)
- Add detailed console tracing for theme debugging
- Store fontFamily/fontSize in WebTerminal class for cell measurement

v0.6.5
2026-01-28 09:26:49 +00:00
GitHub Copilot 7945cf5ca5 Add bump-patch Makefile target for version management 2026-01-28 07:26:09 +00:00
GitHub Copilot 5dbb91ca32 Improve Makefile for reproducible builds
- Add build-all target for full clean rebuild
- Use file-based dependencies for proper incremental builds
- terminal.js depends on terminal.ts and node_modules
- ghostty-vt.wasm depends on node_modules
- Add build alias for bundle
- Add clean-all to remove everything
- Improve help text with organized sections
- Fix __pycache__ cleanup pattern
2026-01-28 00:57:22 +00:00
GitHub Copilot 315b87eefe Update build scripts to copy WASM file
- package.json: build script now copies ghostty-vt.wasm after bundling
- Add copy-wasm script for standalone WASM copy
- Makefile: bundle-watch copies WASM before watching
- Makefile: bundle-clean removes WASM file too
- Fix bun.lockb -> bun.lock in clean target
2026-01-28 00:56:01 +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
Rui Carmo a0e31d43fd merge 2026-01-21 23:53:57 +00:00