@aiwayds/dsh-opentui 0.18.7 → 0.19.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,7 +5,22 @@ 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.18.7] - 2026-11-17
8
+ ## [0.19.0] - 2026-11-17
9
+
10
+ 0.18.7 carried the same code but shipped these lifecycle changes as a patch;
11
+ it is deprecated in favour of 0.19.0.
12
+
13
+ ### BREAKING CHANGES
14
+ - The resident host no longer exits 5s after going idle. It now shuts down
15
+ once the last client exits (2s grace). `DSH_OPENTUI_HOST_IDLE_MS` keeps its
16
+ name but now means "last-one grace override" (default 2000); `0` means
17
+ resident. Scripts that relied on the 5s idle window must set it explicitly.
18
+ - The host registry moved to schema v2. v1 records are treated as legacy and
19
+ never overwritten or signalled; a live v1 host is left for stale cleanup
20
+ only. Tooling that parsed `opentui-host.<profile>.json` must accept
21
+ `version: 2`.
22
+ - `--force` without `--yes` now exits 2 and leaves the host untouched while
23
+ clients are still live. Automation calling `--force` must add `--yes`.
9
24
 
10
25
  ### Changed
11
26
  - One host service per `(DSH_HOME, profile)`, on a port derived from the home
@@ -29,6 +44,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
29
44
  still answers `kill(pid, 0)`, which used to look like "still running" and
30
45
  abort the reset.
31
46
 
47
+ ### Migration
48
+ - Replace 5s-idle assumptions: set `DSH_OPENTUI_HOST_IDLE_MS` explicitly to keep
49
+ the old grace, or `0` for a resident host; the new default is 2000ms.
50
+ - Update tooling reading `opentui-host.<profile>.json` to accept `version: 2`;
51
+ treat leftover v1 records as legacy and let stale cleanup remove them.
52
+ - Add `--yes` to every automation call that uses `--force`, or handle exit 2 and
53
+ leave the host untouched while clients are live.
54
+
32
55
  ## [0.18.6] - 2026-11-17
33
56
 
34
57
  ### Changed
@@ -62418,7 +62418,7 @@ var init_subagents_viewer = __esm(() => {
62418
62418
  import { TextAttributes as TextAttributes12 } from "@opentui/core";
62419
62419
  function resolveVersion() {
62420
62420
  try {
62421
- return "0.18.7";
62421
+ return "0.19.0";
62422
62422
  } catch {
62423
62423
  return "dev";
62424
62424
  }
@@ -66056,5 +66056,5 @@ export {
66056
66056
  themeNameFromConfig
66057
66057
  };
66058
66058
 
66059
- //# debugId=9C6F5AB1601946FA64756E2164756E21
66059
+ //# debugId=5292F041178B90FD64756E2164756E21
66060
66060
  //# sourceMappingURL=index.js.map