codeam-cli 2.74.1 → 2.74.2
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 -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.74.1] — 2026-09-04
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **cli:** Npx integration servers start with npm audit off; bound mcp-warm; 25-min fleet-box step (#701)
|
|
12
|
+
|
|
7
13
|
## [2.74.0] — 2026-09-03
|
|
8
14
|
|
|
9
15
|
### Added
|
package/dist/index.js
CHANGED
|
@@ -8136,7 +8136,7 @@ function readAnonId() {
|
|
|
8136
8136
|
}
|
|
8137
8137
|
function superProperties() {
|
|
8138
8138
|
return {
|
|
8139
|
-
cliVersion: true ? "2.74.
|
|
8139
|
+
cliVersion: true ? "2.74.2" : "0.0.0-dev",
|
|
8140
8140
|
nodeVersion: process.version,
|
|
8141
8141
|
platform: process.platform,
|
|
8142
8142
|
arch: process.arch,
|
|
@@ -8378,7 +8378,7 @@ var http = __toESM(require("http"));
|
|
|
8378
8378
|
// package.json
|
|
8379
8379
|
var package_default = {
|
|
8380
8380
|
name: "codeam-cli",
|
|
8381
|
-
version: "2.74.
|
|
8381
|
+
version: "2.74.2",
|
|
8382
8382
|
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.",
|
|
8383
8383
|
type: "commonjs",
|
|
8384
8384
|
main: "dist/index.js",
|
|
@@ -9971,7 +9971,7 @@ var CommandRelayService = class _CommandRelayService {
|
|
|
9971
9971
|
// fresh + clear the "CLI update available" banner after a self-update
|
|
9972
9972
|
// (a codespace that reinstalls @latest reconnects via heartbeat, not
|
|
9973
9973
|
// pair/reconnect). Older backends ignore the extra field.
|
|
9974
|
-
..."2.74.
|
|
9974
|
+
..."2.74.2" ? { ideVersion: "2.74.2" } : {}
|
|
9975
9975
|
}).then(() => log.trace("relay", `heartbeat ok online=${online}`)).catch((err) => log.trace("relay", `heartbeat failed online=${online}`, err));
|
|
9976
9976
|
}
|
|
9977
9977
|
/**
|
|
@@ -22272,7 +22272,7 @@ async function autoUpgradeBeforeCriticalCommand() {
|
|
|
22272
22272
|
if (process.env.NODE_ENV === "test") return;
|
|
22273
22273
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
22274
22274
|
if (process.env.CI) return;
|
|
22275
|
-
const current2 = true ? "2.74.
|
|
22275
|
+
const current2 = true ? "2.74.2" : null;
|
|
22276
22276
|
if (!current2) return;
|
|
22277
22277
|
const cache = readCache();
|
|
22278
22278
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -22289,7 +22289,7 @@ function checkForUpdates() {
|
|
|
22289
22289
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
22290
22290
|
if (process.env.CI) return;
|
|
22291
22291
|
if (!process.stdout.isTTY) return;
|
|
22292
|
-
const current2 = true ? "2.74.
|
|
22292
|
+
const current2 = true ? "2.74.2" : null;
|
|
22293
22293
|
if (!current2) return;
|
|
22294
22294
|
const cache = readCache();
|
|
22295
22295
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -22312,7 +22312,7 @@ var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
|
|
|
22312
22312
|
var SELF_UPDATE_LS_TIMEOUT_MS = 15e3;
|
|
22313
22313
|
var SUDO_PREFLIGHT_TIMEOUT_MS = 5e3;
|
|
22314
22314
|
function currentCliVersion() {
|
|
22315
|
-
return true ? "2.74.
|
|
22315
|
+
return true ? "2.74.2" : null;
|
|
22316
22316
|
}
|
|
22317
22317
|
async function installedVersion(deps) {
|
|
22318
22318
|
const ls = await deps.run(
|
|
@@ -24956,11 +24956,23 @@ function safeParseDetection(raw) {
|
|
|
24956
24956
|
if (!raw) return null;
|
|
24957
24957
|
const parsed = parseDetectionObject(raw);
|
|
24958
24958
|
if (!parsed) return null;
|
|
24959
|
+
if (isUnsupportedAnswer(parsed)) {
|
|
24960
|
+
return {
|
|
24961
|
+
framework: "unsupported",
|
|
24962
|
+
notes: typeof parsed.notes === "string" ? parsed.notes : void 0
|
|
24963
|
+
};
|
|
24964
|
+
}
|
|
24959
24965
|
for (const field of REQUIRED_FIELDS2) {
|
|
24960
24966
|
if (!(field in parsed)) return null;
|
|
24961
24967
|
}
|
|
24962
24968
|
return parsed;
|
|
24963
24969
|
}
|
|
24970
|
+
function isUnsupportedAnswer(parsed) {
|
|
24971
|
+
return parsed.framework === "unsupported";
|
|
24972
|
+
}
|
|
24973
|
+
function isUnsupportedDetection(d3) {
|
|
24974
|
+
return d3.framework === "unsupported";
|
|
24975
|
+
}
|
|
24964
24976
|
function parseDetectionObject(raw) {
|
|
24965
24977
|
let parsed = tryParseObject(raw.trim());
|
|
24966
24978
|
if (!parsed) {
|
|
@@ -25044,6 +25056,7 @@ function describeDetectionFailure(raw) {
|
|
|
25044
25056
|
rawExcerpt
|
|
25045
25057
|
};
|
|
25046
25058
|
}
|
|
25059
|
+
if (isUnsupportedAnswer(parsed)) return null;
|
|
25047
25060
|
const missing = REQUIRED_FIELDS2.filter((f) => !(f in parsed)).map(String);
|
|
25048
25061
|
if (missing.length > 0) {
|
|
25049
25062
|
return {
|
|
@@ -29462,7 +29475,7 @@ ${failure?.rawExcerpt ?? ""}`
|
|
|
29462
29475
|
});
|
|
29463
29476
|
return;
|
|
29464
29477
|
}
|
|
29465
|
-
if (detection
|
|
29478
|
+
if (isUnsupportedDetection(detection)) {
|
|
29466
29479
|
log.info("preview", "detect: framework=unsupported");
|
|
29467
29480
|
emitPreviewEvent({
|
|
29468
29481
|
sessionId: ctx.sessionId,
|
|
@@ -29530,7 +29543,7 @@ function prewarmPreviewDetection(runtime) {
|
|
|
29530
29543
|
log.info("preview", `prewarm: detection failed reason=${failure?.reason ?? "unknown"}`);
|
|
29531
29544
|
return;
|
|
29532
29545
|
}
|
|
29533
|
-
if (detection
|
|
29546
|
+
if (isUnsupportedDetection(detection)) return;
|
|
29534
29547
|
await writePreviewConfig(cwd, detection);
|
|
29535
29548
|
log.info(
|
|
29536
29549
|
"preview",
|
|
@@ -47437,7 +47450,7 @@ function checkChokidar() {
|
|
|
47437
47450
|
}
|
|
47438
47451
|
async function doctor(args2 = []) {
|
|
47439
47452
|
const json = args2.includes("--json");
|
|
47440
|
-
const cliVersion = true ? "2.74.
|
|
47453
|
+
const cliVersion = true ? "2.74.2" : "0.0.0-dev";
|
|
47441
47454
|
const apiBase2 = resolveApiBaseUrl();
|
|
47442
47455
|
const diagnosticId = (0, import_node_crypto13.randomUUID)();
|
|
47443
47456
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -47956,7 +47969,7 @@ async function mcpWarm(argv = [], opts = {}) {
|
|
|
47956
47969
|
// src/commands/version.ts
|
|
47957
47970
|
var import_picocolors15 = __toESM(require("picocolors"));
|
|
47958
47971
|
function version2() {
|
|
47959
|
-
const v = true ? "2.74.
|
|
47972
|
+
const v = true ? "2.74.2" : "unknown";
|
|
47960
47973
|
console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
|
|
47961
47974
|
}
|
|
47962
47975
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.74.
|
|
3
|
+
"version": "2.74.2",
|
|
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",
|