refactor(mcpserver): update tool IDs from string UUIDs to integers
Some checks failed
CI / build-and-test (push) Failing after -31m3s

This commit is contained in:
2026-05-03 17:26:41 +02:00
parent a8214aaa8b
commit d6bf0b20d0
3 changed files with 23 additions and 12 deletions

View File

@@ -30,52 +30,63 @@ func TestNewListsAllRegisteredTools(t *testing.T) {
want := []string{
"add_guardrail",
"add_learning",
"add_maintenance_task",
"add_plan_dependency",
"add_plan_guardrail",
"add_plan_skill",
"add_project_guardrail",
"add_project_skill",
"add_related_plan",
"add_skill",
"annotate_tool",
"archive_thought",
"backfill_embeddings",
"capture_thought",
"create_plan",
"create_project",
"delete_chat_history",
"delete_plan",
"delete_thought",
"describe_tools",
"get_active_project",
"get_chat_history",
"get_learning",
"get_plan",
"get_project_context",
"get_thought",
"get_upcoming_maintenance",
"get_version_info",
"link_thoughts",
"list_chat_histories",
"list_files",
"list_guardrails",
"list_learnings",
"list_plan_guardrails",
"list_plan_skills",
"list_plans",
"list_project_guardrails",
"list_project_skills",
"list_projects",
"list_skills",
"list_thoughts",
"load_file",
"log_maintenance",
"recall_context",
"related_thoughts",
"remove_guardrail",
"remove_plan_dependency",
"remove_plan_guardrail",
"remove_plan_skill",
"remove_project_guardrail",
"remove_project_skill",
"remove_related_plan",
"remove_skill",
"reparse_thought_metadata",
"retry_failed_metadata",
"save_chat_history",
"save_file",
"search_maintenance_history",
"search_thoughts",
"set_active_project",
"summarize_thoughts",
"thought_stats",
"update_plan",
"update_thought",
"upload_file",
}