Commit 260f7df
Complete JSON marshal pattern refactoring
All changes complete and tested:
- Created marshalToResponse helper function
- Added comprehensive unit tests (8 test cases, all passing)
- Updated all 6 MCP methods (listTools, callTool, listResources, readResource, listPrompts, getPrompt)
- Reduced code from 1011 to 972 lines (39 lines removed)
- All MCP package tests pass
- Build successful, code formatted and linted
Note: Pre-existing launcher test failures are unrelated to this refactoring
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>1 parent 8af521f commit 260f7df
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments