@adhdev/daemon-standalone 1.0.35-rc.8 → 1.0.36
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/dist/index.js +28 -9
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/public/assets/{index-BwNpC-xV.js → index-Dla3fPu7.js} +8 -8
- package/public/assets/{terminal-DiXj2eIR.js → terminal-BZj_X5zy.js} +1 -1
- package/public/assets/{vendor-DyCWA2YZ.js → vendor-cL4V2vaO.js} +49 -57
- package/public/index.html +2 -2
- package/vendor/mcp-server/index.js +1 -1
- package/vendor/mcp-server/index.js.map +1 -1
- package/vendor/mcp-server/package.json +1 -1
- package/vendor/session-host-daemon/index.js +0 -0
- package/vendor/session-host-daemon/index.mjs +0 -0
package/dist/index.js
CHANGED
|
@@ -33318,10 +33318,10 @@ var require_dist3 = __commonJS({
|
|
|
33318
33318
|
}
|
|
33319
33319
|
function getDaemonBuildInfo() {
|
|
33320
33320
|
if (cached2) return cached2;
|
|
33321
|
-
const commit = readInjected(true ? "
|
|
33322
|
-
const commitShort = readInjected(true ? "
|
|
33323
|
-
const version2 = readInjected(true ? "1.0.
|
|
33324
|
-
const builtAt = readInjected(true ? "2026-08-
|
|
33321
|
+
const commit = readInjected(true ? "6cf76f5189700f7006474f0466713f5cf36681a6" : void 0) ?? "unknown";
|
|
33322
|
+
const commitShort = readInjected(true ? "6cf76f5" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
33323
|
+
const version2 = readInjected(true ? "1.0.36" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
33324
|
+
const builtAt = readInjected(true ? "2026-08-05T08:36:03.340Z" : void 0);
|
|
33325
33325
|
cached2 = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
|
|
33326
33326
|
return cached2;
|
|
33327
33327
|
}
|
|
@@ -69208,11 +69208,13 @@ ${cont}` : cont;
|
|
|
69208
69208
|
baseEnv: spawnConfig.env,
|
|
69209
69209
|
workingDir,
|
|
69210
69210
|
extraArgs,
|
|
69211
|
-
extraEnv
|
|
69211
|
+
extraEnv,
|
|
69212
|
+
diagnosticCliType: provider.type,
|
|
69213
|
+
diagnosticProviderVersion: provider.providerVersion
|
|
69212
69214
|
});
|
|
69213
69215
|
}
|
|
69214
69216
|
function resolveCliSpawnPlanFromParts(options) {
|
|
69215
|
-
const { command, baseArgs, shell, baseEnv, workingDir, extraArgs, extraEnv, geometry } = options;
|
|
69217
|
+
const { command, baseArgs, shell, baseEnv, workingDir, extraArgs, extraEnv, geometry, diagnosticCliType, diagnosticProviderVersion } = options;
|
|
69216
69218
|
const binaryPath = findBinary(command);
|
|
69217
69219
|
const isWin = os15.platform() === "win32";
|
|
69218
69220
|
const allArgs = [...baseArgs ?? [], ...extraArgs ?? []].map(
|
|
@@ -69238,6 +69240,10 @@ ${cont}` : cont;
|
|
|
69238
69240
|
}
|
|
69239
69241
|
const env2 = buildCliSpawnEnv(process.env, { ...baseEnv || {}, ...extraEnv || {} });
|
|
69240
69242
|
env2.TERMINAL_CWD = workingDir;
|
|
69243
|
+
LOG2.info(
|
|
69244
|
+
"CLI",
|
|
69245
|
+
`[${diagnosticCliType || "cli"}] Spawning (spec v${diagnosticProviderVersion || "unknown"}) in ${workingDir}: ${binaryPath} ${allArgs.join(" ")}`
|
|
69246
|
+
);
|
|
69241
69247
|
return {
|
|
69242
69248
|
binaryPath,
|
|
69243
69249
|
allArgs,
|
|
@@ -69306,6 +69312,7 @@ ${cont}` : cont;
|
|
|
69306
69312
|
"use strict";
|
|
69307
69313
|
os15 = __toESM2(require("os"));
|
|
69308
69314
|
path27 = __toESM2(require("path"));
|
|
69315
|
+
init_logger();
|
|
69309
69316
|
import_session_host_core7 = require_dist();
|
|
69310
69317
|
init_provider_cli_shared();
|
|
69311
69318
|
}
|
|
@@ -71381,7 +71388,6 @@ ${lastSnapshot}`;
|
|
|
71381
71388
|
extraArgs: this.extraArgs,
|
|
71382
71389
|
extraEnv: this.extraEnv
|
|
71383
71390
|
});
|
|
71384
|
-
LOG2.info("CLI", `[${this.cliType}] Spawning in ${this.workingDir}`);
|
|
71385
71391
|
try {
|
|
71386
71392
|
this.ptyProcess = this.transportFactory.spawn(
|
|
71387
71393
|
spawnPlan.shellCmd,
|
|
@@ -89079,7 +89085,12 @@ ${body}
|
|
|
89079
89085
|
workingDir: this.opts.workingDir,
|
|
89080
89086
|
extraArgs: this.opts.extraCliArgs ?? [],
|
|
89081
89087
|
extraEnv: this.opts.extraEnv ?? {},
|
|
89082
|
-
geometry: { cols, rows }
|
|
89088
|
+
geometry: { cols, rows },
|
|
89089
|
+
// CliSpecV4 is the FSM runtime spec (specs/4.0.json), not the
|
|
89090
|
+
// provider manifest, so it carries no `type`/`providerVersion`.
|
|
89091
|
+
// `id`/`name` is the identity this path actually has; the manifest
|
|
89092
|
+
// version is genuinely unavailable here rather than omitted.
|
|
89093
|
+
diagnosticCliType: this.spec.id || this.spec.name
|
|
89083
89094
|
});
|
|
89084
89095
|
return {
|
|
89085
89096
|
binary: plan.shellCmd,
|
|
@@ -96892,7 +96903,15 @@ ${rawInput}` : rawInput;
|
|
|
96892
96903
|
}
|
|
96893
96904
|
function expandResumeArgs(template, sessionId) {
|
|
96894
96905
|
if (!Array.isArray(template) || template.length === 0) return void 0;
|
|
96895
|
-
return template.map((part) =>
|
|
96906
|
+
return template.map((part) => {
|
|
96907
|
+
if (!part.includes("{{id}}")) return part;
|
|
96908
|
+
const expanded = part.split("{{id}}").join(sessionId);
|
|
96909
|
+
const prefix = part.slice(0, part.indexOf("{{id}}"));
|
|
96910
|
+
if (prefix && sessionId.startsWith(prefix)) {
|
|
96911
|
+
return part.split("{{id}}").join(sessionId.slice(prefix.length));
|
|
96912
|
+
}
|
|
96913
|
+
return expanded;
|
|
96914
|
+
});
|
|
96896
96915
|
}
|
|
96897
96916
|
function expandModelLaunchArgs(template, model) {
|
|
96898
96917
|
const m = typeof model === "string" ? model.trim() : "";
|