@xmoon76/dsh-pi-tui 0.5.7 → 0.5.8
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 +13 -11
- package/README.md +13 -11
- package/dist/{bootstrap-C9nl6e13.mjs → bootstrap-CMIjGyuk.mjs} +532 -416
- package/dist/builtins.mjs +2 -2
- package/dist/{client-bootstrap-CGezi85O.mjs → client-bootstrap-BjGPc-DM.mjs} +826 -3
- package/dist/{daemon-launcher-H_1r5Cqs.mjs → daemon-launcher-Dult7Jxv.mjs} +121 -4
- package/dist/daemon-launcher.mjs +1 -1
- package/dist/{entry-control-jBfKn1qO.mjs → entry-control-DjNsE3I0.mjs} +1 -1
- package/dist/{extensions-6a5vvJUT.mjs → extensions-B4uLpSTv.mjs} +1 -4
- package/dist/extensions.mjs +1 -1
- package/dist/{host-foundation-probe-DK7n5jDu.mjs → host-foundation-probe-DMNTmNrH.mjs} +1 -1
- package/dist/index.mjs +532 -298
- package/dist/{local-acp-listener-CNkguN5-.mjs → local-acp-listener-B65J0Bx4.mjs} +561 -12
- package/dist/local-client.mjs +442 -45
- package/dist/{local-daemon-control-Cu_4FIdd.mjs → local-daemon-control-C14q9KnD.mjs} +5 -2
- package/dist/{local-daemon-control-Bg9s2aYi.mjs → local-daemon-control-TCnERL7n.mjs} +3 -3
- package/dist/{local-discovery-Bq3jLAn1.mjs → local-discovery-DOSsCh9q.mjs} +1 -1
- package/dist/{local-discovery-BMoNXZjJ.mjs → local-discovery-egN4_gsQ.mjs} +1 -1
- package/dist/{local-discovery-BPZw1wEd.mjs → local-discovery-uOBfFq5j.mjs} +1 -1
- package/dist/local-host.mjs +24 -6
- package/dist/local-profile-daemon-admin-BmQSdzT0.mjs +210 -0
- package/dist/{local-scope-DEuGAy8l.mjs → local-scope-DamiMqPd.mjs} +118 -1
- package/dist/{local-transport-X4ZCe2uE.mjs → local-transport-Iwo0mtu3.mjs} +2 -2
- package/dist/{local-web-control-DKWtXIkr.mjs → local-web-control-DMrjwCkl.mjs} +2 -2
- package/dist/{session-DC0XQr5O.mjs → session-C6tSs86s.mjs} +2 -2
- package/dist/{session-Cihe8PPS.mjs → session-CstInGIA.mjs} +1 -1
- package/dist/{startup-CARqn3kV.mjs → startup-EG5UqIcd.mjs} +3 -3
- package/dist/startup.mjs +1 -1
- package/dist/{terminal-progress-source-D4DHyXDo.mjs → terminal-progress-source-CpfpQO_h.mjs} +3 -6
- package/dist/{transcript-view-hvNVkPtv.mjs → transcript-view-C1YtJ49Y.mjs} +191 -192
- package/dist/{transcript-view-a7cROAaI.mjs → transcript-view-CuJYWkhp.mjs} +190 -191
- package/package.json +6 -6
- package/dist/local-profile-daemon-admin-AXgVH-6y.mjs +0 -91
package/dist/local-host.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { d as readInstalledDshVersion, h as scopeFromInstalledProfile, m as removeOwnedScratch, n as LocalScopeError, o as bindProfileKernelSeat, t as LOCAL_PROTOCOL, u as installedPackageRootFromEntry } from "./local-scope-
|
|
3
|
-
import { n as createEntryDiag, r as writeEntryRecord, t as attachEntryControl } from "./entry-control-
|
|
2
|
+
import { d as readInstalledDshVersion, h as scopeFromInstalledProfile, m as removeOwnedScratch, n as LocalScopeError, o as bindProfileKernelSeat, t as LOCAL_PROTOCOL, u as installedPackageRootFromEntry } from "./local-scope-DamiMqPd.mjs";
|
|
3
|
+
import { n as createEntryDiag, r as writeEntryRecord, t as attachEntryControl } from "./entry-control-DjNsE3I0.mjs";
|
|
4
4
|
import { t as PI_TUI_WEB_ACCESS_ROWS } from "./web-roster-Dis7BhrA.mjs";
|
|
5
5
|
import { i as runDetached } from "./tasks-D_z5Yjjr.mjs";
|
|
6
6
|
import { r as PI_TUI_WEB_ACCESS_NAMESPACE } from "./pi-tui-web-access-contract-BN8Cc_Ho.mjs";
|
|
7
7
|
import { n as createWorkspaceObjectHandler, t as LOCAL_WORKSPACE_OBJECT_ROUTE } from "./local-workspace-object-D06GL0UO.mjs";
|
|
8
|
-
import { a as ACP_IMAGE_MEDIA_TYPES, c as
|
|
9
|
-
import { a as buildHostInstanceRecord, d as readHostProcessIdentity, o as cleanupOwnedFiles, r as assertRecordedHostKernelIdentityCurrent } from "./local-discovery-
|
|
8
|
+
import { a as ACP_IMAGE_MEDIA_TYPES, c as LOCAL_ACP_STATUS_ROUTE, i as startLocalAcpListener, l as createLocalAcpStatusHandler, o as AcpSessionViewRegistry, r as parseAcpMaxConnections, s as AcpSessionModelService, t as LocalAcpError } from "./local-acp-listener-B65J0Bx4.mjs";
|
|
9
|
+
import { a as buildHostInstanceRecord, d as readHostProcessIdentity, o as cleanupOwnedFiles, r as assertRecordedHostKernelIdentityCurrent } from "./local-discovery-DOSsCh9q.mjs";
|
|
10
10
|
import { createRequire } from "node:module";
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
12
12
|
import { existsSync, mkdtempSync, realpathSync, writeFileSync } from "node:fs";
|
|
@@ -897,7 +897,23 @@ function createHostAcpSessionAccess(context) {
|
|
|
897
897
|
const attachments = context.reflect.get("attachments");
|
|
898
898
|
const llm = context.reflect.get("llm");
|
|
899
899
|
const agentDefaultModel = context.reflect.get("agentDefaultModel");
|
|
900
|
-
if (workspaceController === void 0 || sessionController === void 0 || agents === void 0 || sessions === void 0) throw new Error("local host entry: the Host ACP Session View requires the live workspaceController, sessionController, agents and
|
|
900
|
+
if (workspaceController === void 0 || sessionController === void 0 || agents === void 0 || sessions === void 0 || llm === void 0) throw new Error("local host entry: the Host ACP Session View requires the live workspaceController, sessionController, agents, sessions and llm services");
|
|
901
|
+
if (typeof sessionController.modelCatalog !== "function") throw new Error("local host entry: the Host ACP Session View requires the official sessionController.modelCatalog service");
|
|
902
|
+
const modelService = new AcpSessionModelService({
|
|
903
|
+
modelCatalog: async () => await sessionController.modelCatalog(),
|
|
904
|
+
listProviders: () => llm.listProviders(),
|
|
905
|
+
listModels: async (providerId) => await llm.listModels(providerId),
|
|
906
|
+
resolveCallConfig: async (selection, signal) => {
|
|
907
|
+
const resolved = await llm.resolveCallConfig(selection, signal);
|
|
908
|
+
return {
|
|
909
|
+
provider: resolved.provider,
|
|
910
|
+
model: resolved.model,
|
|
911
|
+
...resolved.reasoningEffort === void 0 ? {} : { reasoningEffort: resolved.reasoningEffort }
|
|
912
|
+
};
|
|
913
|
+
},
|
|
914
|
+
currentAgent: (sessionId) => agents.get(sessionId),
|
|
915
|
+
currentSession: (sessionId) => sessions.get(sessionId)
|
|
916
|
+
});
|
|
901
917
|
return {
|
|
902
918
|
async createWorkspace(path) {
|
|
903
919
|
try {
|
|
@@ -941,6 +957,8 @@ function createHostAcpSessionAccess(context) {
|
|
|
941
957
|
resolveAgent: (sessionId) => sessionController.resolveAgent(sessionId),
|
|
942
958
|
currentAgent: (sessionId) => agents.get(sessionId),
|
|
943
959
|
currentSession: (sessionId) => sessions.get(sessionId),
|
|
960
|
+
modelOptions: async (agent, session) => await modelService.readOptions(agent, session),
|
|
961
|
+
selectModelOnly: async (agent, session, request, signal, stillCurrent) => await modelService.selectSessionOnly(agent, session, request, signal, stillCurrent),
|
|
944
962
|
imageLimits: () => attachments?.imageLimits,
|
|
945
963
|
readOutputImage: async (ref, signal) => {
|
|
946
964
|
if (attachments === void 0) throw new Error("local host entry: no official attachment store can read a committed output image");
|
|
@@ -1292,7 +1310,7 @@ async function publishLocalHost(context, scope, hostIdentity, seat, acpControlle
|
|
|
1292
1310
|
const connectUrl = connection.authenticatedUrl(`${origin}/connect`);
|
|
1293
1311
|
const connectProbe = new URL(connectUrl);
|
|
1294
1312
|
if (connectProbe.origin !== origin || connectProbe.pathname !== "/connect" || connectProbe.searchParams.getAll("token").length !== 1 || [...connectProbe.searchParams.keys()].length !== 1) throw new Error("local host entry: the Connection owner returned an unexpected launch URL");
|
|
1295
|
-
const { writeLaunchMaterial, writeLocalRecord } = await import("./local-discovery-
|
|
1313
|
+
const { writeLaunchMaterial, writeLocalRecord } = await import("./local-discovery-egN4_gsQ.mjs");
|
|
1296
1314
|
writeLaunchMaterial(scope, identity, {
|
|
1297
1315
|
schema: 1,
|
|
1298
1316
|
instanceId,
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { d as readInstalledDshVersion } from "./local-scope-DamiMqPd.mjs";
|
|
2
|
+
import "./entry-control-DjNsE3I0.mjs";
|
|
3
|
+
import { o as safeErrorMessage } from "./tasks-D_z5Yjjr.mjs";
|
|
4
|
+
import { createRequire } from "node:module";
|
|
5
|
+
import { closeSync, mkdirSync, openSync, readFileSync, realpathSync, writeSync } from "node:fs";
|
|
6
|
+
import { dirname, join } from "node:path";
|
|
7
|
+
import "node:url";
|
|
8
|
+
import { homedir } from "node:os";
|
|
9
|
+
import "node:child_process";
|
|
10
|
+
//#region src/runtime/process/diagnostics.ts
|
|
11
|
+
/**
|
|
12
|
+
* Structured process diagnostics for the TUI.
|
|
13
|
+
*
|
|
14
|
+
* The TUI cannot rely on `ctx.logger` for human-visible troubleshooting:
|
|
15
|
+
* no dsh server-side package registers a logger exporter, so those lines
|
|
16
|
+
* only fill cordis's in-memory buffer. This module owns a dedicated
|
|
17
|
+
* diagnostics channel instead — one line per event, written to stderr
|
|
18
|
+
* (warn/error by default, matching the legacy `[tui]` fd-2 lines) and to a
|
|
19
|
+
* log file (info by default) under `$DSH_HOME/logs/`.
|
|
20
|
+
*
|
|
21
|
+
* Configuration (env):
|
|
22
|
+
* - `DSH_PI_TUI_LOG` — log file path, or `off` to disable the file sink.
|
|
23
|
+
* - `DSH_PI_TUI_LOG_LEVEL` — one of debug/info/warn/error (default `info`).
|
|
24
|
+
*
|
|
25
|
+
* Writes are best-effort and never throw; a failed file sink is disabled
|
|
26
|
+
* silently so diagnostics can never take the TUI down.
|
|
27
|
+
* @module @xmoon76/dsh-pi-tui/runtime/process/diagnostics
|
|
28
|
+
*/
|
|
29
|
+
const LEVEL_RANK = {
|
|
30
|
+
debug: 0,
|
|
31
|
+
info: 1,
|
|
32
|
+
warn: 2,
|
|
33
|
+
error: 3
|
|
34
|
+
};
|
|
35
|
+
/** `2026-08-15T10:00:00.000+08:00` — local wall time with the zone offset. */
|
|
36
|
+
function formatDiagTime(date) {
|
|
37
|
+
const pad = (value, width = 2) => String(value).padStart(width, "0");
|
|
38
|
+
const offsetMinutes = -date.getTimezoneOffset();
|
|
39
|
+
const offset = `${offsetMinutes >= 0 ? "+" : "-"}${pad(Math.floor(Math.abs(offsetMinutes) / 60))}:${pad(Math.abs(offsetMinutes) % 60)}`;
|
|
40
|
+
return `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}T${pad(date.getHours())}:${pad(date.getMinutes())}:${pad(date.getSeconds())}.${pad(date.getMilliseconds(), 3)}${offset}`;
|
|
41
|
+
}
|
|
42
|
+
/** Render a single field value for the `k=v` line format. */
|
|
43
|
+
function formatField(value) {
|
|
44
|
+
if (typeof value === "string") return value;
|
|
45
|
+
if (typeof value === "number" || typeof value === "boolean" || value === null || value === void 0) return String(value);
|
|
46
|
+
try {
|
|
47
|
+
return JSON.stringify(value) ?? String(value);
|
|
48
|
+
} catch {
|
|
49
|
+
return safeErrorMessage(value);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
/** The dsh home directory (`$DSH_HOME`, defaulting to `~/.dsh`). */
|
|
53
|
+
function dshHome(env) {
|
|
54
|
+
const explicit = env.DSH_HOME;
|
|
55
|
+
if (explicit !== void 0 && explicit !== "") return explicit;
|
|
56
|
+
return join(homedir(), ".dsh");
|
|
57
|
+
}
|
|
58
|
+
/** Build the default diagnostics log path: `$DSH_HOME/logs/pi-tui-<pid>.log`. */
|
|
59
|
+
function defaultDiagLogPath(env) {
|
|
60
|
+
const configured = env.DSH_PI_TUI_LOG;
|
|
61
|
+
if (configured === "off" || configured === "") return void 0;
|
|
62
|
+
if (configured !== void 0) return configured;
|
|
63
|
+
return join(dshHome(env), "logs", `pi-tui-${process.pid}.log`);
|
|
64
|
+
}
|
|
65
|
+
/** Resolve the effective file level from `DSH_PI_TUI_LOG_LEVEL`. */
|
|
66
|
+
function diagLevelFromEnv(env) {
|
|
67
|
+
const configured = env.DSH_PI_TUI_LOG_LEVEL;
|
|
68
|
+
if (configured === "debug" || configured === "info" || configured === "warn" || configured === "error") return configured;
|
|
69
|
+
return "info";
|
|
70
|
+
}
|
|
71
|
+
/** Create the diagnostics channel from the process environment. */
|
|
72
|
+
function diagFromEnv(env) {
|
|
73
|
+
return createDiag({
|
|
74
|
+
fileLevel: diagLevelFromEnv(env),
|
|
75
|
+
filePath: defaultDiagLogPath(env)
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
/** Create one diagnostics channel. Writes are best-effort, never throw. */
|
|
79
|
+
function createDiag(options = {}) {
|
|
80
|
+
const fileLevel = options.fileLevel ?? "info";
|
|
81
|
+
const stderrLevel = options.stderrLevel ?? "warn";
|
|
82
|
+
const now = options.now ?? (() => /* @__PURE__ */ new Date());
|
|
83
|
+
const sinks = [...options.sinks ?? []];
|
|
84
|
+
let fileHandle;
|
|
85
|
+
let fileDisabled = false;
|
|
86
|
+
if (options.filePath !== void 0) try {
|
|
87
|
+
const dir = options.filePath.slice(0, Math.max(options.filePath.lastIndexOf("/"), 0));
|
|
88
|
+
if (dir !== "") mkdirSync(dir, { recursive: true });
|
|
89
|
+
fileHandle = openSync(options.filePath, "a");
|
|
90
|
+
} catch {
|
|
91
|
+
fileDisabled = true;
|
|
92
|
+
}
|
|
93
|
+
const emit = (level, message, fields) => {
|
|
94
|
+
const stamp = formatDiagTime(now());
|
|
95
|
+
const suffix = fields === void 0 ? "" : ` ${Object.entries(fields).map(([key, value]) => `${key}=${formatField(value)}`).join(" ")}`;
|
|
96
|
+
const line = `[tui] ${stamp} ${level.toUpperCase()} ${message}${suffix}\n`;
|
|
97
|
+
for (const sink of sinks) try {
|
|
98
|
+
sink.write(line);
|
|
99
|
+
} catch {}
|
|
100
|
+
if (stderrLevel !== "off" && LEVEL_RANK[level] >= LEVEL_RANK[stderrLevel]) try {
|
|
101
|
+
writeSync(2, line);
|
|
102
|
+
} catch {}
|
|
103
|
+
if (fileHandle !== void 0 && !fileDisabled && LEVEL_RANK[level] >= LEVEL_RANK[fileLevel]) try {
|
|
104
|
+
writeSync(fileHandle, line);
|
|
105
|
+
} catch {
|
|
106
|
+
fileDisabled = true;
|
|
107
|
+
try {
|
|
108
|
+
writeSync(2, `[tui] ${formatDiagTime(now())} WARN diag file sink disabled\n`);
|
|
109
|
+
} catch {}
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
return {
|
|
113
|
+
debug: (message, fields) => emit("debug", message, fields),
|
|
114
|
+
info: (message, fields) => emit("info", message, fields),
|
|
115
|
+
warn: (message, fields) => emit("warn", message, fields),
|
|
116
|
+
error: (message, fields) => emit("error", message, fields),
|
|
117
|
+
dispose: () => {
|
|
118
|
+
if (fileHandle !== void 0) {
|
|
119
|
+
try {
|
|
120
|
+
closeSync(fileHandle);
|
|
121
|
+
} catch {}
|
|
122
|
+
fileHandle = void 0;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
//#endregion
|
|
128
|
+
//#region src/app/remote-process/daemon-launcher.ts
|
|
129
|
+
/**
|
|
130
|
+
* Resolve this installed bundle's package root through the OFFICIAL profile
|
|
131
|
+
* resolution. The launcher module itself may be reached through a symlinked
|
|
132
|
+
* `dist`, so its own module URL is not a reliable package-root locator.
|
|
133
|
+
* Exported for the M6 UX PR2 Direct-side admin port, which must reuse the SAME
|
|
134
|
+
* official Profile resolution as this CLI path — never a second copy.
|
|
135
|
+
*/
|
|
136
|
+
function resolveProfilePackageRoot(profileDir) {
|
|
137
|
+
let manifestPath;
|
|
138
|
+
try {
|
|
139
|
+
manifestPath = createRequire(join(profileDir, "package.json")).resolve("@xmoon76/dsh-pi-tui/package.json");
|
|
140
|
+
} catch (error) {
|
|
141
|
+
throw new Error("pi-tui daemon launcher: the official profile does not resolve the installed @xmoon76/dsh-pi-tui", { cause: error });
|
|
142
|
+
}
|
|
143
|
+
const root = realpathSync(dirname(manifestPath));
|
|
144
|
+
let manifest;
|
|
145
|
+
try {
|
|
146
|
+
manifest = JSON.parse(readFileSync(join(root, "package.json"), "utf8"));
|
|
147
|
+
} catch (error) {
|
|
148
|
+
throw new Error("pi-tui daemon launcher: the installed package manifest is not readable", { cause: error });
|
|
149
|
+
}
|
|
150
|
+
if (manifest === null || typeof manifest !== "object" || manifest.name !== "@xmoon76/dsh-pi-tui") throw new Error("pi-tui daemon launcher: the official profile resolves a different package");
|
|
151
|
+
return root;
|
|
152
|
+
}
|
|
153
|
+
//#endregion
|
|
154
|
+
//#region src/app/remote-process/local-profile-daemon-admin.ts
|
|
155
|
+
/**
|
|
156
|
+
* Bind the EXACT official Profile facts to the existing control plane.
|
|
157
|
+
*
|
|
158
|
+
* The profile is captured by value here: callers pass the profile their process
|
|
159
|
+
* composition already verified (the Host `profileContext` on Direct, the split
|
|
160
|
+
* Client entry's official `profileDir`/`dshHome`/`packageRoot`/anchor facts on
|
|
161
|
+
* Daemon). Nothing is re-resolved from argv, cwd or an environment guess later.
|
|
162
|
+
* @param profile - the official Profile facts this process belongs to.
|
|
163
|
+
* @param deps - the bound run seam.
|
|
164
|
+
* @returns the port the Settings follow-up and the final exit root consume.
|
|
165
|
+
*/
|
|
166
|
+
function createProfileDaemonAdmin(profile, deps) {
|
|
167
|
+
const bound = Object.freeze({ ...profile });
|
|
168
|
+
return Object.freeze({
|
|
169
|
+
profile: bound.name,
|
|
170
|
+
run: (verb) => deps.run(verb)
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* The production run seam for ONE official Profile. The existing
|
|
175
|
+
* `local-daemon-control` module is imported lazily so that neither a cold
|
|
176
|
+
* launch nor a Settings read pulls the OS managers into the process graph; it
|
|
177
|
+
* also keeps `src/app/bootstrap.ts` free of a static manager dependency.
|
|
178
|
+
* @param profile - the official Profile facts.
|
|
179
|
+
* @returns the unbound run function the port is built over.
|
|
180
|
+
*/
|
|
181
|
+
function profileDaemonAdminRun(profile, deps = {}) {
|
|
182
|
+
return async (verb) => {
|
|
183
|
+
const { runDaemonControl } = await import("./local-daemon-control-TCnERL7n.mjs");
|
|
184
|
+
return await runDaemonControl({ verb }, profile, deps);
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Resolve the Direct-side admin Profile from the SAME official Host
|
|
189
|
+
* `profileContext` the CLI cold-control path consumes, with the SAME
|
|
190
|
+
* installed-package resolution (`daemon-launcher.resolveProfilePackageRoot` +
|
|
191
|
+
* `readInstalledDshVersion`). This proves the local install capability WITHOUT
|
|
192
|
+
* loading the OS managers: it reads the profile manifest and the installed DSH
|
|
193
|
+
* version only, never a Host/manager probe.
|
|
194
|
+
* @param profileContext - the official Host profile facts.
|
|
195
|
+
* @returns the bound Profile facts, or `undefined` when the installed profile
|
|
196
|
+
* cannot be proven — the caller then offers no install/stop action (fail
|
|
197
|
+
* closed) instead of falling back to a guessed identity.
|
|
198
|
+
*/ function resolveDirectDaemonAdminProfile(profileContext) {
|
|
199
|
+
const packageRoot = resolveProfilePackageRoot(profileContext.dir);
|
|
200
|
+
return {
|
|
201
|
+
name: profileContext.name,
|
|
202
|
+
dir: profileContext.dir,
|
|
203
|
+
home: profileContext.home,
|
|
204
|
+
installAnchor: profileContext.installAnchor,
|
|
205
|
+
packageRoot,
|
|
206
|
+
dshVersion: readInstalledDshVersion(profileContext.installAnchor)
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
//#endregion
|
|
210
|
+
export { dshHome as a, diagFromEnv as i, profileDaemonAdminRun as n, resolveDirectDaemonAdminProfile as r, createProfileDaemonAdmin as t };
|
|
@@ -54,6 +54,121 @@ function decimal(value) {
|
|
|
54
54
|
throw new Error(`expected an exact 64-bit integer, got ${String(value)}`);
|
|
55
55
|
}
|
|
56
56
|
let loaded;
|
|
57
|
+
/** One installed `@deepseek-ai/dsh` manifest, or undefined when the path is
|
|
58
|
+
* unreadable, malformed, or belongs to another package. The name check is
|
|
59
|
+
* load-bearing: `createRequire` would otherwise walk into an unrelated ancestor
|
|
60
|
+
* `node_modules` and silently borrow a Koffi copy that does not belong to the
|
|
61
|
+
* running DSH installation. */
|
|
62
|
+
function installedDshManifest(path) {
|
|
63
|
+
try {
|
|
64
|
+
const real = realpathSync(path);
|
|
65
|
+
const manifest = JSON.parse(readFileSync(real, "utf8"));
|
|
66
|
+
if (manifest === null || typeof manifest !== "object" || Array.isArray(manifest)) return void 0;
|
|
67
|
+
const record = manifest;
|
|
68
|
+
return record.name === "@deepseek-ai/dsh" && typeof record.version === "string" && record.version !== "" ? real : void 0;
|
|
69
|
+
} catch {
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* The installed `@deepseek-ai/dsh/package.json` this process runs on.
|
|
75
|
+
*
|
|
76
|
+
* A real Direct launcher entry (`process.argv[1]`) identifies its own installed
|
|
77
|
+
* DSH package and always wins over an inherited environment anchor: a shell or
|
|
78
|
+
* tool child of a Split Host inherits SPLIT_PROCESS_DSH_ANCHOR, but a Direct
|
|
79
|
+
* `dsh` CLI started from it must use the installation executing that CLI.
|
|
80
|
+
* Only a Split Host/Client entry, whose argv[1] is the product's own
|
|
81
|
+
* local-host/local-client script, falls back to the launcher-verified
|
|
82
|
+
* SPLIT_PROCESS_DSH_ANCHOR. No NODE_PATH, profile node_modules or source tree
|
|
83
|
+
* is consulted.
|
|
84
|
+
*/
|
|
85
|
+
function installedDshAnchor() {
|
|
86
|
+
const entry = process.argv[1];
|
|
87
|
+
if (entry !== void 0) try {
|
|
88
|
+
let dir = dirname(realpathSync(entry));
|
|
89
|
+
for (let depth = 0; depth < 8; depth += 1) {
|
|
90
|
+
const anchor = installedDshManifest(join(dir, "package.json"));
|
|
91
|
+
if (anchor !== void 0) return anchor;
|
|
92
|
+
const parent = dirname(dir);
|
|
93
|
+
if (parent === dir) break;
|
|
94
|
+
dir = parent;
|
|
95
|
+
}
|
|
96
|
+
} catch {}
|
|
97
|
+
const provided = process.env.SPLIT_PROCESS_DSH_ANCHOR;
|
|
98
|
+
return provided !== void 0 && provided !== "" ? installedDshManifest(provided) : void 0;
|
|
99
|
+
}
|
|
100
|
+
/** The nearest `node_modules` directory above a package directory. */
|
|
101
|
+
function nearestModuleRoot(packageDir) {
|
|
102
|
+
for (let dir = packageDir;; dir = dirname(dir)) {
|
|
103
|
+
if (basename(dir) === "node_modules") return dir;
|
|
104
|
+
const parent = dirname(dir);
|
|
105
|
+
if (parent === dir) return void 0;
|
|
106
|
+
dir = parent;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
function isInside(path, root) {
|
|
110
|
+
return path === root || path.startsWith(`${root}${sep}`);
|
|
111
|
+
}
|
|
112
|
+
/** Prove a resolved dependency belongs to its owner's installation closure.
|
|
113
|
+
*
|
|
114
|
+
* npm keeps sibling dependencies in the owner's nearest `node_modules`. pnpm
|
|
115
|
+
* keeps every package in a shared virtual store (`.mise` in the mise install
|
|
116
|
+
* and `.pnpm` in a project install), with each package in its own
|
|
117
|
+
* `<name>@<version>/node_modules` directory. Any other ancestor `node_modules`
|
|
118
|
+
* is an accidental hoist and must not supply a dependency. */
|
|
119
|
+
function assertInstallClosure(ownerDir, dependencyDir, label) {
|
|
120
|
+
const nearest = nearestModuleRoot(ownerDir);
|
|
121
|
+
if (nearest !== void 0 && isInside(dependencyDir, nearest)) return;
|
|
122
|
+
for (let dir = ownerDir;; dir = dirname(dir)) {
|
|
123
|
+
if ((basename(dir) === ".mise" || basename(dir) === ".pnpm") && isInside(dependencyDir, dir)) return;
|
|
124
|
+
const parent = dirname(dir);
|
|
125
|
+
if (parent === dir) break;
|
|
126
|
+
dir = parent;
|
|
127
|
+
}
|
|
128
|
+
throw new Error(`native process identity: ${label} resolved outside the installed DSH module tree`);
|
|
129
|
+
}
|
|
130
|
+
/** Read one JSON package manifest as an object, or undefined when unreadable. */
|
|
131
|
+
function readManifestObject(path) {
|
|
132
|
+
try {
|
|
133
|
+
const manifest = JSON.parse(readFileSync(realpathSync(path), "utf8"));
|
|
134
|
+
if (manifest === null || typeof manifest !== "object" || Array.isArray(manifest)) return void 0;
|
|
135
|
+
return manifest;
|
|
136
|
+
} catch {
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
/** Require one dependency declaration from an owner manifest. */
|
|
141
|
+
function assertDeclaredDependency(manifest, name, label) {
|
|
142
|
+
const dependencies = manifest.dependencies;
|
|
143
|
+
const declared = dependencies !== null && typeof dependencies === "object" && !Array.isArray(dependencies) ? dependencies[name] : void 0;
|
|
144
|
+
if (typeof declared !== "string" || declared === "") throw new Error(`native process identity: ${label} does not declare ${name}`);
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Resolve the Koffi entry owned by the running DSH installation:
|
|
148
|
+
* DSH anchor -> `@deepseek-ai/dsh-subprocess-local` manifest -> that package's
|
|
149
|
+
* own `koffi` dependency. The TUI never resolves Koffi from its own package, a
|
|
150
|
+
* profile, or an ambient module path.
|
|
151
|
+
*
|
|
152
|
+
* The owner's declared dependency selects the implementation; this code does
|
|
153
|
+
* not pin or compare a Koffi version, because the running DSH installation owns
|
|
154
|
+
* that choice and an upgrade must not be rejected only for a different version
|
|
155
|
+
* number. The ABI/struct-size checks in loadBridge decide actual compatibility.
|
|
156
|
+
*/
|
|
157
|
+
function resolveDshKoffi(anchor) {
|
|
158
|
+
const manifest = installedDshManifest(anchor);
|
|
159
|
+
if (manifest === void 0) throw new Error("native process identity: the DSH anchor is not an installed @deepseek-ai/dsh manifest");
|
|
160
|
+
const dshDir = dirname(manifest);
|
|
161
|
+
const subprocessManifest = realpathSync(createRequire(manifest).resolve("@deepseek-ai/dsh-subprocess-local/package.json"));
|
|
162
|
+
const subprocessDir = dirname(subprocessManifest);
|
|
163
|
+
assertInstallClosure(dshDir, subprocessDir, "@deepseek-ai/dsh-subprocess-local");
|
|
164
|
+
const subprocess = readManifestObject(subprocessManifest);
|
|
165
|
+
if (subprocess?.name !== "@deepseek-ai/dsh-subprocess-local") throw new Error("native process identity: the resolved subprocess manifest is not @deepseek-ai/dsh-subprocess-local");
|
|
166
|
+
assertDeclaredDependency(subprocess, "koffi", "@deepseek-ai/dsh-subprocess-local");
|
|
167
|
+
const koffiEntry = realpathSync(createRequire(subprocessManifest).resolve("koffi"));
|
|
168
|
+
assertInstallClosure(subprocessDir, dirname(koffiEntry), "koffi");
|
|
169
|
+
if (readManifestObject(join(dirname(koffiEntry), "package.json"))?.name !== "koffi") throw new Error("native process identity: the resolved koffi is not the koffi package");
|
|
170
|
+
return koffiEntry;
|
|
171
|
+
}
|
|
57
172
|
/** Load and ABI-check the Darwin bridge once per process. The loader itself
|
|
58
173
|
* never throws: an unavailable dylib/addon or an unexpected struct size is a
|
|
59
174
|
* classified observation, and the caller fails closed. */
|
|
@@ -61,7 +176,9 @@ function loadBridge() {
|
|
|
61
176
|
if (loaded !== void 0) return loaded;
|
|
62
177
|
let result;
|
|
63
178
|
try {
|
|
64
|
-
const
|
|
179
|
+
const anchor = installedDshAnchor();
|
|
180
|
+
if (anchor === void 0) throw new Error("native process identity: no installed DSH anchor");
|
|
181
|
+
const koffi = createRequire(import.meta.url)(resolveDshKoffi(anchor));
|
|
65
182
|
const libproc = koffi.load(LIBPROC);
|
|
66
183
|
const libsystem = koffi.load(LIBSYSTEM);
|
|
67
184
|
const bsdInfo = koffi.struct({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as LocalScopeError } from "./local-scope-
|
|
1
|
+
import { n as LocalScopeError } from "./local-scope-DamiMqPd.mjs";
|
|
2
2
|
import { i as runDetached } from "./tasks-D_z5Yjjr.mjs";
|
|
3
|
-
import { f as readLaunchMaterial, m as sameLocalInstanceRecord, p as readLocalRecord, r as assertRecordedHostKernelIdentityCurrent, s as connectForCookie } from "./local-discovery-
|
|
3
|
+
import { f as readLaunchMaterial, m as sameLocalInstanceRecord, p as readLocalRecord, r as assertRecordedHostKernelIdentityCurrent, s as connectForCookie } from "./local-discovery-DOSsCh9q.mjs";
|
|
4
4
|
import { t as mergeCause } from "./dispose-cause-CNFuUnjR.mjs";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import { realpathSync } from "node:fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as openerFor } from "./open-CmOBxSjN.mjs";
|
|
2
|
-
import { v as inspectInstalledProfileScope } from "./daemon-launcher-
|
|
3
|
-
import { a as inspectHostProcess, n as assertRecordedHostKernelIdentityCurrent, o as readLocalRecord, r as authenticateLocalHost, s as sameLocalInstanceRecord, t as assertClientHostCompatible } from "./local-discovery-
|
|
2
|
+
import { v as inspectInstalledProfileScope } from "./daemon-launcher-Dult7Jxv.mjs";
|
|
3
|
+
import { a as inspectHostProcess, n as assertRecordedHostKernelIdentityCurrent, o as readLocalRecord, r as authenticateLocalHost, s as sameLocalInstanceRecord, t as assertClientHostCompatible } from "./local-discovery-uOBfFq5j.mjs";
|
|
4
4
|
import { spawn } from "node:child_process";
|
|
5
5
|
//#region src/app/remote-process/local-web-control-route.ts
|
|
6
6
|
/** The one Owner-only authenticated route of the headless Web CLI. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { H as cancellationError } from "./prompt-sections-DUKmWb8g.mjs";
|
|
2
|
-
import { $ as effectiveWorkflowRunOpen, $r as customItemName, Ar as FILE_ARGUMENT_COMMANDS, At as isTaskItemActive, Bn as createBuiltinFooterRegistry, Dn as workspaceKey, E as FocusTimingStore, Et as buildSessionWorkspaceView, Fn as pickWelcomeWhaleVariant, Fr as attachmentCountLabel, Hn as tasksItem, Jn as QUEUE_CHORDS, Kn as HISTORY_CHORDS, Kr as TSP_FOOTER_NOTICES, L as projectTranscriptStructure, Ln as welcomeWhaleGradientColors, M as consecutiveTurnGroup, N as focusProjectionTurnOf, Nn as shortSessionId, Ot as visibleWorkspaceBrowserRows, P as projectFocus, Q as effectiveWorkflowPhaseOpen, Qn as TSP_CONTINUED_INSPECTION_LABEL, Rn as welcomeWhalePlainLines, S as pastedBodySpan, Tn as sanitizeTerminalText, Tt as SESSION_SOURCE_LABEL, Z as advanceWorkflowDisclosureState, _ as VISUAL_COPY_ROLE, a as dockDraftImageNodes, ar as formatKeyId, b as publishedVisualTitle,
|
|
2
|
+
import { $ as effectiveWorkflowRunOpen, $r as customItemName, Ar as FILE_ARGUMENT_COMMANDS, At as isTaskItemActive, Bn as createBuiltinFooterRegistry, Dn as workspaceKey, E as FocusTimingStore, Et as buildSessionWorkspaceView, Fn as pickWelcomeWhaleVariant, Fr as attachmentCountLabel, Hn as tasksItem, Jn as QUEUE_CHORDS, Kn as HISTORY_CHORDS, Kr as TSP_FOOTER_NOTICES, L as projectTranscriptStructure, Ln as welcomeWhaleGradientColors, M as consecutiveTurnGroup, N as focusProjectionTurnOf, Nn as shortSessionId, Or as sanitizeDisplaySegment, Ot as visibleWorkspaceBrowserRows, P as projectFocus, Q as effectiveWorkflowPhaseOpen, Qn as TSP_CONTINUED_INSPECTION_LABEL, Rn as welcomeWhalePlainLines, S as pastedBodySpan, Tn as sanitizeTerminalText, Tr as sanitizedPhysicalLine, Tt as SESSION_SOURCE_LABEL, Z as advanceWorkflowDisclosureState, _ as VISUAL_COPY_ROLE, a as dockDraftImageNodes, ar as formatKeyId, b as publishedVisualTitle, bt as assistantVisualPresentation, c as imageRefProblem, ct as stripAtQuotes, d as visibleTranscriptMembers, dr as PROVIDER_DEFAULT, dt as splitTokenRemainder, er as TSP_SEARCH_CHORD_LABEL, fr as effortChoicesOf, ft as extractInlineSkillPrefix, hr as projectModelDirectory, i as describeTranscriptMainBlocksForPreset, jn as sanitizeSessionSearchInput, kr as sanitizeDisplayText, kt as workspaceRowStatusLabel, l as toolRowImageBlocks, lr as isBuiltInPresetRow, lt as isOpenQuotedToken, m as transcriptCopyPayload, n as TranscriptNodeKeys, nr as TSP_VISUAL_COPY_LABEL, o as imageDisplayName, ot as createInstalledAutocompleteProvider, p as TRANSCRIPT_COPY_ACTION, pr as initialEffortOf, r as describeTranscriptMainBlocks, rr as TSP_VISUAL_SELECT_LABEL, rt as workflowRunViewAllVisible, sr as matchesKeyId, st as classifyFileCompletionContext, tr as TSP_VISUAL_CHORDS, tt as workflowPhasePresentations, ur as presetDisplayText, ut as splitQueryRemainder, v as VISUAL_FIGURE_KEY_PREFIX, vt as createHistoryRecallScope, wi as isSurfacedInteractionTool, wn as formatSessionAge, wt as SESSION_PENDING_LABEL, x as PasteRangeTracker, y as VISUAL_FIGURE_ROLE, yn as imageProtocolPreference, zn as FooterCustomItemCatalog } from "./transcript-view-C1YtJ49Y.mjs";
|
|
3
3
|
import { D as admitSvg, _ as svgDigest, p as authorizeSvg, s as visualFactLine, u as visualPartsFromText } from "./runtime-status-v-FTnWcD.mjs";
|
|
4
4
|
import { t as runSyncDisposalSteps } from "./disposal-BYBbEpVY.mjs";
|
|
5
|
-
import { Ct as hideFooterRefInTsp } from "./extensions-
|
|
5
|
+
import { Ct as hideFooterRefInTsp } from "./extensions-B4uLpSTv.mjs";
|
|
6
6
|
import { View, connect, html, rising, span, ui } from "@stencil-hq/tern";
|
|
7
7
|
//#region src/tui/tsp/editor.ts
|
|
8
8
|
/** The grapheme segmenter (`Intl.Segmenter` on Node 24; one shared instance). */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as runSyncDisposalSteps } from "./disposal-BYBbEpVY.mjs";
|
|
2
2
|
import { t as cancellationError } from "./tasks-D_z5Yjjr.mjs";
|
|
3
|
-
import { $ as effectiveWorkflowRunOpen, $n as welcomeWhaleGradientColors, An as admitSvg, At as authorizeSvg, Bn as formatSessionAge, Bt as workspaceRowStatusLabel, Cr as matchesKeyId, Dr as PROVIDER_DEFAULT, Dt as visualFactLine, E as FocusTimingStore, Er as presetDisplayText, Fi as isSurfacedInteractionTool, Fn as imageProtocolPreference,
|
|
3
|
+
import { $ as effectiveWorkflowRunOpen, $n as welcomeWhaleGradientColors, An as admitSvg, At as authorizeSvg, Bn as formatSessionAge, Bt as workspaceRowStatusLabel, Cr as matchesKeyId, Dr as PROVIDER_DEFAULT, Dt as visualFactLine, E as FocusTimingStore, Er as presetDisplayText, Fi as isSurfacedInteractionTool, Fn as imageProtocolPreference, Ft as SESSION_PENDING_LABEL, Gr as sanitizeDisplayText, It as SESSION_SOURCE_LABEL, Kr as FILE_ARGUMENT_COMMANDS, L as projectTranscriptStructure, Lt as buildSessionWorkspaceView, M as consecutiveTurnGroup, Mt as svgDigest, N as focusProjectionTurnOf, Or as effortChoicesOf, P as projectFocus, Q as effectiveWorkflowPhaseOpen, S as pastedBodySpan, Tr as isBuiltInPresetRow, Un as workspaceKey, Vn as sanitizeTerminalText, Vr as sanitizedPhysicalLine, Vt as isTaskItemActive, Wr as sanitizeDisplaySegment, Yn as shortSessionId, Z as advanceWorkflowDisclosureState, Zn as pickWelcomeWhaleVariant, _ as VISUAL_COPY_ROLE, _r as TSP_VISUAL_CHORDS, a as dockDraftImageNodes, ai as attachmentCountLabel, b as publishedVisualTitle, bt as assistantVisualPresentation, c as imageRefProblem, cr as HISTORY_CHORDS, ct as stripAtQuotes, d as visibleTranscriptMembers, dt as splitTokenRemainder, er as welcomeWhalePlainLines, ft as extractInlineSkillPrefix, gi as TSP_FOOTER_NOTICES, gr as TSP_SEARCH_CHORD_LABEL, i as describeTranscriptMainBlocksForPreset, ir as tasksItem, jr as projectModelDirectory, kr as initialEffortOf, kt as visualPartsFromText, l as toolRowImageBlocks, lt as isOpenQuotedToken, m as transcriptCopyPayload, mr as TSP_CONTINUED_INSPECTION_LABEL, n as TranscriptNodeKeys, nr as createBuiltinFooterRegistry, o as imageDisplayName, ot as createInstalledAutocompleteProvider, p as TRANSCRIPT_COPY_ACTION, qn as sanitizeSessionSearchInput, r as describeTranscriptMainBlocks, rt as workflowRunViewAllVisible, st as classifyFileCompletionContext, tr as FooterCustomItemCatalog, tt as workflowPhasePresentations, ur as QUEUE_CHORDS, ut as splitQueryRemainder, v as VISUAL_FIGURE_KEY_PREFIX, vr as TSP_VISUAL_COPY_LABEL, vt as createHistoryRecallScope, x as PasteRangeTracker, xr as formatKeyId, y as VISUAL_FIGURE_ROLE, yr as TSP_VISUAL_SELECT_LABEL, zt as visibleWorkspaceBrowserRows } from "./transcript-view-CuJYWkhp.mjs";
|
|
4
4
|
import { c as hideFooterRefInTsp } from "./command-trust-DChWUamk.mjs";
|
|
5
5
|
import { J as customItemName } from "./dist-BFgC-5tL.mjs";
|
|
6
6
|
import { View, connect, html, rising, span, ui } from "@stencil-hq/tern";
|
|
@@ -34,11 +34,11 @@ var dsh_compat_matrix_default = {
|
|
|
34
34
|
"not by itself qualify every such prerelease."
|
|
35
35
|
],
|
|
36
36
|
current: {
|
|
37
|
-
"since": "0.5.
|
|
37
|
+
"since": "0.5.8",
|
|
38
38
|
"requires": "DeepSeek Harness 0.2.2-rc.3 or later",
|
|
39
39
|
"upgradeDsh": "0.2.2-rc.5",
|
|
40
40
|
"upgradeCommand": "npm install -g --allow-scripts=@deepseek-ai/dsh-subprocess-local,koffi,node-pty @deepseek-ai/dsh@0.2.2-rc.5",
|
|
41
|
-
"guidance": "The 0.5.
|
|
41
|
+
"guidance": "The 0.5.8 release requires DeepSeek Harness 0.2.2-rc.3 or later; this checkout validates that runtime floor and targets 0.2.2-rc.5 (validated pairing; on Hosts older than rc.5 the automatic web-search routing decision may differ). The previous 0.2.2-rc.2 and 0.2.2-rc.1 pairings are no longer claimed by this release, so finish in-flight turns and background jobs before upgrading. See README.en.md for the DSH/TUI pairing table, and docs/guides/dsh-compatibility.md for compatibility/recovery rules."
|
|
42
42
|
},
|
|
43
43
|
floor: {
|
|
44
44
|
"below": "0.1.0-rc.8",
|
|
@@ -142,7 +142,7 @@ var dsh_compat_matrix_default = {
|
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
144
|
"dshFrom": "0.2.2-rc.3",
|
|
145
|
-
"tui": "0.5.
|
|
145
|
+
"tui": "0.5.8",
|
|
146
146
|
"versions": [
|
|
147
147
|
"0.2.2-rc.3",
|
|
148
148
|
"0.2.2-rc.4",
|
package/dist/startup.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as apply, c as incompatibleHarnessMessage, i as TUI_STARTUP_SERVICE, l as inject, n as HARNESS_COMPAT, o as bundleVersionLabel, r as TUI_DAEMON_STARTUP_SERVICE, s as harnessCompatEntryFor, t as Config, u as name } from "./startup-
|
|
1
|
+
import { a as apply, c as incompatibleHarnessMessage, i as TUI_STARTUP_SERVICE, l as inject, n as HARNESS_COMPAT, o as bundleVersionLabel, r as TUI_DAEMON_STARTUP_SERVICE, s as harnessCompatEntryFor, t as Config, u as name } from "./startup-EG5UqIcd.mjs";
|
|
2
2
|
export { Config, HARNESS_COMPAT, TUI_DAEMON_STARTUP_SERVICE, TUI_STARTUP_SERVICE, apply, bundleVersionLabel, harnessCompatEntryFor, incompatibleHarnessMessage, inject, name };
|
package/dist/{terminal-progress-source-D4DHyXDo.mjs → terminal-progress-source-CpfpQO_h.mjs}
RENAMED
|
@@ -57,11 +57,11 @@ const COMPAT = {
|
|
|
57
57
|
"not by itself qualify every such prerelease."
|
|
58
58
|
],
|
|
59
59
|
current: {
|
|
60
|
-
"since": "0.5.
|
|
60
|
+
"since": "0.5.8",
|
|
61
61
|
"requires": "DeepSeek Harness 0.2.2-rc.3 or later",
|
|
62
62
|
"upgradeDsh": "0.2.2-rc.5",
|
|
63
63
|
"upgradeCommand": "npm install -g --allow-scripts=@deepseek-ai/dsh-subprocess-local,koffi,node-pty @deepseek-ai/dsh@0.2.2-rc.5",
|
|
64
|
-
"guidance": "The 0.5.
|
|
64
|
+
"guidance": "The 0.5.8 release requires DeepSeek Harness 0.2.2-rc.3 or later; this checkout validates that runtime floor and targets 0.2.2-rc.5 (validated pairing; on Hosts older than rc.5 the automatic web-search routing decision may differ). The previous 0.2.2-rc.2 and 0.2.2-rc.1 pairings are no longer claimed by this release, so finish in-flight turns and background jobs before upgrading. See README.en.md for the DSH/TUI pairing table, and docs/guides/dsh-compatibility.md for compatibility/recovery rules."
|
|
65
65
|
},
|
|
66
66
|
floor: {
|
|
67
67
|
"below": "0.1.0-rc.8",
|
|
@@ -165,7 +165,7 @@ const COMPAT = {
|
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
"dshFrom": "0.2.2-rc.3",
|
|
168
|
-
"tui": "0.5.
|
|
168
|
+
"tui": "0.5.8",
|
|
169
169
|
"versions": [
|
|
170
170
|
"0.2.2-rc.3",
|
|
171
171
|
"0.2.2-rc.4",
|
|
@@ -2717,7 +2717,6 @@ const SESSIONLESS_COMMANDS = /* @__PURE__ */ new Set([
|
|
|
2717
2717
|
"focus",
|
|
2718
2718
|
"footer",
|
|
2719
2719
|
"settings",
|
|
2720
|
-
"help",
|
|
2721
2720
|
"attach",
|
|
2722
2721
|
"image",
|
|
2723
2722
|
"login",
|
|
@@ -2816,7 +2815,6 @@ const LOCAL_COMMANDS = /* @__PURE__ */ new Set([
|
|
|
2816
2815
|
"focus",
|
|
2817
2816
|
"footer",
|
|
2818
2817
|
"fork",
|
|
2819
|
-
"help",
|
|
2820
2818
|
"attach",
|
|
2821
2819
|
"image",
|
|
2822
2820
|
"keybindings",
|
|
@@ -3009,7 +3007,6 @@ const READ_ONLY_LOCAL_COMMANDS = /* @__PURE__ */ new Set([
|
|
|
3009
3007
|
"reload",
|
|
3010
3008
|
"exit",
|
|
3011
3009
|
"quit",
|
|
3012
|
-
"help",
|
|
3013
3010
|
"keybindings",
|
|
3014
3011
|
"copy",
|
|
3015
3012
|
"attach",
|