codeam-cli 2.49.1 → 2.49.2

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.49.1] — 2026-06-27
8
+
9
+ ### Fixed
10
+
11
+ - **cli:** Resolve headroom agent from running session, not just payload
12
+
7
13
  ## [2.49.0] — 2026-06-27
8
14
 
9
15
  ### Added
package/dist/index.js CHANGED
@@ -5397,7 +5397,7 @@ function readAnonId() {
5397
5397
  }
5398
5398
  function superProperties() {
5399
5399
  return {
5400
- cliVersion: true ? "2.49.1" : "0.0.0-dev",
5400
+ cliVersion: true ? "2.49.2" : "0.0.0-dev",
5401
5401
  nodeVersion: process.version,
5402
5402
  platform: process.platform,
5403
5403
  arch: process.arch,
@@ -5578,7 +5578,7 @@ var os4 = __toESM(require("os"));
5578
5578
  // package.json
5579
5579
  var package_default = {
5580
5580
  name: "codeam-cli",
5581
- version: "2.49.1",
5581
+ version: "2.49.2",
5582
5582
  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.",
5583
5583
  type: "commonjs",
5584
5584
  main: "dist/index.js",
@@ -14747,7 +14747,7 @@ async function autoUpgradeBeforeCriticalCommand() {
14747
14747
  if (process.env.NODE_ENV === "test") return;
14748
14748
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
14749
14749
  if (process.env.CI) return;
14750
- const current = true ? "2.49.1" : null;
14750
+ const current = true ? "2.49.2" : null;
14751
14751
  if (!current) return;
14752
14752
  const cache = readCache();
14753
14753
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -14764,7 +14764,7 @@ function checkForUpdates() {
14764
14764
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
14765
14765
  if (process.env.CI) return;
14766
14766
  if (!process.stdout.isTTY) return;
14767
- const current = true ? "2.49.1" : null;
14767
+ const current = true ? "2.49.2" : null;
14768
14768
  if (!current) return;
14769
14769
  const cache = readCache();
14770
14770
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -15259,7 +15259,7 @@ var defaultSpawner = (env, cwd, args2 = []) => (0, import_node_child_process14.s
15259
15259
  detached: false
15260
15260
  });
15261
15261
  function currentCliVersion() {
15262
- return true ? "2.49.1" : null;
15262
+ return true ? "2.49.2" : null;
15263
15263
  }
15264
15264
  function runCmd(cmd, args2, timeoutMs) {
15265
15265
  return new Promise((resolve7) => {
@@ -26318,6 +26318,11 @@ function buildLegacyContextForACP(opts, relay, runtime) {
26318
26318
  keepAliveCtx: null,
26319
26319
  pluginId: opts.pluginId,
26320
26320
  sessionId: opts.sessionId,
26321
+ // The running ACP agent (claude/codex/gemini/cursor). REQUIRED: headroom_configure
26322
+ // resolves the agent from ctx.agentId; without it the enable gate sees '' and
26323
+ // returns {supported:false} for a real Claude session (the `as unknown` cast
26324
+ // below previously hid this missing field from the type checker).
26325
+ agentId: opts.agent,
26321
26326
  pluginAuthToken: opts.pluginAuthToken
26322
26327
  };
26323
26328
  }
@@ -30196,7 +30201,7 @@ function checkChokidar() {
30196
30201
  }
30197
30202
  async function doctor(args2 = []) {
30198
30203
  const json = args2.includes("--json");
30199
- const cliVersion = true ? "2.49.1" : "0.0.0-dev";
30204
+ const cliVersion = true ? "2.49.2" : "0.0.0-dev";
30200
30205
  const apiBase2 = resolveApiBaseUrl();
30201
30206
  const diagnosticId = (0, import_node_crypto8.randomUUID)();
30202
30207
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -30395,7 +30400,7 @@ async function completion(args2) {
30395
30400
  // src/commands/version.ts
30396
30401
  var import_picocolors15 = __toESM(require("picocolors"));
30397
30402
  function version2() {
30398
- const v = true ? "2.49.1" : "unknown";
30403
+ const v = true ? "2.49.2" : "unknown";
30399
30404
  console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
30400
30405
  }
30401
30406
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeam-cli",
3
- "version": "2.49.1",
3
+ "version": "2.49.2",
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",