codeam-cli 2.74.11 → 2.74.12

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.74.11] — 2026-09-07
8
+
9
+ ### Chore
10
+
11
+ - **shared:** Slack registry requests the 11 scopes the product uses (#725)
12
+
7
13
  ## [2.74.10] — 2026-09-07
8
14
 
9
15
  ### Fixed
package/dist/index.js CHANGED
@@ -8137,7 +8137,7 @@ function readAnonId() {
8137
8137
  }
8138
8138
  function superProperties() {
8139
8139
  return {
8140
- cliVersion: true ? "2.74.11" : "0.0.0-dev",
8140
+ cliVersion: true ? "2.74.12" : "0.0.0-dev",
8141
8141
  nodeVersion: process.version,
8142
8142
  platform: process.platform,
8143
8143
  arch: process.arch,
@@ -8379,7 +8379,7 @@ var http = __toESM(require("http"));
8379
8379
  // package.json
8380
8380
  var package_default = {
8381
8381
  name: "codeam-cli",
8382
- version: "2.74.11",
8382
+ version: "2.74.12",
8383
8383
  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.",
8384
8384
  type: "commonjs",
8385
8385
  main: "dist/index.js",
@@ -9972,7 +9972,7 @@ var CommandRelayService = class _CommandRelayService {
9972
9972
  // fresh + clear the "CLI update available" banner after a self-update
9973
9973
  // (a codespace that reinstalls @latest reconnects via heartbeat, not
9974
9974
  // pair/reconnect). Older backends ignore the extra field.
9975
- ..."2.74.11" ? { ideVersion: "2.74.11" } : {}
9975
+ ..."2.74.12" ? { ideVersion: "2.74.12" } : {}
9976
9976
  }).then(() => log.trace("relay", `heartbeat ok online=${online}`)).catch((err) => log.trace("relay", `heartbeat failed online=${online}`, err));
9977
9977
  }
9978
9978
  /**
@@ -21231,7 +21231,7 @@ var codexProvisioner = {
21231
21231
  write(auth, home) {
21232
21232
  const authJson = path46.join(home, ".codex", "auth.json");
21233
21233
  if (auth.kind === "api_key") {
21234
- rmIfExists(authJson);
21234
+ writeFile0600(authJson, JSON.stringify({ auth_mode: "apikey", OPENAI_API_KEY: auth.value }));
21235
21235
  return { OPENAI_API_KEY: auth.value };
21236
21236
  }
21237
21237
  writeFile0600(authJson, auth.value);
@@ -22273,7 +22273,7 @@ async function autoUpgradeBeforeCriticalCommand() {
22273
22273
  if (process.env.NODE_ENV === "test") return;
22274
22274
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
22275
22275
  if (process.env.CI) return;
22276
- const current2 = true ? "2.74.11" : null;
22276
+ const current2 = true ? "2.74.12" : null;
22277
22277
  if (!current2) return;
22278
22278
  const cache = readCache();
22279
22279
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -22290,7 +22290,7 @@ function checkForUpdates() {
22290
22290
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
22291
22291
  if (process.env.CI) return;
22292
22292
  if (!process.stdout.isTTY) return;
22293
- const current2 = true ? "2.74.11" : null;
22293
+ const current2 = true ? "2.74.12" : null;
22294
22294
  if (!current2) return;
22295
22295
  const cache = readCache();
22296
22296
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -22313,7 +22313,7 @@ var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
22313
22313
  var SELF_UPDATE_LS_TIMEOUT_MS = 15e3;
22314
22314
  var SUDO_PREFLIGHT_TIMEOUT_MS = 5e3;
22315
22315
  function currentCliVersion() {
22316
- return true ? "2.74.11" : null;
22316
+ return true ? "2.74.12" : null;
22317
22317
  }
22318
22318
  async function installedVersion(deps) {
22319
22319
  const ls = await deps.run(
@@ -40808,17 +40808,19 @@ ${recentStderr.join("\n")}`);
40808
40808
  hadText,
40809
40809
  agent: opts.agent
40810
40810
  });
40811
+ const failed = { error: detail };
40811
40812
  if (bubble) {
40812
40813
  await streaming.closeWithBubble(bubble);
40813
40814
  history.appendAgentReply(bubble);
40814
40815
  void history.flush();
40815
40816
  } else {
40816
40817
  await streaming.closeAll();
40818
+ failed.partialReplyKept = true;
40817
40819
  }
40818
40820
  if (bubble === AUTH_FAILURE_MESSAGE || bubble === ONE_M_CREDITS_MESSAGE) {
40819
40821
  void reportCredentialInvalid(opts);
40820
40822
  }
40821
- await relay.sendResult(cmd.id, "failed", { error: detail });
40823
+ await relay.sendResult(cmd.id, "failed", failed);
40822
40824
  return;
40823
40825
  }
40824
40826
  }
@@ -47603,7 +47605,7 @@ function checkChokidar() {
47603
47605
  }
47604
47606
  async function doctor(args2 = []) {
47605
47607
  const json = args2.includes("--json");
47606
- const cliVersion = true ? "2.74.11" : "0.0.0-dev";
47608
+ const cliVersion = true ? "2.74.12" : "0.0.0-dev";
47607
47609
  const apiBase2 = resolveApiBaseUrl();
47608
47610
  const diagnosticId = (0, import_node_crypto13.randomUUID)();
47609
47611
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -48127,7 +48129,7 @@ async function mcpWarm(argv = [], opts = {}) {
48127
48129
  // src/commands/version.ts
48128
48130
  var import_picocolors15 = __toESM(require("picocolors"));
48129
48131
  function version2() {
48130
- const v = true ? "2.74.11" : "unknown";
48132
+ const v = true ? "2.74.12" : "unknown";
48131
48133
  console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
48132
48134
  }
48133
48135
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeam-cli",
3
- "version": "2.74.11",
3
+ "version": "2.74.12",
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",