@aiwayds/dsh-opentui 0.27.0 → 0.27.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,20 @@ 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.27.2] - 2026-11-24
9
+
10
+ ### Changed
11
+
12
+ - **All three confirmation dialogs now answer Yes / No (是 / 否).** The quit,
13
+ stop-turn and settings-exit confirmations use the same question-and-answer
14
+ buttons instead of Quit/Cancel, Stop/keep running and Exit/Back, so the
15
+ button text always answers the question in the title. Escape always cancels.
16
+ In the quit and stop-turn dialogs Enter confirms; the settings-exit dialog is
17
+ destructive, so focus starts on No and Enter cancels — move to Yes with Tab
18
+ (or ←/→) first, then press Enter to exit. Trade-off: the initially focused
19
+ button now carries an answer word instead of an action name, so the
20
+ consequence of Enter / the highlighted button has to be read from the title.
21
+
8
22
  ## [0.27.0] - 2026-11-23
9
23
 
10
24
  ### Added
@@ -95,9 +109,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
95
109
  `subagent-settled` notice, which left completed children shown as running for
96
110
  12–21 seconds and could make the brief count look higher than the real
97
111
  concurrency (the pool limit of 3 was never exceeded). A late parent
98
- `agent-end` no longer re-settles or revives a row, re-reading the journal
99
- keeps the terminal state authoritative, and a child re-awakened by its parent
100
- reappears with a fresh run.
112
+ `agent-end` no longer re-settles or revives a row, and a child re-awakened by
113
+ its parent reappears with a fresh run.
114
+
115
+ ## [0.27.1] - 2026-11-23
116
+
117
+ ### Fixed
118
+
119
+ - **A live-settled subagent row can no longer be revived by a journal
120
+ re-read.** 0.27.0 settled a child from its own `turn/end`, but a later
121
+ re-fold of the parent journal that carried only the `subagent/catalog` row
122
+ and no settle notice re-ran the catalog revive rule and put the row back to
123
+ running until the next sweep — visible as a ghost row after `/session`, and
124
+ momentary at turn end. The live settle now registers the same frozen
125
+ terminal snapshot the sweep path uses, so a catalog-only re-fold keeps the
126
+ row terminal. A genuinely new run of the same child still revives: its new
127
+ `childCreatedAt` produces a different run key, which the snapshot does not
128
+ match.
129
+
130
+ ### Changed
131
+
132
+ - **`alt+1` / `alt+2` switch the activity tabs (documentation correction).**
133
+ 0.27.0's notes said the keys were not confirmed in a real terminal. They
134
+ work: on the installed package, `alt+2` shows the todo tab and `alt+1`
135
+ returns to main while the activity panel is the active surface. The earlier
136
+ inconclusive check sent literal `\e2` bytes instead of ESC+2. Two limits
137
+ remain by design/for now: pressing them while an approval dialog owns the
138
+ keyboard is a no-op (the dialog keeps the keys), and while the composer is
139
+ the focused surface the global tab layer is gated off by page ownership, so
140
+ the mouse click or focusing the panel is still the reliable path.
101
141
 
102
142
  ## [0.26.4] - 2026-11-23
103
143
 
@@ -64955,7 +64955,7 @@ var init_subagents_viewer = __esm(() => {
64955
64955
  import { TextAttributes as TextAttributes12 } from "@opentui/core";
64956
64956
  function resolveVersion() {
64957
64957
  try {
64958
- return "0.27.0";
64958
+ return "0.27.2";
64959
64959
  } catch {
64960
64960
  return "dev";
64961
64961
  }
@@ -70094,6 +70094,14 @@ class BridgeSessionSeam {
70094
70094
  const childId = typeof payload.childId === "string" ? payload.childId : "";
70095
70095
  changed = runId === `${BRIDGE_CATALOG_RUN_PREFIX}${childId}` ? this.#foldWithFrozenSettle(BRIDGE_SUBAGENT_CATALOG, payload, now, true) : this.#foldWithFrozenSettle(BRIDGE_AGENT_START, payload, now, true);
70096
70096
  } else if (frame.type === "agent.settle") {
70097
+ const childId = typeof payload.childId === "string" ? payload.childId : "";
70098
+ const existing = childId !== "" ? this.#subagentViews.get(childId) : undefined;
70099
+ if (existing !== undefined && existing.status === "running") {
70100
+ if (this.#subagentSessionId === undefined && frameSession !== "") {
70101
+ this.#subagentSessionId = frameSession;
70102
+ }
70103
+ this.#sweepSettledRuns.set(childId, bridgeChildJournalKey(existing));
70104
+ }
70097
70105
  changed = this.#foldWithFrozenSettle(BRIDGE_AGENT_END, payload, now, true);
70098
70106
  }
70099
70107
  if (changed) {
@@ -72560,5 +72568,5 @@ export {
72560
72568
  themeNameFromConfig
72561
72569
  };
72562
72570
 
72563
- //# debugId=8B06DA5F28BAE23464756E2164756E21
72571
+ //# debugId=9FCC57CFC624180A64756E2164756E21
72564
72572
  //# sourceMappingURL=index.js.map