codeam-cli 2.32.2 → 2.32.4

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.32.2] — 2026-06-07
8
+
9
+ ### Fixed
10
+
11
+ - **cli:** Gemini ACP adapter passes --skip-trust
12
+ - **cli:** Rewrite `npx <bin>` → local binary before preview spawn
13
+
7
14
  ## [2.32.1] — 2026-06-07
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.32.2",
501
+ version: "2.32.4",
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.2" : "0.0.0-dev",
5872
+ cliVersion: true ? "2.32.4" : "0.0.0-dev",
5873
5873
  nodeVersion: process.version,
5874
5874
  platform: process.platform,
5875
5875
  arch: process.arch,
@@ -17762,7 +17762,7 @@ var previewStartH = (ctx, _cmd, parsed) => {
17762
17762
  log.info("preview", "start: no detection in payload");
17763
17763
  return;
17764
17764
  }
17765
- const detection = normalizeDetectionForSpawn(rawDetection, process.cwd());
17765
+ const detection = rawDetection;
17766
17766
  const pluginAuthToken = ctx.pluginAuthToken;
17767
17767
  const emitProgress = (step, message) => {
17768
17768
  void postPreviewEvent({
@@ -17830,13 +17830,14 @@ var previewStartH = (ctx, _cmd, parsed) => {
17830
17830
  return;
17831
17831
  }
17832
17832
  }
17833
+ const spawnable = normalizeDetectionForSpawn(detection, process.cwd());
17833
17834
  emitProgress(
17834
17835
  "BOOT_SEQUENCE",
17835
- `${detection.command} ${detection.args.join(" ")}`
17836
+ `${spawnable.command} ${spawnable.args.join(" ")}`
17836
17837
  );
17837
- const devServer = (0, import_child_process12.spawn)(detection.command, detection.args, {
17838
+ const devServer = (0, import_child_process12.spawn)(spawnable.command, spawnable.args, {
17838
17839
  cwd: process.cwd(),
17839
- env: { ...process.env, ...detection.env ?? {} },
17840
+ env: { ...process.env, ...spawnable.env ?? {} },
17840
17841
  stdio: ["ignore", "pipe", "pipe"]
17841
17842
  });
17842
17843
  emitProgress("BIND_PORT", String(detection.port));
@@ -17844,9 +17845,17 @@ var previewStartH = (ctx, _cmd, parsed) => {
17844
17845
  let readyMatched = false;
17845
17846
  let expoUrl = null;
17846
17847
  const readyRe = new RegExp(detection.ready_pattern);
17848
+ const READY_BUFFER_MAX = 32768;
17849
+ let readyBuffer = "";
17847
17850
  const onChunk = (chunk) => {
17848
17851
  const s = chunk.toString();
17849
- if (!readyMatched && readyRe.test(s)) readyMatched = true;
17852
+ if (!readyMatched) {
17853
+ readyBuffer += s;
17854
+ if (readyBuffer.length > READY_BUFFER_MAX) {
17855
+ readyBuffer = readyBuffer.slice(-READY_BUFFER_MAX);
17856
+ }
17857
+ if (readyRe.test(readyBuffer)) readyMatched = true;
17858
+ }
17850
17859
  if (!expoUrl && detection.framework === "Expo") expoUrl = parseExpoUrl(s);
17851
17860
  };
17852
17861
  devServer.stdout.on("data", onChunk);
@@ -24930,7 +24939,7 @@ function checkChokidar() {
24930
24939
  }
24931
24940
  async function doctor(args2 = []) {
24932
24941
  const json = args2.includes("--json");
24933
- const cliVersion = true ? "2.32.2" : "0.0.0-dev";
24942
+ const cliVersion = true ? "2.32.4" : "0.0.0-dev";
24934
24943
  const apiBase = resolveApiBaseUrl();
24935
24944
  const diagnosticId = (0, import_node_crypto8.randomUUID)();
24936
24945
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -25129,7 +25138,7 @@ async function completion(args2) {
25129
25138
  // src/commands/version.ts
25130
25139
  var import_picocolors13 = __toESM(require("picocolors"));
25131
25140
  function version2() {
25132
- const v = true ? "2.32.2" : "unknown";
25141
+ const v = true ? "2.32.4" : "unknown";
25133
25142
  console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
25134
25143
  }
25135
25144
 
@@ -25415,7 +25424,7 @@ function checkForUpdates() {
25415
25424
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
25416
25425
  if (process.env.CI) return;
25417
25426
  if (!process.stdout.isTTY) return;
25418
- const current = true ? "2.32.2" : null;
25427
+ const current = true ? "2.32.4" : null;
25419
25428
  if (!current) return;
25420
25429
  const cache = readCache();
25421
25430
  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.2",
3
+ "version": "2.32.4",
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",