big format

This commit is contained in:
Dax Raad
2025-11-06 13:03:02 -05:00
parent 28b66f7b78
commit ed8913324e
183 changed files with 2629 additions and 2497 deletions
+6 -1
View File
@@ -24,7 +24,12 @@ export namespace ToolRegistry {
const glob = new Bun.Glob("tool/*.{js,ts}")
for (const dir of await Config.directories()) {
for await (const match of glob.scan({ cwd: dir, absolute: true, followSymlinks: true, dot: true })) {
for await (const match of glob.scan({
cwd: dir,
absolute: true,
followSymlinks: true,
dot: true,
})) {
const namespace = path.basename(match, path.extname(match))
const mod = await import(match)
for (const [id, def] of Object.entries<ToolDefinition>(mod)) {