return;
}
const content: ToolResultContent[] = [...tracked.content];
if (toolOutput !== undefined) {
content.push({ type: ToolResultContentType.Text, text: toolOutput });
}
// Attach the pty terminal reference for shell tools before folding in
// SDK result content, so a `shell_exit` lands its completion data on
// the terminal block (skip if any terminal block was already added
// while the tool was running).
const ptyTerminalUri = isShellTool(tracked.toolName) ? this._shellManager?.getTerminalUriForToolCall(e.data.toolCallId) : undefined;
let retireNonPtyShellTracking = !!ptyTerminalUri;