@makerbi/openclaude 0.15.0 → 0.16.1
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 +20 -6
- package/dist/cli.mjs +17377 -14325
- package/dist/sdk.mjs +5362 -1751
- package/package.json +4 -3
- package/src/entrypoints/sdk/coreTypes.generated.ts +14 -14
- package/src/entrypoints/sdk.d.ts +4 -1
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ OpenClaude is also mirrored to GitLawb:
|
|
|
35
35
|
</a>
|
|
36
36
|
</td>
|
|
37
37
|
<td align="center" width="150" height="80">
|
|
38
|
-
<a href="https://
|
|
38
|
+
<a href="https://mimo.mi.com">
|
|
39
39
|
<img src="https://mimo.xiaomi.com/mimo-v2-pro/assets/logo.svg" alt="Xiaomi MiMo logo" width="136">
|
|
40
40
|
</a>
|
|
41
41
|
</td>
|
|
@@ -44,13 +44,13 @@ OpenClaude is also mirrored to GitLawb:
|
|
|
44
44
|
<td align="center"><a href="https://gitlawb.com"><strong>GitLawb</strong></a></td>
|
|
45
45
|
<td align="center"><a href="https://bankr.bot"><strong>Bankr.bot</strong></a></td>
|
|
46
46
|
<td align="center"><a href="https://atomic.chat/"><strong>Atomic Chat</strong></a></td>
|
|
47
|
-
<td align="center"><a href="https://
|
|
47
|
+
<td align="center"><a href="https://mimo.mi.com"><strong>Xiaomi MiMo</strong></a></td>
|
|
48
48
|
</tr>
|
|
49
49
|
</table>
|
|
50
50
|
|
|
51
51
|
## Star History
|
|
52
52
|
|
|
53
|
-
[](https://www.star-history.com/?repos=AndersonBY%2Fopenclaude&type=date&legend=top-left)
|
|
54
54
|
|
|
55
55
|
## Why OpenClaude
|
|
56
56
|
|
|
@@ -65,11 +65,19 @@ OpenClaude is also mirrored to GitLawb:
|
|
|
65
65
|
### Install
|
|
66
66
|
|
|
67
67
|
```bash
|
|
68
|
-
npm install -g @makerbi/openclaude
|
|
68
|
+
npm install -g @makerbi/openclaude@latest
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
If the install later reports `ripgrep not found`, install ripgrep system-wide and confirm `rg --version` works in the same terminal before starting OpenClaude.
|
|
72
72
|
|
|
73
|
+
**Verify / troubleshoot installed version:**
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
openclaude --version
|
|
77
|
+
npm view @makerbi/openclaude dist-tags
|
|
78
|
+
npm install -g @makerbi/openclaude@latest
|
|
79
|
+
```
|
|
80
|
+
|
|
73
81
|
### Start
|
|
74
82
|
|
|
75
83
|
```bash
|
|
@@ -149,10 +157,12 @@ Advanced and source-build guides:
|
|
|
149
157
|
| Codex OAuth | `/provider` | Opens ChatGPT sign-in in your browser and stores Codex credentials securely |
|
|
150
158
|
| Codex | `/provider` | Uses existing Codex CLI auth, OpenClaude secure storage, or env credentials |
|
|
151
159
|
| Gitlawb Opengateway | `/provider` or zero-config fallback | Free smart gateway at `https://opengateway.gitlawb.com/v1`; routes Xiaomi MiMo and GMI Cloud partner models by `OPENAI_MODEL` |
|
|
152
|
-
|
|
|
160
|
+
| OpenCode Zen | `/provider` or env vars | Pay-as-you-go AI gateway (41 models); uses `OPENCODE_API_KEY` via `https://opencode.ai/zen/v1`; shared key with OpenCode Go |
|
|
161
|
+
| OpenCode Go | `/provider` or env vars | $10/mo subscription for open models (12 models); uses `OPENCODE_API_KEY` via `https://opencode.ai/zen/go/v1`; shared key with OpenCode Zen |
|
|
162
|
+
| Xiaomi MiMo | `/provider` or env vars | OpenAI-compatible API at `https://mimo.mi.com`; uses `MIMO_API_KEY` and defaults to `mimo-v2.5-pro` |
|
|
153
163
|
| Ollama | `/provider` or env vars | Local inference with no API key |
|
|
154
164
|
| Atomic Chat | `/provider`, env vars, or `bun run dev:atomic-chat` | Local Model Provider; auto-detects loaded models |
|
|
155
|
-
| Bedrock / Vertex / Foundry | env vars |
|
|
165
|
+
| Bedrock / Vertex / Foundry | env vars | Anthropic-family cloud routes; Vertex is for Claude on Vertex AI, not arbitrary Model Garden models |
|
|
156
166
|
|
|
157
167
|
## What Works
|
|
158
168
|
|
|
@@ -206,6 +216,10 @@ Add to `~/.openclaude.json`:
|
|
|
206
216
|
|
|
207
217
|
When no routing match is found, the global provider remains the fallback.
|
|
208
218
|
|
|
219
|
+
You can also explicitly pass a `model` argument to the Agent tool that exactly matches a configured key in `agentModels` to override the provider for a single subagent request.
|
|
220
|
+
|
|
221
|
+
> **Note:** `/provider` changes the global/parent provider for your current session. `agentModels` and `agentRouting` are specifically for configuring per-agent provider overrides while keeping the parent session unchanged.
|
|
222
|
+
|
|
209
223
|
> **Note:** `api_key` values in `settings.json` are stored in plaintext. Keep this file private and do not commit it to version control.
|
|
210
224
|
|
|
211
225
|
## Web Search and Fetch
|