@burtson-labs/bandit-stealth-cli 1.7.570 → 1.7.571
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 +3 -3
- package/THIRD_PARTY_NOTICES.txt +4 -4
- package/dist/cli.js +1830 -1791
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -103,11 +103,11 @@ requested result or report what remains unverified. This is a bounded prompt
|
|
|
103
103
|
guard, not a guarantee of correctness; `BANDIT_VERIFY_BEFORE_DONE=0` disables it.
|
|
104
104
|
|
|
105
105
|
- **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.
|
|
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
|
|
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
109
|
- **Selecting text while Bandit works or a card waits** — in the scrollback layout (`--no-fullscreen`) the spinner, the turn view and a decision card leave the mouse to the terminal: drag selects natively and the wheel scrolls, with nothing to hold down; the card answers from the keyboard (its hint ends `Ctrl+G clicks`). **Ctrl+G** hands the mouse to Bandit for clicks, hover and drag-to-copy, and gives it back; a notice at the lower right says which way it went, and the choice lasts for the session. In the full-screen layout a decision card leaves the mouse to the terminal too, so its text and the transcript select natively; the wheel then reaches the terminal as arrow keys and moves the card's highlighted choice (Enter still confirms). While Bandit works there it keeps the mouse (the wheel scrolls its transcript) and drag-to-copy works while output streams: the view holds still under the selection until the highlight goes. Ctrl+G gives the mouse to the terminal, or to Bandit, in either layout. `BANDIT_MOUSE=clicks` keeps clicks on cards and mid-turn from the start.
|
|
110
|
-
- **Clickable web links** — labeled links retain their destinations through the live renderer. Stealth opens
|
|
110
|
+
- **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
111
|
- **Agentic tool use** — reads files, searches code, runs commands, writes changes
|
|
112
112
|
- **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
|
|
113
113
|
- **Pre-write validation** — TypeScript, Python, JSON, C# syntax-checked before the agent can write
|
|
@@ -121,7 +121,7 @@ guard, not a guarantee of correctness; `BANDIT_VERIFY_BEFORE_DONE=0` disables it
|
|
|
121
121
|
- **Installs CLIs on demand** — ask Bandit to install `ripgrep`, `httpie`, the GitHub CLI, etc. and it picks the right package manager (`brew`, `npm install -g`, `pip install`, `cargo install`, `gem install`, `go install`) and runs it through the permission gate
|
|
122
122
|
- **Interactive scaffolders work** — `create-vite`, `create-react-app`, `ng new`, etc. detect a non-TTY stdin and self-abort. Bandit recognizes the pattern and surfaces a clear _"run this with `!`"_ recovery hint so the model doesn't loop on a "command appeared to succeed" misread
|
|
123
123
|
- **Live command output** — `npm install`, `pip install`, `watch_command npm run dev` stream their output to your terminal as it arrives, dimmed, while the spinner keeps animating. No more wondering if a 20-second install is hung
|
|
124
|
-
- **
|
|
124
|
+
- **Steer while it works** — type a correction or follow-up and press **Enter** to send it to the current task. Bandit echoes your message, acknowledges receipt immediately and delivers it before the next model step; `/btw <message>` does the same. An action selected before the correction waits until the agent has read it. A tool already running may finish; completed changes are not rolled back. Use `/queue <message>` for a separate task that should start after this one finishes; ↑ in an empty composer brings the newest queued message back with its `/queue` prefix for editing. `/status` or a standalone “you stuck?” while working reports local activity immediately without making another model request. **Esc** stops the current turn and returns queued messages to the input box, unsent. The original request, completed checkpoints and accepted corrections remain in the session so your next instruction can resume with context; interrupted work is not marked complete.
|
|
125
125
|
- **Opt-in notifications** — `/notify on` enables desktop notifications for approvals, failures, background-task completion, and long turns; `/notify sound on` adds a terminal bell
|
|
126
126
|
- **`?` shortcuts overlay** — type `?` at an empty prompt for a live cheatsheet that disappears the moment you backspace it
|
|
127
127
|
- **`!`-prefix shell escape** — `!cmd` runs straight in your shell with full TTY access. First-use confirmation gate; per-call yellow box every time after so you can't miss the bypass. Catastrophic patterns (`rm -rf`, `mkfs`, `dd if=`) blocked even here
|
package/THIRD_PARTY_NOTICES.txt
CHANGED
|
@@ -34,7 +34,7 @@ whose helper code is part of the output.
|
|
|
34
34
|
Source: https://github.com/AlCalzone/ansi-tokenize
|
|
35
35
|
Notice files: [1] LICENSE
|
|
36
36
|
|
|
37
|
-
@burtson-labs/agent-core 1.6.
|
|
37
|
+
@burtson-labs/agent-core 1.6.107
|
|
38
38
|
License: Apache-2.0
|
|
39
39
|
Source: https://github.com/Burtson-Labs/bandit-agent-framework
|
|
40
40
|
Notice files: [2] LICENSE
|
|
@@ -119,7 +119,7 @@ convert-to-spaces 2.0.1
|
|
|
119
119
|
Source: https://github.com/vadimdemedes/convert-to-spaces
|
|
120
120
|
Notice files: [9] license
|
|
121
121
|
|
|
122
|
-
cross-spawn 7.
|
|
122
|
+
cross-spawn 7.1.2
|
|
123
123
|
License: MIT
|
|
124
124
|
Source: https://github.com/moxystudio/node-cross-spawn
|
|
125
125
|
Notice files: [10] LICENSE
|
|
@@ -396,7 +396,7 @@ SOFTWARE.
|
|
|
396
396
|
|
|
397
397
|
------------------------------------------------------------------------------
|
|
398
398
|
[2] Used by:
|
|
399
|
-
@burtson-labs/agent-core 1.6.
|
|
399
|
+
@burtson-labs/agent-core 1.6.107, @burtson-labs/host-kit 0.4.81,
|
|
400
400
|
@burtson-labs/stealth-core-runtime 1.5.3
|
|
401
401
|
------------------------------------------------------------------------------
|
|
402
402
|
|
|
@@ -787,7 +787,7 @@ THE SOFTWARE.
|
|
|
787
787
|
|
|
788
788
|
------------------------------------------------------------------------------
|
|
789
789
|
[10] Used by:
|
|
790
|
-
cross-spawn 7.
|
|
790
|
+
cross-spawn 7.1.2
|
|
791
791
|
------------------------------------------------------------------------------
|
|
792
792
|
|
|
793
793
|
The MIT License (MIT)
|