bdo-cli 0.47.1 → 0.48.0

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 +14 -0
  2. package/README.md +16 -1
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -5,6 +5,20 @@ 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.48.0] (2026-10-17)
9
+
10
+ ### Features
11
+
12
+ - **`bdo map --grep <PATTERN>`**: keep only the signatures matching a regex
13
+ (files with no match are dropped), e.g. `bdo map src --grep 'Tracker'`. The
14
+ footer reports how many of the tree's signatures matched. Combines with
15
+ `--changed`.
16
+
17
+ ### Fixed
18
+
19
+ - `bdo map <file>` (a single file) printed an empty header line instead of the
20
+ file's path.
21
+
8
22
  ## [0.47.1] (2026-10-17)
9
23
 
10
24
  ### Security
package/README.md CHANGED
@@ -104,7 +104,7 @@ gh attestation verify bushido-aarch64-apple-darwin.tar.xz --repo tedorigawa001/T
104
104
  ### Verify Installation
105
105
 
106
106
  ```bash
107
- bdo --version # Should show "bdo 0.47.1"
107
+ bdo --version # Should show "bdo 0.48.0"
108
108
  bdo gain # Should show token savings stats
109
109
  ```
110
110
 
@@ -196,6 +196,21 @@ C++, Java, and Python; respects `.gitignore`.
196
196
  `--against origin/main` for the whole-branch diff) — the API surface you touched,
197
197
  ideal alongside `bdo review`.
198
198
 
199
+ `bdo map --grep <PATTERN>` keeps only the signatures matching a regex, so
200
+ "where is `Tracker` defined, and what takes or returns one?" is one command
201
+ (`(?i)` for case-insensitive, `^pub` for the public surface). Drill into a hit
202
+ with `bdo map <file>` or `bdo read <file> -l outline`.
203
+
204
+ ```
205
+ $ bdo map src --grep 'struct Tracker\b|pub fn is_quiet'
206
+ core/quiet.rs
207
+ pub fn is_quiet() -> bool { … }
208
+ core/tracking.rs
209
+ pub struct Tracker { … }
210
+
211
+ — 2 files, 2 of 2206 signatures match /struct Tracker\b|pub fn is_quiet/ (full source: 2208 lines)
212
+ ```
213
+
199
214
  For Python, function bodies are elided with a `…` marker (the analogue of
200
215
  `{ … }`), `async def` is handled like `def`, and multi-line signatures are
201
216
  folded onto one line:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "artifactDownloadUrls": [
3
- "https://github.com/tedorigawa001/TokenReductionTool-BDO/releases/download/v0.47.1"
3
+ "https://github.com/tedorigawa001/TokenReductionTool-BDO/releases/download/v0.48.0"
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.47.1",
94
+ "version": "0.48.0",
95
95
  "volta": {
96
96
  "node": "18.14.1",
97
97
  "npm": "9.5.0"