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

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.mjs CHANGED
@@ -10972,12 +10972,13 @@ var MessageVideoInternal = memo(function MessageVideoInternal2({ src, className
10972
10972
  "div",
10973
10973
  {
10974
10974
  className: cn(
10975
- "my-2 relative rounded-xl overflow-hidden bg-black group/video cursor-pointer",
10975
+ "my-2 relative inline-block rounded-xl overflow-hidden bg-black group/video cursor-pointer",
10976
10976
  "border border-zinc-800/60 agent-sdk-light:border-zinc-200",
10977
10977
  "transition-shadow duration-200 hover:shadow-xl hover:shadow-black/20",
10978
+ "max-w-full",
10978
10979
  className
10979
10980
  ),
10980
- style: { maxHeight: "400px", maxWidth: "100%" },
10981
+ style: { maxHeight: "400px" },
10981
10982
  onMouseEnter: handleMouseEnter,
10982
10983
  onMouseLeave: handleMouseLeave,
10983
10984
  onClick: handleClick,
@@ -22464,10 +22465,7 @@ var AgentChat = React20__default.forwardRef(({
22464
22465
  working = { ...working, fileId: uploadRes.key, url };
22465
22466
  }
22466
22467
  }
22467
- const rendered = await resolveAssetForDisplay(working, config);
22468
- if (rendered?.url) {
22469
- urls.push(rendered.url);
22470
- }
22468
+ urls.push(working.url);
22471
22469
  }
22472
22470
  if (urls.length > 0) {
22473
22471
  const imageMarkdown = urls.map((url) => `![image](${url})`).join("\n");