@fuzzle/opencode-accountant 0.1.0 → 0.1.1

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 CHANGED
@@ -16,7 +16,7 @@ An OpenCode accounting agent, specialized in double-entry-bookkepping with hledg
16
16
 
17
17
  ### Price Fetching Configuration
18
18
 
19
- The `update-prices` tool requires a configuration file to specify which currency pairs to fetch. Create a `config/prices.yaml` file in your project directory with the following structure:
19
+ The `fetch-currency-prices` tool requires a configuration file to specify which currency pairs to fetch. Create a `config/prices.yaml` file in your project directory with the following structure:
20
20
 
21
21
  ```yaml
22
22
  currencies:
@@ -8,7 +8,7 @@ tools:
8
8
  bash: true
9
9
  edit: true
10
10
  write: true
11
- # MCP tools available: import-pipeline, update-prices
11
+ # MCP tools available: import-pipeline, fetch-currency-prices
12
12
  permission:
13
13
  bash: allow
14
14
  edit: allow
@@ -59,7 +59,7 @@ You have access to specialized MCP tools that MUST be used for their designated
59
59
  | Tool | Use For | NEVER Do Instead |
60
60
  | ----------------- | ---------------------------------------------------- | --------------------------------------------------------- |
61
61
  | `import-pipeline` | Full import workflow (classify → import → reconcile) | Manual file moves, `hledger import`, manual journal edits |
62
- | `update-prices` | Fetching exchange rates | `curl` to price APIs, manual price entries |
62
+ | `fetch-currency-prices` | Fetching exchange rates | `curl` to price APIs, manual price entries |
63
63
 
64
64
  These tools handle validation, deduplication, error checking, and file organization automatically. Bypassing them risks data corruption, duplicate transactions, and inconsistent state.
65
65
 
@@ -76,7 +76,7 @@ Bash is FORBIDDEN for:
76
76
  - `hledger import` - use `import-pipeline` tool instead
77
77
  - Moving/copying CSV files - use `import-pipeline` tool instead
78
78
  - Editing journal files directly - use `edit` tool only for rules files
79
- - Fetching prices - use `update-prices` tool instead
79
+ - Fetching prices - use `fetch-currency-prices` tool instead
80
80
 
81
81
  ## Statement Import Workflow
82
82
 
@@ -158,14 +158,14 @@ The following are MCP tools available to you. Always call these tools directly -
158
158
 
159
159
  ---
160
160
 
161
- ### update-prices
161
+ ### fetch-currency-prices
162
162
 
163
163
  **Purpose:** Fetches currency exchange rates and updates `ledger/currencies/` journals.
164
164
 
165
165
  **Usage:**
166
166
 
167
- - Daily mode (default): `update-prices()` or `update-prices(backfill: false)`
168
- - Backfill mode: `update-prices(backfill: true)`
167
+ - Daily mode (default): `fetch-currency-prices()` or `fetch-currency-prices(backfill: false)`
168
+ - Backfill mode: `fetch-currency-prices(backfill: true)`
169
169
 
170
170
  **Behavior:**
171
171