@myagentroam/agent 0.11.10 → 0.11.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.
@@ -1126,6 +1126,10 @@ async function* webSocketResponseEvents(input) {
1126
1126
  return;
1127
1127
  }
1128
1128
  }
1129
+ // Intentionally treat a close without a terminal model event as retryable EOF,
1130
+ // including close code 1009. Close codes remain diagnostic evidence rather than
1131
+ // a separate model-error classification. The shared attempt budget still bounds
1132
+ // retries; this policy does not shrink the request or guarantee recovery.
1129
1133
  if (!terminal && !input.signal.aborted)
1130
1134
  throw new MarAgentError('MAR_AGENT_MODEL_PROTOCOL_ERROR', 'OpenAI Responses WebSocket closed before a terminal event.', {
1131
1135
  details: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myagentroam/agent",
3
- "version": "0.11.10",
3
+ "version": "0.11.12",
4
4
  "description": "Embeddable MAR coding agent SDK and CLI.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",