codeam-cli 2.75.41 → 2.75.42
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 +17 -10
- 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.75.41] — 2026-09-27
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **cli:** Prune debug logs of dead processes (7 days / 200 MB) (#845)
|
|
12
|
+
|
|
7
13
|
## [2.75.40] — 2026-09-27
|
|
8
14
|
|
|
9
15
|
### Fixed
|
package/dist/index.js
CHANGED
|
@@ -10565,7 +10565,7 @@ function readAnonId() {
|
|
|
10565
10565
|
}
|
|
10566
10566
|
function superProperties() {
|
|
10567
10567
|
return {
|
|
10568
|
-
cliVersion: true ? "2.75.
|
|
10568
|
+
cliVersion: true ? "2.75.42" : "0.0.0-dev",
|
|
10569
10569
|
nodeVersion: process.version,
|
|
10570
10570
|
platform: process.platform,
|
|
10571
10571
|
arch: process.arch,
|
|
@@ -10740,7 +10740,10 @@ var path4 = __toESM(require("path"));
|
|
|
10740
10740
|
var import_child_process2 = require("child_process");
|
|
10741
10741
|
var WRAPPER_REPO_NAME = "codeam-codespace";
|
|
10742
10742
|
function resolveSessionHostname(cwd = process.cwd()) {
|
|
10743
|
-
if (process.env.CODESPACES !== "true")
|
|
10743
|
+
if (process.env.CODESPACES !== "true") {
|
|
10744
|
+
const label = process.env.CODEAM_HOST_LABEL?.trim();
|
|
10745
|
+
return label ? label.slice(0, 80) : _osSeam.hostname();
|
|
10746
|
+
}
|
|
10744
10747
|
return codespaceSessionLabel(cwd) ?? _osSeam.hostname();
|
|
10745
10748
|
}
|
|
10746
10749
|
var _osSeam = {
|
|
@@ -10807,7 +10810,7 @@ var http = __toESM(require("http"));
|
|
|
10807
10810
|
// package.json
|
|
10808
10811
|
var package_default = {
|
|
10809
10812
|
name: "codeam-cli",
|
|
10810
|
-
version: "2.75.
|
|
10813
|
+
version: "2.75.42",
|
|
10811
10814
|
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.",
|
|
10812
10815
|
type: "commonjs",
|
|
10813
10816
|
main: "dist/index.js",
|
|
@@ -10980,7 +10983,11 @@ async function fetchCurrentPluginAuthToken(sessionId, pluginId, pollSecret) {
|
|
|
10980
10983
|
// after the CLI restarted on a new release and took the reconnect
|
|
10981
10984
|
// path (which previously never updated ideVersion). Backends older
|
|
10982
10985
|
// than the matching fix ignore the unknown field (backward-compat).
|
|
10983
|
-
ideVersion: package_default.version
|
|
10986
|
+
ideVersion: package_default.version,
|
|
10987
|
+
// Same for the machine label: a session paired while a CodeAgent Box
|
|
10988
|
+
// reported its container id picks up the box label on reconnect.
|
|
10989
|
+
// Older backends strip the unknown field (whitelist, not forbid).
|
|
10990
|
+
hostname: resolveSessionHostname()
|
|
10984
10991
|
},
|
|
10985
10992
|
// SEC: prove possession so the gated /reconnect returns the token.
|
|
10986
10993
|
// Omitted for legacy sessions (no secret) → backend legacy path.
|
|
@@ -12137,7 +12144,7 @@ var CommandRelayService = class _CommandRelayService {
|
|
|
12137
12144
|
// fresh + clear the "CLI update available" banner after a self-update
|
|
12138
12145
|
// (a codespace that reinstalls @latest reconnects via heartbeat, not
|
|
12139
12146
|
// pair/reconnect). Older backends ignore the extra field.
|
|
12140
|
-
..."2.75.
|
|
12147
|
+
..."2.75.42" ? { ideVersion: "2.75.42" } : {}
|
|
12141
12148
|
};
|
|
12142
12149
|
try {
|
|
12143
12150
|
const res = await _postJson(`${API_BASE2}/api/plugin/heartbeat`, body);
|
|
@@ -48888,7 +48895,7 @@ async function autoUpgradeBeforeCriticalCommand() {
|
|
|
48888
48895
|
if (process.env.NODE_ENV === "test") return;
|
|
48889
48896
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
48890
48897
|
if (process.env.CI) return;
|
|
48891
|
-
const current2 = true ? "2.75.
|
|
48898
|
+
const current2 = true ? "2.75.42" : null;
|
|
48892
48899
|
if (!current2) return;
|
|
48893
48900
|
const cache = readCache();
|
|
48894
48901
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -48905,7 +48912,7 @@ function checkForUpdates() {
|
|
|
48905
48912
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
48906
48913
|
if (process.env.CI) return;
|
|
48907
48914
|
if (!process.stdout.isTTY) return;
|
|
48908
|
-
const current2 = true ? "2.75.
|
|
48915
|
+
const current2 = true ? "2.75.42" : null;
|
|
48909
48916
|
if (!current2) return;
|
|
48910
48917
|
const cache = readCache();
|
|
48911
48918
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -48928,7 +48935,7 @@ var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
|
|
|
48928
48935
|
var SELF_UPDATE_LS_TIMEOUT_MS = 15e3;
|
|
48929
48936
|
var SUDO_PREFLIGHT_TIMEOUT_MS = 5e3;
|
|
48930
48937
|
function currentCliVersion() {
|
|
48931
|
-
return true ? "2.75.
|
|
48938
|
+
return true ? "2.75.42" : null;
|
|
48932
48939
|
}
|
|
48933
48940
|
async function installedVersion(deps) {
|
|
48934
48941
|
const ls = await deps.run(
|
|
@@ -50904,7 +50911,7 @@ function checkChokidar() {
|
|
|
50904
50911
|
}
|
|
50905
50912
|
async function doctor(args2 = []) {
|
|
50906
50913
|
const json = args2.includes("--json");
|
|
50907
|
-
const cliVersion = true ? "2.75.
|
|
50914
|
+
const cliVersion = true ? "2.75.42" : "0.0.0-dev";
|
|
50908
50915
|
const apiBase2 = resolveApiBaseUrl();
|
|
50909
50916
|
const diagnosticId = (0, import_node_crypto13.randomUUID)();
|
|
50910
50917
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -51428,7 +51435,7 @@ async function mcpWarm(argv = [], opts = {}) {
|
|
|
51428
51435
|
// src/commands/version.ts
|
|
51429
51436
|
var import_picocolors15 = __toESM(require("picocolors"));
|
|
51430
51437
|
function version2() {
|
|
51431
|
-
const v = true ? "2.75.
|
|
51438
|
+
const v = true ? "2.75.42" : "unknown";
|
|
51432
51439
|
console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
|
|
51433
51440
|
}
|
|
51434
51441
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.75.
|
|
3
|
+
"version": "2.75.42",
|
|
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",
|