Retire the spelling catalogue: the words check lists it and skips module paths in imports

This commit is contained in:
2026-10-28 12:17:21 +01:00
parent 774fcdfa93
commit 9bb85a37f2
12 changed files with 32 additions and 22 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ export function getCatalogueTools(graph: Graph): ToolDefinition[] {
{
name: "catalog_modules",
description:
"Every module this mesh holds, with the commit the catalogue considers current and where it came from.",
"Every module this mesh holds, with the commit the catalog considers current and where it came from.",
input: {},
run: async () => ({ modules: await graph.modules() }),
},
@@ -28,7 +28,7 @@ export function getCatalogueTools(graph: Graph): ToolDefinition[] {
const module = String(args.module ?? "");
if (!module) return { error: "name a module" };
const found = await graph.show(module, args.commit ? String(args.commit) : undefined);
return found ? { module: found } : { error: `the catalogue holds no ${module}` };
return found ? { module: found } : { error: `the catalog holds no ${module}` };
},
},
{