@aiwayds/dsh-opentui 0.28.2 → 0.29.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 +79 -0
- package/dist/bridge/bundle-fingerprint.json +1 -1
- package/dist/bridge/index.js +2732 -153
- package/dist/client/index.js +1440 -110
- package/dist/client/index.js.map +21 -19
- package/dist/locales/en.json +71 -1
- package/dist/locales/zh-CN.json +71 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,85 @@ 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.29.1] - 2026-11-26
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **`session.steer` now sends a real bridge request and surfaces a typed
|
|
13
|
+
rejection.**
|
|
14
|
+
- **Failed, aborted and stopped turns no longer falsely mark a steer
|
|
15
|
+
`Delivered` or keep pumping the queue.**
|
|
16
|
+
- **Late errors from an old turn no longer contaminate the next turn.**
|
|
17
|
+
- **The queue pump no longer steals the scrollback.**
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- **The 0.29 E2E suite was expanded to 17 scenarios, and the `NOT RUN` / live
|
|
22
|
+
contract was corrected.**
|
|
23
|
+
|
|
24
|
+
### Known Risks
|
|
25
|
+
|
|
26
|
+
- **An unconsumed steer may remain in the host inbox after an abort or turn
|
|
27
|
+
error and be consumed on the next turn.** This is accepted: the host has no
|
|
28
|
+
removal API, so the UI keeps the steer `Injected` and never marks it
|
|
29
|
+
`Delivered` across turns.
|
|
30
|
+
- **The full-package typecheck still reports 58 pre-existing `tui-base` errors
|
|
31
|
+
from 0.29.0.** The entry typecheck passes.
|
|
32
|
+
|
|
33
|
+
## [0.29.0] - 2026-11-26
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
|
|
37
|
+
- **Secure session retention via `/prune`, `/prune-restore` and `/prune-purge`.**
|
|
38
|
+
`/prune` uses a 90-day retention window by default, offers a preview before
|
|
39
|
+
acting, and moves the pruned sessions to a trash (recycle bin). Trashed
|
|
40
|
+
sessions can be brought back with `/prune-restore`. `/prune-purge` permanently
|
|
41
|
+
removes trashed sessions after a residency period and requires a second
|
|
42
|
+
confirmation.
|
|
43
|
+
- **Live transcript for Ctrl+G sub-sessions.** Buffers up to 500 lines / 64 KB
|
|
44
|
+
and keeps tool output across multiple lines.
|
|
45
|
+
- **Transcript scrollbar and "N new messages" indicator.** A scrollbar on the
|
|
46
|
+
right edge of the transcript, an "N new messages" hint when the view is away
|
|
47
|
+
from the bottom, `submit` returns the view to the bottom, and
|
|
48
|
+
`alt+shift+end` jumps to the bottom.
|
|
49
|
+
|
|
50
|
+
### Changed
|
|
51
|
+
|
|
52
|
+
- **`maxRounds` defaults to 50 when unset.** An explicit `0` disables the
|
|
53
|
+
limit. Reaching the limit only wraps the running sub-agent up: the grace
|
|
54
|
+
defaults to `0`, so no forced stop follows. A hard-stop happens only when an
|
|
55
|
+
explicit positive grace is configured.
|
|
56
|
+
- **`think` display defaults to 5.**
|
|
57
|
+
- **`retentionDays` defaults to 90.**
|
|
58
|
+
- **Real-client environment precheck hardened.**
|
|
59
|
+
|
|
60
|
+
### Fixed
|
|
61
|
+
|
|
62
|
+
- **Replies after a `todo` were invisible when the view was scrolled away from
|
|
63
|
+
the bottom.**
|
|
64
|
+
- **Blank sub-session panels / lost output.**
|
|
65
|
+
- **Real-device evidence for ask R3/R5/R6.**
|
|
66
|
+
|
|
67
|
+
### Known Risks
|
|
68
|
+
|
|
69
|
+
- **`maxRounds` 50 wraps up long-running sub-agents by default.** With the
|
|
70
|
+
default grace `0` nothing is hard-stopped; only an explicit positive grace
|
|
71
|
+
forces a stop.
|
|
72
|
+
- **`prune` moves sessions to a trash.** Cross-process read-only viewers may
|
|
73
|
+
briefly hit `ENOENT`; the sessions can be brought back with `/prune-restore`.
|
|
74
|
+
- **Idle sessions in another process are best-effort, not proven.** Liveness
|
|
75
|
+
relies on the host's `agentAvailable` field plus a read-only flock probe on
|
|
76
|
+
`session.lock`; an open-but-idle session in another process that reports no
|
|
77
|
+
agent and holds no lock cannot be distinguished from a stale one. A flock
|
|
78
|
+
implementation that does not actually arbitrate across processes weakens
|
|
79
|
+
this gate.
|
|
80
|
+
- **A crash during trash-apply can leave a recovery orphan.** Such an entry is
|
|
81
|
+
only marked `.orphan.json`; it is never auto-recovered and needs manual
|
|
82
|
+
handling.
|
|
83
|
+
- **Purge decodes the zstd artifact to read the header.** The header id is read
|
|
84
|
+
from the first line, but the whole frame must be decompressed, so a very
|
|
85
|
+
large trashed session log makes that read expensive.
|
|
86
|
+
|
|
8
87
|
## [0.28.2] - 2026-11-25
|
|
9
88
|
|
|
10
89
|
### Added
|