Skip to content

Commit 06fd857

Browse files
committed
Read subtree: empty string path is same as '.'
1 parent 9d4b076 commit 06fd857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/tools/params/tool/read-subtree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const endsAgentStep = true
99
const inputSchema = z
1010
.object({
1111
paths: z
12-
.array(z.string().min(1))
12+
.array(z.string())
1313
.optional()
1414
.describe(
1515
`List of paths to directories or files. Relative to the project root. If omitted, the entire project tree is used.`,

0 commit comments

Comments
 (0)