@openinference/cli 0.3.0 → 1.0.0

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 (49) hide show
  1. package/README.md +65 -0
  2. package/data/models.json +643 -120
  3. package/dist/chat.d.ts.map +1 -1
  4. package/dist/chat.js +1 -5
  5. package/dist/chat.js.map +1 -1
  6. package/dist/config.d.ts +3 -0
  7. package/dist/config.d.ts.map +1 -1
  8. package/dist/config.js +8 -1
  9. package/dist/config.js.map +1 -1
  10. package/dist/data/models.json +643 -120
  11. package/dist/hardware.d.ts +5 -0
  12. package/dist/hardware.d.ts.map +1 -1
  13. package/dist/hardware.js +45 -0
  14. package/dist/hardware.js.map +1 -1
  15. package/dist/index.js +125 -53
  16. package/dist/index.js.map +1 -1
  17. package/dist/manage.d.ts +11 -0
  18. package/dist/manage.d.ts.map +1 -0
  19. package/dist/manage.js +118 -0
  20. package/dist/manage.js.map +1 -0
  21. package/dist/ollama.d.ts +1 -0
  22. package/dist/ollama.d.ts.map +1 -1
  23. package/dist/ollama.js +12 -3
  24. package/dist/ollama.js.map +1 -1
  25. package/dist/prompt.d.ts +11 -0
  26. package/dist/prompt.d.ts.map +1 -1
  27. package/dist/prompt.js +99 -11
  28. package/dist/prompt.js.map +1 -1
  29. package/dist/recommend-run.d.ts +6 -4
  30. package/dist/recommend-run.d.ts.map +1 -1
  31. package/dist/recommend-run.js +20 -25
  32. package/dist/recommend-run.js.map +1 -1
  33. package/dist/recommend.d.ts +18 -1
  34. package/dist/recommend.d.ts.map +1 -1
  35. package/dist/recommend.js +53 -22
  36. package/dist/recommend.js.map +1 -1
  37. package/dist/setup.d.ts +12 -4
  38. package/dist/setup.d.ts.map +1 -1
  39. package/dist/setup.js +84 -54
  40. package/dist/setup.js.map +1 -1
  41. package/dist/start.d.ts +2 -2
  42. package/dist/start.d.ts.map +1 -1
  43. package/dist/start.js +4 -9
  44. package/dist/start.js.map +1 -1
  45. package/dist/use-cases.d.ts +17 -0
  46. package/dist/use-cases.d.ts.map +1 -0
  47. package/dist/use-cases.js +115 -0
  48. package/dist/use-cases.js.map +1 -0
  49. package/package.json +8 -2
package/README.md ADDED
@@ -0,0 +1,65 @@
1
+ # @openinference/cli
2
+
3
+ **OpenInference Core** — find, install, and chat with the best open-source model for your computer.
4
+
5
+ Not an agent. A hardware-aware model package manager on top of [Ollama](https://ollama.com).
6
+
7
+ ## Quick start
8
+
9
+ ```bash
10
+ npx @openinference/cli
11
+ ```
12
+
13
+ The wizard will:
14
+
15
+ 1. Ask what you want AI for (coding, chat, PDFs, …)
16
+ 2. Scan RAM, CPU, GPU, disk, and OS
17
+ 3. Filter 150+ models → what fits your machine
18
+ 4. Let you pick and confirm before downloading
19
+ 5. Install Ollama, pull the model, open chat
20
+
21
+ Skip prompts (power users):
22
+
23
+ ```bash
24
+ npx @openinference/cli -y
25
+ ```
26
+
27
+ ## Commands
28
+
29
+ | Command | Description |
30
+ |---------|-------------|
31
+ | `oi` | Setup wizard + chat |
32
+ | `oi -y` | Auto-pick and install |
33
+ | `oi recommend` | Preview picks (no install) |
34
+ | `oi browse` | Browse filtered catalog |
35
+ | `oi use <model>` | Switch model (pulls if needed) |
36
+ | `oi pull <model>` | Download another model |
37
+ | `oi chat` | Chat with active model |
38
+ | `oi models` | List downloaded models |
39
+ | `oi storage` | Where Ollama stores files |
40
+ | `oi status` | Current setup |
41
+
42
+ ## Use cases
43
+
44
+ `coding` · `chat` · `pdfs` · `writing` · `image` · `research`
45
+
46
+ ```bash
47
+ oi recommend --use-case coding
48
+ oi --use-case coding -y
49
+ ```
50
+
51
+ ## Model storage
52
+
53
+ OpenInference does **not** store model files. Ollama downloads to:
54
+
55
+ - **Windows:** `%USERPROFILE%\.ollama\models`
56
+ - **macOS / Linux:** `~/.ollama/models`
57
+
58
+ ## Requirements
59
+
60
+ - Node.js 18+
61
+ - Windows, macOS, or Linux
62
+
63
+ ## License
64
+
65
+ MIT