@tutti-os/agent-gui 0.0.119 → 0.0.120

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 (48) hide show
  1. package/README.md +5 -1
  2. package/dist/{AgentGUI-CYveF1B2.d.ts → AgentGUI-CyBTKkac.d.ts} +2 -0
  3. package/dist/{AgentRichTextReadonly-AY36C7TV.js → AgentRichTextReadonly-P5WHSY4B.js} +5 -5
  4. package/dist/agent-conversation/index.js +7 -7
  5. package/dist/agent-gui.d.ts +1 -1
  6. package/dist/agent-gui.js +14 -14
  7. package/dist/agent-message-center/index.js +6 -6
  8. package/dist/{chunk-T3UX55MU.js → chunk-53PHARWE.js} +4 -4
  9. package/dist/{chunk-VLPWO73G.js → chunk-AAWKGMN6.js} +2 -2
  10. package/dist/{chunk-AMO3EB7V.js → chunk-CV5OJIU2.js} +2 -2
  11. package/dist/{chunk-EPNL55ZQ.js → chunk-FLI7ZUPB.js} +2 -2
  12. package/dist/{chunk-HSKELKXR.js → chunk-IFAS3RD4.js} +5 -5
  13. package/dist/{chunk-EVB5GEYF.js → chunk-K2FNTLHK.js} +4 -4
  14. package/dist/{chunk-DVXXZWYX.js → chunk-KACVD2GZ.js} +5 -1
  15. package/dist/chunk-KACVD2GZ.js.map +1 -0
  16. package/dist/{chunk-GJJGS2IX.js → chunk-KHQEUEIJ.js} +3 -3
  17. package/dist/{chunk-II3W3UEJ.js → chunk-LGLNCL6D.js} +4 -4
  18. package/dist/{chunk-2BVN2IMI.js → chunk-OKGXHKJ2.js} +2 -2
  19. package/dist/{chunk-NNIXG27Q.js → chunk-RCGW3TMB.js} +3 -3
  20. package/dist/{chunk-WZ4UX6OO.js → chunk-XKWMF7FA.js} +58 -25
  21. package/dist/chunk-XKWMF7FA.js.map +1 -0
  22. package/dist/{chunk-DXXKHL4G.js → chunk-XXACYFIR.js} +2 -2
  23. package/dist/{chunk-5G3OFCWH.js → chunk-ZCNZ53CF.js} +2 -2
  24. package/dist/context-mention-palette/index.js +7 -7
  25. package/dist/i18n/index.d.ts +4 -0
  26. package/dist/i18n/index.js +2 -2
  27. package/dist/index.d.ts +2 -2
  28. package/dist/index.js +14 -14
  29. package/dist/mention-search.js +5 -5
  30. package/dist/workbench/contribution.js +3 -3
  31. package/dist/workbench/index.js +3 -3
  32. package/dist/workbench/sessionTitle.js +2 -2
  33. package/package.json +14 -14
  34. package/dist/chunk-DVXXZWYX.js.map +0 -1
  35. package/dist/chunk-WZ4UX6OO.js.map +0 -1
  36. /package/dist/{AgentRichTextReadonly-AY36C7TV.js.map → AgentRichTextReadonly-P5WHSY4B.js.map} +0 -0
  37. /package/dist/{chunk-T3UX55MU.js.map → chunk-53PHARWE.js.map} +0 -0
  38. /package/dist/{chunk-VLPWO73G.js.map → chunk-AAWKGMN6.js.map} +0 -0
  39. /package/dist/{chunk-AMO3EB7V.js.map → chunk-CV5OJIU2.js.map} +0 -0
  40. /package/dist/{chunk-EPNL55ZQ.js.map → chunk-FLI7ZUPB.js.map} +0 -0
  41. /package/dist/{chunk-HSKELKXR.js.map → chunk-IFAS3RD4.js.map} +0 -0
  42. /package/dist/{chunk-EVB5GEYF.js.map → chunk-K2FNTLHK.js.map} +0 -0
  43. /package/dist/{chunk-GJJGS2IX.js.map → chunk-KHQEUEIJ.js.map} +0 -0
  44. /package/dist/{chunk-II3W3UEJ.js.map → chunk-LGLNCL6D.js.map} +0 -0
  45. /package/dist/{chunk-2BVN2IMI.js.map → chunk-OKGXHKJ2.js.map} +0 -0
  46. /package/dist/{chunk-NNIXG27Q.js.map → chunk-RCGW3TMB.js.map} +0 -0
  47. /package/dist/{chunk-DXXKHL4G.js.map → chunk-XXACYFIR.js.map} +0 -0
  48. /package/dist/{chunk-5G3OFCWH.js.map → chunk-ZCNZ53CF.js.map} +0 -0
