@dizzlkheinz/ynab-mcpb 0.26.5 → 0.26.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/CHANGELOG.md +16 -0
- package/CLAUDE.md +1 -1
- package/dist/bundle/index.cjs +110 -98
- package/dist/tools/accountTools.d.ts +3 -3
- package/dist/tools/accountTools.js +14 -11
- package/dist/tools/adapters.d.ts +1 -0
- package/dist/tools/adapters.js +6 -0
- package/dist/tools/categoryTools.d.ts +3 -3
- package/dist/tools/categoryTools.js +18 -15
- package/dist/tools/compareTransactions/index.d.ts +1 -1
- package/dist/tools/compareTransactions/index.js +5 -3
- package/dist/tools/exportTransactions.d.ts +1 -1
- package/dist/tools/exportTransactions.js +7 -5
- package/dist/tools/monthTools.d.ts +2 -2
- package/dist/tools/monthTools.js +8 -6
- package/dist/tools/payeeTools.d.ts +2 -2
- package/dist/tools/payeeTools.js +8 -6
- package/dist/tools/reconciliation/index.d.ts +1 -1
- package/dist/tools/reconciliation/index.js +9 -8
- package/dist/tools/transactionReadTools.js +11 -9
- package/dist/tools/transactionSchemas.d.ts +8 -8
- package/dist/tools/transactionSchemas.js +8 -8
- package/dist/tools/transactionWriteTools.js +41 -23
- package/docs/reference/API.md +23 -20
- package/package.json +1 -1
- package/src/server/__tests__/toolRegistration.test.ts +39 -0
- package/src/tools/__tests__/accountTools.test.ts +20 -2
- package/src/tools/__tests__/categoryTools.test.ts +20 -2
- package/src/tools/__tests__/monthTools.test.ts +9 -8
- package/src/tools/__tests__/payeeTools.test.ts +9 -8
- package/src/tools/__tests__/transactionSchemas.test.ts +58 -5
- package/src/tools/__tests__/transactionTools.test.ts +32 -29
- package/src/tools/accountTools.ts +18 -11
- package/src/tools/adapters.ts +15 -0
- package/src/tools/categoryTools.ts +22 -15
- package/src/tools/compareTransactions/index.ts +5 -3
- package/src/tools/exportTransactions.ts +7 -5
- package/src/tools/monthTools.ts +12 -6
- package/src/tools/payeeTools.ts +12 -6
- package/src/tools/reconciliation/index.ts +13 -10
- package/src/tools/transactionReadTools.ts +15 -11
- package/src/tools/transactionSchemas.ts +8 -8
- package/src/tools/transactionWriteTools.ts +51 -38
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.26.7] - 2026-04-03
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **Improved `ynab_create_transaction` tool description** — Documents `flag_color`, `subtransactions`, and `import_id` parameters; clarifies when to use subtransactions vs `create_receipt_split_transaction`
|
|
15
|
+
- **Improved `ynab_create_transactions` tool description** — Clarifies `import_id` guidance for YNAB-side duplicate detection
|
|
16
|
+
- **Improved `ynab_create_receipt_split_transaction` tool description** — Documents `memo`, `receipt_subtotal`, `cleared`, `approved`, `flag_color` parameters; adds cross-reference to `create_transaction` for generic splits
|
|
17
|
+
- **API reference documentation** — Adds subtransaction and `import_id` guidance to `create_transaction`; cross-references `create_receipt_split_transaction` for receipt workflows
|
|
18
|
+
|
|
19
|
+
## [0.26.6] - 2026-04-03
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- **`budget_id` now optional on all tool schemas** — All 28 tool input schemas now declare `budget_id` as optional, relying on the registry's `defaultArgumentResolver` to inject the default budget ID when omitted. Handlers use `requireResolvedBudgetId()` to narrow the type at runtime, providing a clear error if no default budget is configured.
|
|
24
|
+
- **New `requireResolvedBudgetId()` adapter** — Centralizes the budget ID narrowing pattern in `adapters.ts`, replacing ad-hoc checks across all tool handlers
|
|
25
|
+
|
|
10
26
|
## [0.26.5] - 2026-04-03
|
|
11
27
|
|
|
12
28
|
### Fixed
|
package/CLAUDE.md
CHANGED
|
@@ -6,7 +6,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
|
|
6
6
|
|
|
7
7
|
This is a Model Context Protocol (MCP) server for YNAB (You Need A Budget) integration, enabling AI assistants to interact with YNAB budgets, accounts, transactions, and categories. The codebase uses TypeScript with a modular, service-oriented architecture.
|
|
8
8
|
|
|
9
|
-
**Current Version:** 0.26.
|
|
9
|
+
**Current Version:** 0.26.7
|
|
10
10
|
|
|
11
11
|
## Essential Commands
|
|
12
12
|
|