Files
continue/core/tools/implementations/viewRepoMap.ts
2025-02-04 17:26:56 -08:00

18 lines
431 B
TypeScript

import generateRepoMap from "../../util/generateRepoMap";
import { ToolImpl } from ".";
export const viewRepoMapImpl: ToolImpl = async (args, extras) => {
const repoMap = await generateRepoMap(extras.llm, extras.ide, {
outputRelativeUriPaths: true,
includeSignatures: true,
});
return [
{
name: "Repo map",
description: "Overview of the repository structure",
content: repoMap,
},
];
};