codeam-cli 2.76.40 → 2.76.41
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/dist/index.js +22 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11354,7 +11354,7 @@ function readAnonId() {
|
|
|
11354
11354
|
}
|
|
11355
11355
|
function superProperties() {
|
|
11356
11356
|
return {
|
|
11357
|
-
cliVersion: true ? "2.76.
|
|
11357
|
+
cliVersion: true ? "2.76.41" : "0.0.0-dev",
|
|
11358
11358
|
nodeVersion: process.version,
|
|
11359
11359
|
platform: process.platform,
|
|
11360
11360
|
arch: process.arch,
|
|
@@ -11603,7 +11603,7 @@ var http = __toESM(require("http"));
|
|
|
11603
11603
|
// package.json
|
|
11604
11604
|
var package_default = {
|
|
11605
11605
|
name: "codeam-cli",
|
|
11606
|
-
version: "2.76.
|
|
11606
|
+
version: "2.76.41",
|
|
11607
11607
|
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.",
|
|
11608
11608
|
type: "commonjs",
|
|
11609
11609
|
main: "dist/index.js",
|
|
@@ -12979,7 +12979,7 @@ var CommandRelayService = class _CommandRelayService {
|
|
|
12979
12979
|
// fresh + clear the "CLI update available" banner after a self-update
|
|
12980
12980
|
// (a codespace that reinstalls @latest reconnects via heartbeat, not
|
|
12981
12981
|
// pair/reconnect). Older backends ignore the extra field.
|
|
12982
|
-
..."2.76.
|
|
12982
|
+
..."2.76.41" ? { ideVersion: "2.76.41" } : {}
|
|
12983
12983
|
};
|
|
12984
12984
|
try {
|
|
12985
12985
|
const res = await _postJson(`${API_BASE2}/api/plugin/heartbeat`, body, this.pollSecretHeader());
|
|
@@ -25489,9 +25489,21 @@ async function provisionProjectDependencies(cwd) {
|
|
|
25489
25489
|
// src/services/preview/setup-deps.ts
|
|
25490
25490
|
var import_fs5 = __toESM(require("fs"));
|
|
25491
25491
|
var import_path8 = __toESM(require("path"));
|
|
25492
|
+
function missingDeclaredDep(cwd) {
|
|
25493
|
+
let pkg;
|
|
25494
|
+
try {
|
|
25495
|
+
pkg = JSON.parse(import_fs5.default.readFileSync(import_path8.default.join(cwd, "package.json"), "utf8"));
|
|
25496
|
+
} catch {
|
|
25497
|
+
return null;
|
|
25498
|
+
}
|
|
25499
|
+
for (const name of Object.keys({ ...pkg.dependencies ?? {}, ...pkg.devDependencies ?? {} })) {
|
|
25500
|
+
if (!import_fs5.default.existsSync(import_path8.default.join(cwd, "node_modules", name, "package.json"))) return name;
|
|
25501
|
+
}
|
|
25502
|
+
return null;
|
|
25503
|
+
}
|
|
25492
25504
|
function detectMissingNodeDeps(cwd) {
|
|
25493
25505
|
if (!import_fs5.default.existsSync(import_path8.default.join(cwd, "package.json"))) return null;
|
|
25494
|
-
if (import_fs5.default.existsSync(import_path8.default.join(cwd, "node_modules"))) return null;
|
|
25506
|
+
if (import_fs5.default.existsSync(import_path8.default.join(cwd, "node_modules")) && missingDeclaredDep(cwd) === null) return null;
|
|
25495
25507
|
if (import_fs5.default.existsSync(import_path8.default.join(cwd, "yarn.lock"))) {
|
|
25496
25508
|
return { cmd: "yarn", args: ["install"] };
|
|
25497
25509
|
}
|
|
@@ -52153,7 +52165,7 @@ async function autoUpgradeBeforeCriticalCommand() {
|
|
|
52153
52165
|
if (process.env.NODE_ENV === "test") return;
|
|
52154
52166
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
52155
52167
|
if (process.env.CI) return;
|
|
52156
|
-
const current2 = true ? "2.76.
|
|
52168
|
+
const current2 = true ? "2.76.41" : null;
|
|
52157
52169
|
if (!current2) return;
|
|
52158
52170
|
const cache = readCache();
|
|
52159
52171
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -52170,7 +52182,7 @@ function checkForUpdates() {
|
|
|
52170
52182
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
52171
52183
|
if (process.env.CI) return;
|
|
52172
52184
|
if (!process.stdout.isTTY) return;
|
|
52173
|
-
const current2 = true ? "2.76.
|
|
52185
|
+
const current2 = true ? "2.76.41" : null;
|
|
52174
52186
|
if (!current2) return;
|
|
52175
52187
|
const cache = readCache();
|
|
52176
52188
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
|
@@ -52476,7 +52488,7 @@ var SELF_UPDATE_VIEW_TIMEOUT_MS = 3e4;
|
|
|
52476
52488
|
var SELF_UPDATE_INSTALL_TIMEOUT_MS = 18e4;
|
|
52477
52489
|
var SELF_UPDATE_LS_TIMEOUT_MS = 15e3;
|
|
52478
52490
|
function currentCliVersion() {
|
|
52479
|
-
return true ? "2.76.
|
|
52491
|
+
return true ? "2.76.41" : null;
|
|
52480
52492
|
}
|
|
52481
52493
|
async function installedVersion(deps) {
|
|
52482
52494
|
const ls = await deps.run(
|
|
@@ -52699,7 +52711,7 @@ function signalHostReady(send = process.send?.bind(process)) {
|
|
|
52699
52711
|
}
|
|
52700
52712
|
function defaultDeps() {
|
|
52701
52713
|
return {
|
|
52702
|
-
ownVersion: true ? "2.76.
|
|
52714
|
+
ownVersion: true ? "2.76.41" : null,
|
|
52703
52715
|
root: cliVersionsRoot(),
|
|
52704
52716
|
args: process.argv.slice(3),
|
|
52705
52717
|
execPath: process.execPath,
|
|
@@ -55237,7 +55249,7 @@ function checkChokidar() {
|
|
|
55237
55249
|
}
|
|
55238
55250
|
async function doctor(args2 = []) {
|
|
55239
55251
|
const json = args2.includes("--json");
|
|
55240
|
-
const cliVersion = true ? "2.76.
|
|
55252
|
+
const cliVersion = true ? "2.76.41" : "0.0.0-dev";
|
|
55241
55253
|
const apiBase2 = resolveApiBaseUrl();
|
|
55242
55254
|
const diagnosticId = (0, import_node_crypto17.randomUUID)();
|
|
55243
55255
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -55773,7 +55785,7 @@ async function mcpWarm(argv = [], opts = {}) {
|
|
|
55773
55785
|
// src/commands/version.ts
|
|
55774
55786
|
var import_picocolors15 = __toESM(require("picocolors"));
|
|
55775
55787
|
function version2() {
|
|
55776
|
-
const v = true ? "2.76.
|
|
55788
|
+
const v = true ? "2.76.41" : "unknown";
|
|
55777
55789
|
console.log(`${import_picocolors15.default.bold("codeam-cli")} ${import_picocolors15.default.cyan(v)}`);
|
|
55778
55790
|
}
|
|
55779
55791
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.76.
|
|
3
|
+
"version": "2.76.41",
|
|
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",
|