@copilotz/chat-adapter 0.9.33 → 0.9.34

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.js CHANGED
@@ -1582,7 +1582,7 @@ var prepareHydratedMessages = async (rawMessages, options = {}) => {
1582
1582
  const metadata = msg.metadata ?? void 0;
1583
1583
  if (!metadata) return;
1584
1584
  try {
1585
- options.onToolOutput?.(metadata.output === void 0 ? metadata : { output: metadata.output });
1585
+ options.onToolOutput?.(metadata);
1586
1586
  } catch (error) {
1587
1587
  console.warn("Error processing tool output during hydration", msg.id, error);
1588
1588
  }