codeam-cli 2.12.7 → 2.12.8

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.
Files changed (2) hide show
  1. package/dist/index.js +9 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1682,7 +1682,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
1682
1682
  // package.json
1683
1683
  var package_default = {
1684
1684
  name: "codeam-cli",
1685
- version: "2.12.7",
1685
+ version: "2.12.8",
1686
1686
  description: "Remote control Claude Code (and other AI coding agents) from your mobile phone. Pair your device, send prompts, stream responses in real-time, and approve commands \u2014 from anywhere.",
1687
1687
  type: "commonjs",
1688
1688
  main: "dist/index.js",
@@ -5834,14 +5834,16 @@ function filterCodexChrome(lines) {
5834
5834
  }
5835
5835
  out.push(t2);
5836
5836
  }
5837
- log.trace("codex-parse", `filterCodexChrome in=${lines.length} out=${out.length}`);
5838
- if (process.env.CODEAM_DEBUG === "1") {
5839
- const sampleIn = lines.slice(-40).map((l, i) => ` in[${i}] ${JSON.stringify(l)}`).join("\n");
5837
+ const hasRealInput = lines.some((l) => /\w/.test(l));
5838
+ if (out.length > 0 || hasRealInput) {
5839
+ const sampleIn = lines.slice(-50).map((l, i) => ` in[${i}] ${JSON.stringify(l)}`).join("\n");
5840
5840
  const sampleOut = out.map((l, i) => ` out[${i}] ${JSON.stringify(l)}`).join("\n");
5841
- log.debug("codex-parse", `
5841
+ log.info("codex-parse", `in=${lines.length} out=${out.length}
5842
5842
  ${sampleIn}
5843
5843
  ---
5844
5844
  ${sampleOut}`);
5845
+ } else {
5846
+ log.trace("codex-parse", `filterCodexChrome in=${lines.length} out=${out.length}`);
5845
5847
  }
5846
5848
  return out;
5847
5849
  }
@@ -10140,7 +10142,7 @@ async function stopWorkspaceFromLocal(target) {
10140
10142
  // src/commands/version.ts
10141
10143
  var import_picocolors11 = __toESM(require("picocolors"));
10142
10144
  function version() {
10143
- const v = true ? "2.12.7" : "unknown";
10145
+ const v = true ? "2.12.8" : "unknown";
10144
10146
  console.log(`${import_picocolors11.default.bold("codeam-cli")} ${import_picocolors11.default.cyan(v)}`);
10145
10147
  }
10146
10148
 
@@ -10275,7 +10277,7 @@ function checkForUpdates() {
10275
10277
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
10276
10278
  if (process.env.CI) return;
10277
10279
  if (!process.stdout.isTTY) return;
10278
- const current = true ? "2.12.7" : null;
10280
+ const current = true ? "2.12.8" : null;
10279
10281
  if (!current) return;
10280
10282
  const cache = readCache();
10281
10283
  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.12.7",
3
+ "version": "2.12.8",
4
4
  "description": "Remote control Claude Code (and other AI coding agents) from your mobile phone. Pair your device, send prompts, stream responses in real-time, and approve commands — from anywhere.",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",