adhdev 0.9.76-rc.64 → 0.9.76-rc.66

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.64",
3
+ "version": "0.9.76-rc.66",
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.64",
50
+ "@adhdev/daemon-core": "0.9.76-rc.66",
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,12 +738,14 @@ async function meshLaunchSession(ctx, args) {
735
738
  }
736
739
  }
737
740
  const coordinatorNode = resolveCoordinatorNode(ctx);
741
+ const spawnedSessionVisibility = readSpawnedSessionVisibility(ctx.mesh.policy);
738
742
  const result = await commandForNode(ctx, node, "launch_cli", {
739
743
  cliType: resolvedProviderType,
740
744
  dir: node.workspace,
741
745
  settings: {
742
746
  meshNodeFor: ctx.mesh.id,
743
747
  meshNodeId: args.node_id,
748
+ spawnedSessionVisibility,
744
749
  ...coordinatorNode?.daemonId ? { meshCoordinatorDaemonId: coordinatorNode.daemonId } : {},
745
750
  ...coordinatorNode?.id ? { meshCoordinatorNodeId: coordinatorNode.id } : {},
746
751
  launchedByCoordinator: true
@@ -2378,6 +2383,7 @@ async function startMcpServer(opts) {
2378
2383
  requireApprovalForDestructiveGit: true,
2379
2384
  dirtyWorkspaceBehavior: "warn",
2380
2385
  maxParallelTasks: 2,
2386
+ spawnedSessionVisibility: "visible",
2381
2387
  ...policy
2382
2388
  },
2383
2389
  coordinator,