Lutra/docs/tooling-parity.md
danny a8daf269fb M3.6: integrated terminal with PTY sessions and xterm.js sub-tabs
- crates/terminal: portable-pty sessions (ConPTY on Windows) with reader,
  writer and waiter threads, UTF-8 chunking, a 1 MiB output buffer with
  backpressure, a non-blocking input queue, resize, kill and exit codes;
  default shell pwsh -> powershell -> cmd on Windows, $SHELL or /bin/sh.
- Engine: terminal.create/input/resize/close, terminalOutput (capped per
  terminal and per pump, round-robin) and terminalExited through the pump;
  terminals close with the project and on app.quit.
- UI: Terminal tab in the bottom panel (tabs next to Find), xterm.js with
  the fit addon, sub-tabs, copy/paste, a focus rule that leaves plain Ctrl
  keys to the shell, terminal.open (Mod+Shift+T), --lt-terminal-* ANSI
  tokens in both themes (text colours AA) and a 4.5:1 minimum contrast.
- Tests: real-shell crate tests (UTF-8, backpressure), engine and TCP
  control tests, Vitest with a mocked xterm; live check on port 7936;
  docs and parity rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 21:10:37 +02:00

1.1 KiB

Tooling checklist

Status: integrated terminal partial (M3.6) · Last updated: 2026-10-18

  • Integrated terminal with tabs
    • M3.6 (2026-10-18): PTY sessions (pwsh → powershell → cmd on Windows, $SHELL or /bin/sh on Unix; cwd = project root) in the bottom panel's Terminal tab, several terminals as sub-tabs, xterm.js rendering with Lutra's colours, copy/paste, resize, exit codes; closed with the project. Missing: settings, persistence across restarts, split tabs, search, links, the PHP interpreter in PATH.
  • Git: status, diff, commit, push/pull, branches, log, blame, conflict resolution
  • Composer: install, update, require, scripts
  • PHP interpreters: local, Docker
  • Xdebug via DAP: breakpoints, stepping, variables, watches
  • PHPUnit and Pest: run, rerun failed, coverage
  • PHPStan, Psalm, PHP-CS-Fixer integration
  • Run configurations
  • Database tools: connect, browse, query console
  • HTTP client

Revision history

Date Change Summary
2026-10-18 minor Integrated terminal partial (M3.6)
2026-10-13 major Baseline