summaryrefslogtreecommitdiff
path: root/packages/core/src/tools/ls.ts
diff options
context:
space:
mode:
authorConrad Irwin <[email protected]>2025-07-17 16:25:23 -0600
committerGitHub <[email protected]>2025-07-17 22:25:23 +0000
commit761ffc63388201373e5d16f36c2af09be71b5933 (patch)
tree3012681d84b27034ed9ceaa5df2eae6aeb753779 /packages/core/src/tools/ls.ts
parent12401898f1f541a8a7919c94b4616fb0263dcce5 (diff)
Zed integration (#4266)
Co-authored-by: Agus Zubiaga <[email protected]> Co-authored-by: Ben Brandt <[email protected]> Co-authored-by: mkorwel <[email protected]>
Diffstat (limited to 'packages/core/src/tools/ls.ts')
-rw-r--r--packages/core/src/tools/ls.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/core/src/tools/ls.ts b/packages/core/src/tools/ls.ts
index 9fb60072..fc4f06dd 100644
--- a/packages/core/src/tools/ls.ts
+++ b/packages/core/src/tools/ls.ts
@@ -6,7 +6,7 @@
import fs from 'fs';
import path from 'path';
-import { BaseTool, ToolResult } from './tools.js';
+import { BaseTool, Icon, ToolResult } from './tools.js';
import { Type } from '@google/genai';
import { SchemaValidator } from '../utils/schemaValidator.js';
import { makeRelative, shortenPath } from '../utils/paths.js';
@@ -74,6 +74,7 @@ export class LSTool extends BaseTool<LSToolParams, ToolResult> {
LSTool.Name,
'ReadFolder',
'Lists the names of files and subdirectories directly within a specified directory path. Can optionally ignore entries matching provided glob patterns.',
+ Icon.Folder,
{
properties: {
path: {