Commit c9a1240
committed
feat(bridge): add CLI with setup, pairing, and plugin management
Add comprehensive CLI interface for ReCursor bridge with the following capabilities:
- Setup command with transport provider selection (Tailscale, Cloudflare, Ngrok, Manual)
- QR code pairing for mobile app connection
- Claude plugin installation and management
- Doctor command for configuration validation
- Pass-through to Claude CLI with plugin hooks
Bridge enhancements supporting the CLI:
- Optional ANTHROPIC_API_KEY with DisabledAgentRuntime fallback
- TLS support (HTTPS/WSS) via cert/key configuration
- Graceful shutdown with BridgeRuntime management
- Connection state subscriptions for monitoring
- Dynamic feature detection based on available configuration
Package updates:
- Added qrcode dependency and types
- Added bin entry for recursor CLI command1 parent dc131b5 commit c9a1240
22 files changed
Lines changed: 2599 additions & 34 deletions
File tree
- packages/bridge
- src
- agents
- cli
- transports
- providers
- http
- websocket
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| |||
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| 28 | + | |
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
| |||
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| 39 | + | |
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
63 | 71 | | |
64 | 72 | | |
65 | 73 | | |
| |||
0 commit comments