@distri/core 0.3.4 → 0.3.5

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.mjs CHANGED
@@ -2192,7 +2192,7 @@ var Agent = class _Agent {
2192
2192
  const enhancedParams = this.enhanceParamsWithTools(params, tools);
2193
2193
  const a2aStream = this.client.sendMessageStream(this.agentDefinition.id, enhancedParams);
2194
2194
  const self = this;
2195
- return (async function* () {
2195
+ return async function* () {
2196
2196
  try {
2197
2197
  for await (const event of a2aStream) {
2198
2198
  const converted = decodeA2AStreamEvent(event);
@@ -2225,7 +2225,7 @@ var Agent = class _Agent {
2225
2225
  };
2226
2226
  yield runError;
2227
2227
  }
2228
- })();
2228
+ }();
2229
2229
  }
2230
2230
  /**
2231
2231
  * Validate that required external tools are registered before invoking.