adhdev 0.9.76-rc.65 → 0.9.76-rc.68

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adhdev",
3
- "version": "0.9.76-rc.65",
3
+ "version": "0.9.76-rc.68",
4
4
  "description": "ADHDev — Agent Dashboard Hub for Dev. Remote-control AI coding agents from anywhere.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -47,7 +47,7 @@
47
47
  "node": ">=18"
48
48
  },
49
49
  "dependencies": {
50
- "@adhdev/daemon-core": "0.9.76-rc.65",
50
+ "@adhdev/daemon-core": "0.9.76-rc.68",
51
51
  "@adhdev/ghostty-vt-node": "*",
52
52
  "@modelcontextprotocol/sdk": "^1.0.0",
53
53
  "@xterm/addon-serialize": "^0.14.0",
@@ -364,6 +364,9 @@ function readProviderPriority(policy) {
364
364
  const raw = policy?.providerPriority;
365
365
  return Array.isArray(raw) ? raw.map((type) => typeof type === "string" ? type.trim() : "").filter(Boolean) : [];
366
366
  }
367
+ function readSpawnedSessionVisibility(policy) {
368
+ return policy?.spawnedSessionVisibility === "hidden" ? "hidden" : "visible";
369
+ }
367
370
  function missingProviderPriorityMessage(nodeId) {
368
371
  return `Node '${nodeId}' has no providerPriority policy; pass type explicitly or configure node.policy.providerPriority`;
369
372
  }
@@ -735,13 +738,16 @@ async function meshLaunchSession(ctx, args) {
735
738
  }
736
739
  }
737
740
  const coordinatorNode = resolveCoordinatorNode(ctx);
741
+ const coordinatorDaemonId = coordinatorNode?.daemonId || ctx.localDaemonId;
742
+ const spawnedSessionVisibility = readSpawnedSessionVisibility(ctx.mesh.policy);
738
743
  const result = await commandForNode(ctx, node, "launch_cli", {
739
744
  cliType: resolvedProviderType,
740
745
  dir: node.workspace,
741
746
  settings: {
742
747
  meshNodeFor: ctx.mesh.id,
743
748
  meshNodeId: args.node_id,
744
- ...coordinatorNode?.daemonId ? { meshCoordinatorDaemonId: coordinatorNode.daemonId } : {},
749
+ spawnedSessionVisibility,
750
+ ...coordinatorDaemonId ? { meshCoordinatorDaemonId: coordinatorDaemonId } : {},
745
751
  ...coordinatorNode?.id ? { meshCoordinatorNodeId: coordinatorNode.id } : {},
746
752
  launchedByCoordinator: true
747
753
  }
@@ -2378,6 +2384,7 @@ async function startMcpServer(opts) {
2378
2384
  requireApprovalForDestructiveGit: true,
2379
2385
  dirtyWorkspaceBehavior: "warn",
2380
2386
  maxParallelTasks: 2,
2387
+ spawnedSessionVisibility: "visible",
2381
2388
  ...policy
2382
2389
  },
2383
2390
  coordinator,