codeam-cli 2.60.12 → 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 +6 -0
- package/dist/index.js +14 -9
- 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.60.12] — 2026-07-08
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **cli:** Local self-update relaunch orphaned the interactive session
|
|
12
|
+
|
|
7
13
|
## [2.60.11] — 2026-07-08
|
|
8
14
|
|
|
9
15
|
### Fixed
|
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) => {
|
|
@@ -21085,7 +21085,7 @@ function fail(msg) {
|
|
|
21085
21085
|
`);
|
|
21086
21086
|
process.exit(1);
|
|
21087
21087
|
}
|
|
21088
|
-
function
|
|
21088
|
+
function resolveTokenValue(args2) {
|
|
21089
21089
|
const inline = args2.find((a) => a.startsWith("--token="));
|
|
21090
21090
|
if (inline) {
|
|
21091
21091
|
const value = inline.slice("--token=".length).trim();
|
|
@@ -21106,6 +21106,11 @@ function readTokenFromArgs(args2) {
|
|
|
21106
21106
|
if (process.env.CODEAM_AUTO_TOKEN) return process.env.CODEAM_AUTO_TOKEN;
|
|
21107
21107
|
fail("codeam pair-auto requires --token-file=<path>, --token=<value>, or CODEAM_AUTO_TOKEN env");
|
|
21108
21108
|
}
|
|
21109
|
+
function readTokenFromArgs(args2) {
|
|
21110
|
+
const token = resolveTokenValue(args2);
|
|
21111
|
+
process.env.CODEAM_AUTO_TOKEN = token;
|
|
21112
|
+
return token;
|
|
21113
|
+
}
|
|
21109
21114
|
var CLAIM_TIMEOUT_MS = 15e3;
|
|
21110
21115
|
var RETRY_BACKOFF_MS2 = 2e3;
|
|
21111
21116
|
function networkError(msg, cause) {
|
|
@@ -32995,7 +33000,7 @@ function checkChokidar() {
|
|
|
32995
33000
|
}
|
|
32996
33001
|
async function doctor(args2 = []) {
|
|
32997
33002
|
const json = args2.includes("--json");
|
|
32998
|
-
const cliVersion = true ? "2.60.
|
|
33003
|
+
const cliVersion = true ? "2.60.13" : "0.0.0-dev";
|
|
32999
33004
|
const apiBase2 = resolveApiBaseUrl();
|
|
33000
33005
|
const diagnosticId = (0, import_node_crypto10.randomUUID)();
|
|
33001
33006
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -33194,7 +33199,7 @@ async function completion(args2) {
|
|
|
33194
33199
|
// src/commands/version.ts
|
|
33195
33200
|
var import_picocolors15 = __toESM(require("picocolors"));
|
|
33196
33201
|
function version2() {
|
|
33197
|
-
const v = true ? "2.60.
|
|
33202
|
+
const v = true ? "2.60.13" : "unknown";
|
|
33198
33203
|
console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
|
|
33199
33204
|
}
|
|
33200
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",
|