feat(cli): refine tool display aesthetics for legacy UI parity

This commit is contained in:
Michael Bleigh
2026-04-14 00:05:45 -07:00
parent de9a98c6b5
commit af5dfc445a
3 changed files with 29 additions and 26 deletions
+3 -2
View File
@@ -934,13 +934,14 @@ export class ShellToolInvocation extends BaseToolInvocation<
return {
llmContent,
display: {
name: this.getDisplayTitle(),
name: this._toolDisplayName,
description: this.getDescription(),
resultSummary: displayResultSummary,
result:
typeof returnDisplay === 'string'
? { type: 'text', text: returnDisplay }
: undefined,
: // TODO: Add support for terminal display type (AnsiOutput)
undefined,
},
returnDisplay,
data,