diff --git a/.pql/pql-plan.json b/.pql/pql-plan.json index 70fc393f..1d0faef5 100644 --- a/.pql/pql-plan.json +++ b/.pql/pql-plan.json @@ -1,5 +1,5 @@ { - "exported_at": "2026-05-05T06:50:50Z", + "exported_at": "2026-05-05T06:52:25Z", "decisions": [ { "id": "D-1", diff --git a/assets/licenses.yaml b/assets/licenses.yaml index 855c7791..70284287 100644 --- a/assets/licenses.yaml +++ b/assets/licenses.yaml @@ -53,7 +53,7 @@ dependencies: purpose: >- Monospace face for terminal panes, diff views, code editors, and any other monospace surface. - weights_bundled: [Regular, Italic, Bold, BoldItalic] + weights_bundled: [Regular, Italic] - name: Josefin Sans kind: font @@ -87,17 +87,18 @@ dependencies: YAML parser for theme files and extension manifests. Justified exception to prefer-zero-deps; Dart-team maintained. - - name: xterm - kind: dart-package + - name: terminal (based on xterm.dart) + kind: inlined-source version: "4.0.0" - homepage: https://pub.dev/packages/xterm + homepage: https://github.com/TerminalStudio/xterm.dart license: MIT + license_file: lib/src/terminal/LICENSE 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. + Terminal emulator (ANSI / xterm / truecolor parser + renderer). + Inlined from xterm.dart v4.0.0 by xuty (MIT) and modified: + Scrollable removed, quiver dependency replaced, zmodem/debugger + stripped, scroll forwarding rewritten. Original copyright and + MIT license preserved in lib/src/terminal/LICENSE. - name: ffi kind: dart-package diff --git a/lib/src/terminal/LICENSE b/lib/src/terminal/LICENSE index 7a5fd3e8..ef7df3cf 100644 --- a/lib/src/terminal/LICENSE +++ b/lib/src/terminal/LICENSE @@ -1,3 +1,17 @@ +clide terminal — derivative work based on xterm.dart v4.0.0. + +The terminal emulator code in this directory is derived from xterm.dart +(https://github.com/TerminalStudio/xterm.dart) and has been modified. +Changes include: Scrollable removal, quiver dependency replaced with +hand-rolled LRU, zmodem/debugger/suggestion modules stripped, scroll +event forwarding rewritten, imports restructured. + +The original xterm.dart code is copyright (c) 2020 xuty and licensed +under the MIT License, reproduced below. This derivative work is part +of clide and is distributed under clide's MIT license. + +------------------------------------------------------------------------ + The MIT License (MIT) Copyright (c) 2020 xuty