codeam-cli 2.61.47 → 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,18 @@ 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
+
13
+ ## [2.61.47] — 2026-07-26
14
+
15
+ ### Added
16
+
17
+ - **shared:** Stitch integration (api_key, hosted MCP over HTTP transport, design)
18
+
7
19
  ## [2.61.46] — 2026-07-26
8
20
 
9
21
  ### Added
package/dist/index.js CHANGED
@@ -512,6 +512,11 @@ var PUBLIC_TO_INTERNAL = {
512
512
  coderabbit: "coderabbit",
513
513
  gemini: "gemini",
514
514
  kimi: "kimi",
515
+ // OmniRoute runs Claude Code under the hood, pointed at the user's OmniRoute
516
+ // gateway (their vaulted base URL + token) instead of the house MiniMax
517
+ // proxy. Same internal runtime as the house agent — `claude` — differing only
518
+ // in WHERE Anthropic env is pointed (a buildOmniRouteBootstrap variant).
519
+ omniroute: "claude",
515
520
  // The house agent runs Claude Code under the hood (pointed at the
516
521
  // MiniMax proxy). Its internal runtime is therefore `claude`.
517
522
  [HOUSE_AGENT_ID]: "claude"
@@ -6619,7 +6624,7 @@ function readAnonId() {
6619
6624
  }
6620
6625
  function superProperties() {
6621
6626
  return {
6622
- cliVersion: true ? "2.61.47" : "0.0.0-dev",
6627
+ cliVersion: true ? "2.61.49" : "0.0.0-dev",
6623
6628
  nodeVersion: process.version,
6624
6629
  platform: process.platform,
6625
6630
  arch: process.arch,
@@ -6800,7 +6805,7 @@ var os4 = __toESM(require("os"));
6800
6805
  // package.json
6801
6806
  var package_default = {
6802
6807
  name: "codeam-cli",
6803
- version: "2.61.47",
6808
+ version: "2.61.49",
6804
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.",
6805
6810
  type: "commonjs",
6806
6811
  main: "dist/index.js",
@@ -7972,7 +7977,7 @@ var CommandRelayService = class _CommandRelayService {
7972
7977
  // fresh + clear the "CLI update available" banner after a self-update
7973
7978
  // (a codespace that reinstalls @latest reconnects via heartbeat, not
7974
7979
  // pair/reconnect). Older backends ignore the extra field.
7975
- ..."2.61.47" ? { ideVersion: "2.61.47" } : {}
7980
+ ..."2.61.49" ? { ideVersion: "2.61.49" } : {}
7976
7981
  }).then(() => log.trace("relay", `heartbeat ok online=${online}`)).catch((err) => log.trace("relay", `heartbeat failed online=${online}`, err));
7977
7982
  }
7978
7983
  /**
@@ -18957,7 +18962,7 @@ async function autoUpgradeBeforeCriticalCommand() {
18957
18962
  if (process.env.NODE_ENV === "test") return;
18958
18963
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
18959
18964
  if (process.env.CI) return;
18960
- const current = true ? "2.61.47" : null;
18965
+ const current = true ? "2.61.49" : null;
18961
18966
  if (!current) return;
18962
18967
  const cache = readCache();
18963
18968
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -18974,7 +18979,7 @@ function checkForUpdates() {
18974
18979
  if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
18975
18980
  if (process.env.CI) return;
18976
18981
  if (!process.stdout.isTTY) return;
18977
- const current = true ? "2.61.47" : null;
18982
+ const current = true ? "2.61.49" : null;
18978
18983
  if (!current) return;
18979
18984
  const cache = readCache();
18980
18985
  const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
@@ -18994,7 +18999,7 @@ var SELF_UPDATE_INTERVAL_MS = 60 * 60 * 1e3;
18994
18999
  var SELF_UPDATE_VIEW_TIMEOUT_MS = 3e4;
18995
19000
  var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
18996
19001
  function currentCliVersion() {
18997
- return true ? "2.61.47" : null;
19002
+ return true ? "2.61.49" : null;
18998
19003
  }
18999
19004
  function runCmd(cmd, args2, timeoutMs) {
19000
19005
  return new Promise((resolve8) => {
@@ -19928,14 +19933,18 @@ var HostAgentSupervisor = class {
19928
19933
  let childEnv;
19929
19934
  let extraArgs = [];
19930
19935
  if (payload.houseProxy) {
19931
- const { baseUrl, token, agentKind } = payload.houseProxy;
19936
+ const { baseUrl, token, agentKind, omniRoute } = payload.houseProxy;
19932
19937
  childEnv = {
19933
19938
  ANTHROPIC_BASE_URL: baseUrl,
19934
19939
  ANTHROPIC_AUTH_TOKEN: token,
19935
- ANTHROPIC_MODEL: "MiniMax-M3",
19936
- ANTHROPIC_DEFAULT_SONNET_MODEL: "MiniMax-M3",
19937
- ANTHROPIC_DEFAULT_OPUS_MODEL: "MiniMax-M3",
19938
- 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
+ },
19939
19948
  CLAUDE_CODE_AUTO_COMPACT_WINDOW: "512000",
19940
19949
  API_TIMEOUT_MS: "3000000",
19941
19950
  CODEAM_AUTO_TOKEN: payload.autoPairToken
@@ -39120,7 +39129,7 @@ function checkChokidar() {
39120
39129
  }
39121
39130
  async function doctor(args2 = []) {
39122
39131
  const json = args2.includes("--json");
39123
- const cliVersion = true ? "2.61.47" : "0.0.0-dev";
39132
+ const cliVersion = true ? "2.61.49" : "0.0.0-dev";
39124
39133
  const apiBase2 = resolveApiBaseUrl();
39125
39134
  const diagnosticId = (0, import_node_crypto13.randomUUID)();
39126
39135
  log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
@@ -39642,7 +39651,7 @@ async function mcpRun(args2) {
39642
39651
  // src/commands/version.ts
39643
39652
  var import_picocolors15 = __toESM(require("picocolors"));
39644
39653
  function version2() {
39645
- const v = true ? "2.61.47" : "unknown";
39654
+ const v = true ? "2.61.49" : "unknown";
39646
39655
  console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
39647
39656
  }
39648
39657
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeam-cli",
3
- "version": "2.61.47",
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",