refactor: modernize source code with improved structure and logging
- Add config.js for centralized configuration management
- Add logger.js for structured logging with levels
- Modernize main.js with JSDoc comments and error handling
- Enhance mcp-server.js with health check endpoint and logging
- Refactor db.js with validation and error handling functions
- Add TOOL_NAMES constant and improve mcp-tools.js documentation
- Refactor mcp-handlers.js with modular handler functions
- Enhance llama-client.js with timeout and input validation
- Update test to match new error messages
- All 35 tests passing with improved code quality
1 parent 0ed02c5 commit 17b12560f5df878244011fde3e8448e2e6674dce
@楽曲作りまくりおじさん 楽曲作りまくりおじさん authored 8 days ago
Showing 12 changed files
View
README.md
View
document/overview.md
View
package.json
View
src/config.js 0 → 100644
View
src/db.js
View
src/llama-client.js
View
src/logger.js 0 → 100644
View
src/main.js
View
src/mcp-handlers.js
View
src/mcp-server.js
View
src/mcp-tools.js
View
test/llama-client.test.js