@aiwayds/dsh-opentui 0.9.0 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,50 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.9.2] - 2026-11-09
9
+
10
+ ### Added
11
+
12
+ - **Footer aligned with `dsh-tui-pi`** — provider icon, effort ladder display, context usage segment, tools/messages counters, tok/s, and subagent lines with `round N` plus a live tail. The context usage segment reads the `session/projections` token-meter projection and renders `used/window(pct)`.
13
+ - **Todos table with a five-row window** — terminals at 30 rows or fewer collapse the table to a single summary row.
14
+ - **Shell-style input history recall** — `↑`/`↓` recall with draft staging and restore, plus custom keybinding overrides.
15
+ - **Preset label in the brand segment** — the footer brand reads `dsh(preset)`.
16
+ - **Hint bar per-segment toggles** — eight segments, four locales, and the selection persists across restarts.
17
+ - **Semantic colors for think/tool rows** — think and tool activity lines get their own status colors.
18
+ - **Bright blue turn-lifetime activity frame border** — the active turn frame keeps one bright blue border for the whole turn.
19
+ - **Multi-hue luminance-ordered footer ramp** — the powerline gradient follows a hue-monotonic, luminance-ordered ramp.
20
+ - **v1 theme accent fidelity** — every v1 accent hex value is preserved exactly (59/59).
21
+ - **Transparent-surface fix** — the `lucent-orng` theme is readable in light mode.
22
+
23
+ ### Fixed
24
+
25
+ - **Selected-row description contrast** — descriptions in the slash palette and dialogs go from 1.31:1 to at least 6.3:1.
26
+ - **Footer not refreshing after `/think` and `/model`** — effort and model segments now refresh immediately.
27
+ - **`/think` default level** — the default think level is `high` when unset.
28
+ - **Subagent tail concatenation** — the live tail no longer concatenates across tool results.
29
+ - **`↑`/`↓` swallowed by the keymap layer** — history recall now works in the real client.
30
+ - **Todos table right border** — aligned with the composer frame.
31
+ - **Stale context window denominator** — cleared and re-read after a route switch.
32
+ - **Preset label races** — staged presets, transient read failures, and unknown ids no longer leave a wrong or sticky label.
33
+ - **Slash palette height** — stable per keystroke, and rendered rows no longer overflow the frame.
34
+
35
+ ### Known Issues
36
+
37
+ - Engine-level paint bugs remain: diff-paint row loss under streaming, and translucent overlays dropping wide glyphs.
38
+ - Input history is in-memory only — it is cleared on restart.
39
+ - Emoji in a powerline segment is hidden while an overlay is open (engine behavior).
40
+
41
+ ## [0.9.1] - 2026-11-09
42
+
43
+ ### Fixed
44
+
45
+ - **Slash palette height no longer shifts per keystroke** — the palette keeps a stable frame while filtering, eliminating the per-keystroke reflow flicker while typing a slash command.
46
+ - **Palette no longer renders rows beyond its frame** — rendered rows are capped so the overflow can no longer push into / overlap the composer input (pre-existing bug).
47
+
48
+ ### Development
49
+
50
+ - **The test suite now runs with the real solid-js reactive runtime** — a bunfig `[test].preload` fix gives every suite the real runtime instead of a no-op stub, closing a long-standing blind spot where assertions ran against nothing reactive.
51
+
8
52
  ## [0.9.0] - 2026-11-09
9
53
 
10
54
  ### Added
package/README.md CHANGED
@@ -77,8 +77,21 @@ for p in packages/*/; do (cd "$p" && bun test); done # tests, per package
77
77
  npx pnpm@10.18.3 -r typecheck
78
78
  ```
79
79
 
80
- Note: each package carries its own `bunfig.toml` (the @opentui/solid preload)
81
- — bun only reads the CWD's bunfig, so run tests per package, not at root.
80
+ Note on the @opentui/solid preload and bunfig scope:
81
+
82
+ - bun only reads the `bunfig.toml` in the CWD, and **`bun test` only honors
83
+ the `[test]` section's `preload`** (the top-level `preload` covers `bun
84
+ run` only — on bun 1.4.x it is ignored by the test runner). Every package
85
+ therefore carries both in its `bunfig.toml`; without `[test].preload`,
86
+ `bun test` resolves `"solid-js"` to the SSR build (`dist/server.js`, no-op
87
+ `createEffect`) and reactive tests pass vacuously. Run tests per package
88
+ (the loop above, same as CI).
89
+ - A bare `bun test` from the repo root also gets the real runtime (root
90
+ `bunfig.toml` carries `[test].preload`), but it runs all packages in ONE
91
+ process, so cross-package module singletons can contaminate each other
92
+ (e.g. shell's session-seam-adapter wires tui-base's steer slot with no
93
+ reset API). Per-package runs are the supported gate; a root run is for
94
+ quick iteration only and is expected to show that one steer-slot failure.
82
95
 
83
96
  To rebuild the client bundle that `prepack` ships: `bun scripts/build-client.mjs`.
84
97
 
@@ -106,9 +119,12 @@ PATH; otherwise the scripts self-skip (exit 0) so CI runs green.
106
119
 
107
120
  ## Status
108
121
 
109
- v0.9.0: published as `@aiwayds/dsh-opentui` — client-only distribution
122
+ v0.9.2: published as `@aiwayds/dsh-opentui` — client-only distribution
110
123
  (npm bin → client chain; the in-process plugin mode was retired). New
111
124
  default theme dsh-blue (dark/light, auto-selected by terminal background,
112
125
  `/theme` to pin) with focus visuals, framed composer/messages/code blocks,
113
126
  and a motion system (`/motion`, `DSH_OPENTUI_MOTION`) that reduces on
114
- tmux/SSH/non-truecolor. Roadmap: platform + Kit polish.
127
+ tmux/SSH/non-truecolor. 0.9.2 aligns the footer with `dsh-tui-pi`
128
+ (provider icon, effort ladder, context usage, counters, tok/s, subagent
129
+ lines), adds shell-style input history recall, and fixes palette/dialog
130
+ contrast and footer refresh. Roadmap: platform + Kit polish.