@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.
|
@@ -1151,25 +1151,31 @@ function AgentWorkbenchComposer({
|
|
|
1151
1151
|
}
|
|
1152
1152
|
)
|
|
1153
1153
|
] }) : null,
|
|
1154
|
-
inputActions.
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
{
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1154
|
+
inputActions.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1155
|
+
Tabs,
|
|
1156
|
+
{
|
|
1157
|
+
value: selectedInputActionId,
|
|
1158
|
+
onValueChange: (actionId) => onIntent?.({ type: "select-input-action", actionId }),
|
|
1159
|
+
children: [
|
|
1160
|
+
/* @__PURE__ */ jsxRuntime.jsx(TabsList, { className: "h-8 shrink-0 gap-0.5 rounded-md bg-muted/60 p-0.5", children: inputActions.map((action) => {
|
|
1161
|
+
const ActionIcon = action.icon === "image" ? lucideReact.Image : lucideReact.FileText;
|
|
1162
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1163
|
+
TabsTrigger,
|
|
1164
|
+
{
|
|
1165
|
+
value: action.id,
|
|
1166
|
+
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",
|
|
1167
|
+
children: [
|
|
1168
|
+
action.icon ? /* @__PURE__ */ jsxRuntime.jsx(ActionIcon, { className: "size-3.5" }) : null,
|
|
1169
|
+
action.label
|
|
1170
|
+
]
|
|
1171
|
+
},
|
|
1172
|
+
action.id
|
|
1173
|
+
);
|
|
1174
|
+
}) }),
|
|
1175
|
+
inputActions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(TabsContent, { value: action.id, className: "hidden" }, action.id))
|
|
1176
|
+
]
|
|
1177
|
+
}
|
|
1178
|
+
) : null,
|
|
1173
1179
|
viewModel.capabilities.voiceInput ? /* @__PURE__ */ jsxRuntime.jsx(Button, { type: "button", variant: "ghost", size: "icon", className: iconButtonClass, "aria-label": messages.composer.voice, onClick: () => onIntent?.({ type: "request-voice-input" }), children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Mic, { className: "size-4" }) }) : null,
|
|
1174
1180
|
viewModel.capabilities.webSearch ? /* @__PURE__ */ jsxRuntime.jsxs("label", { className: "flex shrink-0 items-center gap-1.5 whitespace-nowrap px-1 text-xs font-medium text-foreground", children: [
|
|
1175
1181
|
messages.composer.webSearch,
|