@burtson-labs/bandit-stealth-cli 1.7.572 → 1.7.573
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 +14 -12
- package/THIRD_PARTY_NOTICES.txt +5 -5
- package/dist/cli.js +1834 -1813
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -126,13 +126,14 @@ guard, not a guarantee of correctness; `BANDIT_VERIFY_BEFORE_DONE=0` disables it
|
|
|
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
|
|
128
128
|
- **Plan execution** — structured multi-step plans for complex refactors
|
|
129
|
+
- **Work survives interruption** — the CLI checkpoints its task list beside the saved session. Adding feedback or another step retains unfinished obligations; greetings, `/btw`, model changes, compaction and `/clear` do not erase them. `/session new` starts a separate plan and `/session resume <id>` restores that session's plan and conversation. Session-only permission grants reset when switching conversations. Replacing or cancelling a plan requires an explicit `todo_write` operation and reason; previous plans remain in local revision archives. Checkpoint text is task data, never approval to act.
|
|
129
130
|
- **Session persistence** — every REPL session saved as JSONL under `~/.bandit/sessions/` for later resume
|
|
130
131
|
- **Turn traces** — every agent turn writes a JSONL trace under `.bandit/turns`; `/trace` turns the latest trace into a readable timeline, `/trace list` browses recent workspace/global turns, and `/trace failed` filters recovery/debugging runs
|
|
131
132
|
- **`/insights` HTML report** — local-only activity report: reads global sessions plus workspace/global turn logs, reconstructs cross-repo wins, surfaces bigger arcs and outcome snippets, then adds tool stats, top-touched files, languages, streak, peak day, error patterns, optional AI summary, and mailto share
|
|
132
133
|
- **Model behavior profiles** — `/profile` shows how Bandit treats the active model: native vs text tools, fallback policy, safe context budget, thinking default, parallel-tool limits, and known failure modes
|
|
133
134
|
- **Project memory** — drop a `BANDIT.md` or `CLAUDE.md` at your workspace root and it's auto-loaded into the system prompt
|
|
134
135
|
- **File + image mentions** — `@path` auto-inlines files; images are either sent multimodally or OCR'd locally (Apple Vision / tesseract)
|
|
135
|
-
- **Clipboard paste** — `Ctrl+V`
|
|
136
|
+
- **Clipboard paste** — `Ctrl+V` attaches a clipboard image as `[Image 1]`, `[Image 2]`, and so on. Enter sends the original attachments; Backspace/Delete remove a whole label, and `Ctrl+O` reveals the paths for editing. Recalled drafts keep their attachment mappings.
|
|
136
137
|
- **Big pastes collapse to a chip** — a paste of more than three lines (or 1,000+ characters) shows in the composer as `[Pasted text #1 · 40 lines]`; Enter sends the full text, `Ctrl+O` expands it in the box to edit, Backspace at its end removes it
|
|
137
138
|
- **Hooks + security guard** — `PreToolUse` / `PostToolUse` / `Stop` shell hooks (global `~/.bandit/settings.json` or per-workspace), plus a default-on built-in guard that blocks catastrophic commands. See [Settings file](#settings-file--hooks-permissions-security-guard)
|
|
138
139
|
- **12 themes** — Stealth Light/Dark, Midnight, Onyx, Charcoal, Dracula, Nord, Tokyo Night, Solarized Dark/Light, Catppuccin Mocha, Sepia. `/theme` to pick
|
|
@@ -354,17 +355,16 @@ bandit logout # remove the saved key
|
|
|
354
355
|
so the command warns. `BANDIT_API_KEY` in the environment overrides the saved
|
|
355
356
|
key. `bandit login status` exits 1 when no key is set, for scripts.
|
|
356
357
|
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
| `bandit-core-2` | Existing general-purpose cloud model. |
|
|
362
|
-
| `bandit-core-1` | Lightweight self-hosted model. |
|
|
358
|
+
Bandit Core and Logic names are routing aliases. Use `/model` for the current
|
|
359
|
+
catalog and routing details; a saved alias does not guarantee a particular native
|
|
360
|
+
model or provider. Response disclosures show the actual route when the gateway
|
|
361
|
+
reports it, including an image handoff or fallback.
|
|
363
362
|
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
363
|
+
When asked which model it used, Bandit can consult `stealth_about` for the selected
|
|
364
|
+
configuration and the last observed foreground response route. That observation
|
|
365
|
+
is scoped to the current conversation and selection, and does not predict future
|
|
366
|
+
routing. Missing provider details and billing information remain unknown; a
|
|
367
|
+
local-looking name or a service error is not evidence that a request was free.
|
|
368
368
|
|
|
369
369
|
### Local — Ollama
|
|
370
370
|
|
|
@@ -677,6 +677,7 @@ bandit-agent --model qwen2.5-coder:32b
|
|
|
677
677
|
- **Secret hygiene** — API keys are redacted in `/config` output and never logged. The optional [telemetry](#telemetry-opt-in) exporter sends no prompt or reply text, and runs the tool arguments it does send through secret redaction.
|
|
678
678
|
- **Secret masking in tool output** — command output, file contents, search results, MCP results and error text are masked before the model, the terminal, the session file, the turn log or telemetry see them: `‹redacted github token gho_…, 40 chars›`, with a `1 secret masked in this output` line under the result. Known token formats (GitHub, OpenAI/Anthropic/OpenRouter `sk-…`, AWS, Slack, Stripe, Burtson `bai_`, Google, Azure connection strings, PEM private keys, JWTs) and secret-named values in env/ini/yaml/json output are covered. Commands whose purpose is printing a credential (`gh auth token`, `gcloud auth print-access-token`, `kubectl config view --raw`, `security find-generic-password -w`, `op read`, `printenv`, …) ask in every mode and their output is masked even when you approve them; the card says so. To use a credential in a follow-up step, keep it in-process: `gh`, `aws`, `az`, `gcloud` and `kubectl` authenticate on their own, and in your shell `GH_TOKEN=$(gh auth token) gh api …` never prints the value. `BANDIT_NO_SECRET_REDACTION=1` turns pattern masking of ordinary output off for debugging; credential commands stay masked.
|
|
679
679
|
- **Local sessions** — stored as JSONL under `~/.bandit/sessions/`. Inspect at any time.
|
|
680
|
+
- **Work checkpoints** — `<session>.work.json` holds the current plan, with bounded context sent to the model. Explicit replacements/cancellations archive the previous revision under `sessions/.work-history/<session>/`; old archives remain local. Writes use a short exclusive `.work.json.lock` and refuse stale revisions. If the process exits during a write and leaves a lock, inspect its recorded process ID and remove only that stale lock once that process has exited; do not remove a live writer's lock. An unreadable checkpoint is preserved and reported rather than overwritten.
|
|
680
681
|
- **Where the rest is documented** — every connection the CLI, the IDE, the VS Code extension and Stealth for Chrome make: [burtson.ai/bandit/what-bandit-sends](https://burtson.ai/bandit/what-bandit-sends) (source: [`docs/network-and-privacy.md`](../../docs/network-and-privacy.md)). Security controls: [burtsonlabs.com/security](https://burtsonlabs.com/security) and the [Stealth security readiness report](https://burtson.ai/stealth/security-readiness.html). Reporting a vulnerability: [`SECURITY.md`](../../SECURITY.md).
|
|
681
682
|
- **Turn logs** — each turn is logged to `<project>/.bandit/turns/` (your prompt, tool calls and short excerpts of tool output). When Bandit creates `.bandit/`, it writes `.bandit/.gitignore` so these logs, checkpoints and pasted images are not committed. It never overwrites an existing `.bandit/.gitignore`. If your project's `.bandit/` predates this, add `turns/` and `checkpoints/` to it yourself.
|
|
682
683
|
|
|
@@ -746,7 +747,8 @@ _Bandit CLI is built by [Burtson Labs](https://burtson.ai). Source for the runti
|
|
|
746
747
|
### Clipboard and long commands
|
|
747
748
|
|
|
748
749
|
Ctrl+V attaches a clipboard screenshot at the idle prompt or while a turn is
|
|
749
|
-
running.
|
|
750
|
+
running. The composer shows numbered image labels; the submitted message retains
|
|
751
|
+
the original image paths. Typing during capture stays in the composer. Dragging over the screen
|
|
750
752
|
copies on release with a "Copied to clipboard" notice at the lower right (see
|
|
751
753
|
the input section above). `/copy` opens a scrollable selection view of the
|
|
752
754
|
whole latest response, including the parts that have scrolled away: drag to
|
package/THIRD_PARTY_NOTICES.txt
CHANGED
|
@@ -34,17 +34,17 @@ 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.109
|
|
38
38
|
License: Apache-2.0
|
|
39
39
|
Source: https://github.com/Burtson-Labs/bandit-agent-framework
|
|
40
40
|
Notice files: [2] LICENSE
|
|
41
41
|
|
|
42
|
-
@burtson-labs/host-kit 0.4.
|
|
42
|
+
@burtson-labs/host-kit 0.4.82
|
|
43
43
|
License: Apache-2.0
|
|
44
44
|
Source: https://github.com/Burtson-Labs/bandit-agent-framework
|
|
45
45
|
Notice files: [2] LICENSE
|
|
46
46
|
|
|
47
|
-
@burtson-labs/stealth-core-runtime 1.5.
|
|
47
|
+
@burtson-labs/stealth-core-runtime 1.5.5
|
|
48
48
|
License: Apache-2.0
|
|
49
49
|
Source: https://github.com/Burtson-Labs/bandit-agent-framework
|
|
50
50
|
Notice files: [2] LICENSE
|
|
@@ -396,8 +396,8 @@ SOFTWARE.
|
|
|
396
396
|
|
|
397
397
|
------------------------------------------------------------------------------
|
|
398
398
|
[2] Used by:
|
|
399
|
-
@burtson-labs/agent-core 1.6.
|
|
400
|
-
@burtson-labs/stealth-core-runtime 1.5.
|
|
399
|
+
@burtson-labs/agent-core 1.6.109, @burtson-labs/host-kit 0.4.82,
|
|
400
|
+
@burtson-labs/stealth-core-runtime 1.5.5
|
|
401
401
|
------------------------------------------------------------------------------
|
|
402
402
|
|
|
403
403
|
Apache License
|