Elffuss BraidHub

kikocis/continue public

3ff29c567dd0 · 431 BRawPermalink
1import generateRepoMap from "../../util/generateRepoMap";
2
3import { ToolImpl } from ".";
4
5export const viewRepoMapImpl: ToolImpl = async (args, extras) => {
6 const repoMap = await generateRepoMap(extras.llm, extras.ide, {
7 outputRelativeUriPaths: true,
8 includeSignatures: true,
9 });
10 return [
11 {
12 name: "Repo map",
13 description: "Overview of the repository structure",
14 content: repoMap,
15 },
16 ];
17};