codeam-cli 1.4.47 → 1.4.48
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 +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -116,7 +116,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
|
|
|
116
116
|
// package.json
|
|
117
117
|
var package_default = {
|
|
118
118
|
name: "codeam-cli",
|
|
119
|
-
version: "1.4.
|
|
119
|
+
version: "1.4.48",
|
|
120
120
|
description: "Remote control Claude Code from your mobile device",
|
|
121
121
|
main: "dist/index.js",
|
|
122
122
|
bin: {
|
|
@@ -909,7 +909,7 @@ function isChromeLine(line) {
|
|
|
909
909
|
if (SPINNER_RE.test(t)) return true;
|
|
910
910
|
if (BULLET_TOOL_RE.test(t)) return true;
|
|
911
911
|
if (TREE_LINE_RE.test(t)) return true;
|
|
912
|
-
if (STATUS_LINE_RE.test(t) && /\d+\s*s\s*[·•]|\bthought\s+for\b|\d+\s*tokens/i.test(t)) return true;
|
|
912
|
+
if (STATUS_LINE_RE.test(t) && /\d+\s*s\s*[·•]|\bthought\s+for\b|\d+\s*tokens|\(thinking\)/i.test(t)) return true;
|
|
913
913
|
if (/esc.{0,5}to.{0,5}interrupt/i.test(t)) return true;
|
|
914
914
|
if (/high\s*[·•]\s*\/effort/i.test(t)) return true;
|
|
915
915
|
if (/^[❯>]\s*$/.test(t)) return true;
|
|
@@ -935,8 +935,8 @@ function parseChromeLine(line) {
|
|
|
935
935
|
return { tool: "thinking", label: "Thinking\u2026", status: "running" };
|
|
936
936
|
}
|
|
937
937
|
if (TREE_LINE_RE.test(t)) return null;
|
|
938
|
-
if (STATUS_LINE_RE.test(t) && /\d+\s*s\s*[·•]|\bthought\s+for\b|\d+\s*tokens/i.test(t)) {
|
|
939
|
-
const label = t.slice(2).replace(/\s*\(\d+s.*\)$/, "").replace(/…$/, "").trim() || "Thinking\u2026";
|
|
938
|
+
if (STATUS_LINE_RE.test(t) && /\d+\s*s\s*[·•]|\bthought\s+for\b|\d+\s*tokens|\(thinking\)/i.test(t)) {
|
|
939
|
+
const label = t.slice(2).replace(/\s*\(\d+s.*\)$/, "").replace(/\s*\(thinking\)\s*$/i, "").replace(/…$/, "").trim() || "Thinking\u2026";
|
|
940
940
|
return { tool: "thinking", label, status: "running" };
|
|
941
941
|
}
|
|
942
942
|
let text = t;
|
|
@@ -1212,7 +1212,7 @@ function filterChrome(lines) {
|
|
|
1212
1212
|
))
|
|
1213
1213
|
continue;
|
|
1214
1214
|
if (/^└\s/.test(t)) continue;
|
|
1215
|
-
if (/^\+\s/.test(t) && /\d+\s*s\s*[·•]|\bthought\s+for\b|\d+\s*tokens/i.test(t)) continue;
|
|
1215
|
+
if (/^\+\s/.test(t) && /\d+\s*s\s*[·•]|\bthought\s+for\b|\d+\s*tokens|\(thinking\)/i.test(t)) continue;
|
|
1216
1216
|
const stripped = t.replace(/^[│╭╰╮╯┌└┐┘├┤┬┴┼]\s?/, "");
|
|
1217
1217
|
if (/^[❯>]\s+\S/.test(stripped) && !/^[❯>]\s*\d+\./.test(stripped)) {
|
|
1218
1218
|
skipEchoContinuation = true;
|