This commit is contained in:
Timothy Jaeryang Baek committed 2026-08-23 15:06:30 -04:00
1 parent 78f48a21ee
commit e623c02acc
4 files changed
+76 -7

No files matched your search

@@ -169,7 +169,7 @@ function getInlineFileFromToolOutput(callItem?: OutputItem, resultItem?: OutputI
}
const args = parseJSONStringValue(callItem.arguments) as Record<string, unknown>;
if (!args || typeof args !== 'object' || args.inline !== true) {
if (!args || typeof args !== 'object') {
return null;
}
@@ -179,6 +179,7 @@ function getInlineFileFromToolOutput(callItem?: OutputItem, resultItem?: OutputI
typeof result !== 'object' ||
result.type !== 'file' ||
result.source !== 'open_terminal' ||
result.displayed !== true ||
result.exists === false ||
!result.path ||
!result.terminal_selector