@dizzlkheinz/ynab-mcpb 0.25.0 → 0.26.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/CHANGELOG.md +18 -0
- package/CLAUDE.md +1 -1
- package/dist/bundle/index.cjs +80 -77
- package/dist/tools/reconciliation/index.d.ts +5 -0
- package/dist/tools/reconciliation/index.js +24 -3
- package/dist/tools/reconciliation/outputBuilder.d.ts +64 -3
- package/dist/tools/reconciliation/outputBuilder.js +2 -2
- package/dist/tools/schemas/outputs/comparisonOutputs.d.ts +7 -7
- package/dist/tools/schemas/outputs/comparisonOutputs.js +3 -3
- package/dist/tools/schemas/outputs/reconciliationOutputs.d.ts +294 -4
- package/dist/tools/schemas/outputs/reconciliationOutputs.js +90 -6
- package/dist/tools/transactionReadTools.js +4 -0
- package/dist/tools/transactionSchemas.d.ts +5 -0
- package/dist/tools/transactionSchemas.js +1 -0
- package/package.json +1 -1
- package/src/tools/__tests__/transactionSchemas.test.ts +8 -0
- package/src/tools/__tests__/transactionTools.test.ts +45 -0
- package/src/tools/reconciliation/__tests__/adapter.test.ts +42 -0
- package/src/tools/reconciliation/__tests__/index.test.ts +108 -0
- package/src/tools/reconciliation/index.ts +30 -4
- package/src/tools/reconciliation/outputBuilder.ts +75 -5
- package/src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts +52 -0
- package/src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts +87 -0
- package/src/tools/schemas/outputs/comparisonOutputs.ts +3 -3
- package/src/tools/schemas/outputs/reconciliationOutputs.ts +109 -8
- package/src/tools/transactionReadTools.ts +8 -0
- package/src/tools/transactionSchemas.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.26.0] - 2026-03-31
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **`cleared` filter on `ynab_list_transactions`** - New optional `cleared` parameter (`"cleared"` | `"uncleared"` | `"reconciled"`) filters transactions before pagination; applied in-memory with no API changes required
|
|
15
|
+
- **`max_suggestions_in_output` on `ynab_reconcile_account`** - Controls how many unmatched items and suggestions appear in the human narrative (default: 10, previously hardcoded at 5)
|
|
16
|
+
- **`structured_content` filter on `ynab_reconcile_account`** - New `"full"` | `"unmatched_only"` option (default `"full"`); `"unmatched_only"` limits the structured payload to `unmatched_bank`, `unmatched_ynab`, and `suggestions` to avoid exceeding MCP tool result size limits
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- **memo crash in `ynab_compare_transactions`** - Output schemas for `MissingInBankItemSchema`, `YNABTransactionComparisonSchema`, and `ExportedTransactionFullSchema` changed `memo` from `z.string().nullable()` to `z.string().nullish()`, preventing validation errors when YNAB returns `memo: undefined`
|
|
21
|
+
- **`csv_data` validation error message** - Replaced cryptic refine error with an actionable message explaining both input options and suggesting `ynab_list_transactions` with the new `cleared` filter as an alternative for balance-only workflows
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- **Reconciliation typed interfaces exported** - `StructuredReconciliationPayload`, `DualChannelPayload`, and related view interfaces are now exported from `outputBuilder.ts`, replacing an unsafe `as` cast in the structured content filter
|
|
26
|
+
- **Reconciliation output schema strictness** - All `Filtered*` schemas and `StructuredReconciliationUnmatchedOnlySchema` in `reconciliationOutputs.ts` now use `.strict()`, consistent with the project-wide convention
|
|
27
|
+
|
|
10
28
|
## [0.25.0] - 2026-03-29
|
|
11
29
|
|
|
12
30
|
### 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.
|
|
9
|
+
**Current Version:** 0.26.0
|
|
10
10
|
|
|
11
11
|
## Essential Commands
|
|
12
12
|
|