revert(core): restore intentional ReadFolder display behavior (result: null)

This commit is contained in:
Michael Bleigh
2026-04-12 16:45:23 -07:00
parent 46377d2133
commit e2b262181c
-8
View File
@@ -288,14 +288,6 @@ class LSToolInvocation extends BaseToolInvocation<LSToolParams, ToolResult> {
name: LS_DISPLAY_NAME,
description: this.getDescription(),
resultSummary: displayMessage,
result: {
type: 'text',
text: entries
.map(
(entry) => `${entry.isDirectory ? '[DIR] ' : ''}${entry.name}`,
)
.join('\n'),
},
},
returnDisplay: {
summary: displayMessage,