@ccpocket/bridge 1.56.1 → 1.56.2
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 +17 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,11 +34,27 @@ ccpocket-bridge
|
|
|
34
34
|
| `BRIDGE_PORT` | `8765` | WebSocket port |
|
|
35
35
|
| `BRIDGE_HOST` | `0.0.0.0` | Bind address |
|
|
36
36
|
| `BRIDGE_API_KEY` | (none) | API key authentication (enabled when set) |
|
|
37
|
+
| `BRIDGE_ALLOWED_DIRS` | `$HOME` | Comma-separated list of project directories the Bridge may access |
|
|
37
38
|
| `BRIDGE_PUBLIC_WS_URL` | (none) | Public `ws://` / `wss://` URL used for startup deep link and QR code |
|
|
38
39
|
| `BRIDGE_DEMO_MODE` | (none) | Demo mode: hide Tailscale IPs and API key from QR code / logs |
|
|
39
40
|
| `BRIDGE_RECORDING` | (none) | Enable session recording for debugging (enabled when set) |
|
|
40
41
|
| `BRIDGE_DISABLE_MDNS` | (none) | Disable mDNS auto-discovery advertisement (enabled when set) |
|
|
41
|
-
| `
|
|
42
|
+
| `BRIDGE_PROMPT_HISTORY_FILE` | `$HOME/.ccpocket/prompt-history-v2.json` | Custom prompt history store path |
|
|
43
|
+
| `BRIDGE_RECENT_SESSIONS_PROFILE` | (none) | Log recent-session index timing when set to `1` or `true` |
|
|
44
|
+
| `DIFF_IMAGE_AUTO_DISPLAY_KB` | `1024` (1 MB) | Auto-display diff images up to this size, in KB |
|
|
45
|
+
| `DIFF_IMAGE_MAX_SIZE_MB` | `5` (5 MB) | Maximum diff image size available for on-demand loading, in MB |
|
|
46
|
+
| `ANTHROPIC_API_KEY` | (none) | Claude Agent SDK API key used for Claude sessions |
|
|
47
|
+
| `ANTHROPIC_AUTH_TOKEN` | (none) | Advanced Claude SDK auth token; prefer `ANTHROPIC_API_KEY` |
|
|
48
|
+
| `OPENAI_API_KEY` | (none) | Codex API key; Codex can also use `~/.codex/auth.json` |
|
|
49
|
+
| `HTTPS_PROXY` / `HTTP_PROXY` / `ALL_PROXY` | (none) | Proxy for outgoing fetch requests (`http://`, `https://`, `socks4://`, `socks5://`) |
|
|
50
|
+
|
|
51
|
+
Lowercase proxy variables (`https_proxy`, `http_proxy`, `all_proxy`) are also
|
|
52
|
+
supported. When `BRIDGE_PROMPT_HISTORY_FILE` is not set and `BRIDGE_PORT` is not
|
|
53
|
+
`8765`, prompt history is stored in
|
|
54
|
+
`$HOME/.ccpocket/prompt-history-v2-<port>.json`.
|
|
55
|
+
|
|
56
|
+
Push relay uses Firebase Anonymous Auth automatically; no FCM environment
|
|
57
|
+
variables are required.
|
|
42
58
|
|
|
43
59
|
```bash
|
|
44
60
|
# Example: custom port with API key
|