bermudis-pi-goodies 0.7.0 → 0.8.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.
- package/README.md +3 -2
- package/index.ts +3 -0
- package/package.json +1 -1
- package/review.ts +1860 -0
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# bermudis-pi-goodies
|
|
2
2
|
|
|
3
3
|
A bundle of small, frequently-used [Pi](https://github.com/earendil-works/pi)
|
|
4
|
-
extensions. One entry point,
|
|
4
|
+
extensions. One entry point, eleven independent features.
|
|
5
5
|
|
|
6
6
|
| Feature | Command / hook | What it does |
|
|
7
7
|
| ------------------ | ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -12,6 +12,7 @@ extensions. One entry point, ten independent features.
|
|
|
12
12
|
| `prefer-tools` | hook (no command) | Nudge toward modern CLIs: `rg` over `grep`, `fd` over `find`, `uv` over bare `python`/`pip`/`pytest`/`mypy`. |
|
|
13
13
|
| `keep-model-on-new` | hook (no command) | Keep the active model when `/new` starts a fresh session instead of reverting to pi's saved default model. |
|
|
14
14
|
| `clean-tui` | tool overrides (no command) | Collapse built-in tool output for a cleaner TUI: keeps a one-line call header, hides results/diffs until you expand a row with ctrl+e or click. |
|
|
15
|
+
| `review` | `/review`, `/end-review` | Code review workflow: review uncommitted changes, a branch, a commit, a GitHub PR, or folders. Prioritized findings with actionable follow-ups. |
|
|
15
16
|
| `kilo` | provider | Access Kilo Gateway models via `/login kilo` or `KILO_API_KEY`. |
|
|
16
17
|
| `provider-balance` | footer (no command) | Show remaining Kilo or OpenRouter credits, z.ai token-plan quota, or OpenAI Codex quota on the right side of the working-directory footer line. |
|
|
17
18
|
| `tps` | hook (no command) | Notify tokens/sec and in/out/cache token usage at the end of each agent turn. |
|
|
@@ -21,7 +22,7 @@ extensions. One entry point, ten independent features.
|
|
|
21
22
|
After publishing the package to npm:
|
|
22
23
|
|
|
23
24
|
```bash
|
|
24
|
-
pi install npm:bermudis-pi-goodies@0.
|
|
25
|
+
pi install npm:bermudis-pi-goodies@0.8.0
|
|
25
26
|
```
|
|
26
27
|
|
|
27
28
|
Remove any old `bermudis-pi-goodies.ts` symlink before reloading Pi. Each
|
package/index.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* - prefer-tools hook block legacy tools (use trash/rg/fd/uv)
|
|
11
11
|
* - keep-model hook preserve the active model across /new
|
|
12
12
|
* - clean-tui tool overrides collapse built-in tool output; keep a one-line call header, hide results/diffs until expanded
|
|
13
|
+
* - review /review, /end-review code review workflow (uncommitted, branch, commit, PR, folder)
|
|
13
14
|
* - kilo provider access Kilo Gateway models
|
|
14
15
|
* - provider-balance footer show Kilo credits or Codex quota in the footer
|
|
15
16
|
* - tps hook notify tokens/sec and usage at each agent turn end
|
|
@@ -27,6 +28,7 @@ import copyWithModel from "./copy-with-model.ts";
|
|
|
27
28
|
import kilo from "./kilo.ts";
|
|
28
29
|
import keepModelOnNew from "./keep-model-on-new.ts";
|
|
29
30
|
import cleanTui from "./clean-tui.ts";
|
|
31
|
+
import review from "./review.ts";
|
|
30
32
|
import providerBalance from "./provider-balance.ts";
|
|
31
33
|
import tps from "./tps.ts";
|
|
32
34
|
import nameWithAi from "./name-with-ai.ts";
|
|
@@ -41,6 +43,7 @@ export default function bermudisPiGoodies(pi: ExtensionAPI): void {
|
|
|
41
43
|
preferTools(pi);
|
|
42
44
|
keepModelOnNew(pi);
|
|
43
45
|
cleanTui(pi);
|
|
46
|
+
review(pi);
|
|
44
47
|
providerBalance(pi);
|
|
45
48
|
kilo(pi);
|
|
46
49
|
tps(pi);
|