@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.
- package/dist/components/agent-workbench/index.d.mts +3 -1
- package/dist/components/agent-workbench/index.d.ts +3 -1
- package/dist/components/agent-workbench/index.js +7 -4
- package/dist/components/agent-workbench/index.js.map +1 -1
- package/dist/components/agent-workbench/index.mjs +7 -4
- package/dist/components/agent-workbench/index.mjs.map +1 -1
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -17375,7 +17375,7 @@ function SessionActions({
|
|
|
17375
17375
|
] })
|
|
17376
17376
|
] });
|
|
17377
17377
|
}
|
|
17378
|
-
function AgentWorkbenchSidebar({ viewModel, className, classNames, onIntent }) {
|
|
17378
|
+
function AgentWorkbenchSidebar({ viewModel, headerActions, className, classNames, onIntent }) {
|
|
17379
17379
|
const { locale } = useMonkeysLocale();
|
|
17380
17380
|
const messages = useMonkeysLocaleMessages().agentWorkbench.navigation;
|
|
17381
17381
|
const searchRef = useRef(null);
|
|
@@ -17452,9 +17452,12 @@ function AgentWorkbenchSidebar({ viewModel, className, classNames, onIntent }) {
|
|
|
17452
17452
|
),
|
|
17453
17453
|
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" })
|
|
17454
17454
|
] }),
|
|
17455
|
-
/* @__PURE__ */ jsxs(
|
|
17456
|
-
/* @__PURE__ */
|
|
17457
|
-
|
|
17455
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
17456
|
+
/* @__PURE__ */ jsxs(TabsList, { className: cn2("grid min-w-0 flex-1 grid-cols-2 text-foreground", classNames?.tabs), "aria-label": messages.tabsLabel, children: [
|
|
17457
|
+
/* @__PURE__ */ jsx(TabsTrigger, { value: "agents", children: messages.agents }),
|
|
17458
|
+
/* @__PURE__ */ jsx(TabsTrigger, { value: "sessions", children: messages.sessions })
|
|
17459
|
+
] }),
|
|
17460
|
+
headerActions ? /* @__PURE__ */ jsx("div", { className: "flex shrink-0 items-center", children: headerActions }) : null
|
|
17458
17461
|
] })
|
|
17459
17462
|
] }),
|
|
17460
17463
|
/* @__PURE__ */ jsxs(TabsContent, { value: "agents", className: cn2("mt-0 min-h-0 flex-1 overflow-y-auto px-4 pb-4", classNames?.body), children: [
|