codeam-cli 2.39.76 → 2.39.77

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,16 @@ 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.39.76] — 2026-06-21
8
+
9
+ ### Added
10
+
11
+ - **cli:** Report compression-$ savings (eliminated tokens × model input price)
12
+
13
+ ### Fixed
14
+
15
+ - **cli:** Smoke probe /health not /api/health
16
+
7
17
  ## [2.39.75] — 2026-06-21
8
18
 
9
19
  ### Fixed
package/dist/index.js CHANGED
@@ -5390,7 +5390,7 @@ function readAnonId() {
5390
5390
  }
5391
5391
  function superProperties() {
5392
5392
  return {
5393
- cliVersion: true ? "2.39.76" : "0.0.0-dev",
5393
+ cliVersion: true ? "2.39.77" : "0.0.0-dev",
5394
5394
  nodeVersion: process.version,
5395
5395
  platform: process.platform,
5396
5396
  arch: process.arch,
@@ -5549,7 +5549,7 @@ var os4 = __toESM(require("os"));
5549
5549
  // package.json
5550
5550
  var package_default = {
5551
5551
  name: "codeam-cli",
5552
- version: "2.39.76",
5552
+ version: "2.39.77",
5553
5553
  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.",
5554
5554
  type: "commonjs",
5555
5555
  main: "dist/index.js",
@@ -17448,7 +17448,7 @@ function checkForUpdates() {
17448
17448
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
17449
17449
  if (process.env.CI) return;
17450
17450
  if (!process.stdout.isTTY) return;
17451
- const current = true ? "2.39.76" : null;
17451
+ const current = true ? "2.39.77" : null;
17452
17452
  if (!current) return;
17453
17453
  const cache = readCache();
17454
17454
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -17855,7 +17855,7 @@ var defaultSpawner = (env, cwd, args2 = []) => (0, import_node_child_process13.s
17855
17855
  detached: false
17856
17856
  });
17857
17857
  function currentCliVersion() {
17858
- return true ? "2.39.76" : null;
17858
+ return true ? "2.39.77" : null;
17859
17859
  }
17860
17860
  function runCmd(cmd, args2, timeoutMs) {
17861
17861
  return new Promise((resolve7) => {
@@ -23692,6 +23692,19 @@ async function runAcpSession(opts) {
23692
23692
  onUnexpectedExit: (code, signal) => {
23693
23693
  log.warn("acpRunner", `adapter died code=${code} signal=${signal}; shutting down session`);
23694
23694
  const authFail = looksLikeAuthFailure(recentStderr.join("\n"));
23695
+ if (authFail) {
23696
+ void fetch(
23697
+ `${resolveApiBaseUrl()}/api/plugin/agents/${encodeURIComponent(opts.agent)}/credential-invalid`,
23698
+ {
23699
+ method: "POST",
23700
+ headers: {
23701
+ "Content-Type": "application/json",
23702
+ "X-Plugin-Auth-Token": opts.pluginAuthToken
23703
+ },
23704
+ body: JSON.stringify({ sessionId: opts.sessionId, pluginId: opts.pluginId })
23705
+ }
23706
+ ).catch(() => void 0);
23707
+ }
23695
23708
  void streaming.closeAll().then(
23696
23709
  () => publisher.publishOutput({
23697
23710
  type: "text",
@@ -28512,7 +28525,7 @@ function checkChokidar() {
28512
28525
  }
28513
28526
  async function doctor(args2 = []) {
28514
28527
  const json = args2.includes("--json");
28515
- const cliVersion = true ? "2.39.76" : "0.0.0-dev";
28528
+ const cliVersion = true ? "2.39.77" : "0.0.0-dev";
28516
28529
  const apiBase2 = resolveApiBaseUrl();
28517
28530
  const diagnosticId = (0, import_node_crypto8.randomUUID)();
28518
28531
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -28711,7 +28724,7 @@ async function completion(args2) {
28711
28724
  // src/commands/version.ts
28712
28725
  var import_picocolors14 = __toESM(require("picocolors"));
28713
28726
  function version2() {
28714
- const v = true ? "2.39.76" : "unknown";
28727
+ const v = true ? "2.39.77" : "unknown";
28715
28728
  console.log(`${import_picocolors14.default.bold("codeam-cli")} ${import_picocolors14.default.cyan(v)}`);
28716
28729
  }
28717
28730
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeam-cli",
3
- "version": "2.39.76",
3
+ "version": "2.39.77",
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",