openclaudefree 0.1.8 → 0.2.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.
- package/README.md +18 -1
- package/dist/cli.mjs +536 -379
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ Use APIs compatíveis com OpenAI, Gemini, GitHub Models, Codex, Ollama, Atomic C
|
|
|
25
25
|
### Instalar
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
npm install -g
|
|
28
|
+
npm install -g openclaudefree
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
Se após a instalação aparecer `ripgrep not found`, instale o ripgrep no sistema e confirme que `rg --version` funciona no terminal antes de iniciar o OpenClaude.
|
|
@@ -63,6 +63,23 @@ $env:OPENAI_MODEL="gpt-4o"
|
|
|
63
63
|
openclaude
|
|
64
64
|
```
|
|
65
65
|
|
|
66
|
+
Ou edite diretamente o arquivo de configurações:
|
|
67
|
+
|
|
68
|
+
| Sistema | Caminho |
|
|
69
|
+
|---------|---------|
|
|
70
|
+
| Windows | `C:\Users\<seuUsuario>\.claude\settingsOpen.json` |
|
|
71
|
+
| macOS / Linux | `~/.claude/settingsOpen.json` |
|
|
72
|
+
|
|
73
|
+
```json
|
|
74
|
+
{
|
|
75
|
+
"env": {
|
|
76
|
+
"CLAUDE_CODE_USE_OPENAI": "1",
|
|
77
|
+
"OPENAI_API_KEY": "sk-sua-chave-aqui",
|
|
78
|
+
"OPENAI_MODEL": "gpt-4o"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
```
|
|
82
|
+
|
|
66
83
|
### Configuração rápida com Ollama local
|
|
67
84
|
|
|
68
85
|
macOS / Linux:
|