codeam-cli 2.35.0 → 2.35.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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,15 @@ All notable changes to `codeam-cli` are documented here.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [2.35.0] — 2026-06-10
8
+
9
+ ### Fixed
10
+
11
+ - **shared:** Rename BeadsIngestPayload.deps to required dependencies
12
+ - **cli:** Symlink bd onto PATH + set git beads.role during provisioning
13
+ - **cli:** Set BEADS_DIR pre-spawn so the agent inherits the home brain
14
+ - **cli:** Always send dependencies + summary in beads ingest payload
15
+
7
16
  ## [2.34.0] — 2026-06-10
8
17
 
9
18
  ### Added
package/dist/index.js CHANGED
@@ -498,7 +498,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
498
498
  // package.json
499
499
  var package_default = {
500
500
  name: "codeam-cli",
501
- version: "2.35.0",
501
+ version: "2.35.1",
502
502
  description: "Workflow-continuity bridge for AI coding agents. Wrap Claude Code or Codex in a PTY and supervise, approve, and redirect the session from any device \u2014 async. The terminal companion for CodeAgent Mobile.",
503
503
  type: "commonjs",
504
504
  main: "dist/index.js",
@@ -5898,7 +5898,7 @@ function readAnonId() {
5898
5898
  }
5899
5899
  function superProperties() {
5900
5900
  return {
5901
- cliVersion: true ? "2.35.0" : "0.0.0-dev",
5901
+ cliVersion: true ? "2.35.1" : "0.0.0-dev",
5902
5902
  nodeVersion: process.version,
5903
5903
  platform: process.platform,
5904
5904
  arch: process.arch,
@@ -17478,20 +17478,35 @@ var _provisionSeam = {
17478
17478
  var _linkSeam = {
17479
17479
  platform: () => process.platform,
17480
17480
  /**
17481
- * The directory the `codeam` executable lives in guaranteed on PATH (npm
17482
- * puts global bins there, and that's how the user launched us). We symlink
17483
- * `bd` alongside it so the AGENT's shell resolves `bd` natively. Derived from
17484
- * `process.argv[1]` (the CLI entry script). Returns null when it can't be
17485
- * determined.
17481
+ * A directory ON PATH to symlink `bd` into, so the AGENT's shell + the
17482
+ * SessionStart `bd prime` hook resolve `bd` by name.
17483
+ *
17484
+ * Earlier this used `dirname(realpath(process.argv[1]))` but for a GLOBAL
17485
+ * npm install that resolves to the package's own `dist/` dir (e.g.
17486
+ * `…/node_modules/codeam-cli/dist`), which is NOT on PATH. The symlink landed
17487
+ * somewhere nothing sees, so `which bd` and the hook still failed (observed
17488
+ * live in a codespace). `dirname(process.execPath)` is the dir the `node`
17489
+ * binary lives in — for a global install that's the npm prefix `bin/` where
17490
+ * the `codeam` launcher also lives, and IS on PATH. We prefer the first
17491
+ * candidate that actually appears in `$PATH`, falling back to node's bin dir.
17486
17492
  */
17487
17493
  cliBinDir: () => {
17488
- const entry = process.argv[1];
17489
- if (!entry) return null;
17494
+ const pathDirs = (process.env.PATH ?? "").split(path36.delimiter).filter(Boolean);
17495
+ const candidates = [];
17490
17496
  try {
17491
- return path36.dirname(fs30.realpathSync(entry));
17497
+ candidates.push(path36.dirname(process.execPath));
17492
17498
  } catch {
17493
- return path36.dirname(entry);
17494
17499
  }
17500
+ const entry = process.argv[1];
17501
+ if (entry) {
17502
+ try {
17503
+ candidates.push(path36.dirname(fs30.realpathSync(entry)));
17504
+ } catch {
17505
+ candidates.push(path36.dirname(entry));
17506
+ }
17507
+ }
17508
+ if (candidates.length === 0) return null;
17509
+ return candidates.find((d3) => pathDirs.includes(d3)) ?? candidates[0];
17495
17510
  },
17496
17511
  /** Current symlink target at `linkPath`, or null when absent / not a link. */
17497
17512
  readlink: (linkPath) => {
@@ -25876,7 +25891,7 @@ function checkChokidar() {
25876
25891
  }
25877
25892
  async function doctor(args2 = []) {
25878
25893
  const json = args2.includes("--json");
25879
- const cliVersion = true ? "2.35.0" : "0.0.0-dev";
25894
+ const cliVersion = true ? "2.35.1" : "0.0.0-dev";
25880
25895
  const apiBase = resolveApiBaseUrl();
25881
25896
  const diagnosticId = (0, import_node_crypto8.randomUUID)();
25882
25897
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -26075,7 +26090,7 @@ async function completion(args2) {
26075
26090
  // src/commands/version.ts
26076
26091
  var import_picocolors13 = __toESM(require("picocolors"));
26077
26092
  function version2() {
26078
- const v = true ? "2.35.0" : "unknown";
26093
+ const v = true ? "2.35.1" : "unknown";
26079
26094
  console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
26080
26095
  }
26081
26096
 
@@ -26361,7 +26376,7 @@ function checkForUpdates() {
26361
26376
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
26362
26377
  if (process.env.CI) return;
26363
26378
  if (!process.stdout.isTTY) return;
26364
- const current = true ? "2.35.0" : null;
26379
+ const current = true ? "2.35.1" : null;
26365
26380
  if (!current) return;
26366
26381
  const cache = readCache();
26367
26382
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeam-cli",
3
- "version": "2.35.0",
3
+ "version": "2.35.1",
4
4
  "description": "Workflow-continuity bridge for AI coding agents. Wrap Claude Code or Codex in a PTY and supervise, approve, and redirect the session from any device — async. The terminal companion for CodeAgent Mobile.",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",