- From the terminal chat
- Headless
1
Start Nisa in the folder
/permissions on if you turned it off).2
Get a token from the web session
In the web chat type
/connect. Copy the brg_… token — one-shot, valid five minutes.3
Paste it
/status shows the bridge. /disconnect ends it.Permissions
The CLI decides; the web app can only ask. Defaults: read the folder, no writes, no agent shell commands; your own!cmd is on. Settings apply to one connected session at a time.
The agent’s tools over the bridge:
fs.read_file, fs.list_dir, fs.glob, fs.grep; with writes, fs.write_file, fs.edit_file (an edit needs a prior read of the file, or an expected_hash; concurrent writes to one path are refused); with exec, shell.exec (credential-shaped env vars scrubbed, cwd clamped — not a sandbox). Your own !cmd runs locally and is never an agent tool.