@hydra-acp/budgeter 0.1.5 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -9,10 +9,10 @@ Runs as a daemon-managed *transformer* (not a client extension): it connects onc
9
9
  From npm (recommended once published):
10
10
 
11
11
  ```sh
12
- npm install -g @hydra-acp/budgeter
12
+ npm install -g @hydra-acp/cli @hydra-acp/budgeter
13
13
  ```
14
14
 
15
- This drops a `hydra-acp-budgeter` binary on your PATH.
15
+ This drops the `hydra-acp` (and `hydra`) CLI plus a `hydra-acp-budgeter` binary on your PATH. The CLI dispatches `hydra-acp <name>` to any `hydra-acp-<name>` binary on PATH, so the budgeter is also reachable as `hydra-acp budgeter`.
16
16
 
17
17
  Or from source:
18
18
 
@@ -101,7 +101,7 @@ Spend is sticky across `session.closed`: a closed session's cost stays in the to
101
101
  To zero the budget:
102
102
 
103
103
  ```sh
104
- hydra-acp-budgeter reset
104
+ hydra-acp budgeter reset
105
105
  ```
106
106
 
107
107
  That deletes the state file. If the transformer is running, its watcher adopts the deletion and the in-memory total drops to zero on the next tick (≤50ms). If it isn't running, the file is just gone and the next start begins at zero.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hydra-acp/budgeter",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Cost-budget transformer extension for hydra-acp — warns on soft limit, rejects further prompts/sessions on hard limit.",
5
5
  "license": "MIT",
6
6
  "type": "module",