offgrid-ai 0.3.29 → 0.3.30

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/cli.mjs +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "offgrid-ai",
3
- "version": "0.3.29",
3
+ "version": "0.3.30",
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/cli.mjs CHANGED
@@ -21,7 +21,7 @@ import { offerManagedLlamaRuntimeUpdate } from "./runtime.mjs";
21
21
 
22
22
  async function offerUpdate(argv) {
23
23
  const invocation = detectInvocation();
24
- const update = await checkForUpdate({ force: invocation === "npx" });
24
+ const update = await checkForUpdate({ force: true });
25
25
  if (!update) return false;
26
26
 
27
27
  const plan = updateCommand(invocation, argv);
@@ -1132,7 +1132,7 @@ async function printVersion() {
1132
1132
  const version = currentPackageVersion();
1133
1133
  console.log(`offgrid-ai v${version}`);
1134
1134
  const invocation = detectInvocation();
1135
- const update = await checkForUpdate({ force: invocation === "npx" });
1135
+ const update = await checkForUpdate({ force: true });
1136
1136
  if (update) {
1137
1137
  const plan = updateCommand(invocation, ["version"]);
1138
1138
  console.log(pc.yellow(`Update available: v${update.latest}. Run: ${plan.display}`));