codeam-cli 2.5.4 → 2.5.5
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 +8 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1477,7 +1477,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
|
|
|
1477
1477
|
// package.json
|
|
1478
1478
|
var package_default = {
|
|
1479
1479
|
name: "codeam-cli",
|
|
1480
|
-
version: "2.5.
|
|
1480
|
+
version: "2.5.5",
|
|
1481
1481
|
description: "Remote control Claude Code (and other AI coding agents) from your mobile phone. Pair your device, send prompts, stream responses in real-time, and approve commands \u2014 from anywhere.",
|
|
1482
1482
|
type: "commonjs",
|
|
1483
1483
|
main: "dist/index.js",
|
|
@@ -4868,7 +4868,11 @@ function detectSelector(lines) {
|
|
|
4868
4868
|
const clean = lines.map(
|
|
4869
4869
|
(l) => l.replace(/^[│╭╰╮╯┌└┐┘├┤┬┴┼]\s?/, "").replace(/\s*[│╭╰╮╯┌└┐┘├┤┬┴┼─━═]+\s*$/, "")
|
|
4870
4870
|
);
|
|
4871
|
-
|
|
4871
|
+
const hasCursor = clean.some((l) => /^[❯>]\s*\d+\./.test(l.trim()));
|
|
4872
|
+
const looksLikeTrust = clean.some(
|
|
4873
|
+
(l) => /\b(?:trust\s+the\s+files|trust\s+this\s+folder|safety\s+check)\b/i.test(l)
|
|
4874
|
+
);
|
|
4875
|
+
if (!hasCursor && !looksLikeTrust) return null;
|
|
4872
4876
|
let optionStartIdx = -1;
|
|
4873
4877
|
for (let i = 0; i < clean.length; i++) {
|
|
4874
4878
|
if (/^(?:[❯>]\s*)?\d+\.\s/.test(clean[i].trim())) {
|
|
@@ -9232,7 +9236,7 @@ async function stopWorkspaceFromLocal(target) {
|
|
|
9232
9236
|
// src/commands/version.ts
|
|
9233
9237
|
var import_picocolors11 = __toESM(require("picocolors"));
|
|
9234
9238
|
function version() {
|
|
9235
|
-
const v = true ? "2.5.
|
|
9239
|
+
const v = true ? "2.5.5" : "unknown";
|
|
9236
9240
|
console.log(`${import_picocolors11.default.bold("codeam-cli")} ${import_picocolors11.default.cyan(v)}`);
|
|
9237
9241
|
}
|
|
9238
9242
|
|
|
@@ -9367,7 +9371,7 @@ function checkForUpdates() {
|
|
|
9367
9371
|
if (process.env.CODEAM_DISABLE_UPDATE_CHECK === "1") return;
|
|
9368
9372
|
if (process.env.CI) return;
|
|
9369
9373
|
if (!process.stdout.isTTY) return;
|
|
9370
|
-
const current = true ? "2.5.
|
|
9374
|
+
const current = true ? "2.5.5" : null;
|
|
9371
9375
|
if (!current) return;
|
|
9372
9376
|
const cache = readCache();
|
|
9373
9377
|
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.5.
|
|
3
|
+
"version": "2.5.5",
|
|
4
4
|
"description": "Remote control Claude Code (and other AI coding agents) from your mobile phone. Pair your device, send prompts, stream responses in real-time, and approve commands — from anywhere.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "dist/index.js",
|