Commit Graph

243 Commits

Author SHA1 Message Date
GitHub Copilot 8dc16b59e2 Add Docker exec PTY sessions 2026-01-29 13:18:31 +00:00
GitHub Copilot 74a2e31a55 Bump version to 1.1.7 2026-01-28 22:54:31 +00:00
GitHub Copilot 5a59f054a2 Add workflow cleanup pruning 2026-01-28 22:53:17 +00:00
GitHub Copilot 770a08191b Bump version to 1.1.6 2026-01-28 21:12:04 +00:00
GitHub Copilot f0afcd2ed6 Persist dev dependencies in Makefile 2026-01-28 21:11:38 +00:00
GitHub Copilot 2f64968231 Add typeahead search previews 2026-01-28 21:09:36 +00:00
GitHub Copilot 915c9d1cbd Bump version to 1.1.5 2026-01-28 20:35:24 +00:00
GitHub Copilot 6397c43e16 Add tango theme and make it the default
- Add tango theme with GNOME/xterm.js default colors
- Change default theme from xterm (VGA) to tango
- Keep xterm theme available as classic VGA alternative
2026-01-28 20:34:12 +00:00
GitHub Copilot 3cf4b38f29 Bump version to 1.1.4 2026-01-28 20:16:07 +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 77288ff589 Bump version to 1.1.3 and fix CI/CD workflow 2026-01-28 19:55:40 +00:00
GitHub Copilot 52faeffb46 cleanup 2026-01-28 18:38:21 +00:00
GitHub Copilot b961459fc5 Merge branch 'main' of github.com:rcarmo/textual-webterm 2026-01-28 17:11:17 +00:00
GitHub Copilot 2e61b45ef1 Bump version to 1.1.2 2026-01-28 17:10:49 +00:00
GitHub Copilot 14234e2531 Bump version to 1.1.2 2026-01-28 16:53:36 +00:00
GitHub Copilot 3bc77d4a85 Bump patch version and fix xterm selection 2026-01-28 16:18:24 +00:00
GitHub Copilot b4d7f2e98a Bump minor version and update ghostty-web 2026-01-28 16:13:08 +00:00
GitHub Copilot 69f0e2748f Bump version and prevent screenshot deadlock 2026-01-28 13:30:21 +00:00
GitHub Copilot 216380405a feat: add Docker watch mode for dynamic container sessions
- Add --docker-watch CLI flag to watch for containers with webterm-command label
- Containers with label 'auto' get bash exec, otherwise use label as command
- Dynamic dashboard updates via SSE when containers start/stop
- Add /tiles endpoint for JSON tile list
- Multi-stage Dockerfile for minimal production image
- Update README with docker-watch documentation

The docker watcher monitors Docker events and automatically:
- Adds terminal tiles when labeled containers start
- Removes tiles when containers stop
- Notifies dashboard via SSE for live updates
2026-01-28 12:45:02 +00:00
GitHub Copilot 0fad9e7353 docs: update for v1.0.0 release with ghostty-web
- Update ARCHITECTURE.md with ghostty-web details and native theme support
- Update ROADMAP.md marking migration complete
- Note patched ghostty-web fork from rcarmo/ghostty-web
- Document 11 built-in themes, IME support, smaller bundle size
- Bump version to 1.0.0
2026-01-28 11:20:06 +00:00
GitHub Copilot 793fe54a7f docs: update README noting ghostty-web replaces xterm.js
- Add note about patched ghostty-web fork with native theme support
- Document migration from xterm.js/Textual
- Update related projects section
2026-01-28 11:18:14 +00:00
GitHub Copilot b6bb994e8e feat: upgrade to ghostty-web 0.4.0-ime-fix from rcarmo/ghostty-web
- Vendor patched version with native theme/palette support at WASM level
- Remove color remapping patches (no longer needed)
- Pre-load Ghostty WASM before terminal creation
- Bundle size reduced from 1.16 MB to 0.67 MB
- Includes IME input fixes

Bump version to 0.7.0
2026-01-28 11:15:09 +00:00
GitHub Copilot 05d42d275f chore: bump version to 0.6.9 2026-01-28 10:14:17 +00:00
GitHub Copilot b15d27f853 perf: optimize color remapping with Uint32Array lookup
Replace Map-based color lookup with Uint32Array hash table for O(1)
lookups without string allocation. Patch at WASM getLine level
(once per line) instead of renderCell (once per cell) for better
performance on high-throughput terminal output.
2026-01-28 10:13:02 +00:00
GitHub Copilot d7d7a0d165 fix: correct GHOSTTY_DEFAULT_PALETTE to Tomorrow Night
ghostty-web WASM uses Tomorrow Night as its internal default palette,
not VS Code Dark. Updated GHOSTTY_DEFAULT_PALETTE to match the actual
colors so theme remapping works correctly.

Bump version to 0.6.8
2026-01-28 10:05:16 +00:00
GitHub Copilot e04e943e92 Add runtime palette patch for ghostty-web theme colors
- Add color mapping from ghostty-web's default palette to custom themes
- Monkey-patch renderer.renderCell to remap fg/bg colors at runtime
- Fix THEME_BACKGROUNDS keys to match terminal.ts theme names
- Add debug logging for color remapping verification

This works around ghostty-web's hardcoded WASM palette by intercepting
cell colors before rendering and remapping them to the configured theme.
2026-01-28 09:59:37 +00:00
GitHub Copilot d587a113a7 Add diagnostic logging for canvas/container dimensions
- Log canvas element and dimensions after terminal.open()
- Log container dimensions
- Log canvas state after fit() completes
- Helps debug blank terminal issues

