@burtson-labs/bandit-stealth-cli 1.7.527 → 1.7.531

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.
Files changed (3) hide show
  1. package/README.md +2 -1
  2. package/dist/cli.js +1616 -1601
  3. 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
- - **Clicking 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 a click. In a choice list a click highlights an option and a click on the highlighted one answers with it (as Enter does), so the default takes one click and any other two; 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 need a terminal with SGR (1006) mouse reporting: the Stealth IDE terminal, VS Code's, iTerm2, Terminal.app, kitty, WezTerm, Alacritty and GNOME Terminal have it.
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. 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.
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