codeam-cli 2.61.72 → 2.61.73

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.61.72] — 2026-07-29
8
+
9
+ ### Fixed
10
+
11
+ - **cli:** Stop the Headroom :8787 proxy respawn loop (pid-check + grace + spawn lock) (#560)
12
+
7
13
  ## [2.61.71] — 2026-07-28
8
14
 
9
15
  ### Added
package/dist/index.js CHANGED
@@ -7074,7 +7074,7 @@ function readAnonId() {
7074
7074
  }
7075
7075
  function superProperties() {
7076
7076
  return {
7077
- cliVersion: true ? "2.61.72" : "0.0.0-dev",
7077
+ cliVersion: true ? "2.61.73" : "0.0.0-dev",
7078
7078
  nodeVersion: process.version,
7079
7079
  platform: process.platform,
7080
7080
  arch: process.arch,
@@ -7255,7 +7255,7 @@ var os4 = __toESM(require("os"));
7255
7255
  // package.json
7256
7256
  var package_default = {
7257
7257
  name: "codeam-cli",
7258
- version: "2.61.72",
7258
+ version: "2.61.73",
7259
7259
  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.",
7260
7260
  type: "commonjs",
7261
7261
  main: "dist/index.js",
@@ -8487,7 +8487,7 @@ var CommandRelayService = class _CommandRelayService {
8487
8487
  // fresh + clear the "CLI update available" banner after a self-update
8488
8488
  // (a codespace that reinstalls @latest reconnects via heartbeat, not
8489
8489
  // pair/reconnect). Older backends ignore the extra field.
8490
- ..."2.61.72" ? { ideVersion: "2.61.72" } : {}
8490
+ ..."2.61.73" ? { ideVersion: "2.61.73" } : {}
8491
8491
  }).then(() => log.trace("relay", `heartbeat ok online=${online}`)).catch((err) => log.trace("relay", `heartbeat failed online=${online}`, err));
8492
8492
  }
8493
8493
  /**
@@ -19601,7 +19601,7 @@ async function autoUpgradeBeforeCriticalCommand() {
19601
19601
  if (process.env.NODE_ENV === "test") return;
19602
19602
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
19603
19603
  if (process.env.CI) return;
19604
- const current = true ? "2.61.72" : null;
19604
+ const current = true ? "2.61.73" : null;
19605
19605
  if (!current) return;
19606
19606
  const cache = readCache();
19607
19607
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -19618,7 +19618,7 @@ function checkForUpdates() {
19618
19618
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
19619
19619
  if (process.env.CI) return;
19620
19620
  if (!process.stdout.isTTY) return;
19621
- const current = true ? "2.61.72" : null;
19621
+ const current = true ? "2.61.73" : null;
19622
19622
  if (!current) return;
19623
19623
  const cache = readCache();
19624
19624
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -19638,7 +19638,7 @@ var SELF_UPDATE_INTERVAL_MS = 60 * 60 * 1e3;
19638
19638
  var SELF_UPDATE_VIEW_TIMEOUT_MS = 3e4;
19639
19639
  var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
19640
19640
  function currentCliVersion() {
19641
- return true ? "2.61.72" : null;
19641
+ return true ? "2.61.73" : null;
19642
19642
  }
19643
19643
  function runCmd(cmd, args2, timeoutMs) {
19644
19644
  return new Promise((resolve9) => {
@@ -19859,6 +19859,9 @@ function isDeployPayload(p2) {
19859
19859
  if (p2.headroomAgent !== void 0 && typeof p2.headroomAgent !== "string") {
19860
19860
  return false;
19861
19861
  }
19862
+ if (p2.suppressOnboardingWelcome !== void 0 && typeof p2.suppressOnboardingWelcome !== "boolean") {
19863
+ return false;
19864
+ }
19862
19865
  if (p2.headroomSavingsIngestUrl !== void 0 && typeof p2.headroomSavingsIngestUrl !== "string") {
19863
19866
  return false;
19864
19867
  }
@@ -20656,6 +20659,9 @@ var HostAgentSupervisor = class {
20656
20659
  childEnv.PREVIEW_TUNNEL_TOKEN = payload.previewTunnelToken;
20657
20660
  childEnv.PREVIEW_TUNNEL_HOSTNAME = payload.previewHostname;
20658
20661
  }
20662
+ if (payload.suppressOnboardingWelcome) {
20663
+ childEnv.CODEAM_ONBOARDING_DISABLED = "1";
20664
+ }
20659
20665
  if (payload.headroomEnabled && payload.headroomAgent && payload.headroomSavingsIngestUrl && isHeadroomSupportedAgent(payload.headroomAgent)) {
20660
20666
  report("headroom", "setting up Headroom proxy");
20661
20667
  const freeBytes = await this.getFreeDisk(os38.homedir());
@@ -32681,8 +32687,14 @@ function buildOnboardingWelcome(cwd) {
32681
32687
  ].join("\n");
32682
32688
  }
32683
32689
  async function maybeSendOnboardingWelcome(opts) {
32684
- if (_onboardingSeam.disabled()) return;
32685
32690
  const marker = _onboardingSeam.markerPath(opts.sessionId);
32691
+ if (_onboardingSeam.disabled()) {
32692
+ try {
32693
+ _onboardingSeam.write(marker);
32694
+ } catch {
32695
+ }
32696
+ return;
32697
+ }
32686
32698
  try {
32687
32699
  if (_onboardingSeam.exists(marker)) {
32688
32700
  try {
@@ -40072,7 +40084,7 @@ function checkChokidar() {
40072
40084
  }
40073
40085
  async function doctor(args2 = []) {
40074
40086
  const json = args2.includes("--json");
40075
- const cliVersion = true ? "2.61.72" : "0.0.0-dev";
40087
+ const cliVersion = true ? "2.61.73" : "0.0.0-dev";
40076
40088
  const apiBase2 = resolveApiBaseUrl();
40077
40089
  const diagnosticId = (0, import_node_crypto13.randomUUID)();
40078
40090
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -40594,7 +40606,7 @@ async function mcpRun(args2) {
40594
40606
  // src/commands/version.ts
40595
40607
  var import_picocolors15 = __toESM(require("picocolors"));
40596
40608
  function version2() {
40597
- const v = true ? "2.61.72" : "unknown";
40609
+ const v = true ? "2.61.73" : "unknown";
40598
40610
  console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
40599
40611
  }
40600
40612
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeam-cli",
3
- "version": "2.61.72",
3
+ "version": "2.61.73",
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",