bdo-cli 0.45.4 → 0.45.6
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 +36 -0
- package/README.md +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,42 @@ 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.6] (2026-09-26)
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
- **`bdo gain --by-agent` recognizes Codex.** Commands run from a Codex
|
|
13
|
+
agent shell are now attributed to `codex` instead of `(other/direct)`,
|
|
14
|
+
detected from `CODEX_THREAD_ID` (or `CODEX_SESSION_ID`), which Codex
|
|
15
|
+
exports into the shells it spawns. Configuration variables such as
|
|
16
|
+
`CODEX_HOME` deliberately don't count — they're set in ordinary human
|
|
17
|
+
shells too.
|
|
18
|
+
|
|
19
|
+
## [0.45.5] (2026-09-20)
|
|
20
|
+
|
|
21
|
+
### Fixes
|
|
22
|
+
|
|
23
|
+
- **The hook no longer rewrites a command that feeds a pipe.** The agent
|
|
24
|
+
only ever sees a pipeline's final output, so rewriting the left side to
|
|
25
|
+
`bdo …` never saved a token — it only changed what the next program
|
|
26
|
+
received. `cat src/main.rs | wc -l` counted bdo's truncated view (400)
|
|
27
|
+
instead of the file (3614); `git log --oneline | wc -l` reported the
|
|
28
|
+
50-entry cap, not the real 105 commits. Every command is now left exactly
|
|
29
|
+
as written when a `|` follows it; in a compound, only that segment is
|
|
30
|
+
exempt (`git status && cat f | wc -l` still becomes
|
|
31
|
+
`bdo git status && cat f | wc -l`). This generalizes the `find`/`fd`-only
|
|
32
|
+
exemption from #439.
|
|
33
|
+
|
|
34
|
+
**Visible side effect**: commands on the left of a pipe no longer appear
|
|
35
|
+
in `bdo gain` — bdo isn't in that path anymore. The filtered command whose
|
|
36
|
+
output the agent actually reads (the pipeline's last, or any unpiped
|
|
37
|
+
command) is tracked as before.
|
|
38
|
+
|
|
39
|
+
- **`bdo test --changed`** aborted the whole plan when one language's runner
|
|
40
|
+
was missing — a machine without `go` never ran the Python tests, with no
|
|
41
|
+
error beyond the printed plan header. That language now fails and the
|
|
42
|
+
rest still run.
|
|
43
|
+
|
|
8
44
|
## [0.45.4] (2026-09-19)
|
|
9
45
|
|
|
10
46
|
### Security
|
package/README.md
CHANGED
|
@@ -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.6"
|
|
92
92
|
bdo gain # Should show token savings stats
|
|
93
93
|
```
|
|
94
94
|
|
|
@@ -381,8 +381,8 @@ bdo session # Show Bushido adoption across recent sessions
|
|
|
381
381
|
```
|
|
382
382
|
|
|
383
383
|
`--by-agent` attributes each command to the AI agent that ran it — auto-detected
|
|
384
|
-
from the agent's environment (Claude Code, Gemini CLI,
|
|
385
|
-
explicitly via `BDO_AGENT=<name>`. Commands with no detectable agent show as
|
|
384
|
+
from the agent's environment (Claude Code, Codex, Gemini CLI, Google
|
|
385
|
+
Antigravity, Copilot, Cursor), or set explicitly via `BDO_AGENT=<name>`. Commands with no detectable agent show as
|
|
386
386
|
`(other/direct)`.
|
|
387
387
|
|
|
388
388
|
## Global Flags
|
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.6"
|
|
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.6",
|
|
95
95
|
"volta": {
|
|
96
96
|
"node": "18.14.1",
|
|
97
97
|
"npm": "9.5.0"
|