@aiwayds/dsh-opentui 0.9.4 → 0.9.6

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,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.6] - 2026-11-11
9
+
10
+ ### Added
11
+
12
+ - **Test tiers** — `test:unit|ft|ui|e2e|all` with a geometry×scene UI matrix and a real-client e2e flow suite (fake model).
13
+
14
+ ### Changed
15
+
16
+ - **Session restore remains opt-in** (`--resume-last` / `autoResume: "last"`); startup defaults to a fresh session.
17
+
18
+ ### Fixed
19
+
20
+ - **Footer no longer wraps on narrow terminals** — segments are dropped by priority and the context segment degrades instead of truncating mid-number.
21
+ - **Tool dock lines are clipped inside the activity frame.**
22
+ - **Message count is restored after `--resume-last`.**
23
+ - **Single shared terminal-size listener** — no more MaxListeners warnings.
24
+ - **Connection hardening** — stale host locks are detected by an HTTP probe and replaced (never killing foreign processes); readiness waits for HTTP + `$events` instead of a bound TCP port; first-connect retries are capped at 3 with the host stderr tail surfaced.
25
+
26
+ ## [0.9.5] - 2026-11-11
27
+
28
+ ### Added
29
+
30
+ - **`/flush`** — delivers a paused delivery queue now. A failed or aborted turn keeps the client-side queue and pauses the pump; `/flush` starts the head prompt immediately and the rest follow one per turn end, in submission order. Every outcome is reported (an empty queue is never silent).
31
+ - **Settings catalogs** — `permission.defaultPreset` reads the host `permissionPresets/catalog` RPC and offers its `defaultOptions` as real choices (the settings value, else the catalog default); without a catalog the row is read-only and shows the effective value plus why, never an empty picker. The slash skill registry keeps the boot disk snapshot and refreshes once after the first user message when `skills/list` becomes readable, so plugin-provided skills appear without a restart.
32
+
33
+ ### Changed
34
+
35
+ - **A launch starts a fresh session; restore is opt-in** — a plain launch no longer reopens the last workspace session. Set `"autoResume": "last"` or pass `--resume-last` for a single launch (it overrides the config) to restore the newest non-empty session from the launch workspace that was active within the last 7 days (`autoResumeDays`); `--new` wins over both, and `--session <id>` still pins a session.
36
+
37
+ ### Fixed
38
+
39
+ - **Skill rows survived a session switch** — the palette kept the previous session's plugin skill rows after `/new` or `/resume`; the session-scoped `skills/list` rows now reset to the boot snapshot.
40
+ - **`/flush` during a running turn** — the notice no longer promises delivery; it says the queued prompts wait for that turn to finish, matching the pause-on-failure behavior.
41
+
42
+ ### Known Issues
43
+
44
+ - Engine paint defects remain: streaming diff-paint row loss, and wide-glyph loss under translucent overlays (upstream).
45
+ - Skills before the first message are the boot-time disk snapshot; plugin-provided skills appear only after the refresh.
46
+ - `permission.defaultPreset` choices depend on the host catalog schema; without one the row is read-only.
47
+ - The delivery queue is in-memory only and is lost on exit.
48
+ - CI cannot run the real-client tmux gate (no tmux/dsh on hosted runners).
49
+
8
50
  ## [0.9.4] - 2026-11-10
9
51
 
10
52
  ### Added
@@ -12,7 +54,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12
54
  - **MCP by default** — the core plugin set now installs `@aiwayds/dsh-mcp-adapter`, and provisioning inserts a `mcp-context7` client row (streamable HTTP, no API key) so `mcp_list` / `mcp_call` have a server to catalog on a fresh profile. An existing row is never rewritten or duplicated; `--plugins=none` writes neither.
13
55
  - **Steer or queue on a busy submit** — Enter on a busy turn opens a two-row choice (Steer is the default highlight; `esc` keeps the typed text). Queueing is client-side: one prompt per turn end in submission order. Failed or aborted turns pause the queue and notify; the next successful turn end resumes it. The transcript shows muted `⏸ 排队等待 #N` queue rows and `⤵ 已注入当前回合` steer receipts that flip to `✓ 已投递` at turn end.
