@aiwayds/dsh-opentui 0.23.2 → 0.24.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 CHANGED
@@ -5,6 +5,44 @@ 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.23.3] - 2026-11-20
9
+
10
+ ### Changed
11
+
12
+ - **The think fade now lives inside the activity frame.** The frame's latch
13
+ keeps the bordered `activity` panel mounted while any think/tool row is
14
+ still lingering or fading (~2.3s after a turn ends) instead of dropping the
15
+ panel at the 60ms turn boundary — the fade finishes inside the panel and the
16
+ transcript only reclaims the space afterwards, fixing the overlap where a
17
+ fading think row painted on top of the falling transcript. The compact
18
+ (≤30-row terminal) fallback dock now tweens its height through the same
19
+ shared clock, removing the two-row snap at the frame/flat handoff and the
20
+ N→0 snap when lingering rows drop.
21
+ - **Todos render as a tree in the activity panel** — a `● Todos (done/total)`
22
+ header plus `├─/└─` child rows (same branch glyphs as the subagent rows) in
23
+ both the framed and compact layouts, replacing the single-line
24
+ `todos [✓]d/n · active` summary. The summary remains only as the degrade
25
+ when the tree cannot fit. An in-progress todo now also holds the activity
26
+ frame open after the turn ends.
27
+ - **Ask-panel descriptions are readable on dsh-blue.** The theme gains a
28
+ `@dialog` scope override lifting dialog-surface muted text from
29
+ neutral.400 to neutral.300 in both light and dark — option descriptions and
30
+ the `Type something.` hint stop sitting at the too-dark tier.
31
+
32
+ ### Fixed
33
+
34
+ - **The "Think display lines" setting now persists.** On the default in-process
35
+ bridge the setting silently no-opped (no configSave wire) while reporting
36
+ success and fell back to `default` on restart — which caps the think preview
37
+ at 1 line on ≤40-row terminals. Gear-type UI settings now persist in a
38
+ client-local `ui-state.json` (XDG state dir, alongside the existing
39
+ model.json preference store), take precedence on boot, and the settings row
40
+ says so ("Stored on this machine", plus a note that the think preview is
41
+ fixed at 1 line while a subagent runs, by design). Settings the bridge
42
+ cannot persist now fail honestly instead of pretending to save.
43
+ - Todo rows survive object-shaped argument carriers end to end (live turn and
44
+ journal replay), with regression tests using real journal frame shapes.
45
+
8
46
  ## [0.23.2] - 2026-11-20
9
47
 
10
48
  ### Changed
package/NOTICE CHANGED
@@ -93,3 +93,38 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
93
93
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
94
94
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
95
95
  SOFTWARE.
96
+
97
+ --------------------------------------------------------------------------------
98
+
99
+ deepseek-ai/deepseek-harness (CapIR derivation)
100
+ https://github.com/deepseek-ai/deepseek-harness
101
+
102
+ Derived from deepseek-ai/deepseek-harness (MIT, Copyright (c) 2026 DeepSeek)
103
+
104
+ CapIR (capir/capir.json) and its generated artifacts in this repository are
105
+ derived from deepseek-ai/deepseek-harness. Only capability interface shapes
106
+ (artifacts, method ids, endpoint contracts) are represented; no host
107
+ implementation code is copied. The upstream repository carries no NOTICE file;
108
+ its MIT license and copyright notice are reproduced in this section.
109
+
110
+ MIT License
111
+
112
+ Copyright (c) 2026 DeepSeek
113
+
114
+ Permission is hereby granted, free of charge, to any person obtaining a copy
115
+ of this software and associated documentation files (the "Software"), to deal
116
+ in the Software without restriction, including without limitation the rights
117
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
118
+ copies of the Software, and to permit persons to whom the Software is
119
+ furnished to do so, subject to the following conditions:
120
+
121
+ The above copyright notice and this permission notice shall be included in all
122
+ copies or substantial portions of the Software.
123
+
124
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
125
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
126
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
127
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
128
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
129
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
130
+ SOFTWARE.
@@ -189,12 +189,8 @@ const validation = validateLauncherArgs(userArgs, { skip: LAUNCHER_TIMEOUT_FLAGS
189
189
  if (validation.unknown.length > 0) {
190
190
  for (const flag of validation.unknown) {
191
191
  console.error(`dsh-opentui: unknown option '${flag}'`)
192
- // P2-4b: the removed --remote flag has a launch-level replacement — point
193
- // users at it instead of leaving a dead end. Other unknown flags get only
194
- // the generic did-you-mean rule (no misleading migration advice).
195
- if (flag === '--remote') {
196
- console.error('dsh-opentui: use DSH_OPENTUI_INPROC=0 for the legacy remote seam')
197
- }
192
+ // S6: --remote is simply an unknown option (the env escape hatch it once
193
+ // pointed to is gone with the legacy seam). No migration advice.
198
194
  if (validation.suggestions[flag]) {
199
195
  console.error(`dsh-opentui: did you mean '${validation.suggestions[flag]}'?`)
200
196
  }
@@ -305,14 +301,12 @@ const opentuiProfileDir = join(dshHome, 'profiles', 'opentui')
305
301
  }
306
302
  }
307
303
 
308
- // --- 3b. In-process bridge profile provisioning (default since 0.23.0) -----
309
- // The bridge is the default, so this runs on EVERY launch; only the explicit
310
- // escape hatch DSH_OPENTUI_INPROC=0 skips it (legacy remote thin client). "1"
311
- // is still accepted and is now a no-op-equivalent (idempotent). The script
312
- // provisions ONLY the `opentui-inproc` profile: bundle manifest + absolute
313
- // symlink to the embedded dist/bridge artifact. A non-zero exit is fatal here
304
+ // --- 3b. In-process bridge profile provisioning ----------------------------
305
+ // S6: the bridge is the sole seam, so this runs on EVERY launch. The script
306
+ // provisions ONLY the `opentui-inproc` profile: bundle manifest + the shipped
307
+ // dist/bridge artifact (real directory copy). A non-zero exit is fatal here
314
308
  // (the bridge cannot work without it), unlike the best-effort path above.
315
- if (process.env.DSH_OPENTUI_INPROC !== '0') {
309
+ {
316
310
  const r = spawnSync(process.execPath, [join(pkgRoot, 'scripts', 'provision-inproc-profile.mjs')], {
317
311
  stdio: 'inherit',
318
312
  })
@@ -327,7 +327,6 @@ export function formatUsage() {
327
327
  ' -h, --help print this help and exit',
328
328
  '',
329
329
  'Environment:',
330
- ' DSH_OPENTUI_INPROC=0 use the legacy remote thin-client seam instead of the default in-process bridge (escape hatch); unset or 1 = bridge',
331
330
  ' DSH_OPENTUI_BOOT_TIMEOUT_MS host cold-start budget in ms (CLI flag wins)',
332
331
  ' DSH_OPENTUI_MUX_TIMEOUT_MS mux readiness budget in ms (CLI flag wins)',
333
332
  ' DSH_OPENTUI_CONNECT_TIMEOUT_MS first-connect budget in ms (CLI flag wins)',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@aiwayds/dsh-opentui-bridge",
3
3
  "version": "0.1.0",
4
- "sha256": "449350ad2f4be20203ca16195eeed30b1ff928f8a13d648fd6342be3623ac53e"
4
+ "sha256": "131e042cda369c7c612c74bb3d9db0e4467cef1b36979527111aa4829b97105f"
5
5
  }