offgrid-ai 0.8.0 → 0.8.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "offgrid-ai",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "description": "Privacy-first CLI for running local LLMs — discover, configure, run, benchmark",
5
5
  "author": "Eeshan Srivastava (https://eeshans.com)",
6
6
  "type": "module",
@@ -63,8 +63,8 @@ function optionSizeLabel(item) {
63
63
  return formatBytes(item.model.sizeBytes);
64
64
  }
65
65
  // managed
66
- if (item.model.quant) return item.model.quant;
67
66
  if (item.model.sizeBytes) return formatBytes(item.model.sizeBytes);
67
+ if (item.model.quant) return item.model.quant;
68
68
  return "—";
69
69
  }
70
70
 
package/src/updates.mjs CHANGED
@@ -20,10 +20,7 @@ export async function checkForUpdate({ now = Date.now(), fetchImpl = globalThis.
20
20
  if (cached.currentVersion === currentVersion) {
21
21
  return updateResult(currentVersion, cached.latestVersion);
22
22
  }
23
- // Cache is from a different version — if latest isn't newer than current, no update
24
- if (cached.latestVersion && !isNewerVersion(cached.latestVersion, currentVersion)) {
25
- return null;
26
- }
23
+ // Cache is from a different installed version — invalidate and refetch
27
24
  }
28
25
 
29
26
  try {