add shared pane widgets + Q-023 ssh-remote question

ClidePtyView is a theme-bound wrapper around xterm.dart's TerminalView
— token-derived TerminalTheme, JetBrainsMono as the face, Semantics
live-region label so screen readers + Playwright both hear it. The
consumer (terminal / Claude extensions) owns the `Terminal` model and
wires IPC pane.write / pane.output → terminal.write() themselves; the
widget deliberately has no IPC dependency so it stays trivially
testable.

ClidePaneChrome is the shared pane header — title + subtitle + leading
icon + trailing widgets + optional close button. The close button is
null-conditional so primary Claude panes (D-041, landing in step 7)
can render without one.

xterm 4.0.0 added as a justified runtime dep + logged in
licenses.yaml per D-042. 3 new widget tests cover header rendering,
close-button presence, and the close-tap round-trip.

Q-023 records the SSH-remote-development question so the daemon + IPC
seams don't accrete local-only assumptions during Tier 1-5.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-04-22 09:19:24 +02:00
co-authored by Claude
parent 3715a2e191
commit 50d9e00ea5
9 changed files with 444 additions and 0 deletions
+12
View File
@@ -75,6 +75,18 @@ dependencies:
YAML parser for theme files and extension manifests. Justified
exception to prefer-zero-deps; Dart-team maintained.
- name: xterm
kind: dart-package
version: "4.0.0"
homepage: https://pub.dev/packages/xterm
license: MIT
purpose: >-
Flutter-native terminal emulator (ANSI / xterm / truecolor
parser + renderer). Powers every pane that renders a PTY —
general terminal, Claude, diff views running shell commands.
Writing a vt100 / ANSI parser is weeks of work for no fidelity
gain.
- name: ffi
kind: dart-package
version: "2.1.3"