@aiwayds/dsh-opentui 0.7.0 → 0.9.0
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 +42 -0
- package/README.md +6 -3
- package/dist/client/index.js +3858 -1930
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,48 @@ 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.0] - 2026-11-09
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **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.
|
|
13
|
+
- **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.
|
|
14
|
+
- **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.
|
|
15
|
+
- **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.
|
|
16
|
+
- **Cursor** — a vertical-bar cursor that changes color while busy.
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- **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`).
|
|
21
|
+
|
|
22
|
+
### Known Issues
|
|
23
|
+
|
|
24
|
+
- Occasional flicker is more likely: dropped frames from the engine's reflow (paint bug upstream of the skin).
|
|
25
|
+
- Wide characters can vanish behind a popup's translucent overlay.
|
|
26
|
+
- Borders may flicker while typing a slash command.
|
|
27
|
+
- 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.
|
|
28
|
+
- With a popup open, the powerline's model emoji segment is not displayed (pre-existing engine behavior, not fixed in this release).
|
|
29
|
+
- 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.
|
|
30
|
+
|
|
31
|
+
## [0.8.0] - 2026-11-08
|
|
32
|
+
|
|
33
|
+
### Changed
|
|
34
|
+
|
|
35
|
+
- **Dock layout restructure (batches D1–D3): the session page composes as fixed dock slots, and the transcript goes chat-clean.** The page order is now status → widgets → editor → lastRequest → notices → powerline → hints: the whale comet status bar moves to the dock top while busy (zero rows idle, above the widgets dock); the widgets slot renders the Todos / Think / Tool single-line panels between the transcript and the composer (one pure pass over the shared seam-rows store); the lastRequest slot sits below the editor — the sent prompt echoes as a `●` line with one `├─/└─ <label> · Xs · <tail>` row per RUNNING child, cleared when the child settles and on session switch; notices stack directly above the powerline; the hints row is the last page row and the powerline drops the `Ctrl+Shift+F: search` segment (pure segments again). The transcript renders the chat-clean set only (user/assistant/echo/notice/ask) — tool blocks, think rows and the left-rail track line are gone from the flow, and the subagent tree left it entirely in D2. Tool call args humanize: `use_agent` reads `agent: <name> <prompt…>`, `ask_agent` reads `→ agent · content`.
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
|
|
39
|
+
- **Notices dock slot** — transient notice rows (the subagent steer echo, subagent-settled relay notices) paint as markdown above the powerline; each line retires on its own 8s timer (timer-only, never on keypress), capped at 8 with the oldest dropped.
|
|
40
|
+
- **`/hints`** — toggles the keybinding hints row (idle: enter send · alt+enter newline · ↑↓ history; busy: enter steer · esc stop; plus subagents/search/scroll/quit rows).
|
|
41
|
+
- **Unified widget hide law** — think/tool dock widgets fade out ~1s after their content stops; the Todos row hides when the list is empty or all completed; the Subagents surface is a single selection line (no second bordered roster dock) and its bar opens only while a child runs, auto-closing when none does (the ↓ key falls back to history); the `↓ subagents` hint shows only while a child runs.
|
|
42
|
+
|
|
43
|
+
### Fixed
|
|
44
|
+
|
|
45
|
+
- **Todos dock row renders against the real dsh host** — the tool-name match covered only the opencode spelling `todowrite`; the dsh host's model-side call name is `todo_write`. Both spellings match via an exact set (no other `todo*` tool feeds the panel), and the todo list is read from the call arguments' `todos` array first (the host's result brief carries rendered text only), falling back to the bare-array output brief (opencode shape); failed calls are skipped.
|
|
46
|
+
- **Subagent label bare-id fallback on late join** — the child-follow snapshot replay dropped the whole snapshot (the host only sends the delegation label in the journal records, never re-sends it on the live stream), so the running-child row showed `subagent <id8>`; the snapshot now folds its records through the same event path (display catch-up only — the maxRounds ladder stays live-frame fed so a replay cannot re-arm force-stop).
|
|
47
|
+
- **ask_agent tool row no longer renders raw JSON** — `{ agent_id, prompt | message }` reads `→ agent · content`; undiggable tool-result envelopes render their depth-2 string leaves or a `tool result` placeholder, never raw JSON.
|
|
48
|
+
- **Host-injected messages no longer leak into the transcript as user prompt lines** — `user/message` records with a non-user source are filtered out of the seam rows.
|
|
49
|
+
|
|
8
50
|
## [0.7.0] - 2026-11-08
|
|
9
51
|
|
|
10
52
|
### Added
|
package/README.md
CHANGED
|
@@ -106,6 +106,9 @@ PATH; otherwise the scripts self-skip (exit 0) so CI runs green.
|
|
|
106
106
|
|
|
107
107
|
## Status
|
|
108
108
|
|
|
109
|
-
v0.
|
|
110
|
-
(npm bin → client chain; the in-process plugin mode was retired).
|
|
111
|
-
|
|
109
|
+
v0.9.0: published as `@aiwayds/dsh-opentui` — client-only distribution
|
|
110
|
+
(npm bin → client chain; the in-process plugin mode was retired). New
|
|
111
|
+
default theme dsh-blue (dark/light, auto-selected by terminal background,
|
|
112
|
+
`/theme` to pin) with focus visuals, framed composer/messages/code blocks,
|
|
113
|
+
and a motion system (`/motion`, `DSH_OPENTUI_MOTION`) that reduces on
|
|
114
|
+
tmux/SSH/non-truecolor. Roadmap: platform + Kit polish.
|