@@ -6,14 +6,14 @@ import {
6
6
  import {
7
7
  getOptionalAgentHostApi,
8
8
  useOptionalAgentHostApi
9
- } from "./chunk-2BVN2IMI.js";
9
+ } from "./chunk-OKGXHKJ2.js";
10
10
  import {
11
11
  managedAgentRoundedIconUrl
12
12
  } from "./chunk-W6TO6K2X.js";
13
13
  import {
14
14
  translate,
15
15
  useTranslation
16
- } from "./chunk-5G3OFCWH.js";
16
+ } from "./chunk-ZCNZ53CF.js";
17
17
  import {
18
18
  resolveAgentWorkspaceFileVisualKind
19
19
  } from "./chunk-PJP5BUU6.js";
@@ -3737,4 +3737,4 @@ export {
3737
3737
  AgentMessageMarkdown,
3738
3738
  CustomScrollArea
3739
3739
  };
3740
- //# sourceMappingURL=chunk-GJJGS2IX.js.map
3740
+ //# sourceMappingURL=chunk-KHQEUEIJ.js.map
@@ -5,7 +5,7 @@ import {
5
5
  agentMentionFilterLabel,
6
6
  agentMentionGroupLabel,
7
7
  mentionGroupExpandCount
8
- } from "./chunk-T3UX55MU.js";
8
+ } from "./chunk-53PHARWE.js";
9
9
  import {
10
10
  resolveAgentMentionFileThumbnailUrl,
11
11
  resolveAgentMentionFileVisualKind
@@ -13,13 +13,13 @@ import {
13
13
  import {
14
14
  userAvatarPlaceholderUrl,
15
15
  workspaceAgentActivityStatusLabel
16
- } from "./chunk-DXXKHL4G.js";
16
+ } from "./chunk-XXACYFIR.js";
17
17
  import {
18
18
  managedAgentRoundedIconUrl
19
19
  } from "./chunk-W6TO6K2X.js";
20
20
  import {
21
21
  translate
22
- } from "./chunk-5G3OFCWH.js";
22
+ } from "./chunk-ZCNZ53CF.js";
23
23
 
24
24
  // agent-gui/agentGuiNode/AgentFileMentionPalette.tsx
