codeam-cli 2.38.0 → 2.39.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,27 @@ 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.0] — 2026-06-12
8
+
9
+ ### Added
10
+
11
+ - **cli:** Auto-provision project dependencies in codespaces + preview_failed
12
+
13
+ ### Fixed
14
+
15
+ - **cli:** Emit preview_error (not a new type) with stderr tail on dev-server failure
16
+
17
+ ## [2.38.0] — 2026-06-12
18
+
19
+ ### Added
20
+
21
+ - **cli:** Inherit team memories into the active repo's Beads DB (P3b)
22
+
23
+ ### Chore
24
+
25
+ - **deps:** Bump com.squareup.okhttp3:okhttp in /apps/jetbrains-plugin (#326)
26
+ - **deps-dev:** Bump @vscode/test-electron from 2.5.2 to 3.0.0 in /apps/vsc-plugin (#322)
27
+
7
28
  ## [2.37.3] — 2026-06-11
8
29
 
9
30
  ### 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.38.0",
501
+ version: "2.39.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",
@@ -5900,7 +5900,7 @@ function readAnonId() {
5900
5900
  }
5901
5901
  function superProperties() {
5902
5902
  return {
5903
- cliVersion: true ? "2.38.0" : "0.0.0-dev",
5903
+ cliVersion: true ? "2.39.1" : "0.0.0-dev",
5904
5904
  nodeVersion: process.version,
5905
5905
  platform: process.platform,
5906
5906
  arch: process.arch,
@@ -19454,11 +19454,13 @@ var previewStartH = (ctx, _cmd, parsed) => {
19454
19454
  emitProgress("BIND_PORT", String(detection.port));
19455
19455
  emitProgress("WAITING_FOR_READY", detection.ready_pattern);
19456
19456
  let expoUrl = null;
19457
+ let outputTail = "";
19457
19458
  const readyRe = compileReadyPattern(detection.ready_pattern);
19458
19459
  const isNextJs = /next/i.test(detection.framework);
19459
19460
  const outcome = await waitForDevServerReady(devServer, readyRe, {
19460
19461
  timeoutMs: 12e4,
19461
19462
  onChunk: (s) => {
19463
+ outputTail = (outputTail + s).slice(-4e3);
19462
19464
  if (!expoUrl && detection.framework === "Expo") {
19463
19465
  expoUrl = parseExpoUrl(s);
19464
19466
  }
@@ -19473,7 +19475,8 @@ var previewStartH = (ctx, _cmd, parsed) => {
19473
19475
  type: "preview_error",
19474
19476
  payload: {
19475
19477
  stage: "spawn",
19476
- message: `Dev server exited (code ${outcome.code}).`
19478
+ message: `The dev server exited (code ${outcome.code}) before it was ready. It may need a database or other services.`,
19479
+ stderrTail: outputTail.slice(-2e3)
19477
19480
  }
19478
19481
  });
19479
19482
  return;
@@ -19488,7 +19491,11 @@ var previewStartH = (ctx, _cmd, parsed) => {
19488
19491
  pluginId: ctx.pluginId,
19489
19492
  pluginAuthToken,
19490
19493
  type: "preview_error",
19491
- payload: { stage: "ready_timeout", message: "Server didn't signal ready in 120s." }
19494
+ payload: {
19495
+ stage: "ready_timeout",
19496
+ message: "The dev server didn't become ready in time. It may be stuck waiting on a database or other service.",
19497
+ stderrTail: outputTail.slice(-2e3)
19498
+ }
19492
19499
  });
19493
19500
  return;
19494
19501
  }
@@ -26650,7 +26657,7 @@ function checkChokidar() {
26650
26657
  }
26651
26658
  async function doctor(args2 = []) {
26652
26659
  const json = args2.includes("--json");
26653
- const cliVersion = true ? "2.38.0" : "0.0.0-dev";
26660
+ const cliVersion = true ? "2.39.1" : "0.0.0-dev";
26654
26661
  const apiBase = resolveApiBaseUrl();
26655
26662
  const diagnosticId = (0, import_node_crypto8.randomUUID)();
26656
26663
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -26849,7 +26856,7 @@ async function completion(args2) {
26849
26856
  // src/commands/version.ts
26850
26857
  var import_picocolors13 = __toESM(require("picocolors"));
26851
26858
  function version2() {
26852
- const v = true ? "2.38.0" : "unknown";
26859
+ const v = true ? "2.39.1" : "unknown";
26853
26860
  console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
26854
26861
  }
26855
26862
 
@@ -27135,7 +27142,7 @@ function checkForUpdates() {
27135
27142
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
27136
27143
  if (process.env.CI) return;
27137
27144
  if (!process.stdout.isTTY) return;
27138
- const current = true ? "2.38.0" : null;
27145
+ const current = true ? "2.39.1" : null;
27139
27146
  if (!current) return;
27140
27147
  const cache = readCache();
27141
27148
  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.38.0",
3
+ "version": "2.39.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",