cherry-studio/packages
Vaayne d005d4291f ♻️ refactor: consolidate MCP tool name utilities into shared module
- Merge buildFunctionCallToolName from src/main/utils/mcp.ts into packages/shared/mcp.ts
- Create unified buildMcpToolName base function with options for prefix, delimiter, maxLength, existingNames
- Fix toCamelCase to normalize uppercase snake case (MY_SERVER → myServer)
- Fix maxLength + existingNames interaction to respect length limit when adding collision suffix
- Add comprehensive JSDoc documentation
- Update tests and hub.test.ts for new lowercase normalization behavior
2025-12-29 20:10:36 +08:00
..
ai-sdk-provider fix: interleaved thinking support (#12084) 2025-12-23 20:08:53 +08:00
aiCore fix: interleaved thinking support (#12084) 2025-12-23 20:08:53 +08:00
extension-table-plus chore[lint]: add import type lint (#11091) 2025-11-01 10:40:02 +08:00
mcp-trace chore[lint]: add import type lint (#11091) 2025-11-01 10:40:02 +08:00
shared ♻️ refactor: consolidate MCP tool name utilities into shared module 2025-12-29 20:10:36 +08:00