@dizzlkheinz/ynab-mcpb 0.26.6 → 0.26.8
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 +22 -0
- package/CLAUDE.md +1 -1
- package/dist/bundle/index.cjs +135 -98
- package/dist/server/YNABMCPServer.d.ts +2 -0
- package/dist/server/YNABMCPServer.js +2 -1
- package/dist/server/completions.js +3 -2
- package/dist/server/config.d.ts +1 -1
- package/dist/server/resources.js +9 -8
- package/dist/server/securityMiddleware.d.ts +1 -0
- package/dist/tools/accountTools.d.ts +0 -1
- package/dist/tools/accountTools.js +0 -1
- package/dist/tools/budgetTools.js +3 -3
- package/dist/tools/deltaFetcher.js +7 -10
- package/dist/tools/monthTools.js +17 -10
- package/dist/tools/reconciliation/index.js +4 -2
- package/dist/tools/transactionWriteTools.js +14 -2
- package/dist/utils/ynabApiCompat.d.ts +28 -0
- package/dist/utils/ynabApiCompat.js +64 -0
- package/docs/reference/API.md +3 -1
- package/package.json +3 -3
- package/src/server/YNABMCPServer.ts +2 -1
- package/src/server/__tests__/YNABMCPServer.integration.test.ts +7 -8
- package/src/server/__tests__/YNABMCPServer.test.ts +7 -6
- package/src/server/__tests__/server-startup.integration.test.ts +6 -1
- package/src/server/completions.ts +3 -2
- package/src/server/resources.ts +14 -11
- package/src/tools/__tests__/accountTools.delta.integration.test.ts +3 -2
- package/src/tools/__tests__/accountTools.integration.test.ts +3 -2
- package/src/tools/__tests__/accountTools.test.ts +0 -1
- package/src/tools/__tests__/categoryTools.delta.integration.test.ts +3 -2
- package/src/tools/__tests__/categoryTools.integration.test.ts +3 -2
- package/src/tools/__tests__/deltaFetcher.scheduled.integration.test.ts +3 -2
- package/src/tools/__tests__/monthTools.delta.integration.test.ts +3 -2
- package/src/tools/__tests__/monthTools.integration.test.ts +10 -6
- package/src/tools/__tests__/monthTools.test.ts +11 -10
- package/src/tools/__tests__/payeeTools.delta.integration.test.ts +3 -2
- package/src/tools/__tests__/payeeTools.integration.test.ts +3 -2
- package/src/tools/__tests__/transactionTools.integration.test.ts +5 -4
- package/src/tools/accountTools.ts +1 -2
- package/src/tools/budgetTools.ts +4 -3
- package/src/tools/deltaFetcher.ts +11 -12
- package/src/tools/monthTools.ts +22 -14
- package/src/tools/reconciliation/__tests__/executor.integration.test.ts +3 -2
- package/src/tools/reconciliation/__tests__/reconciliation.delta.integration.test.ts +3 -2
- package/src/tools/reconciliation/index.ts +4 -2
- package/src/tools/transactionWriteTools.ts +14 -2
- package/src/utils/ynabApiCompat.ts +172 -0
- package/tsconfig.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.26.8] - 2026-05-10
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **`ynab_get_month` goal amounts now in dollars** — Category goal fields (`goal_target`, `goal_under_funded`, `goal_overall_funded`, `goal_overall_left`) inside `get_month` responses were being returned in raw milliunits; now consistently converted to dollars to match `list_categories` and `get_category`
|
|
15
|
+
- **YNAB API compatibility** — Restored compatibility with current YNAB API response shapes for budgets, months, and completions; extracted `ynabApiCompat.ts` adapter layer to handle field differences without touching tool handlers
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- **`ynab_list_months` returns newest-first** — Month list is now ordered most-recent first (was oldest-first, matching raw YNAB API order), making the default page 1 show the current and recent months
|
|
20
|
+
- **TypeScript upgraded to v6** — Bumped `typescript` from `^5.9.3` to `^6.0.3` and `esbuild` from `^0.27.3` to `^0.28.0`; switched `moduleResolution` to `"bundler"` for TypeScript 6 compatibility
|
|
21
|
+
- **`ynab_create_account`** — Removed `lineOfCredit` account type (no longer present in YNAB API's `SaveAccountType`)
|
|
22
|
+
|
|
23
|
+
## [0.26.7] - 2026-04-03
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- **Improved `ynab_create_transaction` tool description** — Documents `flag_color`, `subtransactions`, and `import_id` parameters; clarifies when to use subtransactions vs `create_receipt_split_transaction`
|
|
28
|
+
- **Improved `ynab_create_transactions` tool description** — Clarifies `import_id` guidance for YNAB-side duplicate detection
|
|
29
|
+
- **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
|
|
30
|
+
- **API reference documentation** — Adds subtransaction and `import_id` guidance to `create_transaction`; cross-references `create_receipt_split_transaction` for receipt workflows
|
|
31
|
+
|
|
10
32
|
## [0.26.6] - 2026-04-03
|
|
11
33
|
|
|
12
34
|
### Changed
|
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.8
|
|
10
10
|
|
|
11
11
|
## Essential Commands
|
|
12
12
|
|