25
25
  import {
@@ -516,4 +516,4 @@ export {
516
516
  AgentFileMentionPalette,
517
517
  AgentContextMentionPalette
518
518
  };
519
- //# sourceMappingURL=chunk-II3W3UEJ.js.map
519
+ //# sourceMappingURL=chunk-LGLNCL6D.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  translate
3
- } from "./chunk-5G3OFCWH.js";
3
+ } from "./chunk-ZCNZ53CF.js";
4
4
  import {
5
5
  agentGUIProviderIdentityDisplayName,
6
6
  resolveMigratedAgentGUIProviderIdentity
@@ -212,4 +212,4 @@ export {
212
212
  getOptionalAgentHostApi,
213
213
  workspaceAgentProviderLabel
214
214
  };
215
- //# sourceMappingURL=chunk-2BVN2IMI.js.map
215
+ //# sourceMappingURL=chunk-OKGXHKJ2.js.map
@@ -9,7 +9,7 @@ import {
9
9
  resolveAgentGUIConversationTitleDisplayPrompt,
10
10
  resolveAgentGuiWorkbenchHeaderTitle,
11
11
  resolveAgentGuiWorkbenchSessionTitle
12
- } from "./chunk-AMO3EB7V.js";
12
+ } from "./chunk-CV5OJIU2.js";
13
13
  import {
14
14
  createAgentGuiWorkbenchNodeStateSource,
15
15
  migrateLegacyAgentGuiWorkbenchState,
@@ -276,7 +276,7 @@ function useAgentGuiWorkbenchBodyRenderError(nodeId) {
276
276
 
277
277
  // workbench/header.ts
278
278
  var LazyAgentRichTextReadonly = lazy(
279
- () => import("./AgentRichTextReadonly-AY36C7TV.js").then((module) => ({
279
+ () => import("./AgentRichTextReadonly-P5WHSY4B.js").then((module) => ({
280
280
  default: module.AgentRichTextReadonly
281
281
  }))
282
282
  );
@@ -1482,4 +1482,4 @@ export {
1482
1482
  AGENT_GUI_WORKBENCH_OPEN_EXTERNAL_IMPORT_EVENT,
1483
1483
  createAgentGuiWorkbenchContribution
1484
1484
  };
1485
- //# sourceMappingURL=chunk-NNIXG27Q.js.map
1485
+ //# sourceMappingURL=chunk-RCGW3TMB.js.map
@@ -12,7 +12,7 @@ import {
12
12
  resolveAgentGuiSessionProviderFlatIconUrl,
13
13
  resolveNextAgentGUIConversationRailWidthPx,
14
14
  shouldAutoCollapseAgentGUIConversationRail
15
- } from "./chunk-NNIXG27Q.js";
15
+ } from "./chunk-RCGW3TMB.js";
16
16
  import {
17
17
  AGENT_PROVIDERS,
18
18
  AGENT_PROVIDER_LABEL,
@@ -29,7 +29,7 @@ import {
29
29
  resolveAgentGUIFirstUserMessageDisplayPrompt,
30
30
  resolveAgentGUIProviderDisplayLabel,
31
31
  resolveAgentGUIProviderIdentity
32
- } from "./chunk-AMO3EB7V.js";
32
+ } from "./chunk-CV5OJIU2.js";
33
33
  import {
34
34
  resolveAgentGuiWorkbenchProviderLabel
35
35
  } from "./chunk-R2ZADXRB.js";
@@ -64,7 +64,7 @@ import {
64
64
  toLocalShortDateTime,
65
65
  updateAgentComposerDraft,
66
66
  useProjectedAgentConversation
67
- } from "./chunk-HSKELKXR.js";
67
+ } from "./chunk-IFAS3RD4.js";
68
68
  import {
69
69
  agentRichTextContentToPromptText,
70
70
  createAgentRichTextInputExtensions,
@@ -74,7 +74,7 @@ import {
74
74
  plainTextToAgentRichTextInlineContent,
75
75
  skillDescriptionForDisplay,
76
76
  skillTriggerForPrefix
77
- } from "./chunk-VLPWO73G.js";
77
+ } from "./chunk-AAWKGMN6.js";
78
78
  import {
79
79
  openAgentEnvPanel
80
80
  } from "./chunk-VMQNG2KI.js";
@@ -86,7 +86,7 @@ import {
86
86
  AgentFileMentionPalette,
87
87
  agentMentionItemKey,
88
88
  isAgentMentionItemDisabled
89
- } from "./chunk-II3W3UEJ.js";
89
+ } from "./chunk-LGLNCL6D.js";
90
90
  import {
91
91
  normalizeAgentGUIAgents,
92
92
  projectAgentGUIAgentsToInternalTargets
@@ -97,7 +97,7 @@ import {
97
97
  DEFAULT_AGENT_MENTION_FILTER,
98
98
  agentGuiScheduler,
99
99
  buildWorkspaceAgentActivityListViewModel
100
- } from "./chunk-T3UX55MU.js";
100
+ } from "./chunk-53PHARWE.js";
101
101
  import {
102
102
  AGENT_RICH_TEXT_CARET_ANCHOR,
103
103
  createAgentSessionMarkdownLink,
@@ -108,7 +108,7 @@ import {
108
108
  mentionItemToAttrs,
109
109
  normalizeAgentSessionMentionTitle,
110
110
  parseMentionItemFromHref
111
- } from "./chunk-EPNL55ZQ.js";
111
+ } from "./chunk-FLI7ZUPB.js";
112
112
  import {
113
113
  AgentInteractivePromptSurface,
114
114
  PLAN_IMPLEMENTATION_ACTION_FEEDBACK,
@@ -118,7 +118,7 @@ import {
118
118
  dispatchAgentPlanPromptAction,
119
119
  latestPlanTurnId,
120
120
  planImplementationPromptFromPlanTurn
121
- } from "./chunk-EVB5GEYF.js";
121
+ } from "./chunk-K2FNTLHK.js";
122
122
  import {
123
123
  useEngineSelector
124
124
  } from "./chunk-2RQM7PJN.js";
@@ -127,7 +127,7 @@ import {
127
127
  ZoomableImage,
128
128
  normalizeAgentApprovalPurpose,
129
129
  resolveWorkspaceLinkAction
130
- } from "./chunk-GJJGS2IX.js";
130
+ } from "./chunk-KHQEUEIJ.js";
131
131
  import {
132
132
  AgentTargetPresentationProvider,
133
133
  cn,
@@ -145,7 +145,7 @@ import {
145
145
  useAgentHostApi,
146
146
  useOptionalAgentActivityRuntime,
147
147
  useOptionalAgentHostApi
148
- } from "./chunk-2BVN2IMI.js";
148
+ } from "./chunk-OKGXHKJ2.js";
149
149
  import {
150
150
  MANAGED_AGENT_ICON_FALLBACK_URL,
151
151
  MANAGED_AGENT_ICON_URLS,
@@ -155,7 +155,7 @@ import {
155
155
  AgentGuiI18nProvider,
156
156
  translate,
157
157
  useTranslation
158
- } from "./chunk-5G3OFCWH.js";
158
+ } from "./chunk-ZCNZ53CF.js";
159
159
  import {
160
160
  isBetaAgentProvider,
161
161
  normalizeManagedAgentProvider
@@ -23597,6 +23597,16 @@ var add_lined_bold_default = 'data:image/svg+xml,<svg width="24" height="24" vie
23597
23597
  // app/renderer/assets/icons/@-bold-lined.svg
23598
23598
  var bold_lined_default = 'data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_3781_26699)">%0A<path d="M7.23227 1.81049C9.52757 0.736535 12.1185 0.468536 14.5848 1.05073C17.0512 1.63299 19.2485 3.03141 20.8211 5.0185C22.3939 7.00572 23.2498 9.46568 23.2498 11.9999V12.9999C23.2498 14.1271 22.8018 15.2078 22.0047 16.0048C21.2077 16.8018 20.127 17.2499 18.9998 17.2499C17.8727 17.2499 16.792 16.8018 15.995 16.0048C15.8984 15.9082 15.8067 15.8076 15.7206 15.7031C14.7698 16.6583 13.454 17.2499 11.9998 17.2499C9.10043 17.2499 6.74985 14.8994 6.74985 11.9999C6.74988 9.10053 9.10045 6.75003 11.9998 6.74995C13.0401 6.74995 14.0093 7.05327 14.825 7.57514C14.999 7.09414 15.4588 6.75001 15.9998 6.74995C16.6902 6.74995 17.2498 7.30962 17.2498 7.99995V12.9999C17.2498 13.464 17.4344 13.9091 17.7625 14.2372C18.0907 14.5654 18.5358 14.7499 18.9998 14.7499C19.464 14.7499 19.909 14.5654 20.2372 14.2372C20.5653 13.9091 20.7498 13.4641 20.7498 12.9999V11.9999C20.7498 10.029 20.0843 8.11582 18.8612 6.57026C17.638 5.0248 15.9288 3.93724 14.0106 3.48432C12.0923 3.03151 10.0771 3.23983 8.29184 4.07514C6.50657 4.91055 5.05517 6.32388 4.17368 8.08686C3.29224 9.84974 3.03167 11.8587 3.43442 13.788C3.83728 15.7175 4.88014 17.4547 6.3934 18.7177C7.90663 19.9806 9.802 20.6957 11.7723 20.747C13.7427 20.7982 15.673 20.1826 17.2498 18.9999C17.8021 18.5858 18.5856 18.6978 18.9998 19.2499C19.4141 19.8022 19.3021 20.5857 18.7498 20.9999C16.7225 22.5204 14.2412 23.3118 11.7079 23.246C9.17468 23.1802 6.73743 22.2612 4.79184 20.6376C2.8463 19.0139 1.50518 16.7803 0.987154 14.2997C0.469201 11.819 0.804003 9.2354 1.93735 6.9687C3.0707 4.702 4.9369 2.88459 7.23227 1.81049ZM11.9998 9.24994C10.4812 9.25003 9.24988 10.4812 9.24985 11.9999C9.24985 13.5187 10.4811 14.7499 11.9998 14.7499C13.5186 14.7499 14.7498 13.5187 14.7498 11.9999C14.7498 10.4812 13.5186 9.24994 11.9998 9.24994Z" fill="black"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_3781_26699">%0A<rect width="24" height="24" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';
23599
23599
 
23600
+ // agent-gui/agentGuiNode/composer/handoffTargetPresentation.ts
23601
+ function resolveHandoffTargetOwnershipLabel(target, labels) {
23602
+ const ownerLabel = target.ownerLabel?.trim() ?? "";
23603
+ const isShared = ownerLabel.length > 0 || target.badge != null;
23604
+ if (!isShared) {
23605
+ return labels.self;
23606
+ }
23607
+ return ownerLabel ? `${ownerLabel} \xB7 ${labels.shared}` : labels.shared;
23608
+ }
23609
+
23600
23610
  // agent-gui/agentGuiNode/composer/ComposerFooter.tsx
23601
23611
  import { Fragment as Fragment10, jsx as jsx35, jsxs as jsxs25 } from "react/jsx-runtime";
23602
23612
  function ComposerFooter({
@@ -23802,19 +23812,36 @@ function ComposerFooter({
23802
23812
  SelectItem2,
23803
23813
  {
23804
23814
  value: target.targetId,
23805
- className: cn(AgentGUINode_styles_default.composerMenuItem, "gap-2"),
23815
+ className: cn(AgentGUINode_styles_default.composerMenuItem, "gap-2 py-1.5"),
23806
23816
  disabled: target.disabled === true,
23807
- children: /* @__PURE__ */ jsxs25("span", { className: "flex min-w-0 items-center gap-1.5", children: [
23808
- /* @__PURE__ */ jsx35(
23809
- "img",
23810
- {
23811
- alt: "",
23812
- "aria-hidden": "true",
23813
- className: "size-4 shrink-0 rounded-[4px]",
23814
- src: resolveComposerProviderTargetIconUrl(target)
23815
- }
23816
- ),
23817
- /* @__PURE__ */ jsx35("span", { className: "min-w-0 truncate", children: target.label })
23817
+ children: /* @__PURE__ */ jsxs25("span", { className: "flex min-w-0 items-center gap-2", children: [
23818
+ /* @__PURE__ */ jsxs25("span", { className: "relative size-5 shrink-0", children: [
23819
+ /* @__PURE__ */ jsx35(
23820
+ "img",
23821
+ {
23822
+ alt: "",
23823
+ "aria-hidden": "true",
23824
+ className: "size-5 rounded-[4px]",
23825
+ src: resolveComposerProviderTargetIconUrl(target)
23826
+ }
23827
+ ),
23828
+ target.badge?.iconUrl ? /* @__PURE__ */ jsx35(
23829
+ "img",
23830
+ {
23831
+ alt: "",
23832
+ "aria-hidden": "true",
23833
+ className: "absolute -bottom-0.5 -right-0.5 size-2.5 rounded-full border border-[var(--background-fronted)] bg-[var(--background-fronted)] object-cover",
23834
+ src: target.badge.iconUrl
23835
+ }
23836
+ ) : null
23837
+ ] }),
23838
+ /* @__PURE__ */ jsxs25("span", { className: "flex min-w-0 flex-col gap-0.5", children: [
23839
+ /* @__PURE__ */ jsx35("span", { className: "min-w-0 truncate", children: target.label }),
23840
+ /* @__PURE__ */ jsx35("span", { className: "min-w-0 truncate text-[11px] leading-none text-[var(--agent-gui-text-secondary)]", children: resolveHandoffTargetOwnershipLabel(target, {
23841
+ self: labels.handoffTargetSelf,
23842
+ shared: labels.handoffTargetShared
23843
+ }) })
23844
+ ] })
23818
23845
  ] })
23819
23846
  },
23820
23847
  `${target.provider}:${target.targetId}`
@@ -32944,6 +32971,8 @@ function useAgentGUIDetailModel(input) {
32944
32971
  handoffConversation: labels.handoffConversation,
32945
32972
  handoffConversationTooltip: labels.handoffConversationTooltip,
32946
32973
  handoffConversationMenu: labels.handoffConversationMenu,
32974
+ handoffTargetSelf: labels.handoffTargetSelf,
32975
+ handoffTargetShared: labels.handoffTargetShared,
32947
32976
  providerSwitchLabel: labels.providerSwitchLabel,
32948
32977
  projectLocked: labels.projectLocked,
32949
32978
  projectMissingDescription: labels.projectMissingDescription,
@@ -32967,6 +32996,8 @@ function useAgentGUIDetailModel(input) {
32967
32996
  labels.handoffConversation,
32968
32997
  labels.handoffConversationTooltip,
32969
32998
  labels.handoffConversationMenu,
32999
+ labels.handoffTargetSelf,
33000
+ labels.handoffTargetShared,
32970
33001
  labels.inheritedUnavailable,
32971
33002
  labels.loadingConversation,
32972
33003
  labels.modelLabel,
@@ -36152,7 +36183,9 @@ function useAgentGUIViewLabels(input) {
36152
36183
  handoffConversationTooltip: t(
36153
36184
  "agentHost.agentGui.handoffConversationTooltip"
36154
36185
  ),
36155
- handoffConversationMenu: t("agentHost.agentGui.handoffConversationMenu")
36186
+ handoffConversationMenu: t("agentHost.agentGui.handoffConversationMenu"),
36187
+ handoffTargetSelf: t("agentHost.agentGui.handoffTargetSelf"),
36188
+ handoffTargetShared: t("agentHost.agentGui.handoffTargetShared")
36156
36189
  }),
36157
36190
  [
36158
36191
  displayProviderLabel,
@@ -36862,4 +36895,4 @@ export {
36862
36895
  resolveAgentGUIAgentTarget,
36863
36896
  AgentGUI
36864
36897
  };
36865
- //# sourceMappingURL=chunk-WZ4UX6OO.js.map
36898
+ //# sourceMappingURL=chunk-XKWMF7FA.js.map