@burtson-labs/bandit-stealth-cli 1.7.526 → 1.7.530
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 +54 -36
- package/dist/cli.js +1637 -1600
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -83,7 +83,8 @@ requested result or report what remains unverified. This is a bounded prompt
|
|
|
83
83
|
guard, not a guarantee of correctness; `BANDIT_VERIFY_BEFORE_DONE=0` disables it.
|
|
84
84
|
|
|
85
85
|
- **Copying with the mouse** — drag over anything on screen (history, the reply, the prompt) and release: the text is copied to the clipboard and **Copied to clipboard** shows at the lower right for two seconds. Text that wrapped onto several rows copies as one line; real line breaks are kept and colours are dropped. A plain click copies nothing. The copy goes through `pbcopy` / `wl-copy` / `xclip` / `clip`, plus an OSC 52 escape over SSH and in tmux so it reaches your local clipboard; with `BANDIT_NO_CLIPBOARD=1` the notice says **Copy unavailable** instead. `/copy` still lets you choose the latest response or one of its code blocks, preserving the source text without terminal wrapping: `/copy response`, `/copy code 2`, `/copy choose`. `/links` lists recent response and Stash links; `/copy link` copies the latest, and `/copy 2` copies the second listed URL. `/copy help` shows the shortcuts.
|
|
86
|
-
- **
|
|
86
|
+
- **Decision cards under the composer** — a permission card or a question from the model is pinned below the input box rather than replacing it: one card at a time (the title counts a batch, `1 of 3`), the keyboard on the card (digits, arrows, Enter, Esc), and anything else you type goes into the box above it, where Enter queues it for after the turn; Tab moves between the box and the card, and a bare `y` or `n` sent from the box answers the card. An answered card leaves one dim line in the transcript (`✓ allowed once · read_file ~/notes.md`, `→ answered · New Year`). A long card folds to the rows the screen can spare (`Ctrl+E` unfolds it, PgUp/PgDn scroll), so the box is always on screen.
|
|
87
|
+
- **Pointing and clicking in prompts and menus** — question choices, Continue/Submit, permission choices (allow once/turn/session, deny, Confirm, Cancel), the MCP trust check, the theme and session pickers, the `/` command list, the `@` file list and follow-up suggestions react to the mouse. Moving the mouse onto an option highlights it exactly as the arrow keys do (a `❯` in the gutter, the label in the accent colour), and a click on the highlighted option answers with it (as Enter does), so any option is one click; a click on a row that is not highlighted highlights it first. Buttons are underlined while the mouse is over them. A `/` command or `@` file is inserted with one click. Arrow keys, digits and Enter keep working, and Alt+1–3 still picks a suggestion. Clicks and hover need a terminal with SGR (1006) mouse reporting and any-motion tracking (1003): the Stealth IDE terminal, VS Code's, iTerm2, Terminal.app, Windows Terminal, kitty, WezTerm, Alacritty and GNOME Terminal have both. Motion is requested only while something clickable is on screen.
|
|
87
88
|
- **Scrolling and native selection** — the mouse wheel scrolls the terminal's own scrollback as usual: the first wheel tick hands the mouse back to the terminal (that one tick does not scroll), and the next key you type takes it again. While it is handed back, and whenever you hold **Shift** (most terminals), **Option** (iTerm2) or **Fn** (Terminal.app), dragging is the terminal's own selection, copied with its shortcut (Cmd+C on macOS, usually Ctrl+Shift+C elsewhere). Only what is visible on screen can be selected with the in-app drag; for older text scroll up and use the native selection. `BANDIT_MOUSE=0`, `--no-mouse` or `"mouse": false` in `~/.bandit/config.json` turns the mouse features off entirely and leaves the mouse to the terminal.
|
|
88
89
|
- **Clickable web links** — labeled links retain their destinations through the live renderer. Stealth opens them in your browser; other terminals use their own link gesture and hyperlink support.
|
|
89
90
|
- **Agentic tool use** — reads files, searches code, runs commands, writes changes
|
|
@@ -121,41 +122,41 @@ guard, not a guarantee of correctness; `BANDIT_VERIFY_BEFORE_DONE=0` disables it
|
|
|
121
122
|
|
|
122
123
|
Type `?` on an empty prompt for the at-a-glance overlay; `/help` for the full list.
|
|
123
124
|
|
|
124
|
-
| Command | Does
|
|
125
|
-
| ------------------------------------------------------- |
|
|
126
|
-
| `/help` | Full slash-command list
|
|
127
|
-
| `/doctor` | Check setup, provider, workspace context, permissions, and next best actions
|
|
128
|
-
| `/chrome` (or `/browser`) | Stealth for Chrome: connection status, granted sites, `/chrome connect` to attach mid-session
|
|
129
|
-
| `/login
|
|
130
|
-
| `/crew run <Name> "<task>"` | Bandit Crew (cloud): hand a task to a named Bandit and follow its steps here (`/crew` for more)
|
|
131
|
-
| `/usage` | Bandit Cloud session + weekly usage limits (`/usage check` for one-line ⚠ flag)
|
|
132
|
-
| `/model [name]` | Switch model mid-session
|
|
133
|
-
| `/ollama [url]` | Show or set the Ollama endpoint — `/ollama default` resets to `http://localhost:11434`
|
|
134
|
-
| `/think on`, `/think off`, `/think auto` | Override per-model thinking-mode default
|
|
135
|
-
| `/profile [model]` | Show the active model behavior profile (tool protocol, fallback, context budget, known failure modes)
|
|
136
|
-
| `/notify status` | Configure desktop/bell notifications for approvals, failures, background tasks, and long turns
|
|
137
|
-
| `/theme [name]` | Pick a color palette (`/theme` lists; saved to global config)
|
|
138
|
-
| `/skills` | List loaded skills
|
|
139
|
-
| `/session list`, `/session resume <id>`, `/session new` | Manage sessions
|
|
140
|
-
| `/memory` | Show auto-loaded `BANDIT.md` / `CLAUDE.md`
|
|
141
|
-
| `/config` | Show effective config + path (secrets redacted)
|
|
142
|
-
| `/clear` | Reset conversation (keeps session id)
|
|
143
|
-
| `/compact` | Trim old tool results to fit the context window
|
|
144
|
-
| `/rewind [id]` | Restore a file from a per-edit checkpoint
|
|
145
|
-
| `/trace`, `/trace list`, `/trace failed`, `/trace <id>` | Inspect turn traces from workspace/global `.bandit/turns`
|
|
146
|
-
| `/tasks` | List background commands, monitors and subagents (`/tasks <id>` drill-down, `/tasks cancel <id>`)
|
|
147
|
-
| `/copy` | Open text selection: drag, release to copy, see confirmation; Esc returns to chat
|
|
148
|
-
| `/copy response`, `/copy code 2`, `/copy choose` | Copy the original response, a code block, or choose a complete block
|
|
149
|
-
| `/plan <goal>` | Heuristic plan first, y/N to execute
|
|
150
|
-
| `/init` | Scaffold `BANDIT.md` from a repo scan
|
|
151
|
-
| `/commit` | Draft a conventional-commit message from the staged diff
|
|
152
|
-
| `/review [focus]` | Code review of staged changes or branch-vs-main, ends with 🟢/🟡/🔴
|
|
153
|
-
| `/refactor <target>` | Concrete refactor suggestions with before/after snippets
|
|
154
|
-
| `/test <target>` | Generate tests in the project's existing framework
|
|
155
|
-
| `/explain <target>` | Plain-English walkthrough of a file or function
|
|
156
|
-
| `/onboard` | New-developer setup checklist for the repo
|
|
157
|
-
| `/changelog [range]` | Release notes drafted from `git log`
|
|
158
|
-
| `/exit` | Quit
|
|
125
|
+
| Command | Does |
|
|
126
|
+
| ------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
|
|
127
|
+
| `/help` | Full slash-command list |
|
|
128
|
+
| `/doctor` | Check setup, provider, workspace context, permissions, and next best actions |
|
|
129
|
+
| `/chrome` (or `/browser`) | Stealth for Chrome: connection status, granted sites, `/chrome connect` to attach mid-session |
|
|
130
|
+
| `/login` | Sign in to Bandit Cloud in your browser (`/login <key>`, `/login status`, `/login clear`; from a shell: `bandit login`) |
|
|
131
|
+
| `/crew run <Name> "<task>"` | Bandit Crew (cloud): hand a task to a named Bandit and follow its steps here (`/crew` for more) |
|
|
132
|
+
| `/usage` | Bandit Cloud session + weekly usage limits (`/usage check` for one-line ⚠ flag) |
|
|
133
|
+
| `/model [name]` | Switch model mid-session |
|
|
134
|
+
| `/ollama [url]` | Show or set the Ollama endpoint — `/ollama default` resets to `http://localhost:11434` |
|
|
135
|
+
| `/think on`, `/think off`, `/think auto` | Override per-model thinking-mode default |
|
|
136
|
+
| `/profile [model]` | Show the active model behavior profile (tool protocol, fallback, context budget, known failure modes) |
|
|
137
|
+
| `/notify status` | Configure desktop/bell notifications for approvals, failures, background tasks, and long turns |
|
|
138
|
+
| `/theme [name]` | Pick a color palette (`/theme` lists; saved to global config) |
|
|
139
|
+
| `/skills` | List loaded skills |
|
|
140
|
+
| `/session list`, `/session resume <id>`, `/session new` | Manage sessions |
|
|
141
|
+
| `/memory` | Show auto-loaded `BANDIT.md` / `CLAUDE.md` |
|
|
142
|
+
| `/config` | Show effective config + path (secrets redacted) |
|
|
143
|
+
| `/clear` | Reset conversation (keeps session id) |
|
|
144
|
+
| `/compact` | Trim old tool results to fit the context window |
|
|
145
|
+
| `/rewind [id]` | Restore a file from a per-edit checkpoint |
|
|
146
|
+
| `/trace`, `/trace list`, `/trace failed`, `/trace <id>` | Inspect turn traces from workspace/global `.bandit/turns` |
|
|
147
|
+
| `/tasks` | List background commands, monitors and subagents (`/tasks <id>` drill-down, `/tasks cancel <id>`) |
|
|
148
|
+
| `/copy` | Open text selection: drag, release to copy, see confirmation; Esc returns to chat |
|
|
149
|
+
| `/copy response`, `/copy code 2`, `/copy choose` | Copy the original response, a code block, or choose a complete block |
|
|
150
|
+
| `/plan <goal>` | Heuristic plan first, y/N to execute |
|
|
151
|
+
| `/init` | Scaffold `BANDIT.md` from a repo scan |
|
|
152
|
+
| `/commit` | Draft a conventional-commit message from the staged diff |
|
|
153
|
+
| `/review [focus]` | Code review of staged changes or branch-vs-main, ends with 🟢/🟡/🔴 |
|
|
154
|
+
| `/refactor <target>` | Concrete refactor suggestions with before/after snippets |
|
|
155
|
+
| `/test <target>` | Generate tests in the project's existing framework |
|
|
156
|
+
| `/explain <target>` | Plain-English walkthrough of a file or function |
|
|
157
|
+
| `/onboard` | New-developer setup checklist for the repo |
|
|
158
|
+
| `/changelog [range]` | Release notes drafted from `git log` |
|
|
159
|
+
| `/exit` | Quit |
|
|
159
160
|
|
|
160
161
|
---
|
|
161
162
|
|
|
@@ -285,6 +286,23 @@ Bandit uses native tool calling when supported by the selected provider.
|
|
|
285
286
|
|
|
286
287
|
### Cloud — Bandit gateway (API key)
|
|
287
288
|
|
|
289
|
+
Sign in from your shell with `bandit login` (or `/login` inside a session). It
|
|
290
|
+
opens your browser, and prints the URL too; `--no-browser` only prints it. Over
|
|
291
|
+
SSH the sign-in returns to a port on the remote machine: the command prints the
|
|
292
|
+
`ssh -L` line that forwards it, or save a key instead.
|
|
293
|
+
|
|
294
|
+
```bash
|
|
295
|
+
bandit login # browser sign-in, saves a device key in ~/.bandit/config.json
|
|
296
|
+
bandit login --with-key < keyfile # save an existing key from a file or a pipe
|
|
297
|
+
bandit login --with-key # at a terminal: type or paste the key, nothing is shown
|
|
298
|
+
bandit login status # signed in? which key, from where (also: bandit auth status)
|
|
299
|
+
bandit logout # remove the saved key
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
`bandit login <key>` also works, but the key then sits in your shell history,
|
|
303
|
+
so the command warns. `BANDIT_API_KEY` in the environment overrides the saved
|
|
304
|
+
key. `bandit login status` exits 1 when no key is set, for scripts.
|
|
305
|
+
|
|
288
306
|
| Model | Notes |
|
|
289
307
|
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
290
308
|
| `bandit-logic` | Default: Kimi K3 through Ollama Cloud, with vision, reasoning and native tools. Advertised context: 1M; the harness keeps conservative working budgets. |
|