codeam-cli 2.76.25 → 2.76.27
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 +13 -9
- 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.76.25] — 2026-10-12
|
|
8
|
+
|
|
9
|
+
### CI
|
|
10
|
+
|
|
11
|
+
- **release:** Dispatch api-v2 integration only after npm serves the version
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **cli:** Skip redeeming an enroll token the box already spent
|
|
16
|
+
|
|
7
17
|
## [2.76.24] — 2026-10-12
|
|
8
18
|
|
|
9
19
|
### Added
|
package/dist/index.js
CHANGED
|
@@ -10627,7 +10627,7 @@ function readAnonId() {
|
|
|
10627
10627
|
}
|
|
10628
10628
|
function superProperties() {
|
|
10629
10629
|
return {
|
|
10630
|
-
cliVersion: true ? "2.76.
|
|
10630
|
+
cliVersion: true ? "2.76.27" : "0.0.0-dev",
|
|
10631
10631
|
nodeVersion: process.version,
|
|
10632
10632
|
platform: process.platform,
|
|
10633
10633
|
arch: process.arch,
|
|
@@ -10876,7 +10876,7 @@ var http = __toESM(require("http"));
|
|
|
10876
10876
|
// package.json
|
|
10877
10877
|
var package_default = {
|
|
10878
10878
|
name: "codeam-cli",
|
|
10879
|
-
version: "2.76.
|
|
10879
|
+
version: "2.76.27",
|
|
10880
10880
|
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.",
|
|
10881
10881
|
type: "commonjs",
|
|
10882
10882
|
main: "dist/index.js",
|
|
@@ -12239,7 +12239,7 @@ var CommandRelayService = class _CommandRelayService {
|
|
|
12239
12239
|
// fresh + clear the "CLI update available" banner after a self-update
|
|
12240
12240
|
// (a codespace that reinstalls @latest reconnects via heartbeat, not
|
|
12241
12241
|
// pair/reconnect). Older backends ignore the extra field.
|
|
12242
|
-
..."2.76.
|
|
12242
|
+
..."2.76.27" ? { ideVersion: "2.76.27" } : {}
|
|
12243
12243
|
};
|
|
12244
12244
|
try {
|
|
12245
12245
|
const res = await _postJson(`${API_BASE2}/api/plugin/heartbeat`, body, this.pollSecretHeader());
|
|
@@ -46585,6 +46585,8 @@ var BatonController = class _BatonController {
|
|
|
46585
46585
|
_state = "LOCAL_DRIVE";
|
|
46586
46586
|
_active = "local_tui";
|
|
46587
46587
|
_conversationId = null;
|
|
46588
|
+
/** True once `publishState` has run — `currentState()` is meaningless before. */
|
|
46589
|
+
_published = false;
|
|
46588
46590
|
get state() {
|
|
46589
46591
|
return this._state;
|
|
46590
46592
|
}
|
|
@@ -46607,6 +46609,7 @@ var BatonController = class _BatonController {
|
|
|
46607
46609
|
* ({@link makeBatonHeartbeatReaffirm}), which re-posts it periodically so the
|
|
46608
46610
|
* backend's 1 h Redis snapshot never expires under a live session. */
|
|
46609
46611
|
currentState() {
|
|
46612
|
+
if (!this._published) return null;
|
|
46610
46613
|
return {
|
|
46611
46614
|
state: this._state,
|
|
46612
46615
|
driver: this._active,
|
|
@@ -46732,6 +46735,7 @@ var BatonController = class _BatonController {
|
|
|
46732
46735
|
}
|
|
46733
46736
|
setState(state) {
|
|
46734
46737
|
this._state = state;
|
|
46738
|
+
this._published = true;
|
|
46735
46739
|
this.deps.publishState(state, this._active, this._conversationId);
|
|
46736
46740
|
}
|
|
46737
46741
|
};
|
|
@@ -51340,7 +51344,7 @@ async function autoUpgradeBeforeCriticalCommand() {
|
|
|
51340
51344
|
if (process.env.NODE_ENV === "test") return;
|
|
51341
51345
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
51342
51346
|
if (process.env.CI) return;
|
|
51343
|
-
const current2 = true ? "2.76.
|
|
51347
|
+
const current2 = true ? "2.76.27" : null;
|
|
51344
51348
|
if (!current2) return;
|
|
51345
51349
|
const cache = readCache();
|
|
51346
51350
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -51357,7 +51361,7 @@ function checkForUpdates() {
|
|
|
51357
51361
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
51358
51362
|
if (process.env.CI) return;
|
|
51359
51363
|
if (!process.stdout.isTTY) return;
|
|
51360
|
-
const current2 = true ? "2.76.
|
|
51364
|
+
const current2 = true ? "2.76.27" : null;
|
|
51361
51365
|
if (!current2) return;
|
|
51362
51366
|
const cache = readCache();
|
|
51363
51367
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -51640,7 +51644,7 @@ var SELF_UPDATE_VIEW_TIMEOUT_MS = 3e4;
|
|
|
51640
51644
|
var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
|
|
51641
51645
|
var SELF_UPDATE_LS_TIMEOUT_MS = 15e3;
|
|
51642
51646
|
function currentCliVersion() {
|
|
51643
|
-
return true ? "2.76.
|
|
51647
|
+
return true ? "2.76.27" : null;
|
|
51644
51648
|
}
|
|
51645
51649
|
async function installedVersion(deps) {
|
|
51646
51650
|
const ls = await deps.run(
|
|
@@ -51851,7 +51855,7 @@ function signalHostReady(send = process.send?.bind(process)) {
|
|
|
51851
51855
|
}
|
|
51852
51856
|
function defaultDeps() {
|
|
51853
51857
|
return {
|
|
51854
|
-
ownVersion: true ? "2.76.
|
|
51858
|
+
ownVersion: true ? "2.76.27" : null,
|
|
51855
51859
|
root: cliVersionsRoot(),
|
|
51856
51860
|
args: process.argv.slice(3),
|
|
51857
51861
|
execPath: process.execPath,
|
|
@@ -54385,7 +54389,7 @@ function checkChokidar() {
|
|
|
54385
54389
|
}
|
|
54386
54390
|
async function doctor(args2 = []) {
|
|
54387
54391
|
const json = args2.includes("--json");
|
|
54388
|
-
const cliVersion = true ? "2.76.
|
|
54392
|
+
const cliVersion = true ? "2.76.27" : "0.0.0-dev";
|
|
54389
54393
|
const apiBase2 = resolveApiBaseUrl();
|
|
54390
54394
|
const diagnosticId = (0, import_node_crypto17.randomUUID)();
|
|
54391
54395
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -54921,7 +54925,7 @@ async function mcpWarm(argv = [], opts = {}) {
|
|
|
54921
54925
|
// src/commands/version.ts
|
|
54922
54926
|
var import_picocolors15 = __toESM(require("picocolors"));
|
|
54923
54927
|
function version2() {
|
|
54924
|
-
const v = true ? "2.76.
|
|
54928
|
+
const v = true ? "2.76.27" : "unknown";
|
|
54925
54929
|
console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
|
|
54926
54930
|
}
|
|
54927
54931
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.76.
|
|
3
|
+
"version": "2.76.27",
|
|
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",
|