@cabane/companion 0.6.116 → 0.6.117

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
@@ -9133,6 +9133,7 @@ var MANAGER_ENV_KEYS = ["DBUS_SESSION_BUS_ADDRESS", "XDG_RUNTIME_DIR", "PATH"];
9133
9133
  var managerEnvKey = (env) => MANAGER_ENV_KEYS.map((k) => `${k}=${env[k] ?? ""}`).join("\0");
9134
9134
  function createTurnContainment(turnId, deps = {}) {
9135
9135
  const probe = deps.capabilityProbe ?? scopeCapabilityUsable;
9136
+ const fallbackGraceMs = deps.fallbackGraceMs ?? FALLBACK_GRACE_MS;
9136
9137
  const ownUnit = (deps.ownSystemdUnit ?? readCurrentSystemdUnit)();
9137
9138
  const scopeUnits = [];
9138
9139
  const groups = [];
@@ -9254,7 +9255,7 @@ function createTurnContainment(turnId, deps = {}) {
9254
9255
  } catch {
9255
9256
  }
9256
9257
  }
9257
- await sleep3(FALLBACK_GRACE_MS);
9258
+ await sleep3(fallbackGraceMs);
9258
9259
  const afterTerm = processGroupMembers(pgid);
9259
9260
  if (!afterTerm.ok) {
9260
9261
  result.failures.push({
package/dist/runtime.js CHANGED
@@ -8556,6 +8556,7 @@ var MANAGER_ENV_KEYS = ["DBUS_SESSION_BUS_ADDRESS", "XDG_RUNTIME_DIR", "PATH"];
8556
8556
  var managerEnvKey = (env) => MANAGER_ENV_KEYS.map((k) => `${k}=${env[k] ?? ""}`).join("\0");
8557
8557
  function createTurnContainment(turnId, deps = {}) {
8558
8558
  const probe = deps.capabilityProbe ?? scopeCapabilityUsable;
8559
+ const fallbackGraceMs = deps.fallbackGraceMs ?? FALLBACK_GRACE_MS;
8559
8560
  const ownUnit = (deps.ownSystemdUnit ?? readCurrentSystemdUnit)();
8560
8561
  const scopeUnits = [];
8561
8562
  const groups = [];
@@ -8677,7 +8678,7 @@ function createTurnContainment(turnId, deps = {}) {
8677
8678
  } catch {
8678
8679
  }
8679
8680
  }
8680
- await sleep2(FALLBACK_GRACE_MS);
8681
+ await sleep2(fallbackGraceMs);
8681
8682
  const afterTerm = processGroupMembers(pgid);
8682
8683
  if (!afterTerm.ok) {
8683
8684
  result.failures.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabane/companion",
3
- "version": "0.6.116",
3
+ "version": "0.6.117",
4
4
  "type": "module",
5
5
  "description": "The Cabane Companion (headless): connect a coding agent on your machine to your Cabane workspace as a responder — drive work against your own codebase, files, and MCP servers without putting any of it in Cabane.",
6
6
  "license": "UNLICENSED",