offgrid-ai 0.8.5 → 0.8.6

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/README.md CHANGED
@@ -29,24 +29,28 @@ offgrid-ai stop # stop a running server
29
29
 
30
30
  ## Install
31
31
 
32
- One command. Installs Node.js if you don't have it, then installs offgrid-ai.
32
+ ### Recommended: one command installer
33
+
34
+ Installs Node.js if you don't have it, then installs offgrid-ai and adds it to your PATH. Prints a welcome message so you know it worked.
33
35
 
34
36
  ```bash
35
37
  curl -fsSL https://raw.githubusercontent.com/eeshansrivastava89/offgrid-ai/main/install.sh | bash
36
38
  ```
37
39
 
38
- Or if you already have Node.js:
40
+ Or review the install script first:
39
41
 
40
42
  ```bash
41
- npm install -g offgrid-ai@latest --prefer-online
43
+ curl -fsSL https://raw.githubusercontent.com/eeshansrivastava89/offgrid-ai/main/install.sh | less
42
44
  ```
43
45
 
44
- Or review the install script first:
46
+ ### Already have Node.js?
45
47
 
46
48
  ```bash
47
- curl -fsSL https://raw.githubusercontent.com/eeshansrivastava89/offgrid-ai/main/install.sh | less
49
+ npm install -g offgrid-ai@latest --prefer-online
48
50
  ```
49
51
 
52
+ This works without extra flags, but npm hides postinstall output by default, so you won't see the welcome message. Open a new terminal window or run `source ~/.zshrc` and then `offgrid-ai`.
53
+
50
54
  ## How it works
51
55
 
52
56
  1. **Auto-detect everything.** Scans for GGUF models in LM Studio and Hugging Face cache directories, and checks managed backends like Ollama/oMLX through their local APIs. Reads model metadata (quantization, context size, vision, thinking mode) directly from GGUF files. No presets, no manual configuration.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "offgrid-ai",
3
- "version": "0.8.5",
3
+ "version": "0.8.6",
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",
@@ -26,12 +26,6 @@ if (isHermesPrefix(prefix, process.env.HOME)) {
26
26
  const npmBin = join(prefix, "bin");
27
27
  const marker = "# Added by offgrid-ai installer";
28
28
  const pathLine = `export PATH="${npmBin}:$PATH"`;
29
- const currentPath = process.env.PATH ?? "";
30
-
31
- if (currentPath.split(":").includes(npmBin)) {
32
- console.log(`offgrid-ai is already on PATH (${npmBin})`);
33
- process.exit(0);
34
- }
35
29
 
36
30
  const home = process.env.HOME;
37
31
  if (!home) {