gearbox-code 0.1.2 → 0.1.4

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 (3) hide show
  1. package/README.md +5 -3
  2. package/dist/cli.mjs +549 -1209
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -31,12 +31,14 @@ A beautiful, simple coding harness for the terminal. It reads, edits, and runs y
31
31
 
32
32
  ```bash
33
33
  bun install
34
- export ANTHROPIC_API_KEY=... # or OPENAI_API_KEY / GOOGLE_GENERATIVE_AI_API_KEY / DEEPSEEK_API_KEY
34
+ gearbox auth add <api-key> # paste-detects common providers when possible
35
+ # or: gearbox auth add <provider> <api-key>
36
+ # or: gearbox auth import # import keys from env/cloud credentials
35
37
  bun start # or: bun run src/cli.tsx
36
38
  bun start -- --model gemini-flash # pick a model
37
39
  ```
38
40
 
39
- No key? It launches in demo mode so you can see the interface. Preview the look without running anything:
41
+ No provider configured? Gearbox opens a setup screen and will not run a fake model. Preview the look without running anything:
40
42
 
41
43
  ```bash
42
44
  bun run scripts/preview.tsx
@@ -48,7 +50,7 @@ Requires [Bun](https://bun.sh). Clone the repo, then:
48
50
 
49
51
  ```bash
50
52
  ./install.sh # bun install + bun link → 'gearbox' on your PATH
51
- export ANTHROPIC_API_KEY=... # each person uses their own key (add to ~/.zshrc)
53
+ gearbox auth add <api-key> # each person uses their own provider account
52
54
  cd ~/any/project && gearbox # the current directory is the workspace
53
55
  ```
54
56