@burtson-labs/bandit-stealth-cli 1.7.509 → 1.7.511
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 +4 -3
- package/dist/cli.js +1625 -1614
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -219,16 +219,17 @@ MCP tools ask before they run, because Bandit cannot see what a server does with
|
|
|
219
219
|
|
|
220
220
|
## Chrome, Edge and Brave — Stealth for Chrome
|
|
221
221
|
|
|
222
|
-
The **Bandit Stealth for Chrome** extension lets a session read and act on pages in your own browser: pages behind your sign-in, JavaScript apps, the real console. Set it up with `bandit chrome install` (`--browser all` for every browser it knows), reopen the browser
|
|
222
|
+
The **Bandit Stealth for Chrome** extension lets a session read and act on pages in your own browser: pages behind your sign-in, JavaScript apps, the real console. Set it up with `bandit chrome install` (`--browser all` for every browser it knows), and reopen the browser once. That's it: every interactive `bandit` session then connects to the browser by itself whenever it is open (quietly, in the background; nothing is printed when it is closed), and a session that was already running attaches with `/chrome connect`, no restart. `bandit chrome doctor` checks the setup. One-shot runs (`bandit "…"` in scripts and CI) attach only with `--chrome`, so a script never gains a browser just because the host is installed; `/chrome auto always` changes that, `/chrome auto off` (or `--no-chrome` for one session) turns auto-connect off. The setting lives in `~/.bandit/config.json` as `chrome.auto` and is read from there only, never from a repo's `.bandit/config.json`. The same MV3 extension (`apps/stealth-chrome` in this repository; not yet on the Chrome Web Store or Edge Add-ons) loads in Chrome, Microsoft Edge, Brave, Chromium, Vivaldi and Arc. The agent loop stays on your machine; the browser reaches it through a native messaging host that is this same CLI.
|
|
223
223
|
|
|
224
224
|
```bash
|
|
225
225
|
bandit chrome install # registers this bandit as the extension's host in every Chromium browser found
|
|
226
226
|
bandit chrome install --browser edge # one browser (chrome, edge, brave, chromium, vivaldi, arc, or all); quit and reopen it once
|
|
227
227
|
bandit chrome doctor # the wrapper, each browser's manifest, and whether a host is running
|
|
228
|
-
bandit
|
|
228
|
+
bandit # interactive: connects to the open browser by itself
|
|
229
|
+
bandit --chrome "open the staging site, reproduce the bug from issue #412 and tell me what the console says" # one-shot needs --chrome
|
|
229
230
|
```
|
|
230
231
|
|
|
231
|
-
`bandit browser …` is the same command under a neutral name. Inside a session, `/chrome` shows the connection
|
|
232
|
+
`bandit browser …` is the same command under a neutral name. Inside a session, `/chrome` shows the connection, the granted sites and whether auto-connect is on, `/chrome connect` attaches right away, `/chrome doctor` runs the setup check, `/chrome disconnect` detaches for the rest of the session, and `bandit doctor` reports the browser status with the rest. When a task reads like browser work and nothing is connected, the agent says so in one line and tells you how to connect; it never pretends to have clicked.
|
|
232
233
|
|
|
233
234
|
The manifest goes to each browser's own place (macOS `~/Library/Application Support/<Browser>/NativeMessagingHosts`, Linux `~/.config/<browser>/NativeMessagingHosts`, Windows `HKCU\\Software\\<Vendor>\\<Browser>\\NativeMessagingHosts`). One extension id covers them all: the manifest key pins it for unpacked loads; store listings get their own ids, which are added to `allowedExtensionIds` as they appear, and `--extension-id` allows one more.
|
|
234
235
|
|