@adhdev/daemon-core 0.9.82-rc.504 → 0.9.82-rc.505
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 +14 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/mesh/mesh-node-identity.ts +11 -2
package/dist/index.mjs
CHANGED
|
@@ -412,10 +412,10 @@ function readInjected(value) {
|
|
|
412
412
|
}
|
|
413
413
|
function getDaemonBuildInfo() {
|
|
414
414
|
if (cached) return cached;
|
|
415
|
-
const commit = readInjected(true ? "
|
|
416
|
-
const commitShort = readInjected(true ? "
|
|
417
|
-
const version = readInjected(true ? "0.9.82-rc.
|
|
418
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
415
|
+
const commit = readInjected(true ? "af1ce39e8e67cf5aef6eb49e344ca4e5d0b7e88f" : void 0) ?? "unknown";
|
|
416
|
+
const commitShort = readInjected(true ? "af1ce39e" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
417
|
+
const version = readInjected(true ? "0.9.82-rc.505" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
418
|
+
const builtAt = readInjected(true ? "2026-07-12T13:30:23.635Z" : void 0);
|
|
419
419
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
420
420
|
return cached;
|
|
421
421
|
}
|
|
@@ -2879,7 +2879,10 @@ function deriveSlotsFromLegacy(input) {
|
|
|
2879
2879
|
};
|
|
2880
2880
|
});
|
|
2881
2881
|
}
|
|
2882
|
-
|
|
2882
|
+
function withStatusProbeMarker(args = {}) {
|
|
2883
|
+
return { ...args, [STATUS_PROBE_ARG_KEY]: true };
|
|
2884
|
+
}
|
|
2885
|
+
var DAEMON_ID_PREFIXES, MAGI_RAW_ANSWER_CAP, MESH_TASK_DIFFICULTIES, DEFAULT_DIFFICULTY_BRAINS, CANONICAL_MESH_TOOL_NAMES, CANONICAL_MESH_TOOL_COUNT, STATUS_PROBE_ARG_KEY;
|
|
2883
2886
|
var init_dist = __esm({
|
|
2884
2887
|
"../mesh-shared/dist/index.mjs"() {
|
|
2885
2888
|
"use strict";
|
|
@@ -2938,6 +2941,7 @@ var init_dist = __esm({
|
|
|
2938
2941
|
"mesh_node_slots_list"
|
|
2939
2942
|
];
|
|
2940
2943
|
CANONICAL_MESH_TOOL_COUNT = CANONICAL_MESH_TOOL_NAMES.length;
|
|
2944
|
+
STATUS_PROBE_ARG_KEY = "_statusProbe";
|
|
2941
2945
|
}
|
|
2942
2946
|
});
|
|
2943
2947
|
|
|
@@ -15058,7 +15062,11 @@ function finalizeMeshNodeStatus(args) {
|
|
|
15058
15062
|
}
|
|
15059
15063
|
async function probeRemoteMeshGitStatus(args) {
|
|
15060
15064
|
if (!args.dispatchMeshCommand) return null;
|
|
15061
|
-
const dispatch = args.dispatchMeshCommand(
|
|
15065
|
+
const dispatch = args.dispatchMeshCommand(
|
|
15066
|
+
args.daemonId,
|
|
15067
|
+
"git_status",
|
|
15068
|
+
withStatusProbeMarker({ workspace: args.workspace, refreshUpstream: true })
|
|
15069
|
+
);
|
|
15062
15070
|
const remoteResult = await awaitWithWarmupDeadline(dispatch, resolveWarmupDeadlineOpts({
|
|
15063
15071
|
getConnection: args.getConnection,
|
|
15064
15072
|
daemonId: args.daemonId,
|