@tutti-os/agent-gui 0.0.81 → 0.0.82

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 (29) hide show
  1. package/dist/agent-conversation/index.js +5 -5
  2. package/dist/agent-message-center/index.js +4 -4
  3. package/dist/app/renderer/agentactivity.css +1 -3
  4. package/dist/app/renderer/assets/icons/agents/agent-colorful.png +0 -0
  5. package/dist/app/renderer/assets/icons/agents/cursor-colorful.png +0 -0
  6. package/dist/app/renderer/assets/icons/agents/opencode-rounded.png +0 -0
  7. package/dist/app/renderer/assets/icons/agents/provider-rail-opencode-colorful.png +0 -0
  8. package/dist/{chunk-YXFKEOEI.js → chunk-3PB2FL74.js} +2 -2
  9. package/dist/{chunk-RAFZ2LKU.js → chunk-CCJUGHQQ.js} +4 -4
  10. package/dist/{chunk-4SARLGMK.js → chunk-DBIJRSFG.js} +2 -2
  11. package/dist/{chunk-PGQ3RUPL.js → chunk-FYSYKWN6.js} +2 -2
  12. package/dist/{chunk-Z6YBAL2O.js → chunk-GE4CCOWC.js} +3 -3
  13. package/dist/{chunk-RIRFNGPB.js → chunk-LR4FA5X6.js} +2 -2
  14. package/dist/{chunk-7BMLQJMI.js → chunk-U4F3VJ5C.js} +3 -3
  15. package/dist/{chunk-SYWMKIRW.js → chunk-XDV4ZRVK.js} +5 -5
  16. package/dist/context-mention-palette/index.js +4 -4
  17. package/dist/index.js +58 -23
  18. package/dist/index.js.map +1 -1
  19. package/dist/workbench/contribution.js +2 -2
  20. package/dist/workbench/index.js +2 -2
  21. package/package.json +12 -12
  22. /package/dist/{chunk-YXFKEOEI.js.map → chunk-3PB2FL74.js.map} +0 -0
  23. /package/dist/{chunk-RAFZ2LKU.js.map → chunk-CCJUGHQQ.js.map} +0 -0
  24. /package/dist/{chunk-4SARLGMK.js.map → chunk-DBIJRSFG.js.map} +0 -0
  25. /package/dist/{chunk-PGQ3RUPL.js.map → chunk-FYSYKWN6.js.map} +0 -0
  26. /package/dist/{chunk-Z6YBAL2O.js.map → chunk-GE4CCOWC.js.map} +0 -0
  27. /package/dist/{chunk-RIRFNGPB.js.map → chunk-LR4FA5X6.js.map} +0 -0
  28. /package/dist/{chunk-7BMLQJMI.js.map → chunk-U4F3VJ5C.js.map} +0 -0
  29. /package/dist/{chunk-SYWMKIRW.js.map → chunk-XDV4ZRVK.js.map} +0 -0
@@ -4,18 +4,18 @@ import {
4
4
  AgentMentionSearchController,
5
5
  flattenAgentMentionPaletteEntries,
6
6
  groupStartKeys
7
- } from "../chunk-Z6YBAL2O.js";
7
+ } from "../chunk-GE4CCOWC.js";
8
8
  import "../chunk-Z7KHS6LK.js";
9
9
  import "../chunk-5BFYTHJB.js";
10
10
  import "../chunk-IBIMGLCD.js";
11
- import "../chunk-YXFKEOEI.js";
11
+ import "../chunk-3PB2FL74.js";
12
12
  import "../chunk-Y35GDLP2.js";
13
13
  import "../chunk-LUGELG5V.js";
14
- import "../chunk-RIRFNGPB.js";
14
+ import "../chunk-LR4FA5X6.js";
15
15
  import "../chunk-4HP6V2YA.js";
16
16
  import "../chunk-T56L2H2H.js";
17
17
  import "../chunk-PJP5BUU6.js";