14
56
  - **cwd · git branch row** — one muted row directly above the composer with the workspace directory (`~/…` abbreviation, left-clipped tail) and the git branch (short SHA on a detached HEAD). Probed on mount and on each session switch; non-repos and probe failures degrade silently to the directory only.
15
- - **Session restore on launch** — a fresh client reopens the newest non-empty session from the launch workspace that was active within the last 7 days and prints one `resumed <title> · <time ago>` notice. `--new` starts fresh, `--session <id>` pins a session, `autoResume: "off"` disables the restore, and `autoResumeDays` changes the window.
57
+ - **Session restore on launch (opt-in)** — a plain launch starts a new, empty session. Setting `"autoResume": "last"` reopens the newest non-empty session from the launch workspace that was active within the last 7 days and prints one `resumed <title> · <time ago>` notice; `--resume-last` enables it for a single launch (overrides the config). `--new` always starts fresh and wins over both, `--session <id>` pins a session, and `autoResumeDays` changes the window.
16
58
 
17
59
  ### Changed
18
60
 
package/README.md CHANGED
@@ -150,11 +150,13 @@ allow, `n` decline; `esc` aborts a running turn. Ctrl+C twice quits. Commands:
150
150
  `/help` `/model [provider/id]` `/usage` `/clear` `/login` `/logout` `/resume`
151
151
  `/search` `/new` `/quit` and more — see `/help` inside the TUI.
152
152
 
153
- **Session restore on launch**: the client reopens the newest non-empty session
154
- from the launch workspace that was active within the last 7 days, with a
155
- `resumed <title> · <time ago>` notice. Disable it with `"autoResume": "off"` in
153
+ **Session restore on launch (opt-in)**: a plain launch starts a new, empty
154
+ session. To reopen the newest non-empty session from the launch workspace that
155
+ was active within the last 7 days — with a `resumed <title> · <time ago>`
156
+ notice — set `"autoResume": "last"` in
156
157
  `$DSH_HOME/profiles/opentui/config.json` (change the window with
157
- `"autoResumeDays": N`), or skip it for one launch with `--new`; `--session <id>`
158
+ `"autoResumeDays": N`), or pass `--resume-last` for one launch (it overrides
159
+ the config). `--new` always starts fresh and wins over both; `--session <id>`
158
160
  pins a specific session.
159
161
 
160
162
  ## Develop
@@ -208,7 +210,7 @@ PATH; otherwise the scripts self-skip (exit 0) so CI runs green.
208
210
 
209
211
  ## Status
210
212
 
211
- v0.9.4: published as `@aiwayds/dsh-opentui` — client-only distribution
213
+ v0.9.6: published as `@aiwayds/dsh-opentui` — client-only distribution
212
214
  (npm bin → client chain; the in-process plugin mode was retired). New
213
215
  default theme dsh-blue (dark/light, auto-selected from terminal background,
214
216
  `/theme` to pin) with focus visuals, framed composer/messages/code blocks,
@@ -223,4 +225,13 @@ plugin provisioning with keyless `web_search`. 0.9.4 ships MCP by default
223
225
  (`dsh-mcp-adapter` plus a keyless context7 server), a steer-or-queue choice
224
226
  on a busy submit, the cwd · git branch composer row, session restore on
225
227
  launch, a compact footer context percent, and a fix for transcript loss on
226
- `/resume`. Roadmap: platform + Kit polish.
228
+ `/resume`. 0.9.5 adds `/flush` for a paused delivery queue, closes the
229
+ settings permission-preset and skill-catalog gaps, and makes session restore
230
+ opt-in (`--resume-last` or `autoResume: "last"`) so a plain launch starts
231
+ fresh. 0.9.6 adds tiered tests (`test:unit|ft|ui|e2e|all` with a geometry×
232
+ scene UI matrix and a real-client e2e flow suite), hardens first-connect
233
+ (stale host locks are probed over HTTP and replaced, readiness waits for
234
+ HTTP + `$events`, retries capped at 3 with the host stderr tail surfaced),
235
+ and fixes footer wrapping on narrow terminals, tool-dock clipping, the
236
+ message count after `--resume-last`, and duplicate terminal-size listeners.
237
+ Roadmap: platform + Kit polish.