offgrid-ai 0.8.1 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/updates.mjs +1 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "offgrid-ai",
3
- "version": "0.8.1",
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",
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 {