brainy/cloud-wrapper/src
David Snelling 36336c5180 **refactor(mcpService): use enum for MCP request type**
### Changes:
- **mcpService.ts**:
  - Updated `type` in `/mcp/tools` route to use `MCPRequestType.SYSTEM_INFO` enum instead of hardcoded string `'SYSTEM_INFO'`.
  - Removed redundant `infoType: 'availableTools'` from the MCP request payload.
  - Added `MCPRequestType` import from `@soulcraft/brainy`.

### Purpose:
Replaced hardcoded request type string with an enum for improved type safety and maintainability. Removed unnecessary `infoType` parameter, aligning the request payload with updated requirements.
2025-06-23 10:58:56 -07:00
..
services **refactor(mcpService): use enum for MCP request type** 2025-06-23 10:58:56 -07:00
index.ts **feat: add MCP service integration and enhance environment detection** 2025-06-20 10:57:31 -07:00
routes.ts **refactor: add async error handler utility and standardize route handlers** 2025-06-19 16:03:04 -07:00
websocket.ts feat: add WebSocket API, REST API routes, and server setup for Brainy 2025-06-06 09:09:07 -07:00