@modelstatus/cli 0.1.65 → 0.1.66

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/tui/app.js +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modelstatus/cli",
3
- "version": "0.1.65",
3
+ "version": "0.1.66",
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
@@ -129,7 +129,11 @@ export function App({ apiBase, apiKey, dir, initialView, onSignedIn, fresh }) {
129
129
  const { exit } = useApp();
130
130
  const { stdout } = useStdout();
131
131
  const client = React.useMemo(() => createClient({ apiBase, apiKey }), [apiBase, apiKey]);
132
- const fallbackKey = apiKey ? "inventory" : "local";
132
+ // Everyone lands on Here (the local scan) — it's the richest view (live scan,
133
+ // fix preview, push) and needs no network. Inventory is one keypress away (3).
134
+ // (Pre-0.1.66 signed-in users landed on Inventory; that dated from before the
135
+ // Here tab existed.)
136
+ const fallbackKey = "local";
133
137
  const startIdx = Math.max(0, VIEWS.findIndex((v) => v.key === (initialView || fallbackKey)));
134
138
  const [idx, setIdx] = React.useState(startIdx);
135
139
  const [redraw, setRedraw] = React.useState(0); // bumped by ctrl-L to force a clean repaint