bdo-cli 0.44.4 → 0.44.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.
package/.gitignore ADDED
@@ -0,0 +1,2 @@
1
+ /node_modules
2
+
package/README.md CHANGED
@@ -236,6 +236,31 @@ bdo stale — scanned 312 tracked files
236
236
  Add a `.bdostaleignore` (gitignore-style globs) for files that legitimately
237
237
  *document* residue — a changelog or rename ledger — so they aren't flagged.
238
238
 
239
+ #### Pre-merge gate (`bdo ci`)
240
+
241
+ `bdo ci` runs the three checks above as one gate — `bdo review` (change summary,
242
+ informational), `bdo stale` (whole-tree residue), and `bdo test --changed`
243
+ (tests for the change set) — and returns a **single exit code**. Cheap checks
244
+ run first and the slow tests last, but every stage runs regardless of earlier
245
+ failures so one pass shows all blockers:
246
+
247
+ ```console
248
+ $ bdo ci # working tree (or: bdo ci --against origin/main)
249
+ ━━━ bdo ci (1/3) — change summary ━━━
250
+ ...
251
+ ━━━ bdo ci (2/3) — residue audit ━━━
252
+ ...
253
+ ━━━ bdo ci (3/3) — changed tests ━━━
254
+ ...
255
+ ━━━ bdo ci: FAIL ━━━
256
+ review shown (informational)
257
+ stale ok
258
+ tests FAIL (exit 101)
259
+ ```
260
+
261
+ The gate exits non-zero if either gating stage fails; a real test exit code
262
+ (e.g. cargo's `101`) is preserved over the residue gate's bare `1`.
263
+
239
264
  ### Git
240
265
  ```bash
241
266
  bdo git status # Compact status
@@ -19,7 +19,7 @@
19
19
  "hasInstallScript": true,
20
20
  "license": "Apache-2.0",
21
21
  "name": "bdo-cli",
22
- "version": "0.44.4"
22
+ "version": "0.44.7"
23
23
  },
24
24
  "node_modules/detect-libc": {
25
25
  "engines": {
@@ -48,5 +48,5 @@
48
48
  }
49
49
  },
50
50
  "requires": true,
51
- "version": "0.44.4"
51
+ "version": "0.44.7"
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "artifactDownloadUrls": [
3
- "https://github.com/tedorigawa001/TokenReductionTool/releases/download/v0.44.4"
3
+ "https://github.com/tedorigawa001/TokenReductionTool-BDO/releases/download/v0.44.7"
4
4
  ],
5
5
  "author": "Patrick Szymkowiak",
6
6
  "bin": {
@@ -9,7 +9,7 @@
9
9
  "dependencies": {
10
10
  "detect-libc": "^2.1.2"
11
11
  },
12
- "description": "Bushido (bdo) - High-performance CLI proxy to minimize LLM token consumption. Fork of rtk (Rust Token Killer).",
12
+ "description": "High-performance CLI proxy that minimizes LLM token consumption (fork of rtk).",
13
13
  "devDependencies": {
14
14
  "prettier": "^3.8.3"
15
15
  },
@@ -19,9 +19,9 @@
19
19
  },
20
20
  "glibcMinimum": {
21
21
  "major": 2,
22
- "series": 31
22
+ "series": 35
23
23
  },
24
- "homepage": "https://github.com/tedorigawa001/TokenReductionTool",
24
+ "homepage": "https://github.com/tedorigawa001/TokenReductionTool-BDO",
25
25
  "keywords": [
26
26
  "command-line-utilities",
27
27
  "development-tools",
@@ -34,7 +34,7 @@
34
34
  "license": "Apache-2.0",
35
35
  "name": "bdo-cli",
36
36
  "preferUnplugged": true,
37
- "repository": "https://github.com/tedorigawa001/TokenReductionTool",
37
+ "repository": "https://github.com/tedorigawa001/TokenReductionTool-BDO",
38
38
  "scripts": {
39
39
  "fmt": "prettier --write **/*.js",
40
40
  "fmt:check": "prettier --check **/*.js",
@@ -91,7 +91,7 @@
91
91
  "zipExt": ".tar.xz"
92
92
  }
93
93
  },
94
- "version": "0.44.4",
94
+ "version": "0.44.7",
95
95
  "volta": {
96
96
  "node": "18.14.1",
97
97
  "npm": "9.5.0"
package/run-bdo.js CHANGED
File without changes