gearbox-code 0.1.11 → 0.1.13

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 (4) hide show
  1. package/README.md +40 -1
  2. package/dist/cli.mjs +98876 -88193
  3. package/install.sh +38 -2
  4. package/package.json +4 -1
package/README.md CHANGED
@@ -60,6 +60,7 @@ macOS, Linux, WSL:
60
60
 
61
61
  ```bash
62
62
  rm -f ~/.local/bin/gearbox
63
+ rm -f ~/.bun/bin/gearbox
63
64
  rm -rf ~/.local/share/gearbox
64
65
  ```
65
66
 
@@ -75,15 +76,53 @@ If you previously installed with npm global:
75
76
  npm uninstall -g gearbox-code
76
77
  ```
77
78
 
79
+ If `gearbox` fails with `Unknown file extension ".tsx"`, an old Bun-linked
80
+ shim is still first on PATH. Remove it and reinstall:
81
+
82
+ ```bash
83
+ rm -f ~/.bun/bin/gearbox
84
+ curl -fsSL https://unpkg.com/gearbox-code@latest/install.sh | bash
85
+ ```
86
+
78
87
  ## What It Is
79
88
 
80
89
  Gearbox is a terminal coding agent that can use the model accounts you already
81
90
  pay for. It supports provider accounts, local credential storage, model routing,
82
- session history, file edits, shell commands, and permission gates.
91
+ session history, file edits, shell commands, MCP tools, web search, image input,
92
+ and permission gates.
83
93
 
84
94
  Supported setup paths include API keys, detected env/cloud credentials, Azure,
85
95
  and provider CLIs where available.
86
96
 
97
+ ## Capabilities
98
+
99
+ Paste or drag an image path into the composer to attach screenshots or UI
100
+ captures. Local image attachments work with API-backed multimodal models.
101
+
102
+ Gearbox loads MCP servers from `~/.gearbox/mcp.json`, `.mcp.json`, or
103
+ `.gearbox/mcp.json`. Check what loaded with:
104
+
105
+ ```bash
106
+ gearbox mcp list
107
+ ```
108
+
109
+ Example MCP config:
110
+
111
+ ```json
112
+ {
113
+ "mcpServers": {
114
+ "github": {
115
+ "command": "npx",
116
+ "args": ["-y", "@modelcontextprotocol/server-github"],
117
+ "env": { "GITHUB_TOKEN": "${GITHUB_TOKEN}" }
118
+ }
119
+ }
120
+ }
121
+ ```
122
+
123
+ The built-in `web_search` tool works out of the box with DuckDuckGo, and uses
124
+ Brave or SearXNG when `BRAVE_SEARCH_API_KEY` or `SEARXNG_URL` is set.
125
+
87
126
  ## Develop
88
127
 
89
128
  Requires [Bun](https://bun.sh).