@erdoai/ui 0.1.71 → 0.1.72

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.d.cts CHANGED
@@ -1033,7 +1033,8 @@ interface WebSearchContentProps {
1033
1033
  className?: string;
1034
1034
  }
1035
1035
  /**
1036
- * Renders web search results as a list of clickable cards.
1036
+ * Renders web search result links inside a subtle bordered card.
1037
+ * No header — ToolGroupContent provides the collapsible header.
1037
1038
  */
1038
1039
  declare function WebSearchContent({ item, className }: WebSearchContentProps): react_jsx_runtime.JSX.Element | null;
1039
1040
 
@@ -1042,7 +1043,8 @@ interface WebParseContentProps {
1042
1043
  className?: string;
1043
1044
  }
1044
1045
  /**
1045
- * Renders parsed web page content with title, description, and markdown body.
1046
+ * Renders parsed web page content inside a bordered card.
1047
+ * No header — ToolGroupContent provides the collapsible header.
1046
1048
  */
1047
1049
  declare function WebParseContent({ item, className }: WebParseContentProps): react_jsx_runtime.JSX.Element | null;
1048
1050
 
@@ -1877,13 +1879,10 @@ declare function completeStreamingContent(state: AgentStreamState): AgentStreamS
1877
1879
  * - Non-empty text (from message content delta)
1878
1880
  * - Parsed JSON chunks (incremental JSON streaming)
1879
1881
  * - A final result (from message content result)
1882
+ * - A visible, non-hidden tool_call step (e.g. web search, URL parse)
1880
1883
  *
1881
- * Excludes tool_invocation / tool_result / agent_invocation content types
1882
- * which are structural, not user-visible assistant output.
1883
- *
1884
- * Does NOT count step tree rows (tool_call, agent steps) — those are structural
1885
- * indicators, not assistant content. This ensures typing stays visible until the
1886
- * first actual text/chart/output token arrives.
1884
+ * Excludes tool_invocation / agent_invocation content types which are structural.
1885
+ * Visible tool_result content (web_search, web_parse, etc.) IS renderable output.
1887
1886
  *
1888
1887
  * Use this to gate typing indicators: keep typing visible until this returns true.
1889
1888
  */
package/dist/index.d.ts CHANGED
@@ -1033,7 +1033,8 @@ interface WebSearchContentProps {
1033
1033
  className?: string;
1034
1034
  }
1035
1035
  /**
1036
- * Renders web search results as a list of clickable cards.
1036
+ * Renders web search result links inside a subtle bordered card.
1037
+ * No header — ToolGroupContent provides the collapsible header.
1037
1038
  */
1038
1039
  declare function WebSearchContent({ item, className }: WebSearchContentProps): react_jsx_runtime.JSX.Element | null;
1039
1040
 
@@ -1042,7 +1043,8 @@ interface WebParseContentProps {
1042
1043
  className?: string;
1043
1044
  }
1044
1045
  /**
1045
- * Renders parsed web page content with title, description, and markdown body.
1046
+ * Renders parsed web page content inside a bordered card.
1047
+ * No header — ToolGroupContent provides the collapsible header.
1046
1048
  */
1047
1049
  declare function WebParseContent({ item, className }: WebParseContentProps): react_jsx_runtime.JSX.Element | null;
1048
1050
 
@@ -1877,13 +1879,10 @@ declare function completeStreamingContent(state: AgentStreamState): AgentStreamS
1877
1879
  * - Non-empty text (from message content delta)
1878
1880
  * - Parsed JSON chunks (incremental JSON streaming)
1879
1881
  * - A final result (from message content result)
1882
+ * - A visible, non-hidden tool_call step (e.g. web search, URL parse)
1880
1883
  *
1881
- * Excludes tool_invocation / tool_result / agent_invocation content types
1882
- * which are structural, not user-visible assistant output.
1883
- *
1884
- * Does NOT count step tree rows (tool_call, agent steps) — those are structural
1885
- * indicators, not assistant content. This ensures typing stays visible until the
1886
- * first actual text/chart/output token arrives.
1884
+ * Excludes tool_invocation / agent_invocation content types which are structural.
1885
+ * Visible tool_result content (web_search, web_parse, etc.) IS renderable output.
1887
1886
  *
1888
1887
  * Use this to gate typing indicators: keep typing visible until this returns true.
1889
1888
  */