cherry-studio/packages/shared
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
..
agents/claudecode ⬆️ chore: migrate from Claude Code SDK to Claude Agent SDK v0.1.1 2025-09-30 17:54:02 +08:00
anthropic fix: restore API version control with trailing # delimiter (addresses #11750) (#11773) 2025-12-10 13:42:15 +08:00
config refactor: change qrcode landrop to lantransfer (#11968) 2025-12-21 17:39:23 +08:00
IpcChannel.ts fix(memory): fix retrieval issues and enable database backup (#12073) 2025-12-23 13:21:29 +08:00
mcp.ts ♻️ refactor: consolidate MCP tool name utilities into shared module 2025-12-29 20:10:36 +08:00
utils.ts fix: remove trailing api version in ANTHROPIC_BASE_URL (#12145) 2025-12-26 17:37:58 +08:00