codeam-cli 2.52.8 → 2.52.9
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 +24 -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.52.8] — 2026-07-03
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- **cli:** Each ACP agent owns its launch-binary readiness check
|
|
12
|
+
|
|
7
13
|
## [2.52.7] — 2026-07-03
|
|
8
14
|
|
|
9
15
|
### Fixed
|
package/dist/index.js
CHANGED
|
@@ -5397,7 +5397,7 @@ function readAnonId() {
|
|
|
5397
5397
|
}
|
|
5398
5398
|
function superProperties() {
|
|
5399
5399
|
return {
|
|
5400
|
-
cliVersion: true ? "2.52.
|
|
5400
|
+
cliVersion: true ? "2.52.9" : "0.0.0-dev",
|
|
5401
5401
|
nodeVersion: process.version,
|
|
5402
5402
|
platform: process.platform,
|
|
5403
5403
|
arch: process.arch,
|
|
@@ -5578,7 +5578,7 @@ var os4 = __toESM(require("os"));
|
|
|
5578
5578
|
// package.json
|
|
5579
5579
|
var package_default = {
|
|
5580
5580
|
name: "codeam-cli",
|
|
5581
|
-
version: "2.52.
|
|
5581
|
+
version: "2.52.9",
|
|
5582
5582
|
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.",
|
|
5583
5583
|
type: "commonjs",
|
|
5584
5584
|
main: "dist/index.js",
|
|
@@ -14928,7 +14928,7 @@ async function autoUpgradeBeforeCriticalCommand() {
|
|
|
14928
14928
|
if (process.env.NODE_ENV === "test") return;
|
|
14929
14929
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
14930
14930
|
if (process.env.CI) return;
|
|
14931
|
-
const current = true ? "2.52.
|
|
14931
|
+
const current = true ? "2.52.9" : null;
|
|
14932
14932
|
if (!current) return;
|
|
14933
14933
|
const cache = readCache();
|
|
14934
14934
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -14945,7 +14945,7 @@ function checkForUpdates() {
|
|
|
14945
14945
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
14946
14946
|
if (process.env.CI) return;
|
|
14947
14947
|
if (!process.stdout.isTTY) return;
|
|
14948
|
-
const current = true ? "2.52.
|
|
14948
|
+
const current = true ? "2.52.9" : null;
|
|
14949
14949
|
if (!current) return;
|
|
14950
14950
|
const cache = readCache();
|
|
14951
14951
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -15647,7 +15647,7 @@ var defaultSpawner = (env, cwd, args2 = []) => (0, import_node_child_process15.s
|
|
|
15647
15647
|
detached: false
|
|
15648
15648
|
});
|
|
15649
15649
|
function currentCliVersion() {
|
|
15650
|
-
return true ? "2.52.
|
|
15650
|
+
return true ? "2.52.9" : null;
|
|
15651
15651
|
}
|
|
15652
15652
|
function runCmd(cmd, args2, timeoutMs) {
|
|
15653
15653
|
return new Promise((resolve7) => {
|
|
@@ -21006,14 +21006,28 @@ var import_child_process23 = require("child_process");
|
|
|
21006
21006
|
function currentPlatformKey() {
|
|
21007
21007
|
return `${process.platform}-${process.arch}`;
|
|
21008
21008
|
}
|
|
21009
|
-
|
|
21009
|
+
var SDK_PKG = "@anthropic-ai/claude-agent-sdk";
|
|
21010
|
+
function resolveSdkDirViaRequire(req = require) {
|
|
21011
|
+
try {
|
|
21012
|
+
return import_path8.default.dirname(req.resolve(`${SDK_PKG}/package.json`));
|
|
21013
|
+
} catch {
|
|
21014
|
+
}
|
|
21010
21015
|
try {
|
|
21011
|
-
|
|
21012
|
-
|
|
21016
|
+
let dir = import_path8.default.dirname(req.resolve(SDK_PKG));
|
|
21017
|
+
for (let i = 0; i < 5; i++) {
|
|
21018
|
+
if (import_path8.default.basename(dir) === "claude-agent-sdk") return dir;
|
|
21019
|
+
const parent = import_path8.default.dirname(dir);
|
|
21020
|
+
if (parent === dir) break;
|
|
21021
|
+
dir = parent;
|
|
21022
|
+
}
|
|
21023
|
+
return null;
|
|
21013
21024
|
} catch {
|
|
21014
21025
|
return null;
|
|
21015
21026
|
}
|
|
21016
21027
|
}
|
|
21028
|
+
function defaultSdkDir() {
|
|
21029
|
+
return resolveSdkDirViaRequire();
|
|
21030
|
+
}
|
|
21017
21031
|
function resolveClaudeNativeBinary(deps = {}) {
|
|
21018
21032
|
const existsSync21 = deps.existsSync ?? import_fs4.default.existsSync;
|
|
21019
21033
|
const platformKey = deps.platformKey ?? currentPlatformKey();
|
|
@@ -31373,7 +31387,7 @@ function checkChokidar() {
|
|
|
31373
31387
|
}
|
|
31374
31388
|
async function doctor(args2 = []) {
|
|
31375
31389
|
const json = args2.includes("--json");
|
|
31376
|
-
const cliVersion = true ? "2.52.
|
|
31390
|
+
const cliVersion = true ? "2.52.9" : "0.0.0-dev";
|
|
31377
31391
|
const apiBase2 = resolveApiBaseUrl();
|
|
31378
31392
|
const diagnosticId = (0, import_node_crypto8.randomUUID)();
|
|
31379
31393
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -31572,7 +31586,7 @@ async function completion(args2) {
|
|
|
31572
31586
|
// src/commands/version.ts
|
|
31573
31587
|
var import_picocolors15 = __toESM(require("picocolors"));
|
|
31574
31588
|
function version2() {
|
|
31575
|
-
const v = true ? "2.52.
|
|
31589
|
+
const v = true ? "2.52.9" : "unknown";
|
|
31576
31590
|
console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
|
|
31577
31591
|
}
|
|
31578
31592
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.52.
|
|
3
|
+
"version": "2.52.9",
|
|
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",
|