adhdev 0.9.82-rc.270 → 0.9.82-rc.271

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.
@@ -1133,10 +1133,10 @@ function readInjected(value) {
1133
1133
  }
1134
1134
  function getDaemonBuildInfo() {
1135
1135
  if (cached) return cached;
1136
- const commit = readInjected(true ? "7004ebf6e270fbcb990f3fd66542fd77db0eeea0" : void 0) ?? "unknown";
1137
- const commitShort = readInjected(true ? "7004ebf6" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
1138
- const version2 = readInjected(true ? "0.9.82-rc.270" : void 0) ?? readInjected(typeof process !== "undefined" ? "0.9.82-rc.270" : void 0) ?? "unknown";
1139
- const builtAt = readInjected(true ? "2026-06-14T23:52:20.280Z" : void 0);
1136
+ const commit = readInjected(true ? "7795ee8ff6e1686e68fc7900ee0c6afd57bbd614" : void 0) ?? "unknown";
1137
+ const commitShort = readInjected(true ? "7795ee8f" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
1138
+ const version2 = readInjected(true ? "0.9.82-rc.271" : void 0) ?? readInjected(typeof process !== "undefined" ? "0.9.82-rc.271" : void 0) ?? "unknown";
1139
+ const builtAt = readInjected(true ? "2026-06-15T01:59:40.227Z" : void 0);
1140
1140
  cached = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
1141
1141
  return cached;
1142
1142
  }
@@ -127598,7 +127598,7 @@ var init_adhdev_daemon = __esm({
127598
127598
  init_version();
127599
127599
  init_src();
127600
127600
  init_runtime_defaults();
127601
- pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.270" });
127601
+ pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.271" });
127602
127602
  LOCAL_DAEMON_HEALTH_TIMEOUT_MS = 8e3;
127603
127603
  AdhdevDaemon = class _AdhdevDaemon {
127604
127604
  localHttpServer = null;
package/dist/cli/index.js CHANGED
@@ -1133,10 +1133,10 @@ function readInjected(value) {
1133
1133
  }
1134
1134
  function getDaemonBuildInfo() {
1135
1135
  if (cached) return cached;
1136
- const commit = readInjected(true ? "7004ebf6e270fbcb990f3fd66542fd77db0eeea0" : void 0) ?? "unknown";
1137
- const commitShort = readInjected(true ? "7004ebf6" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
1138
- const version2 = readInjected(true ? "0.9.82-rc.270" : void 0) ?? readInjected(typeof process !== "undefined" ? "0.9.82-rc.270" : void 0) ?? "unknown";
1139
- const builtAt = readInjected(true ? "2026-06-14T23:52:20.280Z" : void 0);
1136
+ const commit = readInjected(true ? "7795ee8ff6e1686e68fc7900ee0c6afd57bbd614" : void 0) ?? "unknown";
1137
+ const commitShort = readInjected(true ? "7795ee8f" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
1138
+ const version2 = readInjected(true ? "0.9.82-rc.271" : void 0) ?? readInjected(typeof process !== "undefined" ? "0.9.82-rc.271" : void 0) ?? "unknown";
1139
+ const builtAt = readInjected(true ? "2026-06-15T01:59:40.227Z" : void 0);
1140
1140
  cached = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
1141
1141
  return cached;
1142
1142
  }
@@ -127568,7 +127568,7 @@ var init_adhdev_daemon = __esm({
127568
127568
  init_version();
127569
127569
  init_src();
127570
127570
  init_runtime_defaults();
127571
- pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.270" });
127571
+ pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.271" });
127572
127572
  LOCAL_DAEMON_HEALTH_TIMEOUT_MS = 8e3;
127573
127573
  AdhdevDaemon = class _AdhdevDaemon {
127574
127574
  localHttpServer = null;
package/dist/index.js CHANGED
@@ -613,10 +613,10 @@ function readInjected(value) {
613
613
  }
614
614
  function getDaemonBuildInfo() {
615
615
  if (cached) return cached;
616
- const commit = readInjected(true ? "7004ebf6e270fbcb990f3fd66542fd77db0eeea0" : void 0) ?? "unknown";
617
- const commitShort = readInjected(true ? "7004ebf6" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
618
- const version2 = readInjected(true ? "0.9.82-rc.270" : void 0) ?? readInjected(typeof process !== "undefined" ? "0.9.82-rc.270" : void 0) ?? "unknown";
619
- const builtAt = readInjected(true ? "2026-06-14T23:52:20.280Z" : void 0);
616
+ const commit = readInjected(true ? "7795ee8ff6e1686e68fc7900ee0c6afd57bbd614" : void 0) ?? "unknown";
617
+ const commitShort = readInjected(true ? "7795ee8f" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
618
+ const version2 = readInjected(true ? "0.9.82-rc.271" : void 0) ?? readInjected(typeof process !== "undefined" ? "0.9.82-rc.271" : void 0) ?? "unknown";
619
+ const builtAt = readInjected(true ? "2026-06-15T01:59:40.227Z" : void 0);
620
620
  cached = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
621
621
  return cached;
622
622
  }
@@ -96390,7 +96390,7 @@ var init_adhdev_daemon = __esm({
96390
96390
  init_version();
96391
96391
  init_src();
96392
96392
  init_runtime_defaults();
96393
- pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.270" });
96393
+ pkgVersion = resolvePackageVersion({ injectedVersion: "0.9.82-rc.271" });
96394
96394
  LOCAL_DAEMON_HEALTH_TIMEOUT_MS = 8e3;
96395
96395
  AdhdevDaemon = class _AdhdevDaemon {
96396
96396
  localHttpServer = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adhdev",
3
- "version": "0.9.82-rc.270",
3
+ "version": "0.9.82-rc.271",
4
4
  "description": "ADHDev — Agent Dashboard Hub for Dev. The control hub for your AI coding agents (Claude Code, Codex, Hermes, …).",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -49,9 +49,9 @@
49
49
  "node": ">=18"
50
50
  },
51
51
  "dependencies": {
52
- "@adhdev/daemon-core": "0.9.82-rc.270",
52
+ "@adhdev/daemon-core": "0.9.82-rc.271",
53
53
  "@adhdev/ghostty-vt-node": "*",
54
- "@adhdev/mesh-shared": "0.9.82-rc.270",
54
+ "@adhdev/mesh-shared": "0.9.82-rc.271",
55
55
  "@modelcontextprotocol/sdk": "^1.0.0",
56
56
  "@xterm/addon-serialize": "^0.14.0",
57
57
  "@xterm/xterm": "^6.0.0",
@@ -1529,6 +1529,9 @@ function resolveCoordinatorNode(ctx) {
1529
1529
  }
1530
1530
  return void 0;
1531
1531
  }
1532
+ function resolveCoordinatorDaemonId(ctx) {
1533
+ return readString(resolveCoordinatorNode(ctx)?.daemonId) || readString(ctx.localDaemonId) || readString(ctx.localMachineId);
1534
+ }
1532
1535
  function readNodeMachineId(node) {
1533
1536
  return readString(node.machineId) || readString(node.machine_id) || readString(node.machine?.id) || readString(node.machine?.machineId) || readString(node.lastProbe?.machineId) || readString(node.last_probe?.machine_id) || readString(node.lastProbe?.machine?.id) || readString(node.lastProbe?.machine?.machineId) || readString(node.last_probe?.machine?.id) || readString(node.last_probe?.machine?.machine_id);
1534
1537
  }
@@ -3546,7 +3549,7 @@ async function meshSendTask(ctx, args) {
3546
3549
  if (ctx.transport instanceof IpcTransport && node.daemonId && !isLocalNode) {
3547
3550
  const cached = getSessionMetadata(meshSessionCacheKey(args.node_id, args.session_id || ""));
3548
3551
  const taskId = (0, import_node_crypto.randomUUID)();
3549
- const coordinatorDaemonId = resolveCoordinatorNode(ctx)?.daemonId || ctx.localDaemonId;
3552
+ const coordinatorDaemonId = resolveCoordinatorDaemonId(ctx);
3550
3553
  const result2 = await ipcDispatchToRemoteAgent(ctx, node, {
3551
3554
  session_id: args.session_id,
3552
3555
  message: args.message,
@@ -3716,7 +3719,7 @@ async function meshSendTask(ctx, args) {
3716
3719
  const sessionWasIdle = explicitTargetSession ? isIdleSessionRecord(explicitTargetSession) : false;
3717
3720
  const taskId = (0, import_node_crypto.randomUUID)();
3718
3721
  const dispatchedAt = (/* @__PURE__ */ new Date()).toISOString();
3719
- const coordinatorDaemonId = resolveCoordinatorNode(ctx)?.daemonId || ctx.localDaemonId;
3722
+ const coordinatorDaemonId = resolveCoordinatorDaemonId(ctx);
3720
3723
  const dispatchResult = await commandForNode(ctx, node, "agent_command", {
3721
3724
  targetSessionId: args.session_id,
3722
3725
  agentType: resolvedProviderType,
@@ -3927,7 +3930,7 @@ async function meshLaunchSession(ctx, args) {
3927
3930
  }
3928
3931
  }
3929
3932
  const coordinatorNode = resolveCoordinatorNode(ctx);
3930
- const coordinatorDaemonId = coordinatorNode?.daemonId || ctx.localDaemonId;
3933
+ const coordinatorDaemonId = resolveCoordinatorDaemonId(ctx);
3931
3934
  const spawnedSessionVisibility = readSpawnedSessionVisibility(ctx.mesh.policy);
3932
3935
  const delegatedWorkerAutoApprove = (0, import_daemon_core.resolveDelegatedWorkerAutoApprove)(ctx.mesh.policy, node.policy);
3933
3936
  const isLocalNode = isLocalControlPlaneNode(ctx, node);