openzoo 0.49.9 → 0.49.10

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
@@ -23,21 +23,35 @@ paid $0.002137 (9.5× cheaper than direct) · rail solana · tx 5Kd…
23
23
 
24
24
  **Cursor** (Settings → Models → OpenAI API): set *Override OpenAI Base URL* to `http://localhost:8402/v1`, API key `sk-openzoo`. (Cursor Hobby can't BYOK; Pro can.)
25
25
 
26
- **openzoo-claude / grokui Auto** — `openzoo claude` boots `:8402` if needed and execs `openzoo-claude` (npx `-y` on first run). Zoo env is `ANTHROPIC_BASE_URL=http://localhost:8402/v1`, `ANTHROPIC_API_KEY` unset, `ANTHROPIC_AUTH_TOKEN` from `~/.openzoo/subscription.json` or `sk-openzoo`. You do **not** need Anthropic's bun `claude` or `claude.ai/install.sh`. grokui orange Auto is this harness, not a `RUN:` text parser.
26
+ **Claude Code / grokui Auto** — `openzoo claude` sets the Anthropic API key + base URL to the local OpenZoo proxy (x402 pay-per-call). You do **not** need to authenticate Claude first. grokui orange Auto is this harness, not a `RUN:` text parser. PATH `~/.local/bin` is required on Mac so `claude` is found.
27
27
 
28
- `GET /v1/models` is the live OpenRouter catalog **after** dropping `:batch`, `$0` / missing prices, and `openzoo-*` twins. The `/model` picker (Anthropic-shaped GET) is a short list: current Opus/Sonnet/Haiku-class + a few real gateway models + `openzoo/auto`.
28
+ `GET /v1/models` is the live OpenRouter catalog **after** dropping `:batch`, `$0` / missing prices, and `openzoo-*` twins. Claude Code's `/model` picker (Anthropic-shaped GET) is a short list: current Opus/Sonnet/Haiku-class + a few real gateway models + `openzoo/auto`.
29
29
 
30
30
  Mac:
31
31
 
32
32
  ```
33
+ curl -fsSL https://claude.ai/install.sh | bash
33
34
  curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.7/install.sh | bash
34
35
  . "$HOME/.nvm/nvm.sh"
35
36
  nvm install 24
36
37
  npm i -g openzoo
38
+ echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc
37
39
  openzoo claude
38
40
  ```
39
41
 
40
- Windows — nvm-windows (https://github.com/coreybutler/nvm-windows — `nvm-setup.exe`). Do not use the unix nvm curl on Windows. Do not source `~/.zshrc`. Do not install official Claude Code.
42
+ Windows — official Claude install, then nvm-windows (https://github.com/coreybutler/nvm-windows — `nvm-setup.exe`). Do not use the unix nvm curl on Windows. Do not source `~/.zshrc`.
43
+
44
+ PowerShell:
45
+
46
+ ```
47
+ irm https://claude.ai/install.ps1 | iex
48
+ ```
49
+
50
+ CMD:
51
+
52
+ ```
53
+ curl -fsSL https://downloads.claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
54
+ ```
41
55
 
42
56
  Then nvm-windows:
43
57
 
@@ -58,7 +72,7 @@ export CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1
58
72
  curl -s "$ANTHROPIC_BASE_URL/models" | jq '[.data[].id] | map(select(test(":batch") or startswith("openzoo-")))'
59
73
  # -> [] (no :batch, no openzoo-* clones)
60
74
  curl -s -H 'anthropic-version: 2023-06-01' "$ANTHROPIC_BASE_URL/models" | jq '[.data[].id]'
61
- # -> quoteable catalog in Anthropic shape (openzoo/auto first, then grok/gemini/gpt/…)
75
+ # -> short picker (opus/sonnet/haiku + a few gateway ids + openzoo/auto)
62
76
  ```
63
77
 
64
78
  **Any OpenAI-env tool:**
package/bin/openzoo.js CHANGED
@@ -102,9 +102,8 @@ usage:
102
102
  only "Auto". Undo: npx openzoo unblock
103
103
  npx openzoo vscode [path] same, for VS Code
104
104
  npx openzoo editor [path] whichever is installed (Cursor wins if both)
105
- npx openzoo claude [args] launch openzoo-claude on the zoo (x402 per turn);
106
- installs via npx -y openzoo-claude if needed;
107
- --desktop for the Anthropic app
105
+ npx openzoo claude [dir] Claude Code CLI on the zoo (x402 per turn); --desktop for the app
106
+ by default, --terminal for the Claude Code CLI
108
107
  npx openzoo launch <cmd> [args] launch a TERMINAL Messages API client
109
108
  (claude, aider...) already pointed at the zoo
110
109
  npx openzoo grokbot KEEP Grok Bot's UI, serve YOUR RunPod box under it: