fix: align agent exec config

This commit is contained in:
Peter Steinberger
2026-01-18 04:37:15 +00:00
parent 55aff22274
commit 1ae415e395
5 changed files with 37 additions and 35 deletions

View File

@@ -192,7 +192,9 @@ export const handleBridgeEvent = async (
const runId = typeof obj.runId === "string" ? obj.runId.trim() : "";
const command = typeof obj.command === "string" ? obj.command.trim() : "";
const exitCode =
typeof obj.exitCode === "number" && Number.isFinite(obj.exitCode) ? obj.exitCode : undefined;
typeof obj.exitCode === "number" && Number.isFinite(obj.exitCode)
? obj.exitCode
: undefined;
const timedOut = obj.timedOut === true;
const success = obj.success === true;
const output = typeof obj.output === "string" ? obj.output.trim() : "";