Commit cffa6e7
committed
feat(core/cli/utils): separate server/cli from core packge, reduces deps and pkg size
- Add deno.json for CLI package configuration and exports.
- Create mod.ts as the main entry point for CLI package.
- Implement createServer and createApp functions in app.ts for server setup and route registration.
- Add bin.ts for running the CLI as an MCP server using STDIO transport.
- Implement core, message, and SSE controllers for handling respective routes and functionalities.
- Create error schema for consistent error responses.
- Set up OpenAPI documentation routes for core and message handling.
- Introduce utility functions in the utils package for JSON parsing and time management.
- Update core package to version 0.2.0-beta.1 and adjust imports accordingly.
- Refactor existing code to utilize new utility functions and improve structure.1 parent 42ad62b commit cffa6e7
File tree
27 files changed
+396
-365
lines changed- packages
- cli
- src
- controllers
- schemas
- core
- src
- executors/sampling
- prompts
- utils/common
- utils
- src
- transport
27 files changed
+396
-365
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments