@dizzlkheinz/ynab-mcpb 0.15.1 → 0.16.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 +36 -0
- package/dist/bundle/index.cjs +53 -52
- package/dist/server/YNABMCPServer.d.ts +2 -6
- package/dist/server/YNABMCPServer.js +5 -1
- package/dist/server/resources.d.ts +17 -13
- package/dist/server/resources.js +237 -48
- package/dist/tools/reconcileAdapter.d.ts +1 -0
- package/dist/tools/reconcileAdapter.js +1 -0
- package/dist/tools/reconciliation/csvParser.d.ts +3 -0
- package/dist/tools/reconciliation/csvParser.js +58 -19
- package/dist/tools/reconciliation/executor.js +47 -1
- package/dist/tools/reconciliation/index.js +82 -42
- package/dist/tools/reconciliation/reportFormatter.d.ts +1 -0
- package/dist/tools/reconciliation/reportFormatter.js +49 -36
- package/docs/reference/API.md +144 -0
- package/docs/technical/reconciliation-system-architecture.md +2251 -0
- package/package.json +1 -1
- package/src/server/YNABMCPServer.ts +7 -0
- package/src/server/__tests__/resources.template.test.ts +198 -0
- package/src/server/__tests__/resources.test.ts +10 -2
- package/src/server/resources.ts +307 -62
- package/src/tools/reconcileAdapter.ts +2 -0
- package/src/tools/reconciliation/__tests__/reportFormatter.test.ts +23 -23
- package/src/tools/reconciliation/csvParser.ts +84 -18
- package/src/tools/reconciliation/executor.ts +58 -1
- package/src/tools/reconciliation/index.ts +105 -55
- package/src/tools/reconciliation/reportFormatter.ts +55 -37
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.16.0] - 2025-12-01
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **MCP Resource Templates** - Implemented resource templates for budgets and accounts
|
|
15
|
+
- `ynab://budgets/{budget_id}` - Get detailed budget information
|
|
16
|
+
- `ynab://budgets/{budget_id}/accounts` - List accounts for a specific budget
|
|
17
|
+
- `ynab://budgets/{budget_id}/accounts/{account_id}` - Get detailed account information
|
|
18
|
+
- Enables AI assistants to discover and access YNAB resources dynamically
|
|
19
|
+
- Full caching support with configurable TTLs
|
|
20
|
+
|
|
21
|
+
- **Reconciliation System Architecture Documentation** - Comprehensive technical documentation (2,249 lines)
|
|
22
|
+
- Complete system architecture with Mermaid diagrams
|
|
23
|
+
- Detailed CSV parsing engine documentation
|
|
24
|
+
- Transaction matching algorithm specifications
|
|
25
|
+
- Execution engine patterns and bulk operation strategies
|
|
26
|
+
- Testing strategy and performance characteristics
|
|
27
|
+
- See `docs/technical/reconciliation-system-architecture.md`
|
|
28
|
+
|
|
29
|
+
- **CSV Delimiter Security** - Added validation for CSV delimiter override
|
|
30
|
+
- Whitelist-based delimiter validation (comma, semicolon, tab, pipe, space)
|
|
31
|
+
- Prevents injection attacks via malicious delimiter strings
|
|
32
|
+
- Clear error messages for unsupported delimiters
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- **CSV Parser** - Enhanced delimiter handling
|
|
37
|
+
- Honor explicit delimiter overrides from reconcile_account requests
|
|
38
|
+
- Improved error messages for unsupported delimiters
|
|
39
|
+
- Better auto-detection fallback when delimiter override fails
|
|
40
|
+
|
|
41
|
+
### Fixed
|
|
42
|
+
|
|
43
|
+
- **Build Process** - Resolved build errors and applied code formatting
|
|
44
|
+
- **Resource Templates** - Hardened template parameter validation and error handling
|
|
45
|
+
|
|
10
46
|
## [0.15.0] - 2025-11-30
|
|
11
47
|
|
|
12
48
|
### Changed
|