codeam-cli 2.60.35 → 2.60.36
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 +16 -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.35] — 2026-07-10
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **cli:** CodeRabbit OAuth works headless (codespace/self-hosted) via a PTY + stdin token
|
|
12
|
+
|
|
7
13
|
## [2.60.34] — 2026-07-10
|
|
8
14
|
|
|
9
15
|
### Added
|
package/dist/index.js
CHANGED
|
@@ -5689,7 +5689,7 @@ function readAnonId() {
|
|
|
5689
5689
|
}
|
|
5690
5690
|
function superProperties() {
|
|
5691
5691
|
return {
|
|
5692
|
-
cliVersion: true ? "2.60.
|
|
5692
|
+
cliVersion: true ? "2.60.36" : "0.0.0-dev",
|
|
5693
5693
|
nodeVersion: process.version,
|
|
5694
5694
|
platform: process.platform,
|
|
5695
5695
|
arch: process.arch,
|
|
@@ -5870,7 +5870,7 @@ var os4 = __toESM(require("os"));
|
|
|
5870
5870
|
// package.json
|
|
5871
5871
|
var package_default = {
|
|
5872
5872
|
name: "codeam-cli",
|
|
5873
|
-
version: "2.60.
|
|
5873
|
+
version: "2.60.36",
|
|
5874
5874
|
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.",
|
|
5875
5875
|
type: "commonjs",
|
|
5876
5876
|
main: "dist/index.js",
|
|
@@ -6963,7 +6963,7 @@ var CommandRelayService = class {
|
|
|
6963
6963
|
// fresh + clear the "CLI update available" banner after a self-update
|
|
6964
6964
|
// (a codespace that reinstalls @latest reconnects via heartbeat, not
|
|
6965
6965
|
// pair/reconnect). Older backends ignore the extra field.
|
|
6966
|
-
..."2.60.
|
|
6966
|
+
..."2.60.36" ? { ideVersion: "2.60.36" } : {}
|
|
6967
6967
|
}).then(() => log.trace("relay", `heartbeat ok online=${online}`)).catch((err) => log.trace("relay", `heartbeat failed online=${online}`, err));
|
|
6968
6968
|
}
|
|
6969
6969
|
/**
|
|
@@ -17293,7 +17293,7 @@ async function autoUpgradeBeforeCriticalCommand() {
|
|
|
17293
17293
|
if (process.env.NODE_ENV === "test") return;
|
|
17294
17294
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
17295
17295
|
if (process.env.CI) return;
|
|
17296
|
-
const current = true ? "2.60.
|
|
17296
|
+
const current = true ? "2.60.36" : null;
|
|
17297
17297
|
if (!current) return;
|
|
17298
17298
|
const cache = readCache();
|
|
17299
17299
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -17310,7 +17310,7 @@ function checkForUpdates() {
|
|
|
17310
17310
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
17311
17311
|
if (process.env.CI) return;
|
|
17312
17312
|
if (!process.stdout.isTTY) return;
|
|
17313
|
-
const current = true ? "2.60.
|
|
17313
|
+
const current = true ? "2.60.36" : null;
|
|
17314
17314
|
if (!current) return;
|
|
17315
17315
|
const cache = readCache();
|
|
17316
17316
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -17330,7 +17330,7 @@ var SELF_UPDATE_INTERVAL_MS = 60 * 60 * 1e3;
|
|
|
17330
17330
|
var SELF_UPDATE_VIEW_TIMEOUT_MS = 3e4;
|
|
17331
17331
|
var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
|
|
17332
17332
|
function currentCliVersion() {
|
|
17333
|
-
return true ? "2.60.
|
|
17333
|
+
return true ? "2.60.36" : null;
|
|
17334
17334
|
}
|
|
17335
17335
|
function runCmd(cmd, args2, timeoutMs) {
|
|
17336
17336
|
return new Promise((resolve7) => {
|
|
@@ -21265,7 +21265,14 @@ var coderabbitConfigureH = async (ctx, cmd, parsed) => {
|
|
|
21265
21265
|
pluginId: ctx.pluginId,
|
|
21266
21266
|
pluginAuthToken: token,
|
|
21267
21267
|
method,
|
|
21268
|
-
credential
|
|
21268
|
+
credential,
|
|
21269
|
+
// ⚠️ CodeRabbit is an IN-SESSION reviewer add-on — the link ALWAYS
|
|
21270
|
+
// rides the user's REAL active session (codespace / self-hosted /
|
|
21271
|
+
// local), never a throwaway `codeam link` pairing. Without this the
|
|
21272
|
+
// backend `linkFromCli` treats the session as the disposable
|
|
21273
|
+
// handshake session and DELETES it — the codespace vanished the
|
|
21274
|
+
// instant the OAuth link completed (2026-07-10).
|
|
21275
|
+
preserveSession: true
|
|
21269
21276
|
});
|
|
21270
21277
|
return r.ok === true;
|
|
21271
21278
|
} : void 0;
|
|
@@ -34383,7 +34390,7 @@ function checkChokidar() {
|
|
|
34383
34390
|
}
|
|
34384
34391
|
async function doctor(args2 = []) {
|
|
34385
34392
|
const json = args2.includes("--json");
|
|
34386
|
-
const cliVersion = true ? "2.60.
|
|
34393
|
+
const cliVersion = true ? "2.60.36" : "0.0.0-dev";
|
|
34387
34394
|
const apiBase2 = resolveApiBaseUrl();
|
|
34388
34395
|
const diagnosticId = (0, import_node_crypto12.randomUUID)();
|
|
34389
34396
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -34582,7 +34589,7 @@ async function completion(args2) {
|
|
|
34582
34589
|
// src/commands/version.ts
|
|
34583
34590
|
var import_picocolors15 = __toESM(require("picocolors"));
|
|
34584
34591
|
function version2() {
|
|
34585
|
-
const v = true ? "2.60.
|
|
34592
|
+
const v = true ? "2.60.36" : "unknown";
|
|
34586
34593
|
console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
|
|
34587
34594
|
}
|
|
34588
34595
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.60.
|
|
3
|
+
"version": "2.60.36",
|
|
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",
|