@aiwayds/dsh-opentui 0.28.1 → 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 +83 -0
- package/dist/bridge/bundle-fingerprint.json +1 -1
- package/dist/bridge/index.js +2935 -207
- package/dist/client/index.js +1572 -93
- package/dist/client/index.js.map +22 -19
- package/dist/locales/en.json +71 -1
- package/dist/locales/zh-CN.json +71 -1
- package/package.json +1 -1
- package/scripts/lib/inproc-companions.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,89 @@ 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
|
+
|
|
62
|
+
## [0.28.2] - 2026-11-25
|
|
63
|
+
|
|
64
|
+
### Added
|
|
65
|
+
|
|
66
|
+
- **Ask outcomes now enter the session transcript.** When an `ask` settles
|
|
67
|
+
(answered, rejected, unavailable, cancelled or timed out), the bridge writes
|
|
68
|
+
a terminal journal row and emits a frame carrying a closed settle reason. The
|
|
69
|
+
shell projects that outcome into a single `ask-outcome:<eventId>` notice row,
|
|
70
|
+
so live frames, bridge reconnect and `/resume` of a stored transcript all
|
|
71
|
+
show the same result in the transcript.
|
|
72
|
+
|
|
73
|
+
### Changed
|
|
74
|
+
|
|
75
|
+
- **Expired approval windows no longer leave zombie cards.** The bridge arms a
|
|
76
|
+
gate for each pending ask: when the approval window expires without a verdict
|
|
77
|
+
the ask is settled with reason `timeout` and the default outcome, even if the
|
|
78
|
+
provider never answers.
|
|
79
|
+
- **Older ask frames and journals still read.** The settle reason is optional on
|
|
80
|
+
read paths, so journals written before it existed still replay, and frames
|
|
81
|
+
without the new reason field stay valid for consumers. New writes always
|
|
82
|
+
carry a closed settle reason.
|
|
83
|
+
- **The companion model-sync guard now tracks `^0.11.0`.** The in-process profile
|
|
84
|
+
previously declared `^0.10.0`, so npm `latest` = 0.11.0 was skipped as a 0.x
|
|
85
|
+
cross-minor break and the fresh-home verifier saw only 10 of 11 companions.
|
|
86
|
+
The guard now admits 0.11.0 while still rejecting 0.12.0. The 0.11.0 manifest
|
|
87
|
+
keeps the same peers, engine and entry points as 0.10.0. The interaction
|
|
88
|
+
between 0.11.0's migrate-go/one-shot paths and provision patch ownership is
|
|
89
|
+
**NOT VERIFIED** and is not claimed as validated by this change.
|
|
90
|
+
|
|
8
91
|
## [0.28.1] - 2026-11-25
|
|
9
92
|
|
|
10
93
|
### Added
|