mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-07 14:06:42 +02:00
Merge remote-tracking branch 'origin/main' into garrytan/recover-voice-fix
This commit is contained in:
@@ -239,6 +239,14 @@ plan's living status.
|
||||
|
||||
Import logged-in sessions from your real Chromium browser into the headless browse session.
|
||||
|
||||
## CDP mode check
|
||||
|
||||
First, check if browse is already connected to the user's real browser:
|
||||
```bash
|
||||
$B status 2>/dev/null | grep -q "Mode: cdp" && echo "CDP_MODE=true" || echo "CDP_MODE=false"
|
||||
```
|
||||
If `CDP_MODE=true`: tell the user "Not needed — you're connected to your real browser via CDP. Your cookies and sessions are already available." and stop. No cookie import needed.
|
||||
|
||||
## How it works
|
||||
|
||||
1. Find the browse binary
|
||||
|
||||
@@ -19,6 +19,14 @@ allowed-tools:
|
||||
|
||||
Import logged-in sessions from your real Chromium browser into the headless browse session.
|
||||
|
||||
## CDP mode check
|
||||
|
||||
First, check if browse is already connected to the user's real browser:
|
||||
```bash
|
||||
$B status 2>/dev/null | grep -q "Mode: cdp" && echo "CDP_MODE=true" || echo "CDP_MODE=false"
|
||||
```
|
||||
If `CDP_MODE=true`: tell the user "Not needed — you're connected to your real browser via CDP. Your cookies and sessions are already available." and stop. No cookie import needed.
|
||||
|
||||
## How it works
|
||||
|
||||
1. Find the browse binary
|
||||
|
||||
Reference in New Issue
Block a user