@tutti-os/agent-gui 0.0.34 → 0.0.36

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.
Files changed (32) hide show
  1. package/dist/{AgentMessageMarkdown-CU6gRvTm.d.ts → AgentMessageMarkdown-0sV8Biv3.d.ts} +0 -3
  2. package/dist/agent-conversation/index.d.ts +1 -1
  3. package/dist/agent-conversation/index.js +4 -4
  4. package/dist/agent-message-center/index.js +4 -4
  5. package/dist/app/renderer/agentactivity.css +1 -52
  6. package/dist/{chunk-RUO6SDNC.js → chunk-3LEUGNCT.js} +2 -2
  7. package/dist/{chunk-XPVYQUFK.js → chunk-CMXRLF64.js} +12 -6
  8. package/dist/chunk-CMXRLF64.js.map +1 -0
  9. package/dist/{chunk-TCKH7GZ6.js → chunk-JYH2ITNL.js} +4 -4
  10. package/dist/{chunk-TQFYX7KY.js → chunk-KFMD33UD.js} +1 -7
  11. package/dist/chunk-KFMD33UD.js.map +1 -0
  12. package/dist/{chunk-ZR2LZVN6.js → chunk-O56P2KSZ.js} +12 -9
  13. package/dist/chunk-O56P2KSZ.js.map +1 -0
  14. package/dist/{chunk-I5GHWK6X.js → chunk-U3D7YI47.js} +4 -4
  15. package/dist/{chunk-SV4UKLJO.js → chunk-UN4XGHLQ.js} +2 -2
  16. package/dist/{chunk-PVEFWBH6.js → chunk-VPC55T7P.js} +2 -2
  17. package/dist/context-mention-palette/index.js +5 -5
  18. package/dist/i18n/index.d.ts +0 -6
  19. package/dist/i18n/index.js +1 -1
  20. package/dist/index.d.ts +2 -2
  21. package/dist/index.js +128 -287
  22. package/dist/index.js.map +1 -1
  23. package/dist/workspace-agent-generated-files.js +2 -2
  24. package/package.json +12 -12
  25. package/dist/chunk-TQFYX7KY.js.map +0 -1
  26. package/dist/chunk-XPVYQUFK.js.map +0 -1
  27. package/dist/chunk-ZR2LZVN6.js.map +0 -1
  28. /package/dist/{chunk-RUO6SDNC.js.map → chunk-3LEUGNCT.js.map} +0 -0
  29. /package/dist/{chunk-TCKH7GZ6.js.map → chunk-JYH2ITNL.js.map} +0 -0
  30. /package/dist/{chunk-I5GHWK6X.js.map → chunk-U3D7YI47.js.map} +0 -0
  31. /package/dist/{chunk-SV4UKLJO.js.map → chunk-UN4XGHLQ.js.map} +0 -0
  32. /package/dist/{chunk-PVEFWBH6.js.map → chunk-VPC55T7P.js.map} +0 -0
@@ -10,14 +10,14 @@ import {
10
10
  resolveWorkspaceFileLinkAction,
11
11
  resolveWorkspaceFilePathCandidate,
12
12
  resolveWorkspaceLinkAction
13
- } from "./chunk-XPVYQUFK.js";
13
+ } from "./chunk-CMXRLF64.js";
14
14
  import {
15
15
  attrsToMentionItem,
16
16
  createAgentFileMentionExtension,
17
17
  formatAgentMentionMarkdown,
18
18
  mentionItemToAttrs,
19
19
  parseAgentMentionMarkdown
20
- } from "./chunk-PVEFWBH6.js";
20
+ } from "./chunk-VPC55T7P.js";
21
21
  import {
22
22
  fileChangeCountFromChanges,
23
23
  fileChangeEntriesFromChanges,
@@ -33,7 +33,7 @@ import {
33
33
  } from "./chunk-TYGL25EL.js";
34
34
  import {
35
35
  translate
36
- } from "./chunk-TQFYX7KY.js";
36
+ } from "./chunk-KFMD33UD.js";
37
37
 
38
38
  // shared/imageGenerationTool.ts
39
39
  var KNOWN_IMAGE_GENERATION_TOOL_NAMES = /* @__PURE__ */ new Set([
@@ -6824,30 +6824,33 @@ function AgentUserImageGrid({
6824
6824
  const images = message.images ?? [];
6825
6825
  const { loadingIds, sources: loadedImages } = useAgentMessageImageSources(images);
6826
6826
  const columnCount = Math.min(Math.max(images.length, 1), 4);
6827
+ const thumbnailWidth = images.length === 1 ? "160px" : "80px";
6827
6828
  return /* @__PURE__ */ jsx12(
6828
6829
  "div",
6829
6830
  {
6830
6831
  className: "grid justify-self-end gap-2",
6831
- style: { gridTemplateColumns: `repeat(${columnCount}, 80px)` },
6832
+ style: {
6833
+ gridTemplateColumns: `repeat(${columnCount}, ${thumbnailWidth})`
6834
+ },
6832
6835
  children: images.map((image) => {
6833
6836
  const src = loadedImages.get(image.id) ?? imageDataUrl(image);
6834
6837
  const loading = !src && loadingIds.has(image.id);
6835
6838
  return /* @__PURE__ */ jsx12(
6836
6839
  "div",
6837
6840
  {
6838
- className: "size-20 min-w-0 overflow-hidden rounded-[6px]",
6841
+ className: "max-h-20 min-w-0 overflow-hidden rounded-[6px]",
6839
6842
  children: src ? /* @__PURE__ */ jsx12(
6840
6843
  ZoomableImage,
6841
6844
  {
6842
6845
  src,
6843
6846
  alt: image.name?.trim() || "image",
6844
- className: "size-full object-cover",
6847
+ className: "block max-h-20 w-full rounded-[6px] object-contain",
6845
6848
  draggable: false
6846
6849
  }
6847
6850
  ) : loading ? /* @__PURE__ */ jsx12(
6848
6851
  "div",
6849
6852
  {
6850
- className: "flex size-full items-center justify-center bg-[color-mix(in_srgb,var(--text-primary)_6%,transparent)]",
6853
+ className: "flex h-20 w-full items-center justify-center bg-[color-mix(in_srgb,var(--text-primary)_6%,transparent)]",
6851
6854
  "data-testid": "agent-gui-message-image-loading",
6852
6855
  children: /* @__PURE__ */ jsx12(
6853
6856
  LoaderCircle,
@@ -6858,7 +6861,7 @@ function AgentUserImageGrid({
6858
6861
  }
6859
6862
  )
6860
6863
  }
6861
- ) : /* @__PURE__ */ jsx12("div", { className: "size-full animate-pulse bg-[color-mix(in_srgb,var(--text-primary)_8%,transparent)]" })
6864
+ ) : /* @__PURE__ */ jsx12("div", { className: "h-20 w-full animate-pulse bg-[color-mix(in_srgb,var(--text-primary)_8%,transparent)]" })
6862
6865
  },
6863
6866
  image.id
6864
6867
  );
@@ -12675,4 +12678,4 @@ export {
12675
12678
  AgentConversationFlow,
12676
12679
  useProjectedAgentConversation
12677
12680
  };
12678
- //# sourceMappingURL=chunk-ZR2LZVN6.js.map
12681
+ //# sourceMappingURL=chunk-O56P2KSZ.js.map