bdo-cli 0.45.5 → 0.45.7

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 +43 -0
  2. package/README.md +15 -6
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -5,6 +5,49 @@ 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.7] (2026-09-26)
9
+
10
+ ### Features
11
+
12
+ - **`bdo stale` / `bdo review` flag package-manager commands that use the
13
+ binary name.** Homebrew, cargo, and the tap all key on the package name —
14
+ `bushido` — not the binary, `bdo`, so `brew install bdo`,
15
+ `cargo uninstall bdo`, `tap/bdo` and friends fail outright. Only
16
+ `cargo install bdo` was caught before. The npm form is deliberately not a
17
+ marker: it would also match the correct `bdo-cli`.
18
+
19
+ ### Fixes
20
+
21
+ - **Documented install commands.** Every Homebrew instruction said
22
+ `brew install bdo`, which fails with "No available formula" — the formula is
23
+ `bushido`. Uninstall lines, including `cargo uninstall`, had the same
24
+ problem. Fixed in both READMEs, the installation guide, `INSTALL.md`, and
25
+ the OpenClaw README.
26
+ - **`brew upgrade` silently not upgrading.** Recent Homebrew skips untrusted
27
+ third-party taps during `brew update` without an error, so the local
28
+ formula goes stale and `brew upgrade bushido` reports up to date. Install
29
+ instructions now run `brew trust --formula tedorigawa001/tap/bushido`
30
+ first; existing users should run it once, then
31
+ `brew update && brew upgrade bushido`.
32
+
33
+ ### Chores
34
+
35
+ - Removed `Formula/bdo.rb`, an unreferenced hand-written formula from before
36
+ the cargo-dist pipeline (version 0.1.0, placeholder checksums). The
37
+ published formula is generated into the tap as `bushido.rb`. Found by the
38
+ new markers on their first run.
39
+
40
+ ## [0.45.6] (2026-09-26)
41
+
42
+ ### Features
43
+
44
+ - **`bdo gain --by-agent` recognizes Codex.** Commands run from a Codex
45
+ agent shell are now attributed to `codex` instead of `(other/direct)`,
46
+ detected from `CODEX_THREAD_ID` (or `CODEX_SESSION_ID`), which Codex
47
+ exports into the shells it spawns. Configuration variables such as
48
+ `CODEX_HOME` deliberately don't count — they're set in ordinary human
49
+ shells too.
50
+
8
51
  ## [0.45.5] (2026-09-20)
9
52
 
10
53
  ### Fixes
package/README.md CHANGED
@@ -53,9 +53,18 @@ bdo filters and compresses command outputs before they reach your LLM context. S
53
53
  ### Homebrew
54
54
 
55
55
  ```bash
56
- brew tap tedorigawa001/tap && brew install bdo
56
+ brew tap tedorigawa001/tap
57
+ brew trust --formula tedorigawa001/tap/bushido
58
+ brew install bushido
57
59
  ```
58
60
 
61
+ The formula is named after the crate (`bushido`); it installs the `bdo` command.
62
+
63
+ > **`brew upgrade` not picking up new versions?** Recent Homebrew skips
64
+ > untrusted third-party taps during `brew update` — silently, so `bdo --version`
65
+ > just stays put. Run the `brew trust` line above once, then
66
+ > `brew update && brew upgrade bushido`.
67
+
59
68
  ### Quick Install (Linux/macOS)
60
69
 
61
70
  ```bash
@@ -88,7 +97,7 @@ Each has a `.sha256` sidecar — verify before extracting.
88
97
  ### Verify Installation
89
98
 
90
99
  ```bash
91
- bdo --version # Should show "bdo 0.45.5"
100
+ bdo --version # Should show "bdo 0.45.7"
92
101
  bdo gain # Should show token savings stats
93
102
  ```
94
103
 
@@ -381,8 +390,8 @@ bdo session # Show Bushido adoption across recent sessions
381
390
  ```
382
391
 
383
392
  `--by-agent` attributes each command to the AI agent that ran it — auto-detected
384
- from the agent's environment (Claude Code, Gemini CLI, Copilot, Cursor), or set
385
- explicitly via `BDO_AGENT=<name>`. Commands with no detectable agent show as
393
+ from the agent's environment (Claude Code, Codex, Gemini CLI, Google
394
+ Antigravity, Copilot, Cursor), or set explicitly via `BDO_AGENT=<name>`. Commands with no detectable agent show as
386
395
  `(other/direct)`.
387
396
 
388
397
  ## Global Flags
@@ -528,8 +537,8 @@ For the full config reference (all sections, env vars, per-project filters), see
528
537
 
529
538
  ```bash
530
539
  bdo init -g --uninstall # Remove hook, Bushido.md, settings.json entry
531
- cargo uninstall bdo # Remove binary
532
- brew uninstall bdo # If installed via Homebrew
540
+ cargo uninstall bushido # Remove binary (if installed via Cargo)
541
+ brew uninstall bushido # If installed via Homebrew
533
542
  ```
534
543
 
535
544
  ## Documentation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "artifactDownloadUrls": [
3
- "https://github.com/tedorigawa001/TokenReductionTool-BDO/releases/download/v0.45.5"
3
+ "https://github.com/tedorigawa001/TokenReductionTool-BDO/releases/download/v0.45.7"
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.5",
94
+ "version": "0.45.7",
95
95
  "volta": {
96
96
  "node": "18.14.1",
97
97
  "npm": "9.5.0"