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

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,16 @@
1
1
  # @ai-sdk/harness-claude-code
2
2
 
3
+ ## 1.0.197
4
+
5
+ ### Patch Changes
6
+
7
+ - d84bf24: fix(harness-claude-code): stop the recorded bridge before respawning on a failed attach
8
+ - d507814: fix(harness-claude-code): drop a subagent's host tool call record once its result passes
9
+ - Updated dependencies [7fffff9]
10
+ - Updated dependencies [3334b4d]
11
+ - Updated dependencies [d84bf24]
12
+ - @ai-sdk/harness@1.0.193
13
+
3
14
  ## 1.0.196
4
15
 
5
16
  ### 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") {