fix(coding-agent): stabilize edit diff previews closes #3134
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
* and delegate execute() to them
|
||||
* - renderCall() controls what's shown when the tool is invoked
|
||||
* - renderResult() controls what's shown after execution completes
|
||||
* - renderShell: "self" lets a tool render its own outer shell instead of
|
||||
* using the default boxed shell from ToolExecutionComponent
|
||||
* - The `expanded` flag in renderResult indicates whether the user has
|
||||
* toggled the tool output open (via ctrl+e or clicking)
|
||||
*
|
||||
@@ -155,6 +157,7 @@ export default function (pi: ExtensionAPI) {
|
||||
label: "edit",
|
||||
description: originalEdit.description,
|
||||
parameters: originalEdit.parameters,
|
||||
renderShell: "self",
|
||||
|
||||
async execute(toolCallId, params, signal, onUpdate) {
|
||||
return originalEdit.execute(toolCallId, params, signal, onUpdate);
|
||||
|
||||
Reference in New Issue
Block a user