18
- import "../chunk-SYWMKIRW.js";
18
+ import "../chunk-XDV4ZRVK.js";
19
19
  import "../chunk-5WZEOARY.js";
20
20
  import {
21
21
  AGENT_CONTEXT_MENTION_PROVIDER_IDS
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  resolveAgentGuiSessionProviderFlatIconUrl,
12
12
  resolveNextAgentGUIConversationRailWidthPx,
13
13
  shouldAutoCollapseAgentGUIConversationRail
14
- } from "./chunk-4SARLGMK.js";
14
+ } from "./chunk-DBIJRSFG.js";
15
15
  import {
16
16
  agentGUIDefaultTargetProviders,
17
17
  agentGUIProviderTargetRefsEqual,
@@ -32,7 +32,7 @@ import {
32
32
  import {
33
33
  AgentInteractivePromptSurface,
34
34
  approvalOptionDisplayLabel
35
- } from "./chunk-7BMLQJMI.js";
35
+ } from "./chunk-U4F3VJ5C.js";
36
36
  import {
37
37
  PLAN_IMPLEMENTATION_ACTION_FEEDBACK,
38
38
  PLAN_IMPLEMENTATION_ACTION_IMPLEMENT,
@@ -88,14 +88,14 @@ import {
88
88
  textPromptContent,
89
89
  toLocalShortDateTime,
90
90
  useProjectedAgentConversation
91
- } from "./chunk-RAFZ2LKU.js";
91
+ } from "./chunk-CCJUGHQQ.js";
92
92
  import {
93
93
  AgentMessageMarkdown,
94
94
  AgentTargetPresentationProvider,
95
95
  ZoomableImage,
96
96
  cn,
97
97
  resolveWorkspaceLinkAction
98
- } from "./chunk-PGQ3RUPL.js";
98
+ } from "./chunk-FYSYKWN6.js";
99
99
  import {
100
100
  openAgentEnvPanel
101
101
  } from "./chunk-PSLAWU25.js";
@@ -106,7 +106,7 @@ import {
106
106
  DEFAULT_AGENT_MENTION_FILTER,
107
107
  agentMentionItemKey,
108
108
  preloadAgentMentionBrowse
109
- } from "./chunk-Z6YBAL2O.js";
109
+ } from "./chunk-GE4CCOWC.js";
110
110
  import {
111
111
  buildWorkspaceAgentActivityListViewModel,
112
112
  isWorkspaceAgentUntitledTask
@@ -125,7 +125,7 @@ import {
125
125
  mentionItemToAttrs,
126
126
  normalizeAgentSessionMentionTitle,
127
127
  parseMentionItemFromHref
128
- } from "./chunk-YXFKEOEI.js";
128
+ } from "./chunk-3PB2FL74.js";
129
129
  import "./chunk-Y35GDLP2.js";
130
130
  import "./chunk-LUGELG5V.js";
131
131
  import {
@@ -150,7 +150,7 @@ import {
150
150
  useAgentHostApi,
151
151
  useOptionalAgentActivityRuntime,
152
152
  useOptionalAgentHostApi
153
- } from "./chunk-RIRFNGPB.js";
153
+ } from "./chunk-LR4FA5X6.js";
154
154
  import {
155
155
  WORKSPACE_AGENT_ACTIVITY_RUNTIME_SESSION_ORIGIN,
156
156
  createWorkspaceAgentActivityUserMessageIdFromClientSubmitId,
@@ -172,7 +172,7 @@ import {
172
172
  agentColorfulUrl,
173
173
  cursorColorfulUrl,
174
174
  normalizeManagedAgentProvider
175
- } from "./chunk-SYWMKIRW.js";
175
+ } from "./chunk-XDV4ZRVK.js";
176
176
  import "./chunk-5WZEOARY.js";
