@agentiffai/design 1.3.13 → 1.3.14

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.
@@ -826,6 +826,7 @@ function AssistantThinking({
826
826
  AssistantThinking.displayName = "AssistantThinking";
827
827
  function parseMarkdown(text) {
828
828
  if (!text) return [];
829
+ text = text.replace(/<!--TOOL_CALL:[^>]*-->/g, "").replace(/__TOOL_CALL__:[^:]+:\{[^}]*(?:\{[^}]*\}[^}]*)*\}/g, "");
829
830
  const elements = [];
830
831
  let key = 0;
831
832
  const paragraphs = text.split(/\n\n+/);