mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-07-08 08:27:39 +08:00
Apply the naming-conventions §6.1 acronym-casing rule (MCP -> Mcp) to the MCP* PascalCase identifier family across the codebase (McpServer, McpTool, McpToolResponse, BuiltinMcpServerNames, McpService, etc.) plus the local identifiers boundMcp/enableMcp/disableMcp and the didiMcp registry key. Regenerate the OpenAPI spec from the renamed schemas. Deliberately left unchanged (not naming-convention identifiers): persisted field keys read by migrators (enabledMCPs), v1 Redux selectors (selectMCP), string values (ExaMCP, logger labels), and UPPER_SNAKE constants (MCP_*). Also fix naming issues in the data reference docs that prompted this: - JSONStreamReader -> JsonStreamReader (match the real class name) - rowToMCPServer -> rowToMcpServer (match the real function name) - replace the TopicService getInstance() skeleton with a direct singleton - sync stale MCPServer/MCPTool/McpService references in affected docs