@modelstatus/cli 0.1.56 → 0.1.57
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/package.json +1 -1
- package/src/tui/app.js +5 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modelstatus/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.57",
|
|
4
4
|
"description": "Track which AI models you use, where, and never get surprised by a retirement. Free offline model-health for any repo (mm status), browser sign-in for cloud inventory + alerts.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"llm",
|
package/src/tui/app.js
CHANGED
|
@@ -44,13 +44,15 @@ const CHROME_ROWS = 10;
|
|
|
44
44
|
// the frame, NEGATIVE grows it past the reported height.
|
|
45
45
|
// - 1 everywhere: a full-height ink frame write+newlines its bottom line and
|
|
46
46
|
// scrolls the buffer up 1/render; the 1-row reserve keeps the last line blank.
|
|
47
|
-
// - -
|
|
48
|
-
// must be GROWN
|
|
47
|
+
// - -11 in Warp: empirically (the user dialing it live in their Warp), the frame
|
|
48
|
+
// must be GROWN past stdout.rows or the top clips — Warp's block model
|
|
49
49
|
// reports/handles the alt-screen height such that a flush-height frame rides too
|
|
50
50
|
// high. So in Warp we render TALLER, which pushes the window down into view.
|
|
51
|
+
// -7 revealed the body but still clipped the 4 chrome rows above it (top border,
|
|
52
|
+
// traffic lights, the TAB-STRIP nav, blank); -11 pushes those into view too.
|
|
51
53
|
// Gated on Warp (a negative reserve elsewhere would over-grow + clip the top of
|
|
52
54
|
// a normal full-screen terminal).
|
|
53
|
-
const WARP_RESERVE = -
|
|
55
|
+
const WARP_RESERVE = -11;
|
|
54
56
|
|
|
55
57
|
/** True when running under Warp (TERM_PROGRAM=WarpTerminal, or any WARP_* env, or
|
|
56
58
|
* TERM_PROGRAM merely containing "warp" — broad so detection doesn't silently
|