@malette/agent-sdk 0.1.2 → 0.1.3-beta.1

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
@@ -11000,12 +11000,13 @@ var MessageVideoInternal = React20.memo(function MessageVideoInternal2({ src, cl
11000
11000
  "div",
11001
11001
  {
11002
11002
  className: cn(
11003
- "my-2 relative rounded-xl overflow-hidden bg-black group/video cursor-pointer",
11003
+ "my-2 relative inline-block rounded-xl overflow-hidden bg-black group/video cursor-pointer",
11004
11004
  "border border-zinc-800/60 agent-sdk-light:border-zinc-200",
11005
11005
  "transition-shadow duration-200 hover:shadow-xl hover:shadow-black/20",
11006
+ "max-w-full",
11006
11007
  className
11007
11008
  ),
11008
- style: { maxHeight: "400px", maxWidth: "100%" },
11009
+ style: { maxHeight: "400px" },
11009
11010
  onMouseEnter: handleMouseEnter,
11010
11011
  onMouseLeave: handleMouseLeave,
11011
11012
  onClick: handleClick,
@@ -22492,10 +22493,6 @@ var AgentChat = React20__namespace.default.forwardRef(({
22492
22493
  working = { ...working, fileId: uploadRes.key, url };
22493
22494
  }
22494
22495
  }
22495
- const rendered = await resolveAssetForDisplay(working, config);
22496
- if (rendered?.url) {
22497
- urls.push(rendered.url);
22498
- }
22499
22496
  }
22500
22497
  if (urls.length > 0) {
22501
22498
  const imageMarkdown = urls.map((url) => `![image](${url})`).join("\n");