mover-os 4.6.5 → 4.6.6
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/install.js +3 -1
- package/package.json +1 -1
package/install.js
CHANGED
|
@@ -30,6 +30,9 @@ function jsonOut(command, data, ok = true) {
|
|
|
30
30
|
process.stdout.write(JSON.stringify(envelope, null, 2) + "\n");
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
// ─── TTY detection (must be before output budget check) ──────────────────────
|
|
34
|
+
const IS_TTY = process.stdout.isTTY && process.stdin.isTTY;
|
|
35
|
+
|
|
33
36
|
// ─── Output budget (30K chars = Anthropic bash tool truncation limit) ────────
|
|
34
37
|
const MAX_OUTPUT_CHARS = 28000; // Leave 2K buffer below 30K limit
|
|
35
38
|
let _outputCharCount = 0;
|
|
@@ -51,7 +54,6 @@ if (!IS_TTY) {
|
|
|
51
54
|
const EXIT = { OK: 0, ERROR: 1, USAGE: 2, NOT_FOUND: 3, PERMISSION: 4, CONFLICT: 5, NETWORK: 6 };
|
|
52
55
|
|
|
53
56
|
// ─── ANSI ────────────────────────────────────────────────────────────────────
|
|
54
|
-
const IS_TTY = process.stdout.isTTY && process.stdin.isTTY;
|
|
55
57
|
const S = IS_TTY
|
|
56
58
|
? {
|
|
57
59
|
reset: "\x1b[0m",
|