codeam-cli 2.61.53 → 2.61.56
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 +12 -0
- package/dist/index.js +22 -17
- package/package.json +1 -1
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.55] — 2026-07-27
|
|
8
|
+
|
|
9
|
+
### Tests
|
|
10
|
+
|
|
11
|
+
- **shared:** Drop vercel from the COMING SOON golden (now live)
|
|
12
|
+
|
|
13
|
+
## [2.61.53] — 2026-07-27
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- **shared:** Enable Vercel integration (headless Bearer live-verified)
|
|
18
|
+
|
|
7
19
|
## [2.61.52] — 2026-07-27
|
|
8
20
|
|
|
9
21
|
### Added
|
package/dist/index.js
CHANGED
|
@@ -531,11 +531,14 @@ var PUBLIC_TO_INTERNAL = {
|
|
|
531
531
|
// opencode is a real, distinct agent (its own binary + ACP server) — it does
|
|
532
532
|
// NOT map onto another runtime. Public id === internal id.
|
|
533
533
|
opencode: "opencode",
|
|
534
|
-
//
|
|
535
|
-
//
|
|
536
|
-
//
|
|
537
|
-
//
|
|
538
|
-
|
|
534
|
+
// OpenRouter runs Claude Code under the hood, pointed at OpenRouter's hosted
|
|
535
|
+
// "Anthropic Skin" (https://openrouter.ai/api — native Anthropic Messages
|
|
536
|
+
// protocol) with the user's vaulted `sk-or-…` key as ANTHROPIC_AUTH_TOKEN,
|
|
537
|
+
// instead of the house MiniMax proxy. Same internal runtime as the house
|
|
538
|
+
// agent — `claude` — differing only in WHERE the Anthropic env is pointed (a
|
|
539
|
+
// buildOpenRouterBootstrap variant). The endpoint is FIXED (hosted), so there
|
|
540
|
+
// is no per-user base URL — just the key.
|
|
541
|
+
openrouter: "claude",
|
|
539
542
|
// The house agent runs Claude Code under the hood (pointed at the
|
|
540
543
|
// MiniMax proxy). Its internal runtime is therefore `claude`.
|
|
541
544
|
[HOUSE_AGENT_ID]: "claude"
|
|
@@ -6675,7 +6678,7 @@ function readAnonId() {
|
|
|
6675
6678
|
}
|
|
6676
6679
|
function superProperties() {
|
|
6677
6680
|
return {
|
|
6678
|
-
cliVersion: true ? "2.61.
|
|
6681
|
+
cliVersion: true ? "2.61.56" : "0.0.0-dev",
|
|
6679
6682
|
nodeVersion: process.version,
|
|
6680
6683
|
platform: process.platform,
|
|
6681
6684
|
arch: process.arch,
|
|
@@ -6856,7 +6859,7 @@ var os4 = __toESM(require("os"));
|
|
|
6856
6859
|
// package.json
|
|
6857
6860
|
var package_default = {
|
|
6858
6861
|
name: "codeam-cli",
|
|
6859
|
-
version: "2.61.
|
|
6862
|
+
version: "2.61.56",
|
|
6860
6863
|
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.",
|
|
6861
6864
|
type: "commonjs",
|
|
6862
6865
|
main: "dist/index.js",
|
|
@@ -8028,7 +8031,7 @@ var CommandRelayService = class _CommandRelayService {
|
|
|
8028
8031
|
// fresh + clear the "CLI update available" banner after a self-update
|
|
8029
8032
|
// (a codespace that reinstalls @latest reconnects via heartbeat, not
|
|
8030
8033
|
// pair/reconnect). Older backends ignore the extra field.
|
|
8031
|
-
..."2.61.
|
|
8034
|
+
..."2.61.56" ? { ideVersion: "2.61.56" } : {}
|
|
8032
8035
|
}).then(() => log.trace("relay", `heartbeat ok online=${online}`)).catch((err) => log.trace("relay", `heartbeat failed online=${online}`, err));
|
|
8033
8036
|
}
|
|
8034
8037
|
/**
|
|
@@ -19137,7 +19140,7 @@ async function autoUpgradeBeforeCriticalCommand() {
|
|
|
19137
19140
|
if (process.env.NODE_ENV === "test") return;
|
|
19138
19141
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
19139
19142
|
if (process.env.CI) return;
|
|
19140
|
-
const current = true ? "2.61.
|
|
19143
|
+
const current = true ? "2.61.56" : null;
|
|
19141
19144
|
if (!current) return;
|
|
19142
19145
|
const cache = readCache();
|
|
19143
19146
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -19154,7 +19157,7 @@ function checkForUpdates() {
|
|
|
19154
19157
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
19155
19158
|
if (process.env.CI) return;
|
|
19156
19159
|
if (!process.stdout.isTTY) return;
|
|
19157
|
-
const current = true ? "2.61.
|
|
19160
|
+
const current = true ? "2.61.56" : null;
|
|
19158
19161
|
if (!current) return;
|
|
19159
19162
|
const cache = readCache();
|
|
19160
19163
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -19174,7 +19177,7 @@ var SELF_UPDATE_INTERVAL_MS = 60 * 60 * 1e3;
|
|
|
19174
19177
|
var SELF_UPDATE_VIEW_TIMEOUT_MS = 3e4;
|
|
19175
19178
|
var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
|
|
19176
19179
|
function currentCliVersion() {
|
|
19177
|
-
return true ? "2.61.
|
|
19180
|
+
return true ? "2.61.56" : null;
|
|
19178
19181
|
}
|
|
19179
19182
|
function runCmd(cmd, args2, timeoutMs) {
|
|
19180
19183
|
return new Promise((resolve8) => {
|
|
@@ -20108,13 +20111,15 @@ var HostAgentSupervisor = class {
|
|
|
20108
20111
|
let childEnv;
|
|
20109
20112
|
let extraArgs = [];
|
|
20110
20113
|
if (payload.houseProxy) {
|
|
20111
|
-
const { baseUrl, token, agentKind,
|
|
20114
|
+
const { baseUrl, token, agentKind, openRouter } = payload.houseProxy;
|
|
20112
20115
|
childEnv = {
|
|
20113
20116
|
ANTHROPIC_BASE_URL: baseUrl,
|
|
20114
20117
|
ANTHROPIC_AUTH_TOKEN: token,
|
|
20115
|
-
// House pins MiniMax;
|
|
20116
|
-
// agent sends, so it sets NO model overrides
|
|
20117
|
-
|
|
20118
|
+
// House pins MiniMax; OpenRouter routes the real Claude model names the
|
|
20119
|
+
// agent sends, so it sets NO model overrides — but it DOES need
|
|
20120
|
+
// ANTHROPIC_API_KEY empty so a stale key can't override the Bearer auth
|
|
20121
|
+
// token (OpenRouter's Claude Code setup requires ANTHROPIC_API_KEY="").
|
|
20122
|
+
...openRouter ? { ANTHROPIC_API_KEY: "" } : {
|
|
20118
20123
|
ANTHROPIC_MODEL: "MiniMax-M3",
|
|
20119
20124
|
ANTHROPIC_DEFAULT_SONNET_MODEL: "MiniMax-M3",
|
|
20120
20125
|
ANTHROPIC_DEFAULT_OPUS_MODEL: "MiniMax-M3",
|
|
@@ -39368,7 +39373,7 @@ function checkChokidar() {
|
|
|
39368
39373
|
}
|
|
39369
39374
|
async function doctor(args2 = []) {
|
|
39370
39375
|
const json = args2.includes("--json");
|
|
39371
|
-
const cliVersion = true ? "2.61.
|
|
39376
|
+
const cliVersion = true ? "2.61.56" : "0.0.0-dev";
|
|
39372
39377
|
const apiBase2 = resolveApiBaseUrl();
|
|
39373
39378
|
const diagnosticId = (0, import_node_crypto13.randomUUID)();
|
|
39374
39379
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -39890,7 +39895,7 @@ async function mcpRun(args2) {
|
|
|
39890
39895
|
// src/commands/version.ts
|
|
39891
39896
|
var import_picocolors15 = __toESM(require("picocolors"));
|
|
39892
39897
|
function version2() {
|
|
39893
|
-
const v = true ? "2.61.
|
|
39898
|
+
const v = true ? "2.61.56" : "unknown";
|
|
39894
39899
|
console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
|
|
39895
39900
|
}
|
|
39896
39901
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.61.
|
|
3
|
+
"version": "2.61.56",
|
|
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",
|