v0.6.6
2026-01-28 09:46:26 +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 6e0b66a3ad Bump version to 0.6.4 2026-01-28 08:47:15 +00:00
GitHub Copilot d92759b9de feat: add Ctrl+letter handling and dynamic theme switching
- Handle physical keyboard Ctrl+letter combinations (Ctrl+A, Ctrl+C, etc.)
- Unify modifier detection for physical keyboard and mobile keybar
- Add setTheme() method for dynamic theme switching
- Add static getTheme() helper to retrieve built-in themes
2026-01-28 08:46:43 +00:00
GitHub Copilot 714a5c705c Fix mobile keybar Ctrl/Shift modifiers not applying to keyboard input
- Apply Ctrl modifier to letters typed via mobile keyboard (e.g., Ctrl+D sends 0x04)
- Apply Shift modifier to uppercase letters typed via mobile keyboard
- Apply modifiers to arrow keys and Tab in keydown handler
- Deactivate modifiers after key is sent

Bump to v0.6.3
2026-01-28 08:36:41 +00:00
GitHub Copilot 0b6288494e Bump version to 0.6.2 2026-01-28 08:33:02 +00:00
GitHub Copilot 7c9eb76493 fix: use hex escape for Return key in mobile keybar 2026-01-28 08:32:13 +00:00
GitHub Copilot 4e442970c9 feat: add Return key to mobile keybar in bottom-right position 2026-01-28 08:31:11 +00:00
GitHub Copilot 99e44b3310 fix: set xterm as default theme in CLI and server 2026-01-28 08:29:24 +00:00
GitHub Copilot a181d9ecc9 Bump version to 0.6.1 2026-01-28 08:27:08 +00:00
GitHub Copilot 2c08c30fb6 Merge remote-tracking branch 'origin/upstream-xterm' into upstream-xterm
Resolved conflicts, keeping v0.6.0 with Shift modifier support
2026-01-28 08:26:19 +00:00
GitHub Copilot 0408564b0e feat: add xterm and Monokai Pro themes, set xterm as default
- Add classic xterm theme with VGA colors and black background
- Add Monokai Pro theme (standard variant)
- Rename old monokai to ristretto (Monokai Pro Ristretto)
- Fix ristretto colors to match official palette
- Set xterm as default theme
- Bump version to 0.6.0
2026-01-28 08:24:01 +00:00
GitHub Copilot ad22ef0882 feat: add Shift modifier to mobile keybar with key combinations
- Add Shift toggle button for modifier combinations
- Shift+Tab sends Back-Tab (ESC[Z)
- Shift/Ctrl+Arrow sends modified sequences (ESC[1;2/5/6X)
- Fix keybar right edge flush with screen
- Bump version to 0.5.8
2026-01-28 08:20:41 +00:00
GitHub Copilot 0b5951ab3d feat: add draggable mobile extended keyboard bar
- Add floating keybar with Esc, Ctrl, Tab, and arrow keys
- Only appears on mobile/touch devices
- Draggable via grip handle to reposition anywhere
- Ctrl modifier toggles and auto-deactivates after use
- Bump version to 0.5.7
2026-01-28 08:18:16 +00:00
GitHub Copilot 2f7f879699 feat: add draggable mobile extended keyboard bar
- Add floating keybar with Esc, Ctrl, Tab, and arrow keys
- Only appears on mobile/touch devices
- Draggable via grip handle to reposition anywhere
- Ctrl modifier toggles and auto-deactivates after use
- Bump version to 0.5.7
2026-01-28 08:14:03 +00:00
GitHub Copilot 5213e5dd2c Bump version to 0.5.6 2026-01-28 07:50:25 +00:00
GitHub Copilot fb2bc46ecb Fix iOS keyboard dismissal - don't steal focus with terminal.focus() 2026-01-28 07:49:22 +00:00
GitHub Copilot 63c49f385f Bump version to 0.5.5 2026-01-28 07:43:35 +00:00
GitHub Copilot 67b12e5570 Fix iOS keyboard activation
- Remove setTimeout which breaks iOS gesture requirement for focus()
- Make textarea full-size overlay with near-zero opacity (iOS needs visible element)
- Remove pointer-events:none and negative z-index that prevented touch
- Use touchend instead of touchstart for more reliable iOS behavior
- Call focus() synchronously within user gesture handler
2026-01-28 07:42:25 +00:00
GitHub Copilot e05c1cd1b4 Fix custom fit with fallback to font measurement
The renderer.getMetrics() may not be accessible since it's private.
Added fallback to measure cell size using a test span element with
the configured font family and size.
2026-01-28 07:39:35 +00:00
GitHub Copilot b90be26952 Bump version to 0.5.4 2026-01-28 07:31:52 +00:00
GitHub Copilot 5a708efe56 Fix terminal right margin by using custom fit without scrollbar reservation
The FitAddon from ghostty-web reserves 15px for a scrollbar that doesn't
exist in canvas-based rendering. This caused a visible right margin gap.

Added custom fit() method that calculates terminal dimensions without
the scrollbar margin, using the full available container width.
2026-01-28 07:31:27 +00:00
GitHub Copilot 13912a18f8 Update docs/ARCHITECTURE.md and docs/ROADMAP.md for ghostty-web migration 2026-01-28 07:28:46 +00:00
GitHub Copilot f43adf90ce Update README with ghostty-web, themes, fonts, and mobile support 2026-01-28 07:27:18 +00:00