@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.
- package/README.en.md +75 -13
- package/README.md +65 -11
- package/cordis.patch.yml +13 -0
- package/dist/builtins.mjs +11 -15
- package/dist/extension/advanced.d.mts +1 -1
- package/dist/extension/unstable.d.mts +1 -1
- package/dist/extensions-1WYBUQ8I.mjs +18205 -0
- package/dist/extensions-v3Rf-qJA.d.mts +139 -0
- package/dist/extensions.d.mts +2 -137
- package/dist/extensions.mjs +1 -1
- package/dist/index.d.mts +581 -502
- package/dist/index.mjs +74028 -1
- package/dist/{public-types-YbB5Rhku.d.mts → public-types-BEjj7FEb.d.mts} +39 -5
- package/dist/runtime-CcQyhIvI.mjs +6147 -0
- package/dist/{startup-xTIOW90U.mjs → startup-CmTYVTGC.mjs} +28 -14
- package/dist/startup.d.mts +7 -5
- package/dist/startup.mjs +1 -1
- package/dist/terminal-progress-source-BfiTKDT-.mjs +2349 -0
- package/dist/version-a-eF-QER.mjs +80 -0
- package/package.json +141 -116
- package/dist/keybinding-registry-CjbtRmhd.d.mts +0 -1
- package/dist/src-BAwPimrH.mjs +0 -83282
|
@@ -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
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
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.
|
|
22
|
-
"requires": "DeepSeek Harness 0.
|
|
23
|
-
"upgradeDsh": "0.
|
|
24
|
-
"upgradeCommand": "npm install -g --allow-scripts=@deepseek-ai/dsh-subprocess-local,koffi,node-pty
|
|
25
|
-
"guidance": "This 0.
|
|
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.
|
|
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
|
|
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("-");
|
package/dist/startup.d.mts
CHANGED
|
@@ -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
|
|
22
|
-
* dsh-v0.
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
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-
|
|
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 };
|