@zhijiewang/openharness 2.28.0 → 2.29.0

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.
@@ -165,10 +165,10 @@ export const AgentTool = {
165
165
  }
166
166
  else if (event.type === "tool_output_delta") {
167
167
  outputChunks.push(event.chunk);
168
- if (context.onOutputChunk && context.callId) {
168
+ const forwarded = forwardInnerEvent(event, context);
169
+ if (!forwarded && context.onOutputChunk && context.callId) {
169
170
  context.onOutputChunk(context.callId, event.chunk);
170
171
  }
171
- forwardInnerEvent(event, context);
172
172
  }
173
173
  else if (event.type === "tool_call_start" ||
174
174
  event.type === "tool_call_complete" ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhijiewang/openharness",
3
- "version": "2.28.0",
3
+ "version": "2.29.0",
4
4
  "description": "Open-source terminal coding agent. Works with any LLM.",
5
5
  "type": "module",
6
6
  "bin": {