@burtson-labs/bandit-stealth-cli 1.7.576 → 1.7.577
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 +2 -1
- package/dist/cli.js +1701 -1698
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -106,7 +106,8 @@ guard, not a guarantee of correctness; `BANDIT_VERIFY_BEFORE_DONE=0` disables it
|
|
|
106
106
|
- **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 steers the current task and `/queue <message>` saves a separate next task; 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 permission card offers three choices up front: **allow once**, **always allow** with the exact rule it would save stated on the row (`any \`npm test …\` command — saved to .bandit/settings.json`, `apply_edit on src/cart.js`), and **deny** (Tab adds a note); **more…** (4) opens the full menu with allow for the turn, allow for the session and deny + note. The always row is only ever a rule narrowed to a command, a path, a site or (for a read outside the workspace) a folder for the session; when only a tool-wide rule exists, or the action asks every time (secrets, destructive commands), the card offers allow once and deny, and the rest under more…. `BANDIT_APPROVAL_CARD=full` keeps the six-option menu on every card. 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.
|
|
107
107
|
- **Pointing and clicking in prompts and menus** — question choices, Continue/Submit, permission choices (allow once, always allow, deny, more…, and in the full menu allow turn/session and deny + note; 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. Over a clickable option the mouse pointer turns into a hand where the terminal lets an app set it (OSC 22): kitty, Ghostty, foot, xterm and iTerm2 3.7+; Terminal.app keeps its I-beam, and WezTerm, VS Code and the Stealth IDE show their arrow while the mouse is captured. `BANDIT_POINTER_SHAPE=0` leaves the pointer alone.
|
|
108
108
|
- **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.
|
|
109
|
-
- **Selecting text while Bandit works or a card waits** — in the scrollback layout (`--no-fullscreen`) the spinner
|
|
109
|
+
- **Selecting text while Bandit works or a card waits** — in the scrollback layout (`--no-fullscreen`) the spinner and the turn view leave the mouse to the terminal: drag selects natively and the wheel scrolls, with nothing to hold down. A decision card takes the mouse in either layout, so a click on an option answers it (hover highlights, a click on the highlighted option chooses); drag-to-copy still selects. **Ctrl+G** hands the mouse to the terminal or back to Bandit; a notice at the lower right says which way it went, and the choice lasts for the session. In the full-screen layout Bandit keeps the mouse while it works (the wheel scrolls its transcript) and drag-to-copy works while output streams: the view holds still under the selection until the highlight goes. `BANDIT_MOUSE=clicks` keeps clicks mid-turn from the start.
|
|
110
|
+
- **A card that arrives while you type** — the draft keeps the keyboard so a message being typed cannot answer the card by accident, and the line under the card says so: **Tab** or **↑/↓** moves the keyboard to the card (the draft is kept and still there after the answer), a click on an option answers it, and deleting the draft (or sending it) hands the keyboard to the card. Typing an option's label (or `y`/`n` on a permission card) and pressing Enter answers it too.
|
|
110
111
|
- **Clickable web links** — labeled links retain their destinations through the live renderer. When Bandit has the mouse, hovering over a link shows its destination at the lower right and turns the pointer into a hand where the terminal supports it. Terminal.app keeps its I-beam but shows the destination hint. Ctrl+G hands link gestures back to the terminal along with selection and scrolling. Stealth opens links in your browser; other terminals also support their own link gesture and hyperlink support.
|
|
111
112
|
- **Agentic tool use** — reads files, searches code, runs commands, writes changes
|
|
112
113
|
- **Auditable approval gate** — writes show a colored diff, shell commands show the full command/cwd/risk, and `Allow once` / `Allow session` / `Always for target` scopes are recorded in turn traces. Cards come one at a time (`1 of 3` when a batch needs several decisions, with `apply to all N pending` for siblings of the same tool, never for destructive calls) and collapse to one line once answered
|