@tablation/crew 0.123.0 → 0.123.1

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 +10 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -28496,7 +28496,7 @@ Signed in as ${result.identity.email} \u2014 minted an API key in workspace "${r
28496
28496
  }
28497
28497
  const pathWt = applyRunWorktree(repoWt.dir, repoWt.config, planWt);
28498
28498
  emit.emit(describeRunWorktreePlan(planWt));
28499
- if (pathWt && planIsUsable(planWt) && repoWt.config.hooks.intel) {
28499
+ if (pathWt && planIsUsable(planWt) && wantsCodeBridge(repoWt.config.hooks.intel)) {
28500
28500
  const shellWt = resolveShell(repoWt.config.shell ?? cfg.ship.shell);
28501
28501
  const paragraph = await startWorktreeIntel({
28502
28502
  worktree: pathWt,
@@ -28518,6 +28518,15 @@ Signed in as ${result.identity.email} \u2014 minted an API key in workspace "${r
28518
28518
  },
28519
28519
  runHook: async (name, cwd, env) => {
28520
28520
  const script = repoWt.config.hooks[name];
28521
+ if (name === "intel" && intelFlavor(script) === "serena") {
28522
+ return startSerena(realSerenaDeps((bin) => !!findOnPath(bin, pathFor(cfg.ship)), { ...process.env, PATH: pathFor(cfg.ship) }), {
28523
+ stateDir: cfg.ship.stateDir,
28524
+ route: routeWt.route,
28525
+ ticket: Number(nWt),
28526
+ worktree: cwd,
28527
+ mainCheckout: repoWt.dir
28528
+ });
28529
+ }
28521
28530
  return script ? runScript(script, { cwd, env, shell: shellWt, timeoutMs: name === "intel" ? 6e4 : void 0 }) : null;
28522
28531
  }
28523
28532
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tablation/crew",
3
- "version": "0.123.0",
3
+ "version": "0.123.1",
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",