@ai-sdk/harness-claude-code 1.0.196 → 1.0.198

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @ai-sdk/harness-claude-code
2
2
 
3
+ ## 1.0.198
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [aa7cb79]
8
+ - @ai-sdk/provider-utils@5.0.84
9
+ - @ai-sdk/harness@1.0.194
10
+
11
+ ## 1.0.197
12
+
13
+ ### Patch Changes
14
+
15
+ - d84bf24: fix(harness-claude-code): stop the recorded bridge before respawning on a failed attach
16
+ - d507814: fix(harness-claude-code): drop a subagent's host tool call record once its result passes
17
+ - Updated dependencies [7fffff9]
18
+ - Updated dependencies [3334b4d]
19
+ - Updated dependencies [d84bf24]
20
+ - @ai-sdk/harness@1.0.193
21
+
3
22
  ## 1.0.196
4
23
 
5
24
  ### Patch Changes
@@ -1007,6 +1007,10 @@ function createEmitStreamEvent({ state, emit, emitWarning, emitTerminalError, on
1007
1007
  type: "raw",
1008
1008
  rawValue: msg
1009
1009
  });
1010
+ const content = msg.message?.content;
1011
+ if (type === "user" && Array.isArray(content)) {
1012
+ for (const block of content) if (block.type === "tool_result" && typeof block.tool_use_id === "string") state.mcpHandlerCalls.delete(block.tool_use_id);
1013
+ }
1010
1014
  return;
1011
1015
  }
1012
1016
  if (type === "stream_event") {