mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-09 09:30:41 -07:00
fix(core): restore ReadFolder declarative display and add missing test snapshots
This commit is contained in:
@@ -288,6 +288,14 @@ 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,
|
||||
|
||||
Reference in New Issue
Block a user