codeam-cli 2.9.6 → 2.9.7

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.9.5] — 2026-05-10
8
+
9
+ ### Fixed
10
+
11
+ - **cli:** Preserve newlines when scanning PTY for API errors
12
+
7
13
  ## [2.9.4] — 2026-05-10
8
14
 
9
15
  ### Fixed
package/dist/index.js CHANGED
@@ -1477,7 +1477,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
1477
1477
  // package.json
1478
1478
  var package_default = {
1479
1479
  name: "codeam-cli",
1480
- version: "2.9.6",
1480
+ version: "2.9.7",
1481
1481
  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.",
1482
1482
  type: "commonjs",
1483
1483
  main: "dist/index.js",
@@ -5968,7 +5968,10 @@ var HistoryService = class {
5968
5968
  * Returns the number of messages uploaded (0 means nothing new).
5969
5969
  */
5970
5970
  async uploadDelta() {
5971
- if (!this.currentConversationId) return 0;
5971
+ if (!this.currentConversationId) {
5972
+ this.detectCurrentConversation();
5973
+ if (!this.currentConversationId) return 0;
5974
+ }
5972
5975
  const sessionId = this.currentConversationId;
5973
5976
  const filePath = path8.join(this.projectDir, `${sessionId}.jsonl`);
5974
5977
  const messages = parseJsonl(filePath);
@@ -9318,7 +9321,7 @@ async function stopWorkspaceFromLocal(target) {
9318
9321
  // src/commands/version.ts
9319
9322
  var import_picocolors11 = __toESM(require("picocolors"));
9320
9323
  function version() {
9321
- const v = true ? "2.9.6" : "unknown";
9324
+ const v = true ? "2.9.7" : "unknown";
9322
9325
  console.log(`${import_picocolors11.default.bold("codeam-cli")} ${import_picocolors11.default.cyan(v)}`);
9323
9326
  }
9324
9327
 
@@ -9453,7 +9456,7 @@ function checkForUpdates() {
9453
9456
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
9454
9457
  if (process.env.CI) return;
9455
9458
  if (!process.stdout.isTTY) return;
9456
- const current = true ? "2.9.6" : null;
9459
+ const current = true ? "2.9.7" : null;
9457
9460
  if (!current) return;
9458
9461
  const cache = readCache();
9459
9462
  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.9.6",
3
+ "version": "2.9.7",
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",