@miraland-labs/conduit-bridge 0.16.21 → 0.16.22

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/dist/cli.js CHANGED
@@ -520,7 +520,7 @@ async function runner() {
520
520
  const applied = await maybeApplyOnShiftIntent({
521
521
  currentWorkspace: workspace,
522
522
  onShift: hb.on_shift,
523
- runInstall: async (nextWorkspace, repo) => {
523
+ runInstall: async (nextWorkspace, repo, managedRoot) => {
524
524
  let env;
525
525
  try {
526
526
  env = loadOpsEnv();
@@ -530,7 +530,14 @@ async function runner() {
530
530
  }
531
531
  await runOps("install", [], {
532
532
  env: env
533
- ? { ...env, CONDUIT_WORKSPACE: nextWorkspace, CONDUIT_REPO: repo }
533
+ ? {
534
+ ...env,
535
+ CONDUIT_WORKSPACE: nextWorkspace,
536
+ CONDUIT_REPO: repo,
537
+ CONDUIT_MANAGED_ROOT: managedRoot === undefined
538
+ ? env.CONDUIT_MANAGED_ROOT
539
+ : managedRoot ?? "",
540
+ }
534
541
  : undefined,
535
542
  });
536
543
  },
@@ -47,6 +47,6 @@ export async function maybeApplyOnShiftIntent(input) {
47
47
  return false;
48
48
  }
49
49
  console.log(`Applying on-shift workspace intent: ${target}${repo ? ` (${repo})` : ""}`);
50
- await input.runInstall(target, repo);
50
+ await input.runInstall(target, repo, input.onShift?.managed_workspace_root);
51
51
  return true;
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miraland-labs/conduit-bridge",
3
- "version": "0.16.21",
3
+ "version": "0.16.22",
4
4
  "description": "Conduit Bridge CLI — join, connect, disconnect, multi-driver lanes, and run Claude Code / Codex / Cursor / OpenCode / Pi / Kiro / Antigravity / Grok Build agents for a Conduit organization",
5
5
  "type": "module",
6
6
  "bin": {