@tutti-os/agent-gui 0.0.96 → 0.0.97

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 (45) hide show
  1. package/dist/agent-conversation/index.js +6 -6
  2. package/dist/agent-gui.js +13 -13
  3. package/dist/agent-message-center/index.js +6 -6
  4. package/dist/app/renderer/agentactivity.css +0 -7
  5. package/dist/{chunk-E4HQUTM3.js → chunk-3EAANCKF.js} +2 -2
  6. package/dist/{chunk-AGT7MUTV.js → chunk-3RYZYA72.js} +4 -4
  7. package/dist/{chunk-3XXBDYAI.js → chunk-4VBKQY24.js} +3 -3
  8. package/dist/{chunk-O3Q5SIJH.js → chunk-4YVGHJIE.js} +7 -115
  9. package/dist/chunk-4YVGHJIE.js.map +1 -0
  10. package/dist/{chunk-QVBF5BN5.js → chunk-74CPYRWJ.js} +2 -2
  11. package/dist/{chunk-JKIZA7EJ.js → chunk-AAFTWZV7.js} +5 -5
  12. package/dist/{chunk-WMNS4MAQ.js → chunk-AO2FDYAL.js} +3 -3
  13. package/dist/{chunk-WKSFPJHZ.js → chunk-BIS4QRX7.js} +104 -71
  14. package/dist/chunk-BIS4QRX7.js.map +1 -0
  15. package/dist/{chunk-W6WAGPMD.js → chunk-K2NURZ7V.js} +5 -1
  16. package/dist/chunk-K2NURZ7V.js.map +1 -0
  17. package/dist/{chunk-3Y3F7CS5.js → chunk-NRJEKWLY.js} +2 -2
  18. package/dist/{chunk-XPFHJMZP.js → chunk-P2BCMPTX.js} +3 -3
  19. package/dist/{chunk-2HJEOO7W.js → chunk-SQTSLCMV.js} +10 -40
  20. package/dist/chunk-SQTSLCMV.js.map +1 -0
  21. package/dist/{chunk-4PQPJ5OY.js → chunk-XGGKHIQA.js} +2 -2
  22. package/dist/{chunk-H5F3QSCF.js → chunk-Y57VNTVM.js} +2 -2
  23. package/dist/context-mention-palette/index.js +8 -8
  24. package/dist/i18n/index.d.ts +4 -0
  25. package/dist/i18n/index.js +2 -2
  26. package/dist/index.js +13 -13
  27. package/dist/mention-search.js +6 -6
  28. package/dist/workbench/index.js +3 -3
  29. package/dist/workbench/sessionTitle.js +3 -3
  30. package/dist/workspace-agent-generated-files.js +4 -4
  31. package/package.json +14 -14
  32. package/dist/chunk-2HJEOO7W.js.map +0 -1
  33. package/dist/chunk-O3Q5SIJH.js.map +0 -1
  34. package/dist/chunk-W6WAGPMD.js.map +0 -1
  35. package/dist/chunk-WKSFPJHZ.js.map +0 -1
  36. /package/dist/{chunk-E4HQUTM3.js.map → chunk-3EAANCKF.js.map} +0 -0
  37. /package/dist/{chunk-AGT7MUTV.js.map → chunk-3RYZYA72.js.map} +0 -0
  38. /package/dist/{chunk-3XXBDYAI.js.map → chunk-4VBKQY24.js.map} +0 -0
  39. /package/dist/{chunk-QVBF5BN5.js.map → chunk-74CPYRWJ.js.map} +0 -0
  40. /package/dist/{chunk-JKIZA7EJ.js.map → chunk-AAFTWZV7.js.map} +0 -0
  41. /package/dist/{chunk-WMNS4MAQ.js.map → chunk-AO2FDYAL.js.map} +0 -0
  42. /package/dist/{chunk-3Y3F7CS5.js.map → chunk-NRJEKWLY.js.map} +0 -0
  43. /package/dist/{chunk-XPFHJMZP.js.map → chunk-P2BCMPTX.js.map} +0 -0
  44. /package/dist/{chunk-4PQPJ5OY.js.map → chunk-XGGKHIQA.js.map} +0 -0
  45. /package/dist/{chunk-H5F3QSCF.js.map → chunk-Y57VNTVM.js.map} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  normalizeAgentGUIProviderIdentity,
