codeam-cli 2.32.1 → 2.32.2

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,18 @@ 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.32.1] — 2026-06-07
8
+
9
+ ### Fixed
10
+
11
+ - **cli:** Gemini ACP adapter passes --skip-trust
12
+
13
+ ## [2.32.0] — 2026-06-07
14
+
15
+ ### Added
16
+
17
+ - **cli:** Surface HTTP errors from requestCode + PATH-augment agent spawns
18
+
7
19
  ## [2.31.0] — 2026-06-07
8
20
 
9
21
  ### Chore
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.32.1",
501
+ version: "2.32.2",
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",
@@ -5869,7 +5869,7 @@ function readAnonId() {
5869
5869
  }
5870
5870
  function superProperties() {
5871
5871
  return {
5872
- cliVersion: true ? "2.32.1" : "0.0.0-dev",
5872
+ cliVersion: true ? "2.32.2" : "0.0.0-dev",
5873
5873
  nodeVersion: process.version,
5874
5874
  platform: process.platform,
5875
5875
  arch: process.arch,
@@ -17738,16 +17738,31 @@ var requestPreviewDetectH = (ctx) => {
17738
17738
  });
17739
17739
  })();
17740
17740
  };
17741
+ function normalizeDetectionForSpawn(detection, cwd) {
17742
+ if (detection.command !== "npx") return detection;
17743
+ const args2 = detection.args ?? [];
17744
+ if (args2.length === 0) return detection;
17745
+ const binName = args2[0];
17746
+ if (binName.startsWith("-")) return detection;
17747
+ const binPath = path35.join(cwd, "node_modules", ".bin", binName);
17748
+ if (!fs29.existsSync(binPath)) return detection;
17749
+ return {
17750
+ ...detection,
17751
+ command: binPath,
17752
+ args: args2.slice(1)
17753
+ };
17754
+ }
17741
17755
  var previewStartH = (ctx, _cmd, parsed) => {
17742
17756
  if (!ctx.pluginAuthToken) {
17743
17757
  log.info("preview", "no pluginAuthToken \u2014 skipping start");
17744
17758
  return;
17745
17759
  }
17746
- const detection = parsed.detection;
17747
- if (!detection) {
17760
+ const rawDetection = parsed.detection;
17761
+ if (!rawDetection) {
17748
17762
  log.info("preview", "start: no detection in payload");
17749
17763
  return;
17750
17764
  }
17765
+ const detection = normalizeDetectionForSpawn(rawDetection, process.cwd());
17751
17766
  const pluginAuthToken = ctx.pluginAuthToken;
17752
17767
  const emitProgress = (step, message) => {
17753
17768
  void postPreviewEvent({
@@ -24915,7 +24930,7 @@ function checkChokidar() {
24915
24930
  }
24916
24931
  async function doctor(args2 = []) {
24917
24932
  const json = args2.includes("--json");
24918
- const cliVersion = true ? "2.32.1" : "0.0.0-dev";
24933
+ const cliVersion = true ? "2.32.2" : "0.0.0-dev";
24919
24934
  const apiBase = resolveApiBaseUrl();
24920
24935
  const diagnosticId = (0, import_node_crypto8.randomUUID)();
24921
24936
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -25114,7 +25129,7 @@ async function completion(args2) {
25114
25129
  // src/commands/version.ts
25115
25130
  var import_picocolors13 = __toESM(require("picocolors"));
25116
25131
  function version2() {
25117
- const v = true ? "2.32.1" : "unknown";
25132
+ const v = true ? "2.32.2" : "unknown";
25118
25133
  console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
25119
25134
  }
25120
25135
 
@@ -25400,7 +25415,7 @@ function checkForUpdates() {
25400
25415
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
25401
25416
  if (process.env.CI) return;
25402
25417
  if (!process.stdout.isTTY) return;
25403
- const current = true ? "2.32.1" : null;
25418
+ const current = true ? "2.32.2" : null;
25404
25419
  if (!current) return;
25405
25420
  const cache = readCache();
25406
25421
  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.32.1",
3
+ "version": "2.32.2",
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",