codeam-cli 2.61.40 → 2.61.41
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 +10 -0
- package/dist/index.js +16 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@ 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.40] — 2026-07-25
|
|
8
|
+
|
|
9
|
+
### CI
|
|
10
|
+
|
|
11
|
+
- **release:** Auto-refresh the wrapper-repo Codespaces prebuild on each release
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **cli:** Host-agent supports concurrent multi-session (per-deploy daemon lock)
|
|
16
|
+
|
|
7
17
|
## [2.61.39] — 2026-07-25
|
|
8
18
|
|
|
9
19
|
### Performance
|
package/dist/index.js
CHANGED
|
@@ -6355,7 +6355,7 @@ function readAnonId() {
|
|
|
6355
6355
|
}
|
|
6356
6356
|
function superProperties() {
|
|
6357
6357
|
return {
|
|
6358
|
-
cliVersion: true ? "2.61.
|
|
6358
|
+
cliVersion: true ? "2.61.41" : "0.0.0-dev",
|
|
6359
6359
|
nodeVersion: process.version,
|
|
6360
6360
|
platform: process.platform,
|
|
6361
6361
|
arch: process.arch,
|
|
@@ -6536,7 +6536,7 @@ var os4 = __toESM(require("os"));
|
|
|
6536
6536
|
// package.json
|
|
6537
6537
|
var package_default = {
|
|
6538
6538
|
name: "codeam-cli",
|
|
6539
|
-
version: "2.61.
|
|
6539
|
+
version: "2.61.41",
|
|
6540
6540
|
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.",
|
|
6541
6541
|
type: "commonjs",
|
|
6542
6542
|
main: "dist/index.js",
|
|
@@ -7707,7 +7707,7 @@ var CommandRelayService = class _CommandRelayService {
|
|
|
7707
7707
|
// fresh + clear the "CLI update available" banner after a self-update
|
|
7708
7708
|
// (a codespace that reinstalls @latest reconnects via heartbeat, not
|
|
7709
7709
|
// pair/reconnect). Older backends ignore the extra field.
|
|
7710
|
-
..."2.61.
|
|
7710
|
+
..."2.61.41" ? { ideVersion: "2.61.41" } : {}
|
|
7711
7711
|
}).then(() => log.trace("relay", `heartbeat ok online=${online}`)).catch((err) => log.trace("relay", `heartbeat failed online=${online}`, err));
|
|
7712
7712
|
}
|
|
7713
7713
|
/**
|
|
@@ -18691,7 +18691,7 @@ async function autoUpgradeBeforeCriticalCommand() {
|
|
|
18691
18691
|
if (process.env.NODE_ENV === "test") return;
|
|
18692
18692
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
18693
18693
|
if (process.env.CI) return;
|
|
18694
|
-
const current = true ? "2.61.
|
|
18694
|
+
const current = true ? "2.61.41" : null;
|
|
18695
18695
|
if (!current) return;
|
|
18696
18696
|
const cache = readCache();
|
|
18697
18697
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -18708,7 +18708,7 @@ function checkForUpdates() {
|
|
|
18708
18708
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
18709
18709
|
if (process.env.CI) return;
|
|
18710
18710
|
if (!process.stdout.isTTY) return;
|
|
18711
|
-
const current = true ? "2.61.
|
|
18711
|
+
const current = true ? "2.61.41" : null;
|
|
18712
18712
|
if (!current) return;
|
|
18713
18713
|
const cache = readCache();
|
|
18714
18714
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -18728,7 +18728,7 @@ var SELF_UPDATE_INTERVAL_MS = 60 * 60 * 1e3;
|
|
|
18728
18728
|
var SELF_UPDATE_VIEW_TIMEOUT_MS = 3e4;
|
|
18729
18729
|
var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
|
|
18730
18730
|
function currentCliVersion() {
|
|
18731
|
-
return true ? "2.61.
|
|
18731
|
+
return true ? "2.61.41" : null;
|
|
18732
18732
|
}
|
|
18733
18733
|
function runCmd(cmd, args2, timeoutMs) {
|
|
18734
18734
|
return new Promise((resolve8) => {
|
|
@@ -19670,7 +19670,12 @@ var HostAgentSupervisor = class {
|
|
|
19670
19670
|
API_TIMEOUT_MS: "3000000",
|
|
19671
19671
|
CODEAM_AUTO_TOKEN: payload.autoPairToken
|
|
19672
19672
|
};
|
|
19673
|
-
const houseConfigDir = path46.join(
|
|
19673
|
+
const houseConfigDir = path46.join(
|
|
19674
|
+
os38.homedir(),
|
|
19675
|
+
".codeam",
|
|
19676
|
+
"house-claude",
|
|
19677
|
+
payload.deployId
|
|
19678
|
+
);
|
|
19674
19679
|
try {
|
|
19675
19680
|
fs43.mkdirSync(houseConfigDir, { recursive: true, mode: 448 });
|
|
19676
19681
|
} catch {
|
|
@@ -19686,6 +19691,7 @@ var HostAgentSupervisor = class {
|
|
|
19686
19691
|
};
|
|
19687
19692
|
}
|
|
19688
19693
|
childEnv = { ...childEnv, CODEAM_AUTO_APPROVE: "1" };
|
|
19694
|
+
childEnv = { ...childEnv, CODEAM_HOST_AGENT_CHILD: "1" };
|
|
19689
19695
|
if (payload.agentInstallScript) {
|
|
19690
19696
|
report("installing", "installing agent CLI");
|
|
19691
19697
|
await this.runAgentInstall(payload.agentInstallScript);
|
|
@@ -24678,7 +24684,7 @@ function acquireSingletonLock() {
|
|
|
24678
24684
|
}
|
|
24679
24685
|
async function pairAuto(args2) {
|
|
24680
24686
|
installRelayCrashGuards();
|
|
24681
|
-
if (!acquireSingletonLock()) {
|
|
24687
|
+
if (process.env.CODEAM_HOST_AGENT_CHILD !== "1" && !acquireSingletonLock()) {
|
|
24682
24688
|
capture("pair_auto_deferred_singleton", {});
|
|
24683
24689
|
console.log(" A codeam session is already running here \u2014 deferring to it.");
|
|
24684
24690
|
return;
|
|
@@ -38844,7 +38850,7 @@ function checkChokidar() {
|
|
|
38844
38850
|
}
|
|
38845
38851
|
async function doctor(args2 = []) {
|
|
38846
38852
|
const json = args2.includes("--json");
|
|
38847
|
-
const cliVersion = true ? "2.61.
|
|
38853
|
+
const cliVersion = true ? "2.61.41" : "0.0.0-dev";
|
|
38848
38854
|
const apiBase2 = resolveApiBaseUrl();
|
|
38849
38855
|
const diagnosticId = (0, import_node_crypto13.randomUUID)();
|
|
38850
38856
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -39355,7 +39361,7 @@ async function mcpRun(args2) {
|
|
|
39355
39361
|
// src/commands/version.ts
|
|
39356
39362
|
var import_picocolors15 = __toESM(require("picocolors"));
|
|
39357
39363
|
function version2() {
|
|
39358
|
-
const v = true ? "2.61.
|
|
39364
|
+
const v = true ? "2.61.41" : "unknown";
|
|
39359
39365
|
console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
|
|
39360
39366
|
}
|
|
39361
39367
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.61.
|
|
3
|
+
"version": "2.61.41",
|
|
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",
|