@trops/dash-core 0.1.379 → 0.1.380
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.esm.js +7 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -56612,6 +56612,13 @@ var MessageBubble = function MessageBubble(_ref2) {
|
|
|
56612
56612
|
textParts.push(content);
|
|
56613
56613
|
}
|
|
56614
56614
|
var _text = textParts.join("");
|
|
56615
|
+
|
|
56616
|
+
// Hide empty assistant bubbles (e.g., tool-use-only responses from
|
|
56617
|
+
// the CLI backend where content is [] and tool calls are tracked
|
|
56618
|
+
// separately). Nothing useful to show the user.
|
|
56619
|
+
if (!isStreaming && !_text && toolBlocks.length === 0) {
|
|
56620
|
+
return null;
|
|
56621
|
+
}
|
|
56615
56622
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
56616
56623
|
className: "mb-4",
|
|
56617
56624
|
children: [/*#__PURE__*/jsxRuntime.jsx("div", {
|