bdo-cli 0.45.2 → 0.45.4
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/CHANGELOG.md +48 -0
- package/README.md +10 -10
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,54 @@ All notable changes to Bushido (bdo) will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.45.4] (2026-09-19)
|
|
9
|
+
|
|
10
|
+
### Security
|
|
11
|
+
|
|
12
|
+
- **`bdo err` / `bdo test` command injection.** Both joined their argument
|
|
13
|
+
vector with spaces and handed the string to `sh -c`. An argument containing
|
|
14
|
+
a space was split into several, and shell metacharacters inside an argument
|
|
15
|
+
became executable — `bdo err grep 'x; touch F' file` ran `touch`. Both now
|
|
16
|
+
exec via argv, the shell path is removed, and an empty wrapped command is an
|
|
17
|
+
error instead of `sh -c ""` exiting 0.
|
|
18
|
+
|
|
19
|
+
**Behavior change**: packing shell syntax into a single argument
|
|
20
|
+
(`bdo test "cargo test && echo ok"`) no longer works — that form and the
|
|
21
|
+
injection were the same code path. Ask for a shell explicitly and it is
|
|
22
|
+
delivered intact: `bdo test sh -c 'cargo test && echo ok'`. Every documented
|
|
23
|
+
usage (`bdo err cargo build`, `bdo test cargo test`) is unaffected.
|
|
24
|
+
|
|
25
|
+
### Fixes
|
|
26
|
+
|
|
27
|
+
- **`bdo find <dir>`** — the most common native form, and what the hook
|
|
28
|
+
produces — was read as a glob pattern searched under `.`, a different command
|
|
29
|
+
that usually found nothing. A lone argument with a path separator and no glob
|
|
30
|
+
characters is now the start path. A missing start path exits 1 with find's
|
|
31
|
+
message instead of reporting zero matches and exiting 0, so `bdo find … &&`
|
|
32
|
+
chains stop where native find would.
|
|
33
|
+
|
|
34
|
+
Together these close the ledger's "compound command / exit code
|
|
35
|
+
interference" item: the interference was bdo running a different command
|
|
36
|
+
than the one asked for, not a harness artifact.
|
|
37
|
+
|
|
38
|
+
## [0.45.3] (2026-09-19)
|
|
39
|
+
|
|
40
|
+
### Security
|
|
41
|
+
|
|
42
|
+
- **RUSTSEC-2026-0285**: `rustls` 0.23.37 → 0.23.45 (transitive, via `ureq`
|
|
43
|
+
for telemetry). TLS 1.3 handshake messages were incorrectly accepted across
|
|
44
|
+
encryption level boundaries. Only reachable when telemetry is enabled, which
|
|
45
|
+
is off by default. Caught by the `cargo audit` CI gate on an unrelated
|
|
46
|
+
docs-only PR five days after the advisory was published.
|
|
47
|
+
|
|
48
|
+
### Fixes
|
|
49
|
+
|
|
50
|
+
- **README badge**: the CI badge pointed at a `Security Check` workflow that
|
|
51
|
+
does not exist and rendered as a broken image. Now points at `ci.yml`.
|
|
52
|
+
Repository links in both READMEs updated from the pre-rename
|
|
53
|
+
`TokenReductionTool` to `TokenReductionTool-BDO`, and a stale
|
|
54
|
+
`tree/master` link to `tree/main`.
|
|
55
|
+
|
|
8
56
|
## [0.45.2] (2026-09-11)
|
|
9
57
|
|
|
10
58
|
### Security
|
package/README.md
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
</p>
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
|
-
<a href="https://github.com/tedorigawa001/TokenReductionTool/actions"><img src="https://github.com/tedorigawa001/TokenReductionTool/workflows/
|
|
11
|
-
<a href="https://github.com/tedorigawa001/TokenReductionTool/releases"><img src="https://img.shields.io/github/v/release/tedorigawa001/TokenReductionTool" alt="Release"></a>
|
|
10
|
+
<a href="https://github.com/tedorigawa001/TokenReductionTool-BDO/actions"><img src="https://github.com/tedorigawa001/TokenReductionTool-BDO/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
11
|
+
<a href="https://github.com/tedorigawa001/TokenReductionTool-BDO/releases"><img src="https://img.shields.io/github/v/release/tedorigawa001/TokenReductionTool-BDO" alt="Release"></a>
|
|
12
12
|
<a href="https://opensource.org/licenses/Apache-2.0"><img src="https://img.shields.io/badge/License-Apache_2.0-blue.svg" alt="License: Apache 2.0"></a>
|
|
13
13
|
</p>
|
|
14
14
|
|
|
15
15
|
<p align="center">
|
|
16
|
-
<a href="https://github.com/tedorigawa001/TokenReductionTool">Website</a> •
|
|
16
|
+
<a href="https://github.com/tedorigawa001/TokenReductionTool-BDO">Website</a> •
|
|
17
17
|
<a href="#installation">Install</a> •
|
|
18
18
|
<a href="docs/guide/resources/troubleshooting.md">Troubleshooting</a> •
|
|
19
19
|
<a href="docs/contributing/ARCHITECTURE.md">Architecture</a>
|
|
@@ -70,12 +70,12 @@ curl -fsSL https://raw.githubusercontent.com/tedorigawa001/TokenReductionTool-BD
|
|
|
70
70
|
### Cargo
|
|
71
71
|
|
|
72
72
|
```bash
|
|
73
|
-
cargo install --git https://github.com/tedorigawa001/TokenReductionTool
|
|
73
|
+
cargo install --git https://github.com/tedorigawa001/TokenReductionTool-BDO
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
### Pre-built Binaries
|
|
77
77
|
|
|
78
|
-
Download from [releases](https://github.com/tedorigawa001/TokenReductionTool/releases):
|
|
78
|
+
Download from [releases](https://github.com/tedorigawa001/TokenReductionTool-BDO/releases):
|
|
79
79
|
Archives are named after the crate (`bushido`); the binary inside is `bdo`.
|
|
80
80
|
Each has a `.sha256` sidecar — verify before extracting.
|
|
81
81
|
|
|
@@ -88,7 +88,7 @@ Each has a `.sha256` sidecar — verify before extracting.
|
|
|
88
88
|
### Verify Installation
|
|
89
89
|
|
|
90
90
|
```bash
|
|
91
|
-
bdo --version # Should show "bdo 0.45.
|
|
91
|
+
bdo --version # Should show "bdo 0.45.4"
|
|
92
92
|
bdo gain # Should show token savings stats
|
|
93
93
|
```
|
|
94
94
|
|
|
@@ -496,7 +496,7 @@ Bushido supports 14 AI coding tools. Each integration rewrites shell commands to
|
|
|
496
496
|
| **OpenClaw** | `openclaw plugins install ./openclaw` | Plugin TS (before_tool_call) |
|
|
497
497
|
| **Pi** | `bdo init -g --agent pi` (global) | TypeScript extension (tool_call) |
|
|
498
498
|
| **Hermes** | `bdo init --agent hermes` | Python plugin adapter (terminal command mutation via `bdo rewrite`) |
|
|
499
|
-
| **Mistral Vibe** | Planned ([#800](https://github.com/tedorigawa001/TokenReductionTool/issues/800)) | Blocked on upstream |
|
|
499
|
+
| **Mistral Vibe** | Planned ([#800](https://github.com/tedorigawa001/TokenReductionTool-BDO/issues/800)) | Blocked on upstream |
|
|
500
500
|
| **Kilo Code** | `bdo init --agent kilocode` | .kilocode/rules/bdo-rules.md (project-scoped) |
|
|
501
501
|
| **Google Antigravity** | `bdo init --agent antigravity` | .agents/rules/antigravity-bdo-rules.md (project-scoped) |
|
|
502
502
|
|
|
@@ -534,7 +534,7 @@ brew uninstall bdo # If installed via Homebrew
|
|
|
534
534
|
|
|
535
535
|
## Documentation
|
|
536
536
|
|
|
537
|
-
- **[docs/guide](https://github.com/tedorigawa001/TokenReductionTool/tree/
|
|
537
|
+
- **[docs/guide](https://github.com/tedorigawa001/TokenReductionTool-BDO/tree/main/docs/guide)** — full user guide (installation, supported agents, what gets optimized, analytics, configuration, troubleshooting)
|
|
538
538
|
- **[INSTALL.md](INSTALL.md)** — detailed installation reference
|
|
539
539
|
- **[ARCHITECTURE.md](docs/contributing/ARCHITECTURE.md)** — system design and technical decisions
|
|
540
540
|
- **[CONTRIBUTING.md](CONTRIBUTING.md)** — contribution guide
|
|
@@ -588,11 +588,11 @@ export BDO_TELEMETRY_DISABLED=1 # Blocks telemetry regardless of consent
|
|
|
588
588
|
|
|
589
589
|
## StarMapper
|
|
590
590
|
|
|
591
|
-
<a href="https://starmapper.bruniaux.com/tedorigawa001/TokenReductionTool">
|
|
591
|
+
<a href="https://starmapper.bruniaux.com/tedorigawa001/TokenReductionTool-BDO">
|
|
592
592
|
<picture>
|
|
593
593
|
<source media="(prefers-color-scheme: dark)" srcset="https://starmapper.bruniaux.com/api/map-image/tedorigawa001/TokenReductionTool?theme=dark" />
|
|
594
594
|
<source media="(prefers-color-scheme: light)" srcset="https://starmapper.bruniaux.com/api/map-image/tedorigawa001/TokenReductionTool?theme=light" />
|
|
595
|
-
<img alt="StarMapper" src="https://starmapper.bruniaux.com/api/map-image/tedorigawa001/TokenReductionTool" />
|
|
595
|
+
<img alt="StarMapper" src="https://starmapper.bruniaux.com/api/map-image/tedorigawa001/TokenReductionTool-BDO" />
|
|
596
596
|
</picture>
|
|
597
597
|
</a>
|
|
598
598
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"artifactDownloadUrls": [
|
|
3
|
-
"https://github.com/tedorigawa001/TokenReductionTool-BDO/releases/download/v0.45.
|
|
3
|
+
"https://github.com/tedorigawa001/TokenReductionTool-BDO/releases/download/v0.45.4"
|
|
4
4
|
],
|
|
5
5
|
"author": "Patrick Szymkowiak",
|
|
6
6
|
"bin": {
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"zipExt": ".tar.xz"
|
|
92
92
|
}
|
|
93
93
|
},
|
|
94
|
-
"version": "0.45.
|
|
94
|
+
"version": "0.45.4",
|
|
95
95
|
"volta": {
|
|
96
96
|
"node": "18.14.1",
|
|
97
97
|
"npm": "9.5.0"
|