codeam-cli 2.75.33 → 2.75.34

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.75.33] — 2026-09-26
8
+
9
+ ### Fixed
10
+
11
+ - **cli:** Keep a fresher Codex login; legacy hosts self-enrol their poll secret (#830)
12
+
7
13
  ## [2.75.32] — 2026-09-26
8
14
 
9
15
  ### Fixed
package/dist/index.js CHANGED
@@ -10516,7 +10516,7 @@ function readAnonId() {
10516
10516
  }
10517
10517
  function superProperties() {
10518
10518
  return {
10519
- cliVersion: true ? "2.75.33" : "0.0.0-dev",
10519
+ cliVersion: true ? "2.75.34" : "0.0.0-dev",
10520
10520
  nodeVersion: process.version,
10521
10521
  platform: process.platform,
10522
10522
  arch: process.arch,
@@ -10758,7 +10758,7 @@ var http = __toESM(require("http"));
10758
10758
  // package.json
10759
10759
  var package_default = {
10760
10760
  name: "codeam-cli",
10761
- version: "2.75.33",
10761
+ version: "2.75.34",
10762
10762
  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.",
10763
10763
  type: "commonjs",
10764
10764
  main: "dist/index.js",
@@ -12088,7 +12088,7 @@ var CommandRelayService = class _CommandRelayService {
12088
12088
  // fresh + clear the "CLI update available" banner after a self-update
12089
12089
  // (a codespace that reinstalls @latest reconnects via heartbeat, not
12090
12090
  // pair/reconnect). Older backends ignore the extra field.
12091
- ..."2.75.33" ? { ideVersion: "2.75.33" } : {}
12091
+ ..."2.75.34" ? { ideVersion: "2.75.34" } : {}
12092
12092
  };
12093
12093
  try {
12094
12094
  const res = await _postJson(`${API_BASE2}/api/plugin/heartbeat`, body);
@@ -48263,14 +48263,18 @@ function planSessionResume(records, max) {
48263
48263
  const bound = Math.max(0, Math.floor(max));
48264
48264
  return { resume: ordered.slice(0, bound), dropped: ordered.slice(bound) };
48265
48265
  }
48266
- function pickSavedSessionForWorkspace(sessions3, cwd) {
48266
+ function pickSavedSessionForWorkspace(sessions3, cwd, deployId) {
48267
48267
  const target = path90.resolve(cwd);
48268
+ const reconnectable = (s) => !!s.pluginId && !!s.pollSecret && !!s.agent;
48268
48269
  const matches = sessions3.filter(
48269
- (s) => !!s.cwd && path90.resolve(s.cwd) === target && !!s.pluginId && !!s.pollSecret && !!s.agent
48270
+ (s) => !!s.cwd && path90.resolve(s.cwd) === target && reconnectable(s)
48270
48271
  );
48271
- if (matches.length === 0) return null;
48272
- matches.sort((a, b) => b.pairedAt - a.pairedAt);
48273
- return matches[0];
48272
+ if (matches.length > 0) {
48273
+ matches.sort((a, b) => b.pairedAt - a.pairedAt);
48274
+ return matches[0];
48275
+ }
48276
+ if (!deployId) return null;
48277
+ return sessions3.find((s) => !s.cwd && s.id === deployId && reconnectable(s)) ?? null;
48274
48278
  }
48275
48279
 
48276
48280
  // src/commands/host/git-tooling.ts
@@ -48710,7 +48714,7 @@ async function autoUpgradeBeforeCriticalCommand() {
48710
48714
  if (process.env.NODE_ENV === "test") return;
48711
48715
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
48712
48716
  if (process.env.CI) return;
48713
- const current2 = true ? "2.75.33" : null;
48717
+ const current2 = true ? "2.75.34" : null;
48714
48718
  if (!current2) return;
48715
48719
  const cache = readCache();
48716
48720
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -48727,7 +48731,7 @@ function checkForUpdates() {
48727
48731
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
48728
48732
  if (process.env.CI) return;
48729
48733
  if (!process.stdout.isTTY) return;
48730
- const current2 = true ? "2.75.33" : null;
48734
+ const current2 = true ? "2.75.34" : null;
48731
48735
  if (!current2) return;
48732
48736
  const cache = readCache();
48733
48737
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -48750,7 +48754,7 @@ var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
48750
48754
  var SELF_UPDATE_LS_TIMEOUT_MS = 15e3;
48751
48755
  var SUDO_PREFLIGHT_TIMEOUT_MS = 5e3;
48752
48756
  function currentCliVersion() {
48753
- return true ? "2.75.33" : null;
48757
+ return true ? "2.75.34" : null;
48754
48758
  }
48755
48759
  async function installedVersion(deps) {
48756
48760
  const ls = await deps.run(
@@ -50041,7 +50045,7 @@ var HostAgentSupervisor = class {
50041
50045
  const saved = this.listSavedSessions();
50042
50046
  let resumed = 0;
50043
50047
  for (const rec of resume) {
50044
- const session = pickSavedSessionForWorkspace(saved, rec.cwd);
50048
+ const session = pickSavedSessionForWorkspace(saved, rec.cwd, rec.deployId);
50045
50049
  if (!session) {
50046
50050
  log.warn(
50047
50051
  "host-agent",
@@ -50715,7 +50719,7 @@ function checkChokidar() {
50715
50719
  }
50716
50720
  async function doctor(args2 = []) {
50717
50721
  const json = args2.includes("--json");
50718
- const cliVersion = true ? "2.75.33" : "0.0.0-dev";
50722
+ const cliVersion = true ? "2.75.34" : "0.0.0-dev";
50719
50723
  const apiBase2 = resolveApiBaseUrl();
50720
50724
  const diagnosticId = (0, import_node_crypto13.randomUUID)();
50721
50725
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -51239,7 +51243,7 @@ async function mcpWarm(argv = [], opts = {}) {
51239
51243
  // src/commands/version.ts
51240
51244
  var import_picocolors15 = __toESM(require("picocolors"));
51241
51245
  function version2() {
51242
- const v = true ? "2.75.33" : "unknown";
51246
+ const v = true ? "2.75.34" : "unknown";
51243
51247
  console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
51244
51248
  }
51245
51249
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeam-cli",
3
- "version": "2.75.33",
3
+ "version": "2.75.34",
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",