@xmoon76/dsh-pi-tui 0.4.9 → 0.5.1

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.
@@ -1,6 +1,6 @@
1
+ import { Command } from "commander";
1
2
  import { readFileSync, realpathSync } from "node:fs";
2
3
  import { dirname, join } from "node:path";
3
- import { Command } from "commander";
4
4
  import { parseCmdline } from "@deepseek-ai/dsh-cmdline";
5
5
  //#region src/dsh-compat-matrix.json
6
6
  var dsh_compat_matrix_default = {
@@ -10,19 +10,27 @@ var dsh_compat_matrix_default = {
10
10
  "`dshFrom` is the inclusive lower bound and the next row's `dshFrom` is the exclusive",
11
11
  "upper bound, so the rows are contiguous by construction. A row without `tui` has no",
12
12
  "released compatible TUI (the runtime notice offers the upgrade only). `versions`",
13
- "lists the published DSH versions the row covers, oldest first.",
13
+ "lists the published DSH versions the row covers, oldest first. Historical rows name",
14
+ "PUBLISHED TUI identities; the row covering the current target may instead name the",
15
+ "RESERVED candidate release identity this checkout carries while a promotion line is",
16
+ "being developed and qualified — reservation starts that release line but does not by",
17
+ "itself freeze product scope, and the value becomes an ordinary published fact once",
18
+ "the corresponding release tag is published (see docs/releasing.md). There is deliberately no second",
19
+ "candidate matrix.",
14
20
  "`floor` is the catch-all below the oldest row. `current` describes the line this",
15
- "checkout ships: the floor it imposes, the published DSH target and the recovery",
16
- "wording. Consumed by src/startup.ts (inlined by the bundler) and, through",
17
- "scripts/lib/dsh-compat.mjs, by the release tooling, the installation-doc gate and",
18
- "the release-notes tests."
21
+ "checkout ships: the release line whose identity it reserves (`since`, kept equal to",
22
+ "package.json's version), the runtime floor it imposes, the recommended published DSH",
23
+ "target and the recovery wording. The floor and the target are distinct values and",
24
+ "must stay independently derived. Consumed by src/startup.ts (inlined by the bundler)",
25
+ "and, through scripts/lib/dsh-compat.mjs, by the release tooling, the",
26
+ "installation-doc gate and the release-notes tests."
19
27
  ],
20
28
  current: {
21
- "since": "0.4.9",
22
- "requires": "DeepSeek Harness 0.1.7-rc.2 or later",
23
- "upgradeDsh": "0.1.7-rc.2",
24
- "upgradeCommand": "npm install -g --allow-scripts=@deepseek-ai/dsh-subprocess-local,koffi,node-pty,@google/genai,protobufjs,fs-ext @deepseek-ai/dsh@0.1.7-rc.2",
25
- "guidance": "This 0.4.9 line targets the published DeepSeek Harness 0.1.7-rc.2 distribution (the exact npm family is verified); see docs/dsh-compatibility.md."
29
+ "since": "0.5.1",
30
+ "requires": "DeepSeek Harness 0.2.0-rc.2 or later",
31
+ "upgradeDsh": "0.2.0-rc.2",
32
+ "upgradeCommand": "npm install -g --allow-scripts=@deepseek-ai/dsh-subprocess-local,koffi,node-pty @deepseek-ai/dsh@0.2.0-rc.2",
33
+ "guidance": "This 0.5.1 line requires the published DeepSeek Harness 0.2.0-rc.2 family and is validated against that exact distribution; see docs/dsh-compatibility.md."
26
34
  },
27
35
  floor: {
28
36
  "below": "0.1.0-rc.8",
@@ -93,8 +101,13 @@ var dsh_compat_matrix_default = {
93
101
  },
94
102
  {
95
103
  "dshFrom": "0.1.7-rc.2",
96
- "tui": "0.4.9",
97
- "versions": ["0.1.7-rc.2"]
104
+ "tui": "0.5.0",
105
+ "versions": ["0.1.7-rc.2", "0.2.0-rc.1"]
106
+ },
107
+ {
108
+ "dshFrom": "0.2.0-rc.2",
109
+ "tui": "0.5.1",
110
+ "versions": ["0.2.0-rc.2"]
98
111
  }
99
112
  ]
100
113
  };
@@ -124,7 +137,8 @@ function installedDshVersion() {
124
137
  }
125
138
  } catch {}
126
139
  }
127
- /** Prerelease-aware `a >= b` (semver ordering; mirrors src/dsh-version.ts). */
140
+ /** Prerelease-aware `a >= b` (semver ordering). Startup-local by design: the
141
+ * zero-dependency island never shares a chunk with the runner. */
128
142
  function versionAtLeast(version, minimum) {
129
143
  const parse = (value) => {
130
144
  const [core, prerelease = ""] = value.split("-");
@@ -18,11 +18,13 @@ declare const inject: string[];
18
18
  * it is shown as the fallback version label (`>= <since>`) when the
19
19
  * bundle's own version cannot be read, so the message stays truthful.
20
20
  *
21
- * The 0.4.9 line has a minimum of the published npm release
22
- * dsh-v0.1.7-rc.2. The recovery guidance names the recommended published
23
- * upgrade target and allows its native install scripts. The already-published
24
- * 0.4.7-alpha.2 line keeps its own alpha.2 contract and remains the compatible
25
- * fallback for a dsh-v0.1.6-alpha.2 runtime.
21
+ * The current line has a minimum of the published npm release
22
+ * dsh-v0.2.0-rc.2 (M3-3B: the Question lifecycle consumes rc.2-only
23
+ * published contracts). The recovery guidance names the recommended published
24
+ * upgrade target — which may be NEWER than the floor — and allows its native
25
+ * install scripts. The already-published 0.5.0 line keeps its own
26
+ * rc.1-era contract and remains the compatible fallback for a
27
+ * dsh-v0.2.0-rc.1 runtime.
26
28
  */
27
29
  interface HarnessCompatEntry {
28
30
  /** Inclusive lower bound of the incompatible range; absent = unbounded below. */
package/dist/startup.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { a as harnessCompatEntryFor, c as name, i as bundleVersionLabel, n as TUI_STARTUP_SERVICE, o as incompatibleHarnessMessage, r as apply, s as inject, t as HARNESS_COMPAT } from "./startup-xTIOW90U.mjs";
1
+ import { a as harnessCompatEntryFor, c as name, i as bundleVersionLabel, n as TUI_STARTUP_SERVICE, o as incompatibleHarnessMessage, r as apply, s as inject, t as HARNESS_COMPAT } from "./startup-CmTYVTGC.mjs";
2
2
  export { HARNESS_COMPAT, TUI_STARTUP_SERVICE, apply, bundleVersionLabel, harnessCompatEntryFor, incompatibleHarnessMessage, inject, name };