14 lines
365 B
TypeScript
14 lines
365 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, {});
|
|
return [
|
|
{
|
|
name: "Repo map",
|
|
description: "Overview of the repository structure",
|
|
content: repoMap,
|
|
},
|
|
];
|
|
};
|