@adhdev/daemon-core 0.9.82-rc.337 → 0.9.82-rc.338
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.d.ts +1 -1
- package/dist/index.js +14 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -5
- package/dist/index.mjs.map +1 -1
- package/dist/status/snapshot.d.ts +25 -0
- package/package.json +2 -2
- package/src/index.ts +1 -1
- package/src/providers/cli-provider-instance.ts +8 -1
- package/src/status/snapshot.ts +11 -1
package/dist/index.d.ts
CHANGED
|
@@ -87,7 +87,7 @@ export { maybeRunDaemonUpgradeHelperFromEnv, spawnDetachedDaemonUpgradeHelper, r
|
|
|
87
87
|
export type { DaemonUpgradeHelperPayload, CurrentGlobalInstallSurface, PinnedGlobalInstallCommand, NpmExecOptions, } from './commands/upgrade-helper.js';
|
|
88
88
|
export { DaemonStatusReporter } from './status/reporter.js';
|
|
89
89
|
export { buildSessionEntries, findCdpManager, hasCdpManager, isCdpConnected } from './status/builders.js';
|
|
90
|
-
export { buildStatusSnapshot, buildMachineInfo } from './status/snapshot.js';
|
|
90
|
+
export { buildStatusSnapshot, buildMachineInfo, getLastDisplayMessage } from './status/snapshot.js';
|
|
91
91
|
export { getDaemonBuildInfo } from './build-info.js';
|
|
92
92
|
export type { DaemonBuildInfo } from './build-info.js';
|
|
93
93
|
export { normalizeManagedStatus, isManagedStatusWorking, isManagedStatusWaiting, normalizeActiveChatData } from './status/normalize.js';
|
package/dist/index.js
CHANGED
|
@@ -316,10 +316,10 @@ function readInjected(value) {
|
|
|
316
316
|
}
|
|
317
317
|
function getDaemonBuildInfo() {
|
|
318
318
|
if (cached) return cached;
|
|
319
|
-
const commit = readInjected(true ? "
|
|
320
|
-
const commitShort = readInjected(true ? "
|
|
321
|
-
const version = readInjected(true ? "0.9.82-rc.
|
|
322
|
-
const builtAt = readInjected(true ? "2026-06-
|
|
319
|
+
const commit = readInjected(true ? "69dc786812247d8f2e908eec5c7805349fbf1d8d" : void 0) ?? "unknown";
|
|
320
|
+
const commitShort = readInjected(true ? "69dc7868" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
321
|
+
const version = readInjected(true ? "0.9.82-rc.338" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
322
|
+
const builtAt = readInjected(true ? "2026-06-20T08:44:29.162Z" : void 0);
|
|
323
323
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
324
324
|
return cached;
|
|
325
325
|
}
|
|
@@ -17900,6 +17900,7 @@ __export(index_exports, {
|
|
|
17900
17900
|
getGitFileDiff: () => getGitFileDiff,
|
|
17901
17901
|
getGitRepoStatus: () => getGitRepoStatus,
|
|
17902
17902
|
getHostMemorySnapshot: () => getHostMemorySnapshot,
|
|
17903
|
+
getLastDisplayMessage: () => getLastDisplayMessage,
|
|
17903
17904
|
getLedgerDir: () => getLedgerDir,
|
|
17904
17905
|
getLedgerSummary: () => getLedgerSummary,
|
|
17905
17906
|
getLogLevel: () => getLogLevel,
|
|
@@ -35455,7 +35456,14 @@ var CliProviderInstance = class _CliProviderInstance {
|
|
|
35455
35456
|
chatTitle: pending.chatTitle,
|
|
35456
35457
|
duration: pending.duration,
|
|
35457
35458
|
timestamp: pending.timestamp,
|
|
35458
|
-
|
|
35459
|
+
// When finalization is forced past the timeout on a `parsed_status:` block
|
|
35460
|
+
// (the parser never confirmed a final assistant turn) we previously rode an
|
|
35461
|
+
// empty `finalSummary` unconditionally. That empty value propagates to the
|
|
35462
|
+
// mesh coordinator's mirror preview (meshSessionLastMessagePreview), leaving a
|
|
35463
|
+
// delegated session's inbox preview blank — or, for a LOCAL worktree session,
|
|
35464
|
+
// stuck on the dispatched user task. If the parser DID surface assistant text,
|
|
35465
|
+
// prefer it; only fall back to '' when no assistant summary can be derived.
|
|
35466
|
+
finalSummary: blockReason.startsWith("parsed_status:") ? this.completionFinalSummary(this.adapter?.getScriptParsedStatus()?.messages) ?? "" : this.completionFinalSummary(this.adapter?.getScriptParsedStatus()?.messages),
|
|
35459
35467
|
completionDiagnostic
|
|
35460
35468
|
});
|
|
35461
35469
|
this.completedDebouncePending = null;
|
|
@@ -59916,6 +59924,7 @@ var V1_CONTRACT_VERSION = "1.0.0";
|
|
|
59916
59924
|
getGitFileDiff,
|
|
59917
59925
|
getGitRepoStatus,
|
|
59918
59926
|
getHostMemorySnapshot,
|
|
59927
|
+
getLastDisplayMessage,
|
|
59919
59928
|
getLedgerDir,
|
|
59920
59929
|
getLedgerSummary,
|
|
59921
59930
|
getLogLevel,
|