codeam-cli 2.73.6 → 2.73.7
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 +23 -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.73.6] — 2026-09-03
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **cli:** AcpClient.stop() reaps the whole adapter tree, not just the adapter (#690)
|
|
12
|
+
|
|
7
13
|
## [2.73.5] — 2026-09-03
|
|
8
14
|
|
|
9
15
|
### Fixed
|
package/dist/index.js
CHANGED
|
@@ -8116,7 +8116,7 @@ function readAnonId() {
|
|
|
8116
8116
|
}
|
|
8117
8117
|
function superProperties() {
|
|
8118
8118
|
return {
|
|
8119
|
-
cliVersion: true ? "2.73.
|
|
8119
|
+
cliVersion: true ? "2.73.7" : "0.0.0-dev",
|
|
8120
8120
|
nodeVersion: process.version,
|
|
8121
8121
|
platform: process.platform,
|
|
8122
8122
|
arch: process.arch,
|
|
@@ -8358,7 +8358,7 @@ var http = __toESM(require("http"));
|
|
|
8358
8358
|
// package.json
|
|
8359
8359
|
var package_default = {
|
|
8360
8360
|
name: "codeam-cli",
|
|
8361
|
-
version: "2.73.
|
|
8361
|
+
version: "2.73.7",
|
|
8362
8362
|
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.",
|
|
8363
8363
|
type: "commonjs",
|
|
8364
8364
|
main: "dist/index.js",
|
|
@@ -9951,7 +9951,7 @@ var CommandRelayService = class _CommandRelayService {
|
|
|
9951
9951
|
// fresh + clear the "CLI update available" banner after a self-update
|
|
9952
9952
|
// (a codespace that reinstalls @latest reconnects via heartbeat, not
|
|
9953
9953
|
// pair/reconnect). Older backends ignore the extra field.
|
|
9954
|
-
..."2.73.
|
|
9954
|
+
..."2.73.7" ? { ideVersion: "2.73.7" } : {}
|
|
9955
9955
|
}).then(() => log.trace("relay", `heartbeat ok online=${online}`)).catch((err) => log.trace("relay", `heartbeat failed online=${online}`, err));
|
|
9956
9956
|
}
|
|
9957
9957
|
/**
|
|
@@ -22227,7 +22227,7 @@ async function autoUpgradeBeforeCriticalCommand() {
|
|
|
22227
22227
|
if (process.env.NODE_ENV === "test") return;
|
|
22228
22228
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
22229
22229
|
if (process.env.CI) return;
|
|
22230
|
-
const current2 = true ? "2.73.
|
|
22230
|
+
const current2 = true ? "2.73.7" : null;
|
|
22231
22231
|
if (!current2) return;
|
|
22232
22232
|
const cache = readCache();
|
|
22233
22233
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -22244,7 +22244,7 @@ function checkForUpdates() {
|
|
|
22244
22244
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
22245
22245
|
if (process.env.CI) return;
|
|
22246
22246
|
if (!process.stdout.isTTY) return;
|
|
22247
|
-
const current2 = true ? "2.73.
|
|
22247
|
+
const current2 = true ? "2.73.7" : null;
|
|
22248
22248
|
if (!current2) return;
|
|
22249
22249
|
const cache = readCache();
|
|
22250
22250
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -22267,7 +22267,7 @@ var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
|
|
|
22267
22267
|
var SELF_UPDATE_LS_TIMEOUT_MS = 15e3;
|
|
22268
22268
|
var SUDO_PREFLIGHT_TIMEOUT_MS = 5e3;
|
|
22269
22269
|
function currentCliVersion() {
|
|
22270
|
-
return true ? "2.73.
|
|
22270
|
+
return true ? "2.73.7" : null;
|
|
22271
22271
|
}
|
|
22272
22272
|
async function installedVersion(deps) {
|
|
22273
22273
|
const ls = await deps.run(
|
|
@@ -36284,7 +36284,22 @@ var AcpClient = class {
|
|
|
36284
36284
|
if (loadTimer) clearTimeout(loadTimer);
|
|
36285
36285
|
this.opts.endLoadReplay?.();
|
|
36286
36286
|
}
|
|
36287
|
+
const abandoned = this.sessionId;
|
|
36287
36288
|
this.sessionId = sessionId;
|
|
36289
|
+
if (abandoned && abandoned !== sessionId) {
|
|
36290
|
+
try {
|
|
36291
|
+
await this.connection.closeSession({ sessionId: abandoned });
|
|
36292
|
+
log.info(
|
|
36293
|
+
"acpClient",
|
|
36294
|
+
`loadSession \u2014 closed the abandoned fresh session ${abandoned.slice(0, 8)}`
|
|
36295
|
+
);
|
|
36296
|
+
} catch (err) {
|
|
36297
|
+
log.warn(
|
|
36298
|
+
"acpClient",
|
|
36299
|
+
`loadSession \u2014 could not close abandoned session ${abandoned.slice(0, 8)}: ${err instanceof Error ? err.message : String(err)}`
|
|
36300
|
+
);
|
|
36301
|
+
}
|
|
36302
|
+
}
|
|
36288
36303
|
if (loaded?.configOptions) this.captureModelConfig(loaded.configOptions);
|
|
36289
36304
|
if (loaded?.modes !== void 0) this.captureModes(loaded.modes ?? null);
|
|
36290
36305
|
log.info("acpClient", `loadSession \u2190 ok sessionId=${sessionId.slice(0, 8)}`);
|
|
@@ -47141,7 +47156,7 @@ function checkChokidar() {
|
|
|
47141
47156
|
}
|
|
47142
47157
|
async function doctor(args2 = []) {
|
|
47143
47158
|
const json = args2.includes("--json");
|
|
47144
|
-
const cliVersion = true ? "2.73.
|
|
47159
|
+
const cliVersion = true ? "2.73.7" : "0.0.0-dev";
|
|
47145
47160
|
const apiBase2 = resolveApiBaseUrl();
|
|
47146
47161
|
const diagnosticId = (0, import_node_crypto13.randomUUID)();
|
|
47147
47162
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -47612,7 +47627,7 @@ async function mcpWarm(argv = []) {
|
|
|
47612
47627
|
// src/commands/version.ts
|
|
47613
47628
|
var import_picocolors15 = __toESM(require("picocolors"));
|
|
47614
47629
|
function version2() {
|
|
47615
|
-
const v = true ? "2.73.
|
|
47630
|
+
const v = true ? "2.73.7" : "unknown";
|
|
47616
47631
|
console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
|
|
47617
47632
|
}
|
|
47618
47633
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.73.
|
|
3
|
+
"version": "2.73.7",
|
|
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",
|