Repository navigation
v1.1.0 - Approval Modes, Delete Safety & Gemini Stability
Highlights
- Approval modes: press
[M](or launch with--mode=) to pick Turbo (never asks), Review (asks every time), Default (asks only for deletes and risky commands) or Auto (Bridge decides). - Gemini stability: fixed the "Connecting to Bridge" reconnect loop caused by replies leaking onto other clients' SSE streams. Long tool calls now stream over SSE with keepalives, so they survive Cloudflare's 100 s timeout.
- Safer commands: harmful commands (disk format, shutdown, registry,
curl | sh, encoded PowerShell, Defender changes…) are always blocked. Deletes, destructive git and secret-file access ask you first. - New
delete_filetool: moves files to~/.bridge/trashand can be undone. - Sandbox hardening: symlink/junction escape checks, atomic writes, SSRF protection for web fetches, request and read size limits.
- Reliability: server auto-restart with backoff, full process-tree cleanup on exit, safe port selection that never kills other apps.
- CLI: exit confirmation (
QthenY); the dashboard adapts to any terminal size. - Diagnostics:
~/.bridge/logs/server_requests.lognow records SSE stream open/close, client aborts, approval waits and per-call timing.
Install / upgrade
npm install -g @markmayandi/bridge@1.1.0
Note: Gemini's own "Let Gemini use …?" cards are controlled by Gemini. Set Bridge's actions to Always allow under Gemini > Customize > Connectors > Bridge.
🤖 Generated with Claude Code