@ensembleapp/client-sdk 0.0.27 → 0.0.29

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.js CHANGED
@@ -24419,7 +24419,7 @@ function ToolCallDisplay({ toolPart, className = "" }) {
24419
24419
  const hasError = state === "output-error" || state === "output-denied";
24420
24420
  const input = "input" in toolPart ? toolPart.input : void 0;
24421
24421
  const output = "output" in toolPart ? toolPart.output : void 0;
24422
- const hasInput = input !== void 0;
24422
+ const hasInput = input !== void 0 && input !== null && !(typeof input === "object" && Object.keys(input).length === 0);
24423
24423
  const canExpand = hasInput || hasOutput;
24424
24424
  return /* @__PURE__ */ jsxs5("div", { className: `tool-call-item ${className}`, children: [
24425
24425
  /* @__PURE__ */ jsxs5("div", { className: "tool-call-header", children: [