@aiwayds/dsh-opentui 0.18.2 → 0.18.3
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 +20 -0
- package/dist/client/index.js +1892 -622
- package/dist/locales/en.json +14 -16
- package/dist/locales/zh-CN.json +14 -16
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,26 @@ 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.18.3] - 2026-11-16
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **The ask-user panel is rebuilt as a bottom-docked, full-width surface** (`docs/ask-user-panel-spec.md` §2). The batch now occupies the composer seat in the page's normal layout flow instead of a centered overlay: option rows are numbered and carry their per-option descriptions, the trailing `(Recommended)` token is stripped from the label and promoted to a `Recommended` badge (recommended rows are pre-selected but never auto-submit), digits `1`–`9` quick-pick a row, the free-text row is a resident inline input that replaces the sentinel row rather than a screen swap, multi-question batches get a `[1 ✓] · 2 · 3` tab strip, and the review page lists each question with its current answer and jumps back to it for editing on Enter.
|
|
13
|
+
- **One input-ownership stack routes the keyboard** (`docs/adr/0008-input-ownership-for-keyboard-routing.md`, ADR-0008). Frames are pushed as surfaces open and the top frame wins: page-level `mode:"global"` layers gate on `top() === "page"`, and every overlay layer gates on its own frame. Overlays now take the keyboard, so Esc, PgUp and the arrow keys no longer reach the page underneath `/settings`, `/agents`, `/history` or `/subagents-viewer`; the dialog provider and panel-kit push one frame per open entry/layer, and the ask dock participates with its own frame.
|
|
14
|
+
- **The transcript replays a settled ask as a structured block.** Each question paints `✓ <question>` with `→ <answer>` in accent, one pair per question; a `header` becomes a muted eyebrow, a `detail` a muted continuation line, and a declined question `→ declined`. The offered options are carried but not repeated.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- **Ask no longer renders on the dialog stack.** A new in-flow dock host at the composer seat hosts the batch; the composer stays mounted but hidden while the dock is open, so its draft and history survive, and admission waits for page ownership and re-evaluates reactively, so a queued ask admits when the overlay in front of it closes instead of pushing its ownership frame above an absolutely-positioned surface.
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- **A question left unanswered submits as declined, not as an empty selection.** The review page is reachable with questions still blank, so the submit path now sends the missing-pick shape (`selected: []` plus `custom: "declined"`) instead of a one-element `[""]` selection that the host would read as a chosen empty string. The answer envelope is otherwise unchanged.
|
|
23
|
+
|
|
24
|
+
### Removed
|
|
25
|
+
|
|
26
|
+
- **The dead legacy `Question` tool renderer** and its private `parseQuestions` / `parseQuestionAnswers` helpers are removed (spec §11); no live path imported them.
|
|
27
|
+
|
|
8
28
|
## [0.18.2] - 2026-11-16
|
|
9
29
|
|
|
10
30
|
### Fixed
|