Commit 296d324
committed
feat(mcp): add PlanAdapter and StatusAdapter with full test coverage
- Add StatusAdapter with 5 sections (summary/repo/indexes/github/health)
- Add PlanAdapter with lazy initialization and GitHub issue breakdown
- Add comprehensive unit tests for both adapters (>80% coverage)
- Register both adapters in MCP server bin entry point
- Fix fetchGitHubIssue to accept repositoryPath parameter
- Update MCP server to handle date serialization and content formatting
- Verified working in Cursor with dev_plan and dev_status tools1 parent 3975303 commit 296d324
File tree
8 files changed
+2071
-5
lines changed- packages
- mcp-server
- bin
- src
- adapters
- __tests__
- built-in
- server
- subagents/src/planner/utils
8 files changed
+2071
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
34 | 48 | | |
35 | 49 | | |
36 | 50 | | |
| |||
42 | 56 | | |
43 | 57 | | |
44 | 58 | | |
45 | | - | |
| 59 | + | |
46 | 60 | | |
47 | 61 | | |
48 | 62 | | |
| |||
0 commit comments