refactor: return complete tool results inline

This commit is contained in:
morluto
2026-09-29 07:08:46 +08:00
parent 2160d4fae5
commit 0d96275b68
535 changed files with 4084 additions and 13537 deletions
@@ -286,7 +286,6 @@ const resolveReplayResult = (
const right =
response.right === undefined ? undefined : commitOutcomes(response.right);
return {
schema_version: 1,
plan_digest: prepared.publicPlan.plan_digest,
outcomes: [...outcomes, ...(right ?? [])],
...(right === undefined
-1
View File
@@ -121,7 +121,6 @@ export const terminationResult = (
}));
const differential = prepared.publicPlan.right !== undefined;
return {
schema_version: 1,
plan_digest: prepared.publicPlan.plan_digest,
outcomes: [...outcomes, ...(differential ? outcomes : [])],
...(differential