WeKnora/internal/agent/tools
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
..
data_analysis.go feat: use language-neutral English prompts for multilingual LLM responses 2026-03-06 21:08:12 +08:00
data_schema.go feat: add organization management features 2026-02-09 11:40:25 +08:00
database_query.go feat: use language-neutral English prompts for multilingual LLM responses 2026-03-06 21:08:12 +08:00
definitions.go feat: implement final_answer tool and enhance agent duration tracking 2026-03-09 11:46:56 +08:00
final_answer.go feat: implement final_answer tool and enhance agent duration tracking 2026-03-09 11:46:56 +08:00
get_document_info.go refactor(agent): streamline document info retrieval and enhance chunk search logic 2026-03-19 18:20:09 +08:00
grep_chunks.go refactor(agent): streamline document info retrieval and enhance chunk search logic 2026-03-19 18:20:09 +08:00
knowledge_search.go feat: enhance knowledge search by resolving embedding model keys 2026-03-13 20:54:25 +08:00
list_knowledge_chunks.go feat: use language-neutral English prompts for multilingual LLM responses 2026-03-06 21:08:12 +08:00
mcp_tool.go fix: use service name for MCP tool naming with collision protection (#715) 2026-03-21 10:22:05 +08:00
query_knowledge_graph.go feat: use language-neutral English prompts for multilingual LLM responses 2026-03-06 21:08:12 +08:00
registry.go feat: enhance MCP tool name and description handling for security 2026-02-06 19:55:29 +08:00
sequentialthinking.go feat: implement final_answer tool and enhance agent duration tracking 2026-03-09 11:46:56 +08:00
skill_execute.go feat: optimize security and deployment of agent skills 2026-02-04 20:08:49 +08:00
skill_read.go feat: support agent skills 2026-02-04 20:08:49 +08:00
todo_write.go feat: use language-neutral English prompts for multilingual LLM responses 2026-03-06 21:08:12 +08:00
tool.go feat: use language-neutral English prompts for multilingual LLM responses 2026-03-06 21:08:12 +08:00
web_fetch.go feat: use language-neutral English prompts for multilingual LLM responses 2026-03-06 21:08:12 +08:00
web_search.go feat: Add DataSchema tool for retrieving schema information from CSV and Excel files 2025-12-29 20:03:51 +08:00