codeam-cli 2.45.0 → 2.45.1

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.45.0] — 2026-06-25
8
+
9
+ ### Added
10
+
11
+ - **cli:** Cursor self-hosted provisioning (CURSOR_API_KEY)
12
+
7
13
  ## [2.44.0] — 2026-06-25
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.45.0" : "0.0.0-dev",
5400
+ cliVersion: true ? "2.45.1" : "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.45.0",
5581
+ version: "2.45.1",
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",
@@ -17922,7 +17922,7 @@ async function autoUpgradeBeforeCriticalCommand() {
17922
17922
  if (process.env.NODE_ENV === "test") return;
17923
17923
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
17924
17924
  if (process.env.CI) return;
17925
- const current = true ? "2.45.0" : null;
17925
+ const current = true ? "2.45.1" : null;
17926
17926
  if (!current) return;
17927
17927
  const cache = readCache();
17928
17928
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -17939,7 +17939,7 @@ function checkForUpdates() {
17939
17939
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
17940
17940
  if (process.env.CI) return;
17941
17941
  if (!process.stdout.isTTY) return;
17942
- const current = true ? "2.45.0" : null;
17942
+ const current = true ? "2.45.1" : null;
17943
17943
  if (!current) return;
17944
17944
  const cache = readCache();
17945
17945
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -18207,8 +18207,13 @@ function agentIdToHeadroomKind(agentId) {
18207
18207
  if (normalized.startsWith("claude")) return "claude";
18208
18208
  if (normalized.startsWith("codex")) return "codex";
18209
18209
  if (normalized.startsWith("copilot")) return "copilot";
18210
+ if (normalized.startsWith("cursor")) return "cursor";
18210
18211
  return "claude";
18211
18212
  }
18213
+ function isHeadroomSupportedAgent(agentId) {
18214
+ const n = (agentId ?? "").toLowerCase().replace(/[_-]/g, "");
18215
+ return n.startsWith("claude") || n.startsWith("codex") || n.startsWith("copilot") || n.startsWith("cursor");
18216
+ }
18212
18217
  function headroomConfigPath() {
18213
18218
  return path46.join(os33.homedir(), ".codeam", "headroom-config.json");
18214
18219
  }
@@ -18377,7 +18382,7 @@ var defaultSpawner = (env, cwd, args2 = []) => (0, import_node_child_process14.s
18377
18382
  detached: false
18378
18383
  });
18379
18384
  function currentCliVersion() {
18380
- return true ? "2.45.0" : null;
18385
+ return true ? "2.45.1" : null;
18381
18386
  }
18382
18387
  function runCmd(cmd, args2, timeoutMs) {
18383
18388
  return new Promise((resolve7) => {
@@ -18813,7 +18818,7 @@ var HostAgentSupervisor = class {
18813
18818
  childEnv.PREVIEW_TUNNEL_TOKEN = payload.previewTunnelToken;
18814
18819
  childEnv.PREVIEW_TUNNEL_HOSTNAME = payload.previewHostname;
18815
18820
  }
18816
- if (payload.headroomEnabled && payload.headroomAgent && payload.headroomSavingsIngestUrl) {
18821
+ if (payload.headroomEnabled && payload.headroomAgent && payload.headroomSavingsIngestUrl && isHeadroomSupportedAgent(payload.headroomAgent)) {
18817
18822
  report("headroom", "setting up Headroom proxy");
18818
18823
  const freeBytes = await this.getFreeDisk(os33.homedir());
18819
18824
  const alreadyInstalled = this.isHeadroomInstalled();
@@ -18857,6 +18862,12 @@ var HostAgentSupervisor = class {
18857
18862
  }
18858
18863
  } else if (payload.headroomEnabled === false) {
18859
18864
  persistHeadroomConfig({ enabled: false });
18865
+ } else if (payload.headroomEnabled && payload.headroomAgent && !isHeadroomSupportedAgent(payload.headroomAgent)) {
18866
+ log.info(
18867
+ "host-agent",
18868
+ `Headroom unsupported for agent '${payload.headroomAgent}' \u2014 running it natively (no wrap)`
18869
+ );
18870
+ persistHeadroomConfig({ enabled: false });
18860
18871
  }
18861
18872
  report("spawning", "starting agent");
18862
18873
  const proc = this.spawnSessionChild(childEnv, cwd, extraArgs);
@@ -29702,7 +29713,7 @@ function checkChokidar() {
29702
29713
  }
29703
29714
  async function doctor(args2 = []) {
29704
29715
  const json = args2.includes("--json");
29705
- const cliVersion = true ? "2.45.0" : "0.0.0-dev";
29716
+ const cliVersion = true ? "2.45.1" : "0.0.0-dev";
29706
29717
  const apiBase2 = resolveApiBaseUrl();
29707
29718
  const diagnosticId = (0, import_node_crypto8.randomUUID)();
29708
29719
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -29901,7 +29912,7 @@ async function completion(args2) {
29901
29912
  // src/commands/version.ts
29902
29913
  var import_picocolors15 = __toESM(require("picocolors"));
29903
29914
  function version2() {
29904
- const v = true ? "2.45.0" : "unknown";
29915
+ const v = true ? "2.45.1" : "unknown";
29905
29916
  console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
29906
29917
  }
29907
29918
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeam-cli",
3
- "version": "2.45.0",
3
+ "version": "2.45.1",
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",