@adhdev/daemon-core 0.9.77-rc.42 → 0.9.77-rc.43

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.
@@ -36,6 +36,7 @@ export interface AddNodeOptions {
36
36
  workspace: string;
37
37
  repoRoot?: string;
38
38
  daemonId?: string;
39
+ machineId?: string;
39
40
  userOverrides?: Partial<RepoMeshNodeCapabilities>;
40
41
  policy?: RepoMeshNodePolicy;
41
42
  isLocalWorktree?: boolean;
package/dist/index.js CHANGED
@@ -558,6 +558,7 @@ function addNode(meshId, opts) {
558
558
  workspace: opts.workspace.trim(),
559
559
  repoRoot: opts.repoRoot,
560
560
  daemonId: opts.daemonId,
561
+ machineId: opts.machineId,
561
562
  userOverrides: opts.userOverrides || {},
562
563
  policy: opts.policy || {},
563
564
  isLocalWorktree: opts.isLocalWorktree,
@@ -24460,6 +24461,7 @@ var DaemonCommandRouter = class {
24460
24461
  workspace: result.worktreePath,
24461
24462
  repoRoot: result.worktreePath,
24462
24463
  daemonId: sourceNode.daemonId,
24464
+ machineId: sourceNode.machineId ?? sourceNode.machine_id,
24463
24465
  userOverrides: { ...sourceNode.userOverrides || {} },
24464
24466
  policy: { ...sourceNode.policy || {} },
24465
24467
  isLocalWorktree: true,
@@ -24473,6 +24475,7 @@ var DaemonCommandRouter = class {
24473
24475
  workspace: result.worktreePath,
24474
24476
  repoRoot: result.worktreePath,
24475
24477
  daemonId: sourceNode.daemonId,
24478
+ machineId: sourceNode.machineId ?? sourceNode.machine_id,
24476
24479
  userOverrides: { ...sourceNode.userOverrides || {} },
24477
24480
  isLocalWorktree: true,
24478
24481
  worktreeBranch: result.branch,