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

+12 -10
View File
@@ -2,6 +2,7 @@
#define REPO_LENSE_TOOL_INTERFACE_HPP_INCLUDED
#include <cstdint>
#include <span>
#include <string_view>
#pragma once
@@ -10,20 +11,21 @@ namespace rl
{
using exit_code = std::int32_t;
using arguments = std::span<const std::string_view>;
class IRepoLensTool
{
public:
IRepoLensTool() noexcept = default;
virtual ~IRepoLensTool() noexcept = default;
IRepoLensTool(const IRepoLensTool&) noexcept = delete;
IRepoLensTool(IRepoLensTool&&) noexcept = delete;
auto operator=(const IRepoLensTool&) noexcept -> IRepoLensTool& = delete;
auto operator=(IRepoLensTool&&) noexcept -> IRepoLensTool& = delete;
public:
IRepoLensTool() noexcept = default;
virtual ~IRepoLensTool() noexcept = default;
IRepoLensTool(const IRepoLensTool&) noexcept = delete;
IRepoLensTool(IRepoLensTool&&) noexcept = delete;
auto operator=(const IRepoLensTool&) noexcept -> IRepoLensTool& = delete;
auto operator=(IRepoLensTool&&) noexcept -> IRepoLensTool& = delete;
[[nodiscard]] virtual auto execute(std::string_view arguments) noexcept -> exit_code = 0;
[[nodiscard]] virtual auto execute(arguments args) noexcept -> exit_code = 0;
};
}
} // namespace rl
#endif //REPO_LENSE_TOOL_INTERFACE_HPP_INCLUDED
#endif // REPO_LENSE_TOOL_INTERFACE_HPP_INCLUDED