reactbridge-sdk 0.2.10 → 0.2.12

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/dist/index.esm.js CHANGED
@@ -127,7 +127,10 @@ class ReactBridgeAPI {
127
127
  sendToolResult(sessionId, toolResult, originalRequest) {
128
128
  return __awaiter(this, void 0, void 0, function* () {
129
129
  // Second API call with tool result
130
- const request = Object.assign(Object.assign({}, originalRequest), { sessionId, query: `[Tool Result] ${toolResult.summary}` });
130
+ // Pass the FULL ToolResult object to the orchestrator, not just the summary
131
+ // The orchestrator needs: status, result_items, and detailed_data for sequential execution
132
+ const toolResultJson = JSON.stringify(toolResult, null, 2);
133
+ const request = Object.assign(Object.assign({}, originalRequest), { sessionId, query: `[Tool Result] ${toolResultJson}` });
131
134
  return this.sendMessage(request);
132
135
  });
133
136
  }