@burtson-labs/bandit-stealth-cli 1.7.487 → 1.7.488

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 +10 -7
  2. package/dist/cli.js +988 -984
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -64,8 +64,9 @@ The variable and the flag accept for that run only and write nothing. `--help`,
64
64
 
65
65
  ## What it does
66
66
 
67
- - **Scrolling and copying** — drag to select text, then use your terminal's Copy shortcut (Cmd+C on macOS, usually Ctrl+Shift+C on Linux/Windows). `/copy` lets you choose the latest response or one of its code blocks, preserving the source text without terminal wrapping. `/copy response` copies the whole response directly; `/copy code 2` copies its second code block. `/links` lists recent response and artifact URLs; `/copy link` copies the latest, and `/copy 2` copies the second listed URL. `/copy help` shows the shortcuts.
68
- - **Optional mouse controls** — set `BANDIT_MOUSE=1` to click question choices, Continue/Submit, permission choices, and follow-up suggestions. This captures mouse events; hold Fn in Terminal.app, Option in iTerm2, or Shift in most other terminals while selecting text. Keyboard controls (including Alt+1–3 for suggestions) remain available with either setting.
67
+ - **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 artifact URLs; `/copy link` copies the latest, and `/copy 2` copies the second listed URL. `/copy help` shows the shortcuts.
68
+ - **Clicking prompts** — question choices, Continue/Submit, permission choices (allow once/turn/session, deny, Confirm, Cancel) and follow-up suggestions react to a click. Arrow keys, digits and Enter keep working, and Alt+1–3 still picks a suggestion.
69
+ - **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` turns the mouse features off entirely and leaves the mouse to the terminal.
69
70
  - **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.
70
71
  - **Agentic tool use** — reads files, searches code, runs commands, writes changes
71
72
  - **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
@@ -496,11 +497,13 @@ _Bandit CLI is built by [Burtson Labs](https://burtson.ai). Source for the runti
496
497
  ### Clipboard and long commands
497
498
 
498
499
  Ctrl+V attaches a clipboard screenshot at the idle prompt or while a turn is
499
- running. Typing during capture stays in the composer. `/copy` opens a scrollable
500
- selection view of the latest response: drag to highlight, release to copy, and
501
- look for the confirmation below the text. Escape returns to chat. This view
502
- preserves code indentation and soft-wrapped text; ordinary terminal scrollback
503
- selection still uses the terminal's own copy shortcut.
500
+ running. Typing during capture stays in the composer. Dragging over the screen
501
+ copies on release with a "Copied to clipboard" notice at the lower right (see
502
+ the input section above). `/copy` opens a scrollable selection view of the
503
+ whole latest response, including the parts that have scrolled away: drag to
504
+ highlight, release to copy, and look for the confirmation below the text.
505
+ Escape returns to chat. This view preserves code indentation and soft-wrapped
506
+ text.
504
507
 
505
508
  For downloads, builds and conversions, the agent can use `run_background_command`
506
509
  to start one process and return immediately. Its completion or failure wakes the