177
177
  import {
178
178
  AGENT_CONTEXT_MENTION_PROVIDER_IDS
@@ -16396,6 +16396,10 @@ import {
16396
16396
  Popover as Popover2,
16397
16397
  PopoverContent as PopoverContent2,
16398
16398
  PopoverTrigger,
16399
+ Select as Select3,
16400
+ SelectContent as SelectContent3,
16401
+ SelectItem as SelectItem3,
16402
+ SelectTrigger as SelectTrigger3,
16399
16403
  StatusDot,
16400
16404
  toastVariants,
16401
16405
  cn as cn3
@@ -28823,13 +28827,13 @@ function EmptyHeroTitle({
28823
28827
  const providerName = label.slice(providerStart, providerEnd);
28824
28828
  return /* @__PURE__ */ jsxs21(Fragment9, { children: [
28825
28829
  label.slice(0, providerStart),
28826
- canSwitchProvider ? /* @__PURE__ */ jsx34(
28827
- "select",
28830
+ canSwitchProvider ? /* @__PURE__ */ jsxs21(
28831
+ Select3,
28828
28832
  {
28829
28833
  value: selectedProviderTargetId,
28830
- onChange: (event) => {
28834
+ onValueChange: (nextTargetId) => {
28831
28835
  const target = enabledProviderTargets.find(
28832
- (candidate) => candidate.targetId === event.currentTarget.value
28836
+ (candidate) => candidate.targetId === nextTargetId
28833
28837
  );
28834
28838
  if (!target) {
28835
28839
  return;
@@ -28839,17 +28843,48 @@ function EmptyHeroTitle({
28839
28843
  providerTargetId: target.targetId
28840
28844
  });
28841
28845
  },
28842
- "aria-label": providerSelectLabel,
28843
- title: providerSelectLabel,
28844
- className: AgentGUINode_styles_default.emptyHeroProviderSelect,
28845
- children: enabledProviderTargets.map((target) => /* @__PURE__ */ jsx34(
28846
- "option",
28847
- {
28848
- value: target.targetId,
28849
- children: target.label
28850
- },
28851
- `${target.provider}:${target.targetId}`
28852
- ))
28846
+ children: [
28847
+ /* @__PURE__ */ jsx34(
28848
+ SelectTrigger3,
28849
+ {
28850
+ size: "sm",
28851
+ "aria-label": providerSelectLabel,
28852
+ title: providerSelectLabel,
28853
+ className: AgentGUINode_styles_default.emptyHeroProviderSelect,
28854
+ children: /* @__PURE__ */ jsx34("span", { className: AgentGUINode_styles_default.emptyHeroProvider, children: providerName })
28855
+ }
28856
+ ),
28857
+ /* @__PURE__ */ jsx34(
28858
+ SelectContent3,
28859
+ {
28860
+ align: "center",
28861
+ className: cn3(AgentGUINode_styles_default.composerMenuContent, "min-w-[190px]"),
28862
+ children: enabledProviderTargets.map((target) => /* @__PURE__ */ jsx34(
28863
+ SelectItem3,
28864
+ {
28865
+ value: target.targetId,
28866
+ className: cn3(AgentGUINode_styles_default.composerMenuItem, "gap-2"),
28867
+ children: /* @__PURE__ */ jsxs21("span", { className: "flex min-w-0 items-center gap-1.5", children: [
28868
+ /* @__PURE__ */ jsx34(
28869
+ "img",
28870
+ {
28871
+ alt: "",
28872
+ "aria-hidden": "true",
28873
+ className: "size-4 shrink-0 rounded-[4px]",
28874
+ src: agentGUIProviderRailIconPresentation(
28875
+ target.provider,
28876
+ target.iconUrl
28877
+ ).iconUrl
28878
+ }
28879
+ ),
28880
+ /* @__PURE__ */ jsx34("span", { className: "min-w-0 truncate", children: target.label })
28881
+ ] })
28882
+ },
28883
+ `${target.provider}:${target.targetId}`
28884
+ ))
28885
+ }
28886
+ )
28887
+ ]
28853
28888
  }
28854
28889
  ) : /* @__PURE__ */ jsx34("span", { className: AgentGUINode_styles_default.emptyHeroProvider, children: providerName }),
28855
28890
  label.slice(providerEnd)