cherry-studio/packages/shared
Vaayne 7a5b011bfa feat: add available tools section to HUB_MODE_SYSTEM_PROMPT
- Add shared utility for generating MCP tool function names (serverName_toolName format)
- Update hub server to use consistent function naming across search, exec and prompt
- Add fetchAllActiveServerTools to ApiService for renderer process
- Update parameterBuilder to include available tools in auto/hub mode prompt
- Use CacheService for 1-minute tools caching in hub server
- Remove ToolRegistry in favor of direct fetching with caching
- Update search ranking to include server name matching
- Fix tests to use new naming format

Amp-Thread-ID: https://ampcode.com/threads/T-019b6971-d5c9-7719-9245-a89390078647
Co-authored-by: Amp <amp@ampcode.com>
2025-12-29 18:51:15 +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 feat: add available tools section to HUB_MODE_SYSTEM_PROMPT 2025-12-29 18:51:15 +08:00
utils.ts fix: remove trailing api version in ANTHROPIC_BASE_URL (#12145) 2025-12-26 17:37:58 +08:00