@aiwayds/dsh-opentui 0.8.0 → 0.9.1

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,40 @@ 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.1] - 2026-11-09
9
+
10
+ ### Fixed
11
+
12
+ - **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.
13
+ - **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).
14
+
15
+ ### Development
16
+
17
+ - **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.
18
+
19
+ ## [0.9.0] - 2026-11-09
20
+
21
+ ### Added
22
+
23
+ - **New default theme `dsh-blue`** — dark and light variants, auto-selected from the terminal background; `/theme` pins an explicit choice, and the theme list marks entries with `●` and offers auto/dark/light items.
24
+ - **Focus visuals** — the focused element carries a thick-line accent frame; the transcript's current row gets a full-row background highlight; approval/question cards take warning accents.
25
+ - **Framed boxes** — the composer input gets a four-sided border (warning color and a steer title while busy); user messages render in a single-line frame; streaming code blocks draw a left rule while streaming that closes into a language-labeled frame when the block ends; the in-turn activity draws a frame.
26
+ - **Motion system** — letter-by-letter welcome wordmark fade-in, comet gradient trail, rolling powerline numbers, fade in/out transitions, pulsing reminder marker; borders never color-animate. `/motion full|reduced|off|auto` and `DSH_OPENTUI_MOTION` control it; tmux/SSH/non-truecolor terminals reduce automatically.
27
+ - **Cursor** — a vertical-bar cursor that changes color while busy.
28
+
29
+ ### Changed
30
+
31
+ - **One-shot skin migration** — users who had already picked a theme are switched to `dsh-blue` once on upgrade, with a notice. The migration is accounted per profile: once any workspace has triggered it, other workspaces' previous theme choices no longer migrate automatically (switch with `/theme`).
32
+
33
+ ### Known Issues
34
+
35
+ - Occasional flicker is more likely: dropped frames from the engine's reflow (paint bug upstream of the skin).
36
+ - Wide characters can vanish behind a popup's translucent overlay.
37
+ - Borders may flicker while typing a slash command.
38
+ - Rolling back to 0.8.0: `theme=dsh-blue` silently falls back to the old default theme; a workspace `.dsh/config.yml` that carries a `themeMode` key fails the old version's layer overlay validation (fail-closed) — delete that key to restore.
39
+ - With a popup open, the powerline's model emoji segment is not displayed (pre-existing engine behavior, not fixed in this release).
40
+ - The activity frame mounts/unmounts with a deliberate 60ms delay to prevent flicker; under extreme timing a single ghost frame can still appear and self-heals on the next frame.
41
+
8
42
  ## [0.8.0] - 2026-11-08
9
43
 
10
44
  ### Changed
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,8 +119,11 @@ PATH; otherwise the scripts self-skip (exit 0) so CI runs green.
106
119
 
107
120
  ## Status
108
121
 
109
- v0.8.0: published as `@aiwayds/dsh-opentui` — client-only distribution
110
- (npm bin → client chain; the in-process plugin mode was retired). The
111
- session page composes as fixed dock slots (status / widgets / editor /
112
- lastRequest / notices / powerline / hints) over a chat-clean transcript.
113
- Roadmap: platform + Kit polish.
122
+ v0.9.1: published as `@aiwayds/dsh-opentui` — client-only distribution
123
+ (npm bin → client chain; the in-process plugin mode was retired). New
124
+ default theme dsh-blue (dark/light, auto-selected by terminal background,
125
+ `/theme` to pin) with focus visuals, framed composer/messages/code blocks,
126
+ and a motion system (`/motion`, `DSH_OPENTUI_MOTION`) that reduces on
127
+ tmux/SSH/non-truecolor. 0.9.1 stabilizes the slash palette (steady height
128
+ while filtering, no row overflow into the composer). Roadmap: platform +
129
+ Kit polish.