codeam-cli 2.39.71 → 2.39.72
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 +21 -8
- 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.39.71] — 2026-06-21
|
|
8
|
+
|
|
9
|
+
### Tests
|
|
10
|
+
|
|
11
|
+
- **host-agent:** Drop the real-subprocess Headroom test (downloaded PyTorch in CI)
|
|
12
|
+
|
|
7
13
|
## [2.39.69] — 2026-06-21
|
|
8
14
|
|
|
9
15
|
### Added
|
package/dist/index.js
CHANGED
|
@@ -5388,7 +5388,7 @@ function readAnonId() {
|
|
|
5388
5388
|
}
|
|
5389
5389
|
function superProperties() {
|
|
5390
5390
|
return {
|
|
5391
|
-
cliVersion: true ? "2.39.
|
|
5391
|
+
cliVersion: true ? "2.39.72" : "0.0.0-dev",
|
|
5392
5392
|
nodeVersion: process.version,
|
|
5393
5393
|
platform: process.platform,
|
|
5394
5394
|
arch: process.arch,
|
|
@@ -5547,7 +5547,7 @@ var os4 = __toESM(require("os"));
|
|
|
5547
5547
|
// package.json
|
|
5548
5548
|
var package_default = {
|
|
5549
5549
|
name: "codeam-cli",
|
|
5550
|
-
version: "2.39.
|
|
5550
|
+
version: "2.39.72",
|
|
5551
5551
|
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.",
|
|
5552
5552
|
type: "commonjs",
|
|
5553
5553
|
main: "dist/index.js",
|
|
@@ -17406,7 +17406,7 @@ function checkForUpdates() {
|
|
|
17406
17406
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
17407
17407
|
if (process.env.CI) return;
|
|
17408
17408
|
if (!process.stdout.isTTY) return;
|
|
17409
|
-
const current = true ? "2.39.
|
|
17409
|
+
const current = true ? "2.39.72" : null;
|
|
17410
17410
|
if (!current) return;
|
|
17411
17411
|
const cache = readCache();
|
|
17412
17412
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -17736,14 +17736,27 @@ async function setupHeadroomForSelfHosted(agent, runner = defaultHeadroomRunner)
|
|
|
17736
17736
|
}
|
|
17737
17737
|
return false;
|
|
17738
17738
|
};
|
|
17739
|
-
const
|
|
17739
|
+
const torchInstalled = await pipInstall(
|
|
17740
17740
|
["torch"],
|
|
17741
17741
|
["--index-url", "https://download.pytorch.org/whl/cpu"],
|
|
17742
17742
|
ENGINE_INSTALL_TIMEOUT_MS
|
|
17743
17743
|
);
|
|
17744
|
+
let torchOk = false;
|
|
17745
|
+
if (torchInstalled) {
|
|
17746
|
+
const v = await runner.run("python3", ["-c", "import torch; import torch.export"], {
|
|
17747
|
+
timeoutMs: 6e4
|
|
17748
|
+
});
|
|
17749
|
+
torchOk = v.code === 0;
|
|
17750
|
+
if (!torchOk) {
|
|
17751
|
+
log.warn(
|
|
17752
|
+
"host-agent",
|
|
17753
|
+
`torch installed but failed its deep-import validation (code=${String(v.code)}) \u2014 disabling Kompress to avoid a hung proxy; using the AST code engine only`
|
|
17754
|
+
);
|
|
17755
|
+
}
|
|
17756
|
+
}
|
|
17744
17757
|
log.info(
|
|
17745
17758
|
"host-agent",
|
|
17746
|
-
torchOk ? "
|
|
17759
|
+
torchOk ? "PyTorch installed + validated \u2014 Kompress (ML) compressor enabled" : "Kompress unavailable (torch absent/broken) \u2014 installing the AST code engine only"
|
|
17747
17760
|
);
|
|
17748
17761
|
const headroomPkg = torchOk ? "headroom-ai[code,ml]" : "headroom-ai[code]";
|
|
17749
17762
|
const installOk = await pipInstall(
|
|
@@ -17805,7 +17818,7 @@ var defaultSpawner = (env, cwd, args2 = []) => (0, import_node_child_process13.s
|
|
|
17805
17818
|
detached: false
|
|
17806
17819
|
});
|
|
17807
17820
|
function currentCliVersion() {
|
|
17808
|
-
return true ? "2.39.
|
|
17821
|
+
return true ? "2.39.72" : null;
|
|
17809
17822
|
}
|
|
17810
17823
|
function runCmd(cmd, args2, timeoutMs) {
|
|
17811
17824
|
return new Promise((resolve7) => {
|
|
@@ -28459,7 +28472,7 @@ function checkChokidar() {
|
|
|
28459
28472
|
}
|
|
28460
28473
|
async function doctor(args2 = []) {
|
|
28461
28474
|
const json = args2.includes("--json");
|
|
28462
|
-
const cliVersion = true ? "2.39.
|
|
28475
|
+
const cliVersion = true ? "2.39.72" : "0.0.0-dev";
|
|
28463
28476
|
const apiBase2 = resolveApiBaseUrl();
|
|
28464
28477
|
const diagnosticId = (0, import_node_crypto8.randomUUID)();
|
|
28465
28478
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -28658,7 +28671,7 @@ async function completion(args2) {
|
|
|
28658
28671
|
// src/commands/version.ts
|
|
28659
28672
|
var import_picocolors14 = __toESM(require("picocolors"));
|
|
28660
28673
|
function version2() {
|
|
28661
|
-
const v = true ? "2.39.
|
|
28674
|
+
const v = true ? "2.39.72" : "unknown";
|
|
28662
28675
|
console.log(`${import_picocolors14.default.bold("codeam-cli")} ${import_picocolors14.default.cyan(v)}`);
|
|
28663
28676
|
}
|
|
28664
28677
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.39.
|
|
3
|
+
"version": "2.39.72",
|
|
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",
|