@adhdev/daemon-standalone 1.0.28-rc.29 → 1.0.28-rc.30
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 +17 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -33311,10 +33311,10 @@ var require_dist3 = __commonJS({
|
|
|
33311
33311
|
}
|
|
33312
33312
|
function getDaemonBuildInfo() {
|
|
33313
33313
|
if (cached2) return cached2;
|
|
33314
|
-
const commit = readInjected(true ? "
|
|
33315
|
-
const commitShort = readInjected(true ? "
|
|
33316
|
-
const version2 = readInjected(true ? "1.0.28-rc.
|
|
33317
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
33314
|
+
const commit = readInjected(true ? "197fe1b6c1b8ac8cd85f9d7a9395bdb440e2581c" : void 0) ?? "unknown";
|
|
33315
|
+
const commitShort = readInjected(true ? "197fe1b6" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
33316
|
+
const version2 = readInjected(true ? "1.0.28-rc.30" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
33317
|
+
const builtAt = readInjected(true ? "2026-07-29T22:19:08.401Z" : void 0);
|
|
33318
33318
|
cached2 = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
|
|
33319
33319
|
return cached2;
|
|
33320
33320
|
}
|
|
@@ -68244,9 +68244,15 @@ ${cont}` : cont;
|
|
|
68244
68244
|
if (current.length <= keepFromCurrent) return current + chunk;
|
|
68245
68245
|
return current.slice(-keepFromCurrent) + chunk;
|
|
68246
68246
|
}
|
|
68247
|
+
function warnMissingBackgroundSourceOnce(cliType) {
|
|
68248
|
+
if (missingBackgroundSourceWarned.has(cliType)) return;
|
|
68249
|
+
missingBackgroundSourceWarned.add(cliType);
|
|
68250
|
+
LOG2.warn("CLI", `[${cliType}] background-task tracking declared but nativeHistory.source missing after provider resolve; background detection inactive`);
|
|
68251
|
+
}
|
|
68247
68252
|
var os15;
|
|
68248
68253
|
var import_crypto11;
|
|
68249
68254
|
var import_session_host_core8;
|
|
68255
|
+
var missingBackgroundSourceWarned;
|
|
68250
68256
|
var FORCE_SUBMIT_SETTLE_MS;
|
|
68251
68257
|
var ProviderCliAdapter;
|
|
68252
68258
|
var init_provider_cli_adapter = __esm2({
|
|
@@ -68268,6 +68274,7 @@ ${cont}` : cont;
|
|
|
68268
68274
|
init_provider_cli_runtime();
|
|
68269
68275
|
init_background_task_detector();
|
|
68270
68276
|
init_provider_cli_shared();
|
|
68277
|
+
missingBackgroundSourceWarned = /* @__PURE__ */ new Set();
|
|
68271
68278
|
FORCE_SUBMIT_SETTLE_MS = 150;
|
|
68272
68279
|
ProviderCliAdapter = class _ProviderCliAdapter {
|
|
68273
68280
|
constructor(provider, workingDir, extraArgs = [], extraEnv = {}, transportFactory = new NodePtyTransportFactory()) {
|
|
@@ -69195,7 +69202,11 @@ ${lastSnapshot}`;
|
|
|
69195
69202
|
detectBackgroundTask() {
|
|
69196
69203
|
const nativeHistory = this.provider?.nativeHistory;
|
|
69197
69204
|
if (!nativeHistory?.source) {
|
|
69198
|
-
|
|
69205
|
+
const tracked = this.cliType === "claude-cli" || this.cliType === "kimi";
|
|
69206
|
+
if (tracked && nativeHistory) {
|
|
69207
|
+
warnMissingBackgroundSourceOnce(this.cliType);
|
|
69208
|
+
}
|
|
69209
|
+
return { active: false, count: 0, ids: [], support: tracked ? "tracked" : "unknown" };
|
|
69199
69210
|
}
|
|
69200
69211
|
try {
|
|
69201
69212
|
return detectBackgroundTaskActive(nativeHistory, {
|
|
@@ -98914,6 +98925,7 @@ Run 'adhdev doctor' for detailed diagnostics.`
|
|
|
98914
98925
|
scriptsMarker.listSessions = "listNativeHistory";
|
|
98915
98926
|
}
|
|
98916
98927
|
resolved.nativeHistory = {
|
|
98928
|
+
...nh,
|
|
98917
98929
|
format,
|
|
98918
98930
|
watchPath: void 0,
|
|
98919
98931
|
scripts: scriptsMarker,
|