codeam-cli 2.61.48 → 2.61.49

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.48] — 2026-07-26
8
+
9
+ ### Added
10
+
11
+ - **shared:** OmniRoute as a LinkedAgentId (maps to internal claude)
12
+
7
13
  ## [2.61.47] — 2026-07-26
8
14
 
9
15
  ### Added
package/dist/index.js CHANGED
@@ -6624,7 +6624,7 @@ function readAnonId() {
6624
6624
  }
6625
6625
  function superProperties() {
6626
6626
  return {
6627
- cliVersion: true ? "2.61.48" : "0.0.0-dev",
6627
+ cliVersion: true ? "2.61.49" : "0.0.0-dev",
6628
6628
  nodeVersion: process.version,
6629
6629
  platform: process.platform,
6630
6630
  arch: process.arch,
@@ -6805,7 +6805,7 @@ var os4 = __toESM(require("os"));
6805
6805
  // package.json
6806
6806
  var package_default = {
6807
6807
  name: "codeam-cli",
6808
- version: "2.61.48",
6808
+ version: "2.61.49",
6809
6809
  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.",
6810
6810
  type: "commonjs",
6811
6811
  main: "dist/index.js",
@@ -7977,7 +7977,7 @@ var CommandRelayService = class _CommandRelayService {
7977
7977
  // fresh + clear the "CLI update available" banner after a self-update
7978
7978
  // (a codespace that reinstalls @latest reconnects via heartbeat, not
7979
7979
  // pair/reconnect). Older backends ignore the extra field.
7980
- ..."2.61.48" ? { ideVersion: "2.61.48" } : {}
7980
+ ..."2.61.49" ? { ideVersion: "2.61.49" } : {}
7981
7981
  }).then(() => log.trace("relay", `heartbeat ok online=${online}`)).catch((err) => log.trace("relay", `heartbeat failed online=${online}`, err));
7982
7982
  }
7983
7983
  /**
@@ -18962,7 +18962,7 @@ async function autoUpgradeBeforeCriticalCommand() {
18962
18962
  if (process.env.NODE_ENV === "test") return;
18963
18963
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
18964
18964
  if (process.env.CI) return;
18965
- const current = true ? "2.61.48" : null;
18965
+ const current = true ? "2.61.49" : null;
18966
18966
  if (!current) return;
18967
18967
  const cache = readCache();
18968
18968
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -18979,7 +18979,7 @@ function checkForUpdates() {
18979
18979
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
18980
18980
  if (process.env.CI) return;
18981
18981
  if (!process.stdout.isTTY) return;
18982
- const current = true ? "2.61.48" : null;
18982
+ const current = true ? "2.61.49" : null;
18983
18983
  if (!current) return;
18984
18984
  const cache = readCache();
18985
18985
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -18999,7 +18999,7 @@ var SELF_UPDATE_INTERVAL_MS = 60 * 60 * 1e3;
18999
18999
  var SELF_UPDATE_VIEW_TIMEOUT_MS = 3e4;
19000
19000
  var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
19001
19001
  function currentCliVersion() {
19002
- return true ? "2.61.48" : null;
19002
+ return true ? "2.61.49" : null;
19003
19003
  }
19004
19004
  function runCmd(cmd, args2, timeoutMs) {
19005
19005
  return new Promise((resolve8) => {
@@ -19933,14 +19933,18 @@ var HostAgentSupervisor = class {
19933
19933
  let childEnv;
19934
19934
  let extraArgs = [];
19935
19935
  if (payload.houseProxy) {
19936
- const { baseUrl, token, agentKind } = payload.houseProxy;
19936
+ const { baseUrl, token, agentKind, omniRoute } = payload.houseProxy;
19937
19937
  childEnv = {
19938
19938
  ANTHROPIC_BASE_URL: baseUrl,
19939
19939
  ANTHROPIC_AUTH_TOKEN: token,
19940
- ANTHROPIC_MODEL: "MiniMax-M3",
19941
- ANTHROPIC_DEFAULT_SONNET_MODEL: "MiniMax-M3",
19942
- ANTHROPIC_DEFAULT_OPUS_MODEL: "MiniMax-M3",
19943
- ANTHROPIC_DEFAULT_HAIKU_MODEL: "MiniMax-M3",
19940
+ // House pins MiniMax; OmniRoute routes the real Claude model names the
19941
+ // agent sends, so it sets NO model overrides.
19942
+ ...omniRoute ? {} : {
19943
+ ANTHROPIC_MODEL: "MiniMax-M3",
19944
+ ANTHROPIC_DEFAULT_SONNET_MODEL: "MiniMax-M3",
19945
+ ANTHROPIC_DEFAULT_OPUS_MODEL: "MiniMax-M3",
19946
+ ANTHROPIC_DEFAULT_HAIKU_MODEL: "MiniMax-M3"
19947
+ },
19944
19948
  CLAUDE_CODE_AUTO_COMPACT_WINDOW: "512000",
19945
19949
  API_TIMEOUT_MS: "3000000",
19946
19950
  CODEAM_AUTO_TOKEN: payload.autoPairToken
@@ -39125,7 +39129,7 @@ function checkChokidar() {
39125
39129
  }
39126
39130
  async function doctor(args2 = []) {
39127
39131
  const json = args2.includes("--json");
39128
- const cliVersion = true ? "2.61.48" : "0.0.0-dev";
39132
+ const cliVersion = true ? "2.61.49" : "0.0.0-dev";
39129
39133
  const apiBase2 = resolveApiBaseUrl();
39130
39134
  const diagnosticId = (0, import_node_crypto13.randomUUID)();
39131
39135
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -39647,7 +39651,7 @@ async function mcpRun(args2) {
39647
39651
  // src/commands/version.ts
39648
39652
  var import_picocolors15 = __toESM(require("picocolors"));
39649
39653
  function version2() {
39650
- const v = true ? "2.61.48" : "unknown";
39654
+ const v = true ? "2.61.49" : "unknown";
39651
39655
  console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
39652
39656
  }
39653
39657
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeam-cli",
3
- "version": "2.61.48",
3
+ "version": "2.61.49",
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",