@adhdev/daemon-standalone 0.9.72 → 0.9.73

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-BhyF9G2f.js"></script>
10
+ <script type="module" crossorigin src="/assets/index-DehOXawT.js"></script>
11
11
  <link rel="modulepreload" crossorigin href="/assets/vendor-CLec0455.js">
12
12
  <link rel="stylesheet" crossorigin href="/assets/index-CVquu5qt.css">
13
13
  </head>
@@ -48233,7 +48233,20 @@ Run 'adhdev doctor' for detailed diagnostics.`
48233
48233
  }
48234
48234
  if (!mesh) return { success: false, error: "Mesh not found" };
48235
48235
  if (!Array.isArray(mesh.nodes) || mesh.nodes.length === 0) return { success: false, error: "No nodes in mesh" };
48236
- const workspace = mesh.nodes[0].workspace;
48236
+ const requestedCoordinatorNodeId = typeof args?.coordinatorNodeId === "string" ? args.coordinatorNodeId.trim() : "";
48237
+ const preferredCoordinatorNodeId = requestedCoordinatorNodeId || (typeof mesh.coordinator?.preferredNodeId === "string" ? mesh.coordinator.preferredNodeId.trim() : "");
48238
+ const coordinatorNode = preferredCoordinatorNodeId ? mesh.nodes.find((node) => node?.id === preferredCoordinatorNodeId || node?.nodeId === preferredCoordinatorNodeId) : mesh.nodes[0];
48239
+ if (!coordinatorNode) {
48240
+ return {
48241
+ success: false,
48242
+ code: "mesh_coordinator_node_not_found",
48243
+ error: `Coordinator node ${preferredCoordinatorNodeId} was not found in mesh`,
48244
+ meshId,
48245
+ cliType
48246
+ };
48247
+ }
48248
+ const workspace = typeof coordinatorNode.workspace === "string" ? coordinatorNode.workspace.trim() : "";
48249
+ if (!workspace) return { success: false, error: "Coordinator node workspace required", meshId, cliType };
48237
48250
  const providerMeta = this.deps.providerLoader.resolve?.(cliType) || this.deps.providerLoader.getMeta(cliType);
48238
48251
  const coordinatorSetup = resolveMeshCoordinatorSetup({
48239
48252
  provider: providerMeta,
@@ -53424,7 +53437,7 @@ async function startMcpServer(opts) {
53424
53437
  coordinatorPrompt = `You are a Repo Mesh Coordinator for "${mesh.name}" (${mesh.repoIdentity}). Use mesh_* tools to orchestrate work.`;
53425
53438
  }
53426
53439
  const server2 = new import_server.Server(
53427
- { name: "adhdev-mcp-server", version: "0.9.72" },
53440
+ { name: "adhdev-mcp-server", version: "0.9.73" },
53428
53441
  { capabilities: { tools: {}, resources: {} } }
53429
53442
  );
53430
53443
  const { ListResourcesRequestSchema, ReadResourceRequestSchema } = await import("@modelcontextprotocol/sdk/types.js");