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