@aiwayds/dsh-opentui 0.16.1 → 0.17.2

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,30 @@ 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.17.2] - 2026-11-15
9
+
10
+ ### Added
11
+
12
+ - **append-system, ported from dsh-tui-pi.** `~/.dsh/APPEND_SYSTEM.md` is appended to the system prompt of every new main session. The additions ride an `agentPreset` persona row the client provisions into the opentui profile — zero host changes, and no other profile is affected. The file is seeded once when missing and never rewritten; edits apply after the next host restart; emptying or deleting the file disables the additions (the seed only ever runs on first provision). The persona read is capped at 64 KiB with a truncation marker. `/preset` lists the composition as "Standard + Append"; resuming an existing session carries the additions only when explicitly selected.
13
+
14
+ ## [0.17.1] - 2026-11-15
15
+
16
+ ### Fixed
17
+
18
+ - **Numeric activity gears clamp to the same two-thirds terminal budget as `all`.** Each block now gets `min(N, budget/2)` with `budget = floor(rows * 2/3) - 2`, so a 10-line gear can no longer crowd out the transcript on short terminals; 52-row terminals are unaffected (gear 10 still renders 10 lines).
19
+ - **Settings write path hardening.** The nested-key write now falls back to the merged view's `session` slice when the profile snapshot is missing, so a bare `{session: {…}}` patch can no longer drop sibling `session` keys; boot replay rejects an out-of-contract stored value silently (fail-open, no stderr before the first paint); the settings row displays the normalized (effective) value; and a non-contract gear write is rejected with `settings.error.invalidGear` instead of landing in the profile.
20
+ - Note: 0.17.0 was never published to npm — `latest` skips it and points at 0.17.1.
21
+
22
+ ## [0.17.0] - 2026-11-15
23
+
24
+ ### Added
25
+
26
+ - **Configurable activity panel height.** The `/settings` TUI-specific section gains an `activityPanelHeight` row (dsh-tui-pi parity: `1` / `5` / `7` / `10` / `all`, plus `default`). Numeric gears cap each think and tool block at N lines independently; `all` drops the per-block cap and clamps the whole frame at two-thirds of the terminal rows (the transcript keeps its one-third floor), trimming the longer block's oldest lines first when the two blocks together exceed the budget. Short terminals keep the compact two-row rule bar, where the gear is inert, and the unset gear is byte-for-byte the previous graded sizing. The choice lives in the profile config's `session.activity_panel_height` key: the settings row applies it live, boot replays it before the first paint, `default` unsets the key, and an invalid stored value warns while the default sizing keeps running.
27
+
28
+ ### Fixed
29
+
30
+ - **The settings write no longer clobbers sibling `session` keys.** `configSave` merges top-level keys shallowly, so writing the nested panel-height gear now merges the profile's current `session` slice into the patch instead of replacing the whole section.
31
+
8
32
  ## [0.16.1] - 2026-11-15
9
33
 
10
34
  ### Internal