codeam-cli 2.39.5 → 2.39.6

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,13 @@ 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.39.5] — 2026-06-13
8
+
9
+ ### Fixed
10
+
11
+ - **cli:** Retry transient bd spawn ETXTBSY (not just ENOENT) so beads provisions
12
+ - **cli:** Link bd into ~/.local/bin, not the transient /tmp node prefix
13
+
7
14
  ## [2.39.4] — 2026-06-12
8
15
 
9
16
  ### Fixed
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.39.5",
501
+ version: "2.39.6",
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",
@@ -5900,7 +5900,7 @@ function readAnonId() {
5900
5900
  }
5901
5901
  function superProperties() {
5902
5902
  return {
5903
- cliVersion: true ? "2.39.5" : "0.0.0-dev",
5903
+ cliVersion: true ? "2.39.6" : "0.0.0-dev",
5904
5904
  nodeVersion: process.version,
5905
5905
  platform: process.platform,
5906
5906
  arch: process.arch,
@@ -23725,6 +23725,21 @@ async function start(requestedAgent) {
23725
23725
  beads = started;
23726
23726
  return started;
23727
23727
  });
23728
+ if (process.env.CODESPACES === "true") {
23729
+ const BEADS_GATE_TIMEOUT_MS = 6e4;
23730
+ let gateTimer;
23731
+ await Promise.race([
23732
+ beadsReady.catch(() => null),
23733
+ new Promise((resolve7) => {
23734
+ gateTimer = setTimeout(resolve7, BEADS_GATE_TIMEOUT_MS);
23735
+ })
23736
+ ]);
23737
+ if (gateTimer) clearTimeout(gateTimer);
23738
+ log.info(
23739
+ "beads",
23740
+ `agent-spawn gate released \u2014 beads ${beads ? "ready" : "not ready (timed out / failed; agent runs without it)"}`
23741
+ );
23742
+ }
23728
23743
  const acpDisabled = process.env.CODEAM_ACP_DISABLED === "1";
23729
23744
  if (!acpDisabled && session.pluginAuthToken) {
23730
23745
  const adapter = getAcpAdapter(session.agent);
@@ -26735,7 +26750,7 @@ function checkChokidar() {
26735
26750
  }
26736
26751
  async function doctor(args2 = []) {
26737
26752
  const json = args2.includes("--json");
26738
- const cliVersion = true ? "2.39.5" : "0.0.0-dev";
26753
+ const cliVersion = true ? "2.39.6" : "0.0.0-dev";
26739
26754
  const apiBase = resolveApiBaseUrl();
26740
26755
  const diagnosticId = (0, import_node_crypto8.randomUUID)();
26741
26756
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -26934,7 +26949,7 @@ async function completion(args2) {
26934
26949
  // src/commands/version.ts
26935
26950
  var import_picocolors13 = __toESM(require("picocolors"));
26936
26951
  function version2() {
26937
- const v = true ? "2.39.5" : "unknown";
26952
+ const v = true ? "2.39.6" : "unknown";
26938
26953
  console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
26939
26954
  }
26940
26955
 
@@ -27220,7 +27235,7 @@ function checkForUpdates() {
27220
27235
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
27221
27236
  if (process.env.CI) return;
27222
27237
  if (!process.stdout.isTTY) return;
27223
- const current = true ? "2.39.5" : null;
27238
+ const current = true ? "2.39.6" : null;
27224
27239
  if (!current) return;
27225
27240
  const cache = readCache();
27226
27241
  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.39.5",
3
+ "version": "2.39.6",
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",