From 979bad3e64e3fff43d41094a79c73deb31e82ec8 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Wed, 11 Jun 2025 12:35:20 -0400 Subject: [PATCH] sync --- packages/opencode/src/session/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/opencode/src/session/index.ts b/packages/opencode/src/session/index.ts index 5e7d34b0..ebe18ac4 100644 --- a/packages/opencode/src/session/index.ts +++ b/packages/opencode/src/session/index.ts @@ -492,9 +492,9 @@ export namespace Session { ) if (match && match.type === "tool-invocation") { match.toolInvocation = { - args: match.toolInvocation.args, - toolCallId: match.toolInvocation.toolCallId, - toolName: match.toolInvocation.toolName, + args: value.args, + toolCallId: value.toolCallId, + toolName: value.toolName, state: "result", result: value.result as string, }