feat(shell): always include exit_code in subprocess_result XML

This commit is contained in:
Aishanee Shah
2026-02-17 23:07:43 +00:00
parent f8b3d14d26
commit 0643481cbd
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -365,7 +365,7 @@ export class ShellToolInvocation extends BaseToolInvocation<
parts.push(`<error>${finalError}</error>`);
}
if (result.exitCode !== null && result.exitCode !== 0) {
if (result.exitCode !== null) {
parts.push(`<exit_code>${result.exitCode}</exit_code>`);
}