@adhdev/daemon-core 0.9.82-rc.503 → 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.js
CHANGED
|
@@ -417,10 +417,10 @@ function readInjected(value) {
|
|
|
417
417
|
}
|
|
418
418
|
function getDaemonBuildInfo() {
|
|
419
419
|
if (cached) return cached;
|
|
420
|
-
const commit = readInjected(true ? "
|
|
421
|
-
const commitShort = readInjected(true ? "
|
|
422
|
-
const version = readInjected(true ? "0.9.82-rc.
|
|
423
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
420
|
+
const commit = readInjected(true ? "af1ce39e8e67cf5aef6eb49e344ca4e5d0b7e88f" : void 0) ?? "unknown";
|
|
421
|
+
const commitShort = readInjected(true ? "af1ce39e" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
422
|
+
const version = readInjected(true ? "0.9.82-rc.505" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
423
|
+
const builtAt = readInjected(true ? "2026-07-12T13:30:23.635Z" : void 0);
|
|
424
424
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
425
425
|
return cached;
|
|
426
426
|
}
|
|
@@ -2885,7 +2885,10 @@ function deriveSlotsFromLegacy(input) {
|
|
|
2885
2885
|
};
|
|
2886
2886
|
});
|
|
2887
2887
|
}
|
|
2888
|
-
|
|
2888
|
+
function withStatusProbeMarker(args = {}) {
|
|
2889
|
+
return { ...args, [STATUS_PROBE_ARG_KEY]: true };
|
|
2890
|
+
}
|
|
2891
|
+
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;
|
|
2889
2892
|
var init_dist = __esm({
|
|
2890
2893
|
"../mesh-shared/dist/index.mjs"() {
|
|
2891
2894
|
"use strict";
|
|
@@ -2944,6 +2947,7 @@ var init_dist = __esm({
|
|
|
2944
2947
|
"mesh_node_slots_list"
|
|
2945
2948
|
];
|
|
2946
2949
|
CANONICAL_MESH_TOOL_COUNT = CANONICAL_MESH_TOOL_NAMES.length;
|
|
2950
|
+
STATUS_PROBE_ARG_KEY = "_statusProbe";
|
|
2947
2951
|
}
|
|
2948
2952
|
});
|
|
2949
2953
|
|
|
@@ -15055,7 +15059,11 @@ function finalizeMeshNodeStatus(args) {
|
|
|
15055
15059
|
}
|
|
15056
15060
|
async function probeRemoteMeshGitStatus(args) {
|
|
15057
15061
|
if (!args.dispatchMeshCommand) return null;
|
|
15058
|
-
const dispatch = args.dispatchMeshCommand(
|
|
15062
|
+
const dispatch = args.dispatchMeshCommand(
|
|
15063
|
+
args.daemonId,
|
|
15064
|
+
"git_status",
|
|
15065
|
+
withStatusProbeMarker({ workspace: args.workspace, refreshUpstream: true })
|
|
15066
|
+
);
|
|
15059
15067
|
const remoteResult = await awaitWithWarmupDeadline(dispatch, resolveWarmupDeadlineOpts({
|
|
15060
15068
|
getConnection: args.getConnection,
|
|
15061
15069
|
daemonId: args.daemonId,
|