4
4
  resolveAgentGUIExplicitConversationTitle,
5
5
  resolveAgentGUIProviderDisplayLabel
6
- } from "./chunk-4PQPJ5OY.js";
6
+ } from "./chunk-XGGKHIQA.js";
7
7
 
8
8
  // workbench/sessionTitle.ts
9
9
  function resolveAgentGuiWorkbenchHeaderTitle({
@@ -85,4 +85,4 @@ export {
85
85
  resolveAgentGuiWorkbenchHeaderTitle,
86
86
  resolveAgentGuiWorkbenchSessionTitle
87
87
  };
88
- //# sourceMappingURL=chunk-3Y3F7CS5.js.map
88
+ //# sourceMappingURL=chunk-NRJEKWLY.js.map
@@ -2,14 +2,14 @@ import {
2
2
  AgentGUIConversation_styles_default,
3
3
  MessageSquareMoreIcon,
4
4
  extractAgentMcpToolTarget
5
- } from "./chunk-2HJEOO7W.js";
5
+ } from "./chunk-SQTSLCMV.js";
6
6
  import {
7
7
  getOptionalAgentHostApi,
8
8
  useOptionalAgentHostApi
9
9
  } from "./chunk-MASXZENX.js";
10
10
  import {
11
11
  translate
12
- } from "./chunk-E4HQUTM3.js";
12
+ } from "./chunk-3EAANCKF.js";
13
13
 
14
14
  // shared/engine/useEngineSelector.ts
15
15
  import { useSyncExternalStoreWithSelector } from "use-sync-external-store/with-selector.js";
@@ -1312,4 +1312,4 @@ export {
1312
1312
  isPromptRequestIdTitle,
1313
1313
  AgentInteractivePromptSurface
1314
1314
  };
1315
- //# sourceMappingURL=chunk-XPFHJMZP.js.map
1315
+ //# sourceMappingURL=chunk-P2BCMPTX.js.map
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  translate,
11
11
  useTranslation
12
- } from "./chunk-E4HQUTM3.js";
12
+ } from "./chunk-3EAANCKF.js";
13
13
  import {
14
14
  getAgentCustomMentionKind
15
15
  } from "./chunk-5X7YDOC6.js";
@@ -1675,7 +1675,7 @@ function parseMentionLink(href, rawLabel, workspaceAppIcons = [], agentTargets =
1675
1675
  }
1676
1676
  const label = rawLabel.trim().replace(/^@+/, "").trim() || (kind === "workspace-app-factory" ? appFactoryFallbackLabel : "");
1677
1677
  if (kind === "pasted-text") {
1678
- return { kind, label, participant: label, summary: "" };
1678
+ return { kind, label };
1679
1679
  }
1680
1680
  if (kind === "workspace-app" || kind === "workspace-app-factory") {
1681
1681
  const appId = kind === "workspace-app" ? entityId : "";
@@ -1690,9 +1690,7 @@ function parseMentionLink(href, rawLabel, workspaceAppIcons = [], agentTargets =
1690
1690
  workspaceAppIcons,
1691
1691
  workspaceId
1692
1692
  })
1693
- } : {},
1694
- participant: label,
1695
- summary: ""
1693
+ } : {}
1696
1694
  };
1697
1695
  }
1698
1696
  if (kind === "agent-target") {
@@ -1708,9 +1706,7 @@ function parseMentionLink(href, rawLabel, workspaceAppIcons = [], agentTargets =
1708
1706
  agentProviderId,
1709
1707
  kind,
1710
1708
  label: targetLabel,
1711
- iconUrl: target?.iconUrl?.trim() || managedAgentRoundedIconUrl(agentProviderId),
1712
- participant: targetLabel,
1713
- summary: ""
1709
+ iconUrl: target?.iconUrl?.trim() || managedAgentRoundedIconUrl(agentProviderId)
1714
1710
  };
1715
1711
  }
