@yeaft/webchat-agent 1.0.669 → 1.0.670

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.
@@ -1 +1 @@
1
- {"version":"1.0.669"}
1
+ {"version":"1.0.670"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeaft/webchat-agent",
3
- "version": "1.0.669",
3
+ "version": "1.0.670",
4
4
  "description": "Remote worker agent for Yeaft Web Code Agent — connects the native Yeaft engine, CLI providers, and workbench tools",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -667,7 +667,11 @@ export class OpenAIResponsesAdapter extends LLMAdapter {
667
667
  }
668
668
  if (!sawTerminalEvent) {
669
669
  if (hasToolItems()) {
670
- throw new LLMToolInputError('OpenAI tool stream ended before terminal event');
670
+ // Calls remain buffered until terminal validation, so clean EOF here
671
+ // is a transport failure, not proof of invalid tool input. Let the
672
+ // engine apply its bounded retry/continuation policy; known malformed
673
+ // batches above (and in catch) still fail closed without replay.
674
+ throw new LLMServerError('OpenAI tool stream ended before terminal event', 0);
671
675
  }
672
676
  throw new LLMServerError('OpenAI stream ended before terminal event', 0);
673
677
  }