codeam-cli 2.4.34 → 2.4.36

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.4.35] — 2026-05-06
8
+
9
+ ### Added
10
+
11
+ - **cli:** Dump rendered lines when filterChrome returns empty
12
+
7
13
  ## [2.4.33] — 2026-05-05
8
14
 
9
15
  ### Fixed
package/dist/index.js CHANGED
@@ -1482,7 +1482,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
1482
1482
  // package.json
1483
1483
  var package_default = {
1484
1484
  name: "codeam-cli",
1485
- version: "2.4.34",
1485
+ version: "2.4.36",
1486
1486
  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.",
1487
1487
  type: "commonjs",
1488
1488
  main: "dist/index.js",
@@ -4958,6 +4958,7 @@ function filterChrome(lines) {
4958
4958
  skipEchoContinuation = false;
4959
4959
  continue;
4960
4960
  }
4961
+ if (/^[●⏺]\s/.test(t2)) skipEchoContinuation = false;
4961
4962
  if (/^[✳✢✶✻✽✴✷✸✹⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏◐◑◒◓▁▂▃▄▅▆▇█]\s/.test(t2)) continue;
4962
4963
  if (/esc.{0,5}to.{0,5}interrupt/i.test(t2)) continue;
4963
4964
  if (/high\s*[·•]\s*\/effort/i.test(t2)) continue;
@@ -5200,6 +5201,12 @@ var OutputService = class _OutputService {
5200
5201
  "outputSvc",
5201
5202
  `tick empty content (raw=${this.rawBuffer.length}B lines=${lines.length} elapsed=${elapsed}ms)`
5202
5203
  );
5204
+ if (lines.length > 0 && this.rawBuffer.length > 200) {
5205
+ const dump = lines.map((l, i) => `${i}: ${JSON.stringify(l)}`).join("\n");
5206
+ const preview = dump.length > 1500 ? dump.slice(0, 1500) + "\u2026(truncated)" : dump;
5207
+ log.trace("outputSvc", `lines dump:
5208
+ ${preview}`);
5209
+ }
5203
5210
  if (elapsed >= _OutputService.EMPTY_TIMEOUT_MS) this.finalize();
5204
5211
  return;
5205
5212
  }
@@ -5274,10 +5281,15 @@ var OutputService = class _OutputService {
5274
5281
  if (this.pluginAuthToken) {
5275
5282
  headers["X-Plugin-Auth-Token"] = this.pluginAuthToken;
5276
5283
  }
5284
+ const chunkType = body.type ?? "(clear)";
5277
5285
  log.trace(
5278
5286
  "outputSvc",
5279
- `postChunk type=${body.type ?? "(clear)"} done=${body.done === true} bytes=${payload.length}`
5287
+ `postChunk type=${chunkType} done=${body.done === true} bytes=${payload.length}`
5280
5288
  );
5289
+ if (chunkType === "select_prompt" || chunkType === "new_turn" || body.type === "text" && body.done === true) {
5290
+ const preview = payload.length > 2048 ? payload.slice(0, 2048) + "\u2026(truncated)" : payload;
5291
+ log.trace("outputSvc", `payload ${preview}`);
5292
+ }
5281
5293
  return new Promise((resolve2) => {
5282
5294
  const attempt = (attemptsLeft) => {
5283
5295
  _transport2.sendOutputChunk(`${API_BASE4}/api/commands/output`, headers, payload).then(({ statusCode, body: resBody }) => {
@@ -9035,7 +9047,7 @@ async function stopWorkspaceFromLocal(target) {
9035
9047
  // src/commands/version.ts
9036
9048
  var import_picocolors11 = __toESM(require("picocolors"));
9037
9049
  function version() {
9038
- const v = true ? "2.4.34" : "unknown";
9050
+ const v = true ? "2.4.36" : "unknown";
9039
9051
  console.log(`${import_picocolors11.default.bold("codeam-cli")} ${import_picocolors11.default.cyan(v)}`);
9040
9052
  }
9041
9053
 
@@ -9170,7 +9182,7 @@ function checkForUpdates() {
9170
9182
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
9171
9183
  if (process.env.CI) return;
9172
9184
  if (!process.stdout.isTTY) return;
9173
- const current = true ? "2.4.34" : null;
9185
+ const current = true ? "2.4.36" : null;
9174
9186
  if (!current) return;
9175
9187
  const cache = readCache();
9176
9188
  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.4.34",
3
+ "version": "2.4.36",
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",