@inf-monkeys-tech/monkeys-design 1.0.13 → 1.0.14

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.
@@ -696,7 +696,7 @@ function SessionActions({
696
696
  ] })
697
697
  ] });
698
698
  }
699
- function AgentWorkbenchSidebar({ viewModel, className, classNames, onIntent }) {
699
+ function AgentWorkbenchSidebar({ viewModel, headerActions, className, classNames, onIntent }) {
700
700
  const { locale } = useMonkeysLocale();
701
701
  const messages = useMonkeysLocaleMessages().agentWorkbench.navigation;
702
702
  const searchRef = useRef(null);
@@ -773,9 +773,12 @@ function AgentWorkbenchSidebar({ viewModel, className, classNames, onIntent }) {
773
773
  ),
774
774
  viewModel.searchQuery ? /* @__PURE__ */ jsx("button", { type: "button", className: "flex size-6 items-center justify-center rounded-md hover:bg-muted", "aria-label": messages.clearSearch, onClick: () => onIntent?.({ type: "change-search", query: "" }), children: /* @__PURE__ */ jsx(X, { className: "size-3.5", "aria-hidden": "true" }) }) : /* @__PURE__ */ jsx("kbd", { className: "rounded border border-border px-1.5 py-0.5 text-[10px] text-muted-foreground", children: "Ctrl K" })
775
775
  ] }),
776
- /* @__PURE__ */ jsxs(TabsList, { className: cn2("grid w-full grid-cols-2 text-foreground", classNames?.tabs), "aria-label": messages.tabsLabel, children: [
777
- /* @__PURE__ */ jsx(TabsTrigger, { value: "agents", children: messages.agents }),
778
- /* @__PURE__ */ jsx(TabsTrigger, { value: "sessions", children: messages.sessions })
776
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
777
+ /* @__PURE__ */ jsxs(TabsList, { className: cn2("grid min-w-0 flex-1 grid-cols-2 text-foreground", classNames?.tabs), "aria-label": messages.tabsLabel, children: [
778
+ /* @__PURE__ */ jsx(TabsTrigger, { value: "agents", children: messages.agents }),
779
+ /* @__PURE__ */ jsx(TabsTrigger, { value: "sessions", children: messages.sessions })
780
+ ] }),
781
+ headerActions ? /* @__PURE__ */ jsx("div", { className: "flex shrink-0 items-center", children: headerActions }) : null
779
782
  ] })
780
783
  ] }),
781
784
  /* @__PURE__ */ jsxs(TabsContent, { value: "agents", className: cn2("mt-0 min-h-0 flex-1 overflow-y-auto px-4 pb-4", classNames?.body), children: [