1716
1712
  if (kind === "workspace-reference") {
@@ -1726,25 +1722,18 @@ function parseMentionLink(href, rawLabel, workspaceAppIcons = [], agentTargets =
1726
1722
  label,
1727
1723
  iconUrl: mention.scope?.icon?.trim() || appIconUrl,
1728
1724
  fileCount: referenceFileCountFromParam(mention.scope?.count ?? null),
1729
- participant: label,
1730
- referenceSource: source || void 0,
1731
- summary: ""
1725
+ referenceSource: source || void 0
1732
1726
  };
1733
1727
  }
1734
1728
  if (kind === "workspace-issue") {
1735
1729
  return {
1736
1730
  kind,
1737
- label,
1738
- participant: label,
1739
- summary: ""
1731
+ label
1740
1732
  };
1741
1733
  }
1742
- const sessionLabel = parseSessionMentionLabel(label);
1743
1734
  return {
1744
1735
  kind,
1745
- label,
1746
- participant: sessionLabel.participant,
1747
- summary: sessionLabel.summary
1736
+ label
1748
1737
  };
1749
1738
  }
1750
1739
  function referenceFileCountFromParam(value) {
@@ -1768,19 +1757,6 @@ function resolveWorkspaceAppMentionIconUrl(input) {
1768
1757
  );
1769
1758
  return exactMatch?.iconUrl?.trim() || fallbackMatch?.iconUrl?.trim() || void 0;
1770
1759
  }
1771
- function parseSessionMentionLabel(label) {
1772
- const dottedParts = label.split("\xB7").map((part) => part.trim()).filter(Boolean);
1773
- if (dottedParts.length >= 3) {
1774
- return {
1775
- participant: `${dottedParts[0]} & ${dottedParts[1]}`,
1776
- summary: dottedParts.slice(2).join(" ")
1777
- };
1778
- }
1779
- return {
1780
- participant: label,
1781
- summary: ""
1782
- };
1783
- }
1784
1760
  function markdownLinkEndIndex(content, index) {
1785
1761
  if (content[index] !== "[") {
1786
1762
  return -1;
@@ -3472,7 +3448,7 @@ function MentionLink({
3472
3448
  ...props
3473
3449
  }) {
3474
3450
  "use memo";
3475
- const tooltipText = mention.kind === "session" ? `${mention.participant}${mention.summary ? ` ${mention.summary}` : ""}`.trim() : mention.label;
3451
+ const tooltipText = mention.label;
3476
3452
  const { ref: mainRef, overflowing } = useTextOverflow(tooltipText);
3477
3453
  const link = /* @__PURE__ */ jsxs5(
3478
3454
  "a",
@@ -3534,13 +3510,7 @@ function MentionLink({
3534
3510
  "aria-hidden": "true"
3535
3511
  }
3536
3512
  ) }),
3537
- mention.kind === "session" ? /* @__PURE__ */ jsxs5("span", { className: "tsh-agent-object-token__main", ref: mainRef, children: [
3538
- /* @__PURE__ */ jsx7("span", { className: "tsh-agent-object-token__participant", children: mention.participant }),
3539
- mention.summary ? /* @__PURE__ */ jsxs5("span", { className: "tsh-agent-object-token__summary", children: [
3540
- " ",
3541
- mention.summary
3542
- ] }) : null
3543
- ] }) : /* @__PURE__ */ jsx7("span", { className: "tsh-agent-object-token__main", ref: mainRef, children: mention.label })
3513
+ /* @__PURE__ */ jsx7("span", { className: "tsh-agent-object-token__main", ref: mainRef, children: mention.label })
3544
3514
  ]
3545
3515
  }
3546
3516
  );
@@ -3830,4 +3800,4 @@ export {
3830
3800
  AgentMessageMarkdown,
3831
3801
  CustomScrollArea
3832
3802
  };
3833
- //# sourceMappingURL=chunk-2HJEOO7W.js.map
3803
+ //# sourceMappingURL=chunk-SQTSLCMV.js.map