Implement bounded repository navigation with repo-lens
CI / build (debug, map[compiler:appleclang os:macos-latest]) (push) Canceled after 0s
CI / build (debug, map[compiler:clang os:ubuntu-latest]) (push) Canceled after 0s
CI / build (debug, map[compiler:gcc os:ubuntu-latest]) (push) Canceled after 0s
CI / build (debug, map[compiler:msvc os:windows-latest]) (push) Canceled after 0s
CI / build (release, map[compiler:appleclang os:macos-latest]) (push) Canceled after 0s
CI / build (release, map[compiler:clang os:ubuntu-latest]) (push) Canceled after 0s
CI / build (release, map[compiler:gcc os:ubuntu-latest]) (push) Canceled after 0s
CI / build (release, map[compiler:msvc os:windows-latest]) (push) Canceled after 0s
CI / build (sanitizers, map[compiler:appleclang os:macos-latest]) (push) Canceled after 0s
CI / build (sanitizers, map[compiler:clang os:ubuntu-latest]) (push) Canceled after 0s
CI / build (sanitizers, map[compiler:gcc os:ubuntu-latest]) (push) Canceled after 0s
CI / build (sanitizers, map[compiler:msvc os:windows-latest]) (push) Canceled after 0s

- Add map, find, and around commands with repository root discovery
- Stream literal ripgrep searches with match counts and result limits
- Add direct subprocess execution and explicit error returns
- Disable C++ exceptions and add navigation tests
- Support CMake installation and document builds and deployment
- Add a reusable agent skill and document skill discovery
This commit is contained in:
wilmc committed 2026-10-09 13:15:00 +02:00
1 parent 70c43b6a68
commit a0fbb9f50e
22 files changed
+1185 -112

No files matched your search

+10 -1
View File
@@ -3,11 +3,17 @@ include(gtest)
add_executable(
repo-lens-test
test_main.cpp
navigation_test.cpp
../src/navigation.cpp
../src/process.cpp
../src/repo_tool_around.cpp
../src/repo_tool_find.cpp
../src/repo_tool_map.cpp
)
target_link_libraries(
repo-lens-test
gtest_main
gtest
)
if(ENABLE_ALL_REASONABLE_WARNINGS)
@@ -29,3 +35,6 @@ endif()
include(GoogleTest)
gtest_discover_tests(repo-lens-test)
target_include_directories(repo-lens-test PRIVATE "${PROJECT_SOURCE_DIR}/include")
target_compile_definitions(repo-lens-test PRIVATE REPO_TEST_EXECUTABLE="$<TARGET_FILE:repo-lens-test>")