codeam-cli 2.60.11 → 2.60.13
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 +12 -0
- package/dist/index.js +16 -16
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,18 @@ 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.60.12] — 2026-07-08
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **cli:** Local self-update relaunch orphaned the interactive session
|
|
12
|
+
|
|
13
|
+
## [2.60.11] — 2026-07-08
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- P0/P1 batch — pricing default, headroom step export, VSC listener dedup, JB EDT delay
|
|
18
|
+
|
|
7
19
|
## [2.60.10] — 2026-07-08
|
|
8
20
|
|
|
9
21
|
### Added
|
package/dist/index.js
CHANGED
|
@@ -5662,7 +5662,7 @@ function readAnonId() {
|
|
|
5662
5662
|
}
|
|
5663
5663
|
function superProperties() {
|
|
5664
5664
|
return {
|
|
5665
|
-
cliVersion: true ? "2.60.
|
|
5665
|
+
cliVersion: true ? "2.60.13" : "0.0.0-dev",
|
|
5666
5666
|
nodeVersion: process.version,
|
|
5667
5667
|
platform: process.platform,
|
|
5668
5668
|
arch: process.arch,
|
|
@@ -5843,7 +5843,7 @@ var os4 = __toESM(require("os"));
|
|
|
5843
5843
|
// package.json
|
|
5844
5844
|
var package_default = {
|
|
5845
5845
|
name: "codeam-cli",
|
|
5846
|
-
version: "2.60.
|
|
5846
|
+
version: "2.60.13",
|
|
5847
5847
|
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.",
|
|
5848
5848
|
type: "commonjs",
|
|
5849
5849
|
main: "dist/index.js",
|
|
@@ -6914,7 +6914,7 @@ var CommandRelayService = class {
|
|
|
6914
6914
|
// fresh + clear the "CLI update available" banner after a self-update
|
|
6915
6915
|
// (a codespace that reinstalls @latest reconnects via heartbeat, not
|
|
6916
6916
|
// pair/reconnect). Older backends ignore the extra field.
|
|
6917
|
-
..."2.60.
|
|
6917
|
+
..."2.60.13" ? { ideVersion: "2.60.13" } : {}
|
|
6918
6918
|
}).then(() => log.trace("relay", `heartbeat ok online=${online}`)).catch((err) => log.trace("relay", `heartbeat failed online=${online}`, err));
|
|
6919
6919
|
}
|
|
6920
6920
|
/**
|
|
@@ -16184,7 +16184,7 @@ async function autoUpgradeBeforeCriticalCommand() {
|
|
|
16184
16184
|
if (process.env.NODE_ENV === "test") return;
|
|
16185
16185
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
16186
16186
|
if (process.env.CI) return;
|
|
16187
|
-
const current = true ? "2.60.
|
|
16187
|
+
const current = true ? "2.60.13" : null;
|
|
16188
16188
|
if (!current) return;
|
|
16189
16189
|
const cache = readCache();
|
|
16190
16190
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -16201,7 +16201,7 @@ function checkForUpdates() {
|
|
|
16201
16201
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
16202
16202
|
if (process.env.CI) return;
|
|
16203
16203
|
if (!process.stdout.isTTY) return;
|
|
16204
|
-
const current = true ? "2.60.
|
|
16204
|
+
const current = true ? "2.60.13" : null;
|
|
16205
16205
|
if (!current) return;
|
|
16206
16206
|
const cache = readCache();
|
|
16207
16207
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -16221,7 +16221,7 @@ var SELF_UPDATE_INTERVAL_MS = 60 * 60 * 1e3;
|
|
|
16221
16221
|
var SELF_UPDATE_VIEW_TIMEOUT_MS = 3e4;
|
|
16222
16222
|
var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
|
|
16223
16223
|
function currentCliVersion() {
|
|
16224
|
-
return true ? "2.60.
|
|
16224
|
+
return true ? "2.60.13" : null;
|
|
16225
16225
|
}
|
|
16226
16226
|
function runCmd(cmd, args2, timeoutMs) {
|
|
16227
16227
|
return new Promise((resolve7) => {
|
|
@@ -20236,13 +20236,8 @@ var defaultCliUpdateDeps = {
|
|
|
20236
20236
|
// Only a truly local `codeam start` (neither marker) re-execs in place below.
|
|
20237
20237
|
isSupervised: () => process.env["CODEAM_AUTO_APPROVE"] === "1" || process.env["CODESPACES"] === "true",
|
|
20238
20238
|
relaunch: (args2) => {
|
|
20239
|
-
const
|
|
20240
|
-
|
|
20241
|
-
detached: true,
|
|
20242
|
-
stdio: "inherit"
|
|
20243
|
-
});
|
|
20244
|
-
child.unref();
|
|
20245
|
-
process.exit(0);
|
|
20239
|
+
const child = (0, import_child_process23.spawnSync)("codeam", args2, { stdio: "inherit", env: process.env });
|
|
20240
|
+
process.exit(child.status ?? 0);
|
|
20246
20241
|
}
|
|
20247
20242
|
};
|
|
20248
20243
|
var CLI_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
|
|
@@ -21090,7 +21085,7 @@ function fail(msg) {
|
|
|
21090
21085
|
`);
|
|
21091
21086
|
process.exit(1);
|
|
21092
21087
|
}
|
|
21093
|
-
function
|
|
21088
|
+
function resolveTokenValue(args2) {
|
|
21094
21089
|
const inline = args2.find((a) => a.startsWith("--token="));
|
|
21095
21090
|
if (inline) {
|
|
21096
21091
|
const value = inline.slice("--token=".length).trim();
|
|
@@ -21111,6 +21106,11 @@ function readTokenFromArgs(args2) {
|
|
|
21111
21106
|
if (process.env.CODEAM_AUTO_TOKEN) return process.env.CODEAM_AUTO_TOKEN;
|
|
21112
21107
|
fail("codeam pair-auto requires --token-file=<path>, --token=<value>, or CODEAM_AUTO_TOKEN env");
|
|
21113
21108
|
}
|
|
21109
|
+
function readTokenFromArgs(args2) {
|
|
21110
|
+
const token = resolveTokenValue(args2);
|
|
21111
|
+
process.env.CODEAM_AUTO_TOKEN = token;
|
|
21112
|
+
return token;
|
|
21113
|
+
}
|
|
21114
21114
|
var CLAIM_TIMEOUT_MS = 15e3;
|
|
21115
21115
|
var RETRY_BACKOFF_MS2 = 2e3;
|
|
21116
21116
|
function networkError(msg, cause) {
|
|
@@ -33000,7 +33000,7 @@ function checkChokidar() {
|
|
|
33000
33000
|
}
|
|
33001
33001
|
async function doctor(args2 = []) {
|
|
33002
33002
|
const json = args2.includes("--json");
|
|
33003
|
-
const cliVersion = true ? "2.60.
|
|
33003
|
+
const cliVersion = true ? "2.60.13" : "0.0.0-dev";
|
|
33004
33004
|
const apiBase2 = resolveApiBaseUrl();
|
|
33005
33005
|
const diagnosticId = (0, import_node_crypto10.randomUUID)();
|
|
33006
33006
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -33199,7 +33199,7 @@ async function completion(args2) {
|
|
|
33199
33199
|
// src/commands/version.ts
|
|
33200
33200
|
var import_picocolors15 = __toESM(require("picocolors"));
|
|
33201
33201
|
function version2() {
|
|
33202
|
-
const v = true ? "2.60.
|
|
33202
|
+
const v = true ? "2.60.13" : "unknown";
|
|
33203
33203
|
console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
|
|
33204
33204
|
}
|
|
33205
33205
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.60.
|
|
3
|
+
"version": "2.60.13",
|
|
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",
|