thebird 1.2.48 → 1.2.50
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 +3 -11
- package/docs/agent-chat.js +1 -0
- package/docs/index.html +1 -0
- package/docs/preview-sw-client.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -182,20 +182,12 @@ Messages follow the Anthropic SDK format. All image block variants are supported
|
|
|
182
182
|
|
|
183
183
|
Live at **[anentrypoint.github.io/thebird](https://anentrypoint.github.io/thebird/)**
|
|
184
184
|
|
|
185
|
-
- **Chat tab** — Agentic chat powered by thebird `streamGemini` running in-browser (bundled in `docs/vendor/thebird-browser.js`). Tools: `read_file`, `write_file`, `list_files` (IDB-backed
|
|
186
|
-
- **Terminal tab** —
|
|
187
|
-
- **Preview tab** — iframe
|
|
185
|
+
- **Chat tab** — Agentic chat powered by thebird `streamGemini` running in-browser (bundled in `docs/vendor/thebird-browser.js`). Tools: `read_file`, `write_file`, `list_files` (IDB-backed), `run_command`, `read_terminal`, `send_to_terminal`. No proxy server required. Gemini API key stored in localStorage.
|
|
186
|
+
- **Terminal tab** — Browser-native POSIX shell (xstate v5 state machine, V8 eval) backed by IndexedDB filesystem. Built-in commands: `ls`, `cat`, `cd`, `pwd`, `mkdir`, `rm`, `cp`, `mv`, `echo`, `env`, `export`, `node`, `npm install`. Node REPL mode with persistent scope, `require()` from IDB node_modules, `http.createServer` polyfill. No WebContainer or server required.
|
|
187
|
+
- **Preview tab** — iframe served by a service worker reading files from IDB at `/preview/*`. Hot-reloads 5s after any file write.
|
|
188
188
|
|
|
189
189
|
All JS and CSS dependencies are vendored locally in `docs/vendor/` — no CDN required at runtime.
|
|
190
190
|
|
|
191
|
-
Run the agentic CLI inside the terminal tab:
|
|
192
|
-
|
|
193
|
-
```
|
|
194
|
-
GEMINI_API_KEY=<key> node agent.js "your task"
|
|
195
|
-
```
|
|
196
|
-
|
|
197
|
-
`agent.js` uses `@anthropic-ai/sdk` pointing at `http://localhost:3000` (thebird proxy) with tools: `read_file`, `write_file`, `run_command`.
|
|
198
|
-
|
|
199
191
|
## License
|
|
200
192
|
|
|
201
193
|
MIT
|
package/docs/agent-chat.js
CHANGED
package/docs/index.html
CHANGED
package/package.json
CHANGED