@tablation/crew 0.137.3 → 0.137.4

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.
Files changed (2) hide show
  1. package/dist/cli.js +5 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -14561,6 +14561,10 @@ function stopContainer(name, exec = realExec) {
14561
14561
  } catch {
14562
14562
  }
14563
14563
  }
14564
+ function bindMountSpec(hostPath, containerPath) {
14565
+ const q2 = (v) => /[",]/.test(v) ? `"${v.replace(/"/g, '""')}"` : v;
14566
+ return `type=bind,source=${q2(hostPath)},target=${q2(containerPath)},readonly`;
14567
+ }
14564
14568
  function startContainer(plan, tablationApiBaseUrl, sync, exec = realExec) {
14565
14569
  const args = [
14566
14570
  "run",
@@ -14590,7 +14594,7 @@ function startContainer(plan, tablationApiBaseUrl, sync, exec = realExec) {
14590
14594
  `PASSENGER_MCP_SECRET=${sync.secret}`
14591
14595
  );
14592
14596
  }
14593
- for (const m of plan.mounts) args.push("-v", `${m.hostPath}:${m.containerPath}:ro`);
14597
+ for (const m of plan.mounts) args.push("--mount", bindMountSpec(m.hostPath, m.containerPath));
14594
14598
  args.push(plan.image);
14595
14599
  exec("docker", args);
14596
14600
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tablation/crew",
3
- "version": "0.137.3",
3
+ "version": "0.137.4",
4
4
  "description": "A standing team of headless agents that picks work off a Tablation board, does it on a machine you control, and reports back.",
5
5
  "type": "module",
6
6
  "license": "MIT",