codeam-cli 2.18.1 → 2.18.2
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 +27 -17
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -440,7 +440,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
|
|
|
440
440
|
// package.json
|
|
441
441
|
var package_default = {
|
|
442
442
|
name: "codeam-cli",
|
|
443
|
-
version: "2.18.
|
|
443
|
+
version: "2.18.2",
|
|
444
444
|
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.",
|
|
445
445
|
type: "commonjs",
|
|
446
446
|
main: "dist/index.js",
|
|
@@ -5739,7 +5739,7 @@ function readAnonId() {
|
|
|
5739
5739
|
}
|
|
5740
5740
|
function superProperties() {
|
|
5741
5741
|
return {
|
|
5742
|
-
cliVersion: true ? "2.18.
|
|
5742
|
+
cliVersion: true ? "2.18.2" : "0.0.0-dev",
|
|
5743
5743
|
nodeVersion: process.version,
|
|
5744
5744
|
platform: process.platform,
|
|
5745
5745
|
arch: process.arch,
|
|
@@ -17283,24 +17283,34 @@ function checkAgentBinaries() {
|
|
|
17283
17283
|
});
|
|
17284
17284
|
}
|
|
17285
17285
|
function checkNodePty() {
|
|
17286
|
-
|
|
17287
|
-
require("node-pty");
|
|
17286
|
+
if (process.platform !== "win32") {
|
|
17288
17287
|
return {
|
|
17289
17288
|
id: "node-pty",
|
|
17290
17289
|
label: "node-pty native module",
|
|
17291
17290
|
ok: true,
|
|
17292
|
-
detail: "
|
|
17293
|
-
};
|
|
17294
|
-
} catch (err) {
|
|
17295
|
-
const msg = err.message;
|
|
17296
|
-
return {
|
|
17297
|
-
id: "node-pty",
|
|
17298
|
-
label: "node-pty native module",
|
|
17299
|
-
ok: false,
|
|
17300
|
-
detail: msg.split("\n")[0],
|
|
17301
|
-
hint: "Reinstall the CLI to fetch the vendored prebuilt binary:\n npm install -g codeam-cli@latest\n On Windows, antivirus may have quarantined `conpty.node` \u2014 restore it from quarantine or whitelist the install dir."
|
|
17291
|
+
detail: "not required on this platform"
|
|
17302
17292
|
};
|
|
17303
17293
|
}
|
|
17294
|
+
const vendoredPath = path35.join(__dirname, "vendor", "node-pty");
|
|
17295
|
+
for (const target of [vendoredPath, "node-pty"]) {
|
|
17296
|
+
try {
|
|
17297
|
+
require(target);
|
|
17298
|
+
return {
|
|
17299
|
+
id: "node-pty",
|
|
17300
|
+
label: "node-pty native module",
|
|
17301
|
+
ok: true,
|
|
17302
|
+
detail: target === vendoredPath ? "vendored bundle loaded" : "loaded"
|
|
17303
|
+
};
|
|
17304
|
+
} catch {
|
|
17305
|
+
}
|
|
17306
|
+
}
|
|
17307
|
+
return {
|
|
17308
|
+
id: "node-pty",
|
|
17309
|
+
label: "node-pty native module",
|
|
17310
|
+
ok: false,
|
|
17311
|
+
detail: "vendored bundle missing or unloadable",
|
|
17312
|
+
hint: "Reinstall the CLI to fetch the vendored prebuilt binary:\n npm install -g codeam-cli@latest\n On Windows, antivirus may have quarantined `conpty.node` \u2014 restore it from quarantine or whitelist the install dir."
|
|
17313
|
+
};
|
|
17304
17314
|
}
|
|
17305
17315
|
function checkChokidar() {
|
|
17306
17316
|
try {
|
|
@@ -17323,7 +17333,7 @@ function checkChokidar() {
|
|
|
17323
17333
|
}
|
|
17324
17334
|
async function doctor(args2 = []) {
|
|
17325
17335
|
const json = args2.includes("--json");
|
|
17326
|
-
const cliVersion = true ? "2.18.
|
|
17336
|
+
const cliVersion = true ? "2.18.2" : "0.0.0-dev";
|
|
17327
17337
|
const apiBase = process.env.CODEAM_API_URL ?? DEFAULT_API_BASE_URL;
|
|
17328
17338
|
const diagnosticId = (0, import_node_crypto5.randomUUID)();
|
|
17329
17339
|
log.info("doctor", `run id=${diagnosticId} cli=${cliVersion}`);
|
|
@@ -17515,7 +17525,7 @@ async function completion(args2) {
|
|
|
17515
17525
|
// src/commands/version.ts
|
|
17516
17526
|
var import_picocolors13 = __toESM(require("picocolors"));
|
|
17517
17527
|
function version2() {
|
|
17518
|
-
const v = true ? "2.18.
|
|
17528
|
+
const v = true ? "2.18.2" : "unknown";
|
|
17519
17529
|
console.log(`${import_picocolors13.default.bold("codeam-cli")} ${import_picocolors13.default.cyan(v)}`);
|
|
17520
17530
|
}
|
|
17521
17531
|
|
|
@@ -17743,7 +17753,7 @@ function checkForUpdates() {
|
|
|
17743
17753
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
17744
17754
|
if (process.env.CI) return;
|
|
17745
17755
|
if (!process.stdout.isTTY) return;
|
|
17746
|
-
const current = true ? "2.18.
|
|
17756
|
+
const current = true ? "2.18.2" : null;
|
|
17747
17757
|
if (!current) return;
|
|
17748
17758
|
const cache = readCache();
|
|
17749
17759
|
const fresh = cache && Date.now() - cache.fetchedAt < TTL_MS;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.18.
|
|
3
|
+
"version": "2.18.2",
|
|
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",
|