@adhdev/daemon-standalone 1.0.39-rc.8 → 1.0.39

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/public/index.html CHANGED
@@ -7,7 +7,7 @@
7
7
  <meta name="description" content="ADHDev self-hosted dashboard for controlling AI agents" />
8
8
  <link rel="icon" href="/otter-logo.png" />
9
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet" />
10
- <script type="module" crossorigin src="/assets/index-Hsc3-7gC.js"></script>
10
+ <script type="module" crossorigin src="/assets/index-BgCACi8j.js"></script>
11
11
  <link rel="modulepreload" crossorigin href="/assets/vendor-DgFmqOGd.js">
12
12
  <link rel="stylesheet" crossorigin href="/assets/index-BRvsAKU_.css">
13
13
  </head>
@@ -967,7 +967,7 @@ var MESH_ENQUEUE_TASK_TOOL = {
967
967
  type: "object",
968
968
  properties: {
969
969
  message: { type: "string", description: "The task instruction for the agent." },
970
- task_mode: { type: "string", enum: ["code_change", "validation", "live_debug_readonly", "launch_app", "convergence"], description: "Optional task-mode contract. live_debug_readonly rejects obvious write/commit/push/deploy/destructive instructions before dispatch." },
970
+ task_mode: { type: "string", enum: ["code_change", "validation", "live_debug_readonly", "launch_app", "convergence"], description: "Optional task-mode contract. live_debug_readonly rejects obvious write/commit/push/deploy/destructive instructions before dispatch \u2014 and in exchange runs without the one-active-per-node write isolation (N read-only tasks may run in parallel on one busy node, no worktree needed) under a separate, larger read-only concurrency cap. Prefer it for investigation/diagnosis: it is the cheaper mode to schedule, not just the restricted one." },
971
971
  taskMode: { type: "string", enum: ["code_change", "validation", "live_debug_readonly", "launch_app", "convergence"], description: "CamelCase alias for task_mode." },
972
972
  readonly: { type: "boolean", description: "Optional read-only axis (orthogonal to task_mode). When true the task runs without the one-active-per-node write isolation (N read-only tasks may run in parallel on one node), is counted under the read-only safety cap, and rejects write/commit/push/deploy/destructive instructions like live_debug_readonly. Equivalent to task_mode=live_debug_readonly but composable with any task_mode." },
973
973
  read_only: { type: "boolean", description: "Snake-case alias for readonly." },
@@ -2448,7 +2448,7 @@ async function resolveNodeFromOwningDaemons(ctx, nodeId) {
2448
2448
  const candidates = [];
2449
2449
  const pushCandidate = (id) => {
2450
2450
  if (typeof id !== "string" || !id.trim()) return;
2451
- if (localDaemonId && id === localDaemonId) return;
2451
+ if (localDaemonId && (0, import_daemon_core4.daemonIdsEquivalent)(id, localDaemonId)) return;
2452
2452
  if (!candidates.includes(id)) candidates.push(id);
2453
2453
  };
2454
2454
  for (const node of ctx.mesh.nodes) pushCandidate(node?.daemonId);
@@ -9652,7 +9652,7 @@ async function startMcpServer(opts) {
9652
9652
  const meshCtx = { mesh, transport, ...localDaemonId ? { localDaemonId } : {}, ...localMachineId ? { localMachineId } : {}, ...coordinatorHostname ? { coordinatorHostname } : {}, ...coordinatorSessionId ? { coordinatorSessionId } : {} };
9653
9653
  const coordinatorPrompt = await buildMeshModeCoordinatorPrompt(mesh);
9654
9654
  const server2 = new import_server.Server(
9655
- { name: "adhdev-mcp-server", version: "1.0.38" },
9655
+ { name: "adhdev-mcp-server", version: "1.0.39" },
9656
9656
  { capabilities: { tools: {}, resources: {} } }
9657
9657
  );
9658
9658
  const { ListResourcesRequestSchema, ReadResourceRequestSchema } = await import("@modelcontextprotocol/sdk/types.js");