codeam-cli 2.39.41 → 2.39.42

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,12 @@ 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.41] — 2026-06-19
8
+
9
+ ### Fixed
10
+
11
+ - **cli:** Install yarn on demand when a yarn project lacks it
12
+
7
13
  ## [2.39.40] — 2026-06-19
8
14
 
9
15
  ### 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.39.41",
501
+ version: "2.39.42",
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",
@@ -5908,7 +5908,7 @@ function readAnonId() {
5908
5908
  }
5909
5909
  function superProperties() {
5910
5910
  return {
5911
- cliVersion: true ? "2.39.41" : "0.0.0-dev",
5911
+ cliVersion: true ? "2.39.42" : "0.0.0-dev",
5912
5912
  nodeVersion: process.version,
5913
5913
  platform: process.platform,
5914
5914
  arch: process.arch,
@@ -19073,6 +19073,19 @@ var previewStartH = (ctx, _cmd, parsed) => {
19073
19073
  return;
19074
19074
  }
19075
19075
  }
19076
+ if (await isPortListening(detection.port)) {
19077
+ void postPreviewEvent({
19078
+ sessionId: ctx.sessionId,
19079
+ pluginId: ctx.pluginId,
19080
+ pluginAuthToken,
19081
+ type: "preview_error",
19082
+ payload: {
19083
+ stage: "spawn",
19084
+ message: `Port ${detection.port} is already in use by another process, so the dev server can't start there. Stop whatever is listening on port ${detection.port} and try the preview again.`
19085
+ }
19086
+ });
19087
+ return;
19088
+ }
19076
19089
  const spawnable = normalizeDetectionForSpawn(detection, process.cwd());
19077
19090
  emitProgress(
19078
19091
  "BOOT_SEQUENCE",
@@ -27276,7 +27289,7 @@ function checkChokidar() {
27276
27289
  }
27277
27290
  async function doctor(args2 = []) {
27278
27291
  const json = args2.includes("--json");
27279
- const cliVersion = true ? "2.39.41" : "0.0.0-dev";
27292
+ const cliVersion = true ? "2.39.42" : "0.0.0-dev";
27280
27293
  const apiBase2 = resolveApiBaseUrl();
27281
27294
  const diagnosticId = (0, import_node_crypto8.randomUUID)();
27282
27295
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -27475,7 +27488,7 @@ async function completion(args2) {
27475
27488
  // src/commands/version.ts
27476
27489
  var import_picocolors13 = __toESM(require("picocolors"));
27477
27490
  function version2() {
27478
- const v = true ? "2.39.41" : "unknown";
27491
+ const v = true ? "2.39.42" : "unknown";
27479
27492
  console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
27480
27493
  }
27481
27494
 
@@ -27761,7 +27774,7 @@ function checkForUpdates() {
27761
27774
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
27762
27775
  if (process.env.CI) return;
27763
27776
  if (!process.stdout.isTTY) return;
27764
- const current = true ? "2.39.41" : null;
27777
+ const current = true ? "2.39.42" : null;
27765
27778
  if (!current) return;
27766
27779
  const cache = readCache();
27767
27780
  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.41",
3
+ "version": "2.39.42",
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",