WeKnora/internal
lyingbug da9f7b43b6 fix: use service name for MCP tool naming with collision protection (#715)
- Use service.Name instead of service.ID (UUID) for stable tool names
  across MCP server reconnections
- Add (tenant_id, name) unique index on MCPService to prevent name
  collisions at the DB level
- Add collision detection logging in RegisterMCPTools for defense-in-depth
- Improve truncation logic to prioritize keeping the tool name intact

Security: first-wins policy in ToolRegistry + unique name constraint
prevents tool hijacking (GHSA-67q9-58vj-32qx).
2026-03-21 10:22:05 +08:00
..
agent fix: use service name for MCP tool naming with collision protection (#715) 2026-03-21 10:22:05 +08:00
application fix: use milvus result set length for empty search results 2026-03-20 18:22:40 +08:00
common feat: add organization management features 2026-02-09 11:40:25 +08:00
config feat(im): add multi-instance support with Redis-based distributed coordination 2026-03-20 15:49:59 +08:00
container feat(IM): support both websocket/webhook mode im channel for slack 2026-03-18 21:26:53 +08:00
database feat: enhance system information display with database version 2026-03-02 21:21:49 +08:00
errors feat: Add agent configuration and cleanup scripts for database migrations 2025-11-05 23:18:44 +08:00
event feat: add fallback response handling and UI indicators 2026-03-05 18:14:14 +08:00
handler fix: Adjust temperature validation to allow zero as a valid setting and default only for negative values. 2026-03-20 18:21:39 +08:00
im feat(im): add multi-instance support with Redis-based distributed coordination 2026-03-20 15:49:59 +08:00
infrastructure feat: expose builtin parser engine in settings 2026-03-20 15:52:33 +08:00
logger chore: update fallback templates 2026-03-17 22:23:24 +08:00
mcp fix: MCP Client connection state not marked as closed after connection loss in SSE transport type 2026-02-02 10:42:19 +08:00
middleware refactor: update session title generation and language context handling 2026-03-17 22:23:24 +08:00
models fix: add OpenRouter embedding provider support 2026-03-20 15:50:42 +08:00
router feat(knowledge): offload manual processing to async tasks 2026-03-18 21:56:34 +08:00
runtime init commit 2025-08-05 15:08:07 +08:00
sandbox feat: optimize security and deployment of agent skills 2026-02-04 20:08:49 +08:00
searchutil feat: implement parent-child chunking strategy for enhanced context management 2026-03-05 18:14:14 +08:00
stream feat(redis): add REDIS_USERNAME support for Redis ACL 2026-02-04 19:38:40 +08:00
tracing init commit 2025-08-05 15:08:07 +08:00
types fix: use service name for MCP tool naming with collision protection (#715) 2026-03-21 10:22:05 +08:00
utils refactor: update session title generation and language context handling 2026-03-17 22:23:24 +08:00