@tutti-os/agent-gui 0.0.76 → 0.0.77

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.js CHANGED
@@ -32,7 +32,7 @@ import {
32
32
  import {
33
33
  AgentInteractivePromptSurface,
34
34
  approvalOptionDisplayLabel
35
- } from "./chunk-U6EDUTUO.js";
35
+ } from "./chunk-3B3KPQ4Y.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-7GSBP5CN.js";
91
+ } from "./chunk-WIRYWLAI.js";
92
92
  import {
93
93
  AgentMessageMarkdown,
94
94
  AgentTargetPresentationProvider,
95
95
  ZoomableImage,
96
96
  cn,
97
97
  resolveWorkspaceLinkAction
98
- } from "./chunk-3FYA2K4P.js";
98
+ } from "./chunk-5CLGEUWK.js";
99
99
  import {
100
100
  openAgentEnvPanel
101
101
  } from "./chunk-PSLAWU25.js";
@@ -16306,10 +16306,6 @@ import {
16306
16306
  TooltipContent as TooltipContent4,
16307
16307
  TooltipProvider as TooltipProvider3,
16308
16308
  TooltipTrigger as TooltipTrigger4,
16309
- Select as Select3,
16310
- SelectContent as SelectContent3,
16311
- SelectItem as SelectItem3,
16312
- SelectTrigger as SelectTrigger3,
16313
16309
  NewWorkspaceLinedIcon as NewWorkspaceLinedIcon2,
16314
16310
  ConfirmationDialog,
16315
16311
  ContextMenu,
@@ -28736,13 +28732,13 @@ function EmptyHeroTitle({
28736
28732
  const providerName = label.slice(providerStart, providerEnd);
28737
28733
  return /* @__PURE__ */ jsxs21(Fragment9, { children: [
28738
28734
  label.slice(0, providerStart),
28739
- canSwitchProvider ? /* @__PURE__ */ jsxs21(
28740
- Select3,
28735
+ canSwitchProvider ? /* @__PURE__ */ jsx34(
28736
+ "select",
28741
28737
  {
28742
28738
  value: selectedProviderTargetId,
28743
- onValueChange: (nextTargetId) => {
28739
+ onChange: (event) => {
28744
28740
  const target = enabledProviderTargets.find(
28745
- (candidate) => candidate.targetId === nextTargetId
28741
+ (candidate) => candidate.targetId === event.currentTarget.value
28746
28742
  );
28747
28743
  if (!target) {
28748
28744
  return;
@@ -28752,48 +28748,17 @@ function EmptyHeroTitle({
28752
28748
  providerTargetId: target.targetId
28753
28749
  });
28754
28750
  },
28755
- children: [
28756
- /* @__PURE__ */ jsx34(
28757
- SelectTrigger3,
28758
- {
28759
- size: "sm",
28760
- "aria-label": providerSelectLabel,
28761
- title: providerSelectLabel,
28762
- className: AgentGUINode_styles_default.emptyHeroProviderSelect,
28763
- children: /* @__PURE__ */ jsx34("span", { className: AgentGUINode_styles_default.emptyHeroProvider, children: providerName })
28764
- }
28765
- ),
28766
- /* @__PURE__ */ jsx34(
28767
- SelectContent3,
28768
- {
28769
- align: "center",
28770
- className: cn3(AgentGUINode_styles_default.composerMenuContent, "min-w-[190px]"),
28771
- children: enabledProviderTargets.map((target) => /* @__PURE__ */ jsx34(
28772
- SelectItem3,
28773
- {
28774
- value: target.targetId,
28775
- className: cn3(AgentGUINode_styles_default.composerMenuItem, "gap-2"),
28776
- children: /* @__PURE__ */ jsxs21("span", { className: "flex min-w-0 items-center gap-1.5", children: [
28777
- /* @__PURE__ */ jsx34(
28778
- "img",
28779
- {
28780
- alt: "",
28781
- "aria-hidden": "true",
28782
- className: "size-4 shrink-0 rounded-[4px]",
28783
- src: agentGUIProviderRailIconPresentation(
28784
- target.provider,
28785
- target.iconUrl
28786
- ).iconUrl
28787
- }
28788
- ),
28789
- /* @__PURE__ */ jsx34("span", { className: "min-w-0 truncate", children: target.label })
28790
- ] })
28791
- },
28792
- `${target.provider}:${target.targetId}`
28793
- ))
28794
- }
28795
- )
28796
- ]
28751
+ "aria-label": providerSelectLabel,
28752
+ title: providerSelectLabel,
28753
+ className: AgentGUINode_styles_default.emptyHeroProviderSelect,
28754
+ children: enabledProviderTargets.map((target) => /* @__PURE__ */ jsx34(
28755
+ "option",
28756
+ {
28757
+ value: target.targetId,
28758
+ children: target.label
28759
+ },
28760
+ `${target.provider}:${target.targetId}`
28761
+ ))
28797
28762
  }
28798
28763
  ) : /* @__PURE__ */ jsx34("span", { className: AgentGUINode_styles_default.emptyHeroProvider, children: providerName }),
28799
28764
  label.slice(providerEnd)