@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.cjs +7 -7
- package/dist/index.d.cts +7 -8
- package/dist/index.d.ts +7 -8
- package/dist/index.js +7 -7
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1033,7 +1033,8 @@ interface WebSearchContentProps {
|
|
|
1033
1033
|
className?: string;
|
|
1034
1034
|
}
|
|
1035
1035
|
/**
|
|
1036
|
-
* Renders web search
|
|
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
|
|
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 /
|
|
1882
|
-
*
|
|
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
|
|
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
|
|
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 /
|
|
1882
|
-
*
|
|
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
|
*/
|