pi-free 2.0.7 → 2.0.9

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 (42) hide show
  1. package/CHANGELOG.md +96 -10
  2. package/README.md +572 -495
  3. package/config.ts +58 -11
  4. package/constants.ts +12 -0
  5. package/index.ts +67 -3
  6. package/lib/built-in-toggle.ts +2 -2
  7. package/lib/model-detection.ts +2 -1
  8. package/lib/model-enhancer.ts +1 -1
  9. package/lib/open-browser.ts +1 -1
  10. package/lib/provider-compat.ts +1 -1
  11. package/lib/quota-monitor.ts +123 -0
  12. package/lib/registry.ts +1 -1
  13. package/lib/types.ts +101 -101
  14. package/lib/util.ts +460 -351
  15. package/package.json +4 -4
  16. package/provider-failover/benchmark-lookup.ts +743 -702
  17. package/provider-failover/benchmarks-chunk-0.ts +48 -48
  18. package/provider-failover/benchmarks-chunk-1.ts +44 -44
  19. package/provider-failover/benchmarks-chunk-2.ts +39 -39
  20. package/provider-failover/benchmarks-chunk-3.ts +41 -41
  21. package/provider-failover/benchmarks-chunk-4.ts +33 -33
  22. package/provider-helper.ts +1 -1
  23. package/providers/cline/cline-auth.ts +473 -473
  24. package/providers/cline/cline-models.ts +2 -2
  25. package/providers/cline/cline.ts +3 -3
  26. package/providers/codestral/codestral.ts +139 -0
  27. package/providers/crofai/crofai.ts +14 -85
  28. package/providers/deepinfra/deepinfra.ts +109 -0
  29. package/providers/dynamic-built-in/index.ts +1 -1
  30. package/providers/kilo/kilo-auth.ts +155 -155
  31. package/providers/kilo/kilo.ts +3 -3
  32. package/providers/llm7/llm7.ts +156 -0
  33. package/providers/model-fetcher.ts +2 -2
  34. package/providers/nvidia/nvidia.ts +5 -5
  35. package/providers/ollama/ollama.ts +2 -2
  36. package/providers/opencode-session.ts +1 -1
  37. package/providers/qwen/qwen-auth.ts +1 -1
  38. package/providers/qwen/qwen-models.ts +1 -1
  39. package/providers/qwen/qwen.ts +3 -3
  40. package/providers/sambanova/sambanova.ts +109 -0
  41. package/providers/zenmux/zenmux.ts +6 -3
  42. package/scripts/check-extensions.mjs +6 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-free",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "type": "module",
5
5
  "description": "AI model providers for Pi with free model filtering. Shows only $0 cost models by default. Supports Kilo (free OAuth), Cline (free), NVIDIA (freemium), ZenMux, CrofAI, Ollama Cloud, and more.",
6
6
  "keywords": [
@@ -50,9 +50,9 @@
50
50
  "test:run": "vitest run"
51
51
  },
52
52
  "peerDependencies": {
53
- "@mariozechner/pi-ai": "*",
54
- "@mariozechner/pi-coding-agent": "*",
55
- "@mariozechner/pi-tui": "*"
53
+ "@earendil-works/pi-ai": "*",
54
+ "@earendil-works/pi-coding-agent": "*",
55
+ "@earendil-works/pi-tui": "*"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@vitest/ui": "^4.1.5",