codeam-cli 2.17.1 → 2.17.3

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.17.2] — 2026-05-22
8
+
9
+ ### Fixed
10
+
11
+ - **cli:** Streaming-chunk POSTs need sessionId+pluginId in body
12
+
13
+ ## [2.17.1] — 2026-05-22
14
+
15
+ ### Fixed
16
+
17
+ - **cli:** Agent-aware spawn errors; Codex auto-install refresh PATH
18
+
7
19
  ## [2.17.0] — 2026-05-22
8
20
 
9
21
  ### Added
package/dist/index.js CHANGED
@@ -424,7 +424,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
424
424
  // package.json
425
425
  var package_default = {
426
426
  name: "codeam-cli",
427
- version: "2.17.1",
427
+ version: "2.17.3",
428
428
  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.",
429
429
  type: "commonjs",
430
430
  main: "dist/index.js",
@@ -7112,7 +7112,7 @@ var StreamingEmitterService = class {
7112
7112
  const questionId = this.pendingAnswer.questionId;
7113
7113
  try {
7114
7114
  const { statusCode, body } = await _transport4.get(
7115
- `${this.apiBase}/api/sessions/${encodeURIComponent(this.opts.sessionId)}/pending-answer?questionId=${encodeURIComponent(questionId)}`,
7115
+ `${this.apiBase}/api/sessions/${encodeURIComponent(this.opts.sessionId)}/pending-answer?questionId=${encodeURIComponent(questionId)}&pluginId=${encodeURIComponent(this.opts.pluginId)}`,
7116
7116
  this.headers
7117
7117
  );
7118
7118
  if (statusCode === 204 || statusCode === 404) {
@@ -7165,7 +7165,11 @@ var StreamingEmitterService = class {
7165
7165
  );
7166
7166
  }
7167
7167
  async postWithRetries(url, body) {
7168
- const payload = JSON.stringify(body);
7168
+ const payload = JSON.stringify({
7169
+ sessionId: this.opts.sessionId,
7170
+ pluginId: this.opts.pluginId,
7171
+ ...body
7172
+ });
7169
7173
  for (let attempt = 0; attempt <= MAX_RETRIES2; attempt += 1) {
7170
7174
  try {
7171
7175
  const { statusCode, body: resBody } = await _transport4.post(url, this.headers, payload);
@@ -11243,7 +11247,7 @@ async function linkDryRunPreflight(meta) {
11243
11247
  // src/commands/version.ts
11244
11248
  var import_picocolors12 = __toESM(require("picocolors"));
11245
11249
  function version() {
11246
- const v = true ? "2.17.1" : "unknown";
11250
+ const v = true ? "2.17.3" : "unknown";
11247
11251
  console.log(`${import_picocolors12.default.bold("codeam-cli")} ${import_picocolors12.default.cyan(v)}`);
11248
11252
  }
11249
11253
 
@@ -11445,7 +11449,7 @@ function checkForUpdates() {
11445
11449
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
11446
11450
  if (process.env.CI) return;
11447
11451
  if (!process.stdout.isTTY) return;
11448
- const current = true ? "2.17.1" : null;
11452
+ const current = true ? "2.17.3" : null;
11449
11453
  if (!current) return;
11450
11454
  const cache = readCache();
11451
11455
  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.17.1",
3
+ "version": "2.17.3",
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",