@inf-monkeys-tech/monkeys-design 1.0.63 → 1.0.64
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.
|
@@ -1120,25 +1120,31 @@ function AgentWorkbenchComposer({
|
|
|
1120
1120
|
}
|
|
1121
1121
|
)
|
|
1122
1122
|
] }) : null,
|
|
1123
|
-
inputActions.
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
{
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1123
|
+
inputActions.length > 0 ? /* @__PURE__ */ jsxs(
|
|
1124
|
+
Tabs,
|
|
1125
|
+
{
|
|
1126
|
+
value: selectedInputActionId,
|
|
1127
|
+
onValueChange: (actionId) => onIntent?.({ type: "select-input-action", actionId }),
|
|
1128
|
+
children: [
|
|
1129
|
+
/* @__PURE__ */ jsx(TabsList, { className: "h-8 shrink-0 gap-0.5 rounded-md bg-muted/60 p-0.5", children: inputActions.map((action) => {
|
|
1130
|
+
const ActionIcon = action.icon === "image" ? Image : FileText;
|
|
1131
|
+
return /* @__PURE__ */ jsxs(
|
|
1132
|
+
TabsTrigger,
|
|
1133
|
+
{
|
|
1134
|
+
value: action.id,
|
|
1135
|
+
className: "h-7 min-w-0 gap-1.5 px-2.5 text-xs text-foreground/75 shadow-none hover:text-foreground data-[state=active]:bg-primary/10 data-[state=active]:text-primary data-[state=active]:shadow-none",
|
|
1136
|
+
children: [
|
|
1137
|
+
action.icon ? /* @__PURE__ */ jsx(ActionIcon, { className: "size-3.5" }) : null,
|
|
1138
|
+
action.label
|
|
1139
|
+
]
|
|
1140
|
+
},
|
|
1141
|
+
action.id
|
|
1142
|
+
);
|
|
1143
|
+
}) }),
|
|
1144
|
+
inputActions.map((action) => /* @__PURE__ */ jsx(TabsContent, { value: action.id, className: "hidden" }, action.id))
|
|
1145
|
+
]
|
|
1146
|
+
}
|
|
1147
|
+
) : null,
|
|
1142
1148
|
viewModel.capabilities.voiceInput ? /* @__PURE__ */ jsx(Button, { type: "button", variant: "ghost", size: "icon", className: iconButtonClass, "aria-label": messages.composer.voice, onClick: () => onIntent?.({ type: "request-voice-input" }), children: /* @__PURE__ */ jsx(Mic, { className: "size-4" }) }) : null,
|
|
1143
1149
|
viewModel.capabilities.webSearch ? /* @__PURE__ */ jsxs("label", { className: "flex shrink-0 items-center gap-1.5 whitespace-nowrap px-1 text-xs font-medium text-foreground", children: [
|
|
1144
1150
|
messages.composer.webSearch,
|