@dreb/coding-agent 2.21.0 → 2.22.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.
@@ -746,6 +746,16 @@ export class AgentSession {
746
746
  };
747
747
  await this._extensionRunner.emit(extensionEvent);
748
748
  }
749
+ else if (event.type === "stream_retry") {
750
+ const extensionEvent = {
751
+ type: "stream_retry",
752
+ attempt: event.attempt,
753
+ maxAttempts: event.maxAttempts,
754
+ error: event.error,
755
+ discardedPartial: event.discardedPartial,
756
+ };
757
+ await this._extensionRunner.emit(extensionEvent);
758
+ }
749
759
  else if (event.type === "tool_execution_start") {
750
760
  const extensionEvent = {
751
761
  type: "tool_execution_start",