@aiwayds/dsh-opentui 0.28.2 → 0.29.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 +54 -0
- package/dist/bridge/bundle-fingerprint.json +1 -1
- package/dist/bridge/index.js +2561 -34
- package/dist/client/index.js +1274 -87
- package/dist/client/index.js.map +19 -17
- 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,60 @@ 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.0] - 2026-11-26
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Secure session retention via `/prune`, `/prune-restore` and `/prune-purge`.**
|
|
13
|
+
`/prune` uses a 90-day retention window by default, offers a preview before
|
|
14
|
+
acting, and moves the pruned sessions to a trash (recycle bin). Trashed
|
|
15
|
+
sessions can be brought back with `/prune-restore`. `/prune-purge` permanently
|
|
16
|
+
removes trashed sessions after a residency period and requires a second
|
|
17
|
+
confirmation.
|
|
18
|
+
- **Live transcript for Ctrl+G sub-sessions.** Buffers up to 500 lines / 64 KB
|
|
19
|
+
and keeps tool output across multiple lines.
|
|
20
|
+
- **Transcript scrollbar and "N new messages" indicator.** A scrollbar on the
|
|
21
|
+
right edge of the transcript, an "N new messages" hint when the view is away
|
|
22
|
+
from the bottom, `submit` returns the view to the bottom, and
|
|
23
|
+
`alt+shift+end` jumps to the bottom.
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- **`maxRounds` defaults to 50 when unset.** An explicit `0` disables the
|
|
28
|
+
limit. Reaching the limit only wraps the running sub-agent up: the grace
|
|
29
|
+
defaults to `0`, so no forced stop follows. A hard-stop happens only when an
|
|
30
|
+
explicit positive grace is configured.
|
|
31
|
+
- **`think` display defaults to 5.**
|
|
32
|
+
- **`retentionDays` defaults to 90.**
|
|
33
|
+
- **Real-client environment precheck hardened.**
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
|
|
37
|
+
- **Replies after a `todo` were invisible when the view was scrolled away from
|
|
38
|
+
the bottom.**
|
|
39
|
+
- **Blank sub-session panels / lost output.**
|
|
40
|
+
- **Real-device evidence for ask R3/R5/R6.**
|
|
41
|
+
|
|
42
|
+
### Known Risks
|
|
43
|
+
|
|
44
|
+
- **`maxRounds` 50 wraps up long-running sub-agents by default.** With the
|
|
45
|
+
default grace `0` nothing is hard-stopped; only an explicit positive grace
|
|
46
|
+
forces a stop.
|
|
47
|
+
- **`prune` moves sessions to a trash.** Cross-process read-only viewers may
|
|
48
|
+
briefly hit `ENOENT`; the sessions can be brought back with `/prune-restore`.
|
|
49
|
+
- **Idle sessions in another process are best-effort, not proven.** Liveness
|
|
50
|
+
relies on the host's `agentAvailable` field plus a read-only flock probe on
|
|
51
|
+
`session.lock`; an open-but-idle session in another process that reports no
|
|
52
|
+
agent and holds no lock cannot be distinguished from a stale one. A flock
|
|
53
|
+
implementation that does not actually arbitrate across processes weakens
|
|
54
|
+
this gate.
|
|
55
|
+
- **A crash during trash-apply can leave a recovery orphan.** Such an entry is
|
|
56
|
+
only marked `.orphan.json`; it is never auto-recovered and needs manual
|
|
57
|
+
handling.
|
|
58
|
+
- **Purge decodes the zstd artifact to read the header.** The header id is read
|
|
59
|
+
from the first line, but the whole frame must be decompressed, so a very
|
|
60
|
+
large trashed session log makes that read expensive.
|
|
61
|
+
|
|
8
62
|
## [0.28.2] - 2026-11-25
|
|
9
63
|
|
|
10
64
|
### Added
|