codeam-cli 2.61.25 → 2.61.26
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 +6 -0
- package/dist/index.js +9 -9
- package/package.json +1 -1
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.25] — 2026-07-23
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **host-agent:** Enrol + present a control-channel poll secret (self-hosted deploy root fix)
|
|
12
|
+
|
|
7
13
|
## [2.61.24] — 2026-07-22
|
|
8
14
|
|
|
9
15
|
### Chore
|
package/dist/index.js
CHANGED
|
@@ -6117,7 +6117,7 @@ function readAnonId() {
|
|
|
6117
6117
|
}
|
|
6118
6118
|
function superProperties() {
|
|
6119
6119
|
return {
|
|
6120
|
-
cliVersion: true ? "2.61.
|
|
6120
|
+
cliVersion: true ? "2.61.26" : "0.0.0-dev",
|
|
6121
6121
|
nodeVersion: process.version,
|
|
6122
6122
|
platform: process.platform,
|
|
6123
6123
|
arch: process.arch,
|
|
@@ -6298,7 +6298,7 @@ var os4 = __toESM(require("os"));
|
|
|
6298
6298
|
// package.json
|
|
6299
6299
|
var package_default = {
|
|
6300
6300
|
name: "codeam-cli",
|
|
6301
|
-
version: "2.61.
|
|
6301
|
+
version: "2.61.26",
|
|
6302
6302
|
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.",
|
|
6303
6303
|
type: "commonjs",
|
|
6304
6304
|
main: "dist/index.js",
|
|
@@ -7469,7 +7469,7 @@ var CommandRelayService = class _CommandRelayService {
|
|
|
7469
7469
|
// fresh + clear the "CLI update available" banner after a self-update
|
|
7470
7470
|
// (a codespace that reinstalls @latest reconnects via heartbeat, not
|
|
7471
7471
|
// pair/reconnect). Older backends ignore the extra field.
|
|
7472
|
-
..."2.61.
|
|
7472
|
+
..."2.61.26" ? { ideVersion: "2.61.26" } : {}
|
|
7473
7473
|
}).then(() => log.trace("relay", `heartbeat ok online=${online}`)).catch((err) => log.trace("relay", `heartbeat failed online=${online}`, err));
|
|
7474
7474
|
}
|
|
7475
7475
|
/**
|
|
@@ -18331,7 +18331,7 @@ async function autoUpgradeBeforeCriticalCommand() {
|
|
|
18331
18331
|
if (process.env.NODE_ENV === "test") return;
|
|
18332
18332
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
18333
18333
|
if (process.env.CI) return;
|
|
18334
|
-
const current = true ? "2.61.
|
|
18334
|
+
const current = true ? "2.61.26" : null;
|
|
18335
18335
|
if (!current) return;
|
|
18336
18336
|
const cache = readCache();
|
|
18337
18337
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -18348,7 +18348,7 @@ function checkForUpdates() {
|
|
|
18348
18348
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
18349
18349
|
if (process.env.CI) return;
|
|
18350
18350
|
if (!process.stdout.isTTY) return;
|
|
18351
|
-
const current = true ? "2.61.
|
|
18351
|
+
const current = true ? "2.61.26" : null;
|
|
18352
18352
|
if (!current) return;
|
|
18353
18353
|
const cache = readCache();
|
|
18354
18354
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -18368,7 +18368,7 @@ var SELF_UPDATE_INTERVAL_MS = 60 * 60 * 1e3;
|
|
|
18368
18368
|
var SELF_UPDATE_VIEW_TIMEOUT_MS = 3e4;
|
|
18369
18369
|
var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
|
|
18370
18370
|
function currentCliVersion() {
|
|
18371
|
-
return true ? "2.61.
|
|
18371
|
+
return true ? "2.61.26" : null;
|
|
18372
18372
|
}
|
|
18373
18373
|
function runCmd(cmd, args2, timeoutMs) {
|
|
18374
18374
|
return new Promise((resolve8) => {
|
|
@@ -32018,7 +32018,7 @@ function describeError(err) {
|
|
|
32018
32018
|
if (err instanceof Error) return err.message;
|
|
32019
32019
|
return String(err);
|
|
32020
32020
|
}
|
|
32021
|
-
var AUTH_FAILURE_RE = /invalid authentication credentials|authentication[_ ](?:error|required)|please run \/login|\bunauthorized\b|\binvalid x-api-key\b|oauth token (?:expired|revoked)|(?:api error|http|status)[:\s]+401|\b401\b[^\n]{0,40}(?:unauthor|authenticat|credential|api[_ ]?key|login)/i;
|
|
32021
|
+
var AUTH_FAILURE_RE = /invalid authentication credentials|failed to authenticate|authentication[_ ](?:error|required)|please run \/login|\bunauthorized\b|\binvalid x-api-key\b|oauth (?:token|session) (?:expired|revoked)|(?:session|token|credentials?|oauth)[^\n]{0,40}could not be refreshed|(?:api error|http|status)[:\s]+401|\b401\b[^\n]{0,40}(?:unauthor|authenticat|credential|api[_ ]?key|login)/i;
|
|
32022
32022
|
function looksLikeAuthFailure(text) {
|
|
32023
32023
|
return AUTH_FAILURE_RE.test(text);
|
|
32024
32024
|
}
|
|
@@ -38361,7 +38361,7 @@ function checkChokidar() {
|
|
|
38361
38361
|
}
|
|
38362
38362
|
async function doctor(args2 = []) {
|
|
38363
38363
|
const json = args2.includes("--json");
|
|
38364
|
-
const cliVersion = true ? "2.61.
|
|
38364
|
+
const cliVersion = true ? "2.61.26" : "0.0.0-dev";
|
|
38365
38365
|
const apiBase2 = resolveApiBaseUrl();
|
|
38366
38366
|
const diagnosticId = (0, import_node_crypto13.randomUUID)();
|
|
38367
38367
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -38872,7 +38872,7 @@ async function mcpRun(args2) {
|
|
|
38872
38872
|
// src/commands/version.ts
|
|
38873
38873
|
var import_picocolors15 = __toESM(require("picocolors"));
|
|
38874
38874
|
function version2() {
|
|
38875
|
-
const v = true ? "2.61.
|
|
38875
|
+
const v = true ? "2.61.26" : "unknown";
|
|
38876
38876
|
console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
|
|
38877
38877
|
}
|
|
38878
38878
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.61.
|
|
3
|
+
"version": "2.61.26",
|
|
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",
|