@shuyhere/bb-agent 0.0.11 → 0.0.13

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/CHANGELOG.md +38 -0
  2. package/README.md +18 -0
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,18 +5,54 @@ All notable changes to BB-Agent will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.0.13] - 2026-04-09
9
+
10
+ ### Added
11
+
12
+ - fullscreen screenshot and image clipboard paste now works on the normal paste path, with macOS clipboard fallbacks and Codex image preservation so pasted images reach image-capable models correctly
13
+ - model registry metadata now tracks image input capability, making `/models` truthful about image support and allowing runtime warnings when users attach images to text-only models
14
+
15
+ ### Fixed
16
+
17
+ - fullscreen clipboard image attach no longer leaks helper `true` / `false` output or stray follow-up paste text into the input block
18
+ - attached image chips can now be removed with `Backspace`, image-only prompts can be submitted, and optimistic user messages keep attachment chip previews in the transcript
19
+ - rebuilt fullscreen session transcripts now preserve user image attachment markers instead of silently dropping image blocks
20
+ - managed `bb-clipboard-*.png` temp files are now cleaned up after removal or ingestion instead of lingering in `/tmp`
21
+ - the fullscreen input block now hides raw `@file` tokens when the corresponding attachment chip is already shown, preventing duplicated `@file` text in the editor
22
+ - fullscreen tool-header regression tests now match the intended live bash-header rendering and running-dot animation behavior
23
+
24
+ ## [0.0.12] - 2026-04-06
25
+
26
+ ### Fixed
27
+
28
+ - direct `@image` references in print mode and fullscreen now attach real image inputs instead of falling back to UTF-8 read warnings
29
+ - `@path with spaces` parsing now correctly keeps the full file path before trailing prompt text, including whole-message forms
30
+ - image tool results are now preserved through provider conversion so models can actually see images returned by tools instead of responding as if no image was provided
31
+ - fullscreen `@` folder navigation now keeps the completion menu open when you select a directory and immediately shows the next level, including directories with spaces
32
+ - the fullscreen input block now shows attached files as `[name, sizeKB]`, keeps those chips visible, and places the cursor below them so typing starts after the attachments
33
+
34
+ ### Changed
35
+
36
+ - binary office/document inputs (`pdf`, `docx`, `pptx`, `xlsx`) now degrade to format-aware metadata notes instead of misleading invalid-UTF-8 errors
37
+
8
38
  ## [0.0.11] - 2026-04-07
9
39
 
10
40
  ### Added
11
41
 
12
42
  - startup update notices in the fullscreen transcript are now highlighted so available updates stand out clearly during startup
13
43
  - read-tool line ranges in fullscreen tool activity now highlight the requested span, so values like `2148-2267/5006` stand out while the model is using tools
44
+ - fullscreen footer and `/session` info now show the active execution posture so safety vs yolo is visible during a run
14
45
 
15
46
  ### Improved
16
47
 
17
48
  - npm install now caches verified native binaries by version/platform and reuses them on reinstall instead of re-downloading every time
18
49
  - npm install now shows more frequent download progress with transfer rate information to make slow installs easier to understand
19
50
  - npm install now avoids unnecessary re-verification on cache hits, making repeat installs faster
51
+ - safety mode now restricts built-in `write` and `edit` to the active workspace, while `yolo` keeps unrestricted file mutation behavior
52
+
53
+ ### Migration
54
+
55
+ - `execution_mode` now defaults to `safety`; set `"execution_mode": "yolo"` if your workflow intentionally edits files outside the current workspace
20
56
 
21
57
  ## [0.0.10] - 2026-04-07
22
58
 
@@ -71,6 +107,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
71
107
 
72
108
  - latest published package includes the post-0.0.7 startup, auth, model-default, and update-notice improvements
73
109
 
110
+ [0.0.13]: https://github.com/shuyhere/bb-agent/releases/tag/v0.0.13
111
+ [0.0.12]: https://github.com/shuyhere/bb-agent/releases/tag/v0.0.12
74
112
  [0.0.11]: https://github.com/shuyhere/bb-agent/releases/tag/v0.0.11
75
113
  [0.0.10]: https://github.com/shuyhere/bb-agent/releases/tag/v0.0.10
76
114
  [0.0.9]: https://github.com/shuyhere/bb-agent/releases/tag/v0.0.9
package/README.md CHANGED
@@ -101,6 +101,7 @@ bb --list-models # List all available models
101
101
  - **Fullscreen TUI** — rich terminal interface with streaming output, markdown rendering, syntax highlighting
102
102
  - **Multi-provider** — Anthropic (Claude), OpenAI, Google (Gemini), Groq, xAI, OpenRouter, and custom OpenAI-compatible endpoints
103
103
  - **Built-in tools** — `read`, `write`, `edit`, `bash`, `find`, `grep`, `ls`, `web_search`, `web_fetch`, `browser_fetch`
104
+ - **Safety and yolo execution modes** — default safety posture restricts built-in `write` and `edit` to the active workspace; yolo removes that guard
104
105
  - **Session persistence** — SQLite-backed sessions with branching, forking, and tree navigation
105
106
  - **Extensions** — JS/TS plugin system for custom tools, commands, and hooks
106
107
  - **Skills** — markdown-based instruction files that auto-load contextual knowledge
@@ -144,9 +145,11 @@ BB-Agent uses layered configuration:
144
145
 
145
146
  ```json
146
147
  {
148
+ "execution_mode": "safety",
147
149
  "default_model": "claude-sonnet-4-20250514",
148
150
  "default_provider": "anthropic",
149
151
  "default_thinking": "medium",
152
+ "execution_mode": "safety",
150
153
  "models": [
151
154
  {
152
155
  "id": "my-local-model",
@@ -160,6 +163,21 @@ BB-Agent uses layered configuration:
160
163
  }
161
164
  ```
162
165
 
166
+ ### Execution Modes
167
+
168
+ BB-Agent exposes the active permission posture in fullscreen and `/session`.
169
+
170
+ - `safety` is the default. Built-in `write` and `edit` stay inside the current workspace, and bash commands use the safer approval/sandboxed posture.
171
+ - `yolo` is the opt-in less-restrictive mode.
172
+
173
+ Example:
174
+
175
+ ```json
176
+ {
177
+ "execution_mode": "yolo"
178
+ }
179
+ ```
180
+
163
181
  ## Keyboard Shortcuts
164
182
 
165
183
  | Key | Action |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shuyhere/bb-agent",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "BB-Agent — a Rust-native AI coding agent for the terminal",
5
5
  "license": "MIT",
6
6
  "repository": {