Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

Merge pull request #1253 from anfedoro/agent/fix-search-code-utf8

Martin Vogel9a547b33998b
diff --cc tests/test_mcp.c
index 51f4f4bdb,f26965f24..14d6d066f
--- a/tests/test_mcp.c
+++ b/tests/test_mcp.c
@@@ -10963,10 -10063,12 +11207,14 @@@ SUITE(mcp)
RUN_TEST(tool_get_code_snippet_missing_qn);
RUN_TEST(tool_get_code_snippet_not_found);
RUN_TEST(tool_search_code_missing_pattern);
+ RUN_TEST(tool_search_code_negative_limit_is_not_echoed_issue1511);
+ RUN_TEST(tool_search_code_limit_declares_a_minimum_issue1511);
RUN_TEST(tool_search_code_no_project);
RUN_TEST(search_code_multi_word);
+ RUN_TEST(search_code_full_preserves_utf8_source);
+ RUN_TEST(search_code_raw_match_preserves_utf8_content);
+ RUN_TEST(search_code_context_preserves_utf8_context);
+ RUN_TEST(search_code_invalid_utf8_still_returns_valid_json);
RUN_TEST(search_code_scoped_path_with_spaces_issue687);
#ifdef _WIN32
RUN_TEST(search_code_scoped_path_with_cjk_root_issue903);