This commit is contained in:
Dax Raad
2025-06-11 12:58:06 -04:00
parent 6cf8784ecf
commit 636133e6cb
10 changed files with 29 additions and 14 deletions

View File

@@ -98,7 +98,11 @@ export const ListTool = Tool.define({
const output = `${searchPath}/\n` + renderDir(".", 0)
return {
metadata: { count: files.length, truncated: files.length >= 1000 },
metadata: {
count: files.length,
truncated: files.length >= 1000,
title: path.relative(app.path.root, searchPath),
},
output,
}
},