Commit 36ce00b
committed
feat: Implement new tool handlers with simplified schemas for devlog and project operations
- Added tool-handlers.ts to manage tool operations using Zod schemas for validation.
- Refactored index.ts to utilize new tool handlers, reducing complexity and improving maintainability.
- Created base schemas in base.ts for reusable components across devlog and project schemas.
- Developed devlog operation schemas in devlog-schemas.ts, including create, get, update, list, add note, complete, and find related.
- Established project operation schemas in project-schemas.ts for listing, getting current, and switching projects.
- Updated devlog-tools.ts to reflect new action-based naming and reduced parameters for AI-friendly design.
- Simplified project-tools.ts by removing legacy implementations and focusing on schema-driven tools.
- Consolidated all schemas in index.ts for cleaner imports and organization.1 parent 94701e6 commit 36ce00b
File tree
14 files changed
+772
-1073
lines changed- .vscode
- packages/mcp/src
- adapters
- handlers
- schemas
- tools
14 files changed
+772
-1073
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
16 | 23 | | |
17 | 24 | | |
18 | 25 | | |
19 | | - | |
| 26 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 5 | + | |
0 commit comments