@inf-monkeys-tech/monkeys-design 1.0.75 → 1.0.76-canary.238.1.2006f3f
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 +2 -2
- package/dist/components/agent-workbench/index.d.ts +2 -2
- package/dist/components/agent-workbench/index.js +309 -242
- package/dist/components/agent-workbench/index.js.map +1 -1
- package/dist/components/agent-workbench/index.mjs +310 -244
- package/dist/components/agent-workbench/index.mjs.map +1 -1
- package/dist/{details-model-eb8fafc32d00.d.mts → details-model-90adf27b0674.d.mts} +45 -6
- package/dist/{details-model-eb8fafc32d00.d.ts → details-model-90adf27b0674.d.ts} +45 -6
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +309 -242
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +310 -244
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import * as React4 from 'react';
|
|
|
4
4
|
import React4__default, { forwardRef, useMemo, useId, useRef, useState, useEffect, createElement, createContext, useCallback, useContext, Children, isValidElement, Fragment as Fragment$1, useLayoutEffect } from 'react';
|
|
5
5
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
6
6
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
7
|
-
import { ChevronDown, Search, Circle, Check, ChevronRight, ChevronUp,
|
|
7
|
+
import { ChevronDown, Search, Circle, Check, ChevronRight, ChevronUp, Plus, Pin, SquarePen, Blocks, MessageSquare, Bot, Settings, X, Ellipsis, Trash2, AlertCircle, RefreshCw, Loader2, TerminalSquare, FileOutput, Download, Clock3, CheckCircle2, XCircle, CircleStop, GitFork, PencilLine, Copy, RotateCcw, FileCode2, Files, TestTube2, Image, Pencil } from 'lucide-react';
|
|
8
8
|
import { twMerge } from 'tailwind-merge';
|
|
9
9
|
import * as DropdownMenu2 from '@radix-ui/react-dropdown-menu';
|
|
10
10
|
import * as ContextMenu from '@radix-ui/react-context-menu';
|
|
@@ -19,6 +19,7 @@ import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
|
19
19
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
20
20
|
import { cva } from 'class-variance-authority';
|
|
21
21
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
22
|
+
import { resolveAgentWorkbenchSidebarConfig } from '@inf-monkeys-tech/monkeys';
|
|
22
23
|
import { useSensors, useSensor, PointerSensor, DndContext, DragOverlay, useDroppable, useDraggable } from '@dnd-kit/core';
|
|
23
24
|
import { toast as toast$1, Toaster } from 'sonner';
|
|
24
25
|
|
|
@@ -18308,6 +18309,61 @@ var SelectSeparator = React4.forwardRef(
|
|
|
18308
18309
|
({ className, ...props }, ref) => /* @__PURE__ */ jsx(SelectPrimitive.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props })
|
|
18309
18310
|
);
|
|
18310
18311
|
SelectSeparator.displayName = "SelectSeparator";
|
|
18312
|
+
var AgentWorkbenchSidebarContainer = forwardRef(
|
|
18313
|
+
function AgentWorkbenchSidebarContainer2({
|
|
18314
|
+
children,
|
|
18315
|
+
header,
|
|
18316
|
+
search,
|
|
18317
|
+
primaryAction,
|
|
18318
|
+
actions,
|
|
18319
|
+
groups,
|
|
18320
|
+
footer,
|
|
18321
|
+
className,
|
|
18322
|
+
classNames,
|
|
18323
|
+
bodyProps,
|
|
18324
|
+
bodyScrollable = true,
|
|
18325
|
+
status = "ready",
|
|
18326
|
+
loadingState,
|
|
18327
|
+
emptyState,
|
|
18328
|
+
errorState,
|
|
18329
|
+
...props
|
|
18330
|
+
}, ref) {
|
|
18331
|
+
const hasToolbar = search !== void 0 || primaryAction !== void 0 || actions !== void 0;
|
|
18332
|
+
const statusContent = status === "loading" ? loadingState : status === "empty" ? emptyState : status === "error" ? errorState : children;
|
|
18333
|
+
return /* @__PURE__ */ jsxs(
|
|
18334
|
+
"nav",
|
|
18335
|
+
{
|
|
18336
|
+
ref,
|
|
18337
|
+
className: cn2("flex h-full min-h-0 flex-col bg-background text-foreground", classNames?.root, className),
|
|
18338
|
+
...props,
|
|
18339
|
+
children: [
|
|
18340
|
+
header !== void 0 ? /* @__PURE__ */ jsx("div", { className: cn2("shrink-0", classNames?.header), children: header }) : null,
|
|
18341
|
+
hasToolbar ? /* @__PURE__ */ jsxs("div", { className: cn2("shrink-0 space-y-3 px-4 pb-2 pt-4", classNames?.search), children: [
|
|
18342
|
+
search,
|
|
18343
|
+
primaryAction !== void 0 ? /* @__PURE__ */ jsx("div", { className: cn2(classNames?.primaryAction), children: primaryAction }) : null,
|
|
18344
|
+
actions !== void 0 ? /* @__PURE__ */ jsx("div", { className: cn2("flex min-w-0 items-center gap-2", classNames?.actions), children: actions }) : null
|
|
18345
|
+
] }) : null,
|
|
18346
|
+
/* @__PURE__ */ jsx(
|
|
18347
|
+
"div",
|
|
18348
|
+
{
|
|
18349
|
+
"data-agent-workbench-scroll-region": bodyScrollable ? "" : void 0,
|
|
18350
|
+
...bodyProps,
|
|
18351
|
+
className: cn2(
|
|
18352
|
+
"min-h-0 flex-1 px-4 pb-4",
|
|
18353
|
+
bodyScrollable && "overflow-x-hidden overflow-y-auto overscroll-contain",
|
|
18354
|
+
classNames?.body
|
|
18355
|
+
),
|
|
18356
|
+
children: statusContent
|
|
18357
|
+
}
|
|
18358
|
+
),
|
|
18359
|
+
groups !== void 0 ? /* @__PURE__ */ jsx("div", { className: cn2("shrink-0", classNames?.groups), children: groups }) : null,
|
|
18360
|
+
footer !== void 0 ? /* @__PURE__ */ jsx("div", { className: cn2("shrink-0", classNames?.footer), children: footer }) : null
|
|
18361
|
+
]
|
|
18362
|
+
}
|
|
18363
|
+
);
|
|
18364
|
+
}
|
|
18365
|
+
);
|
|
18366
|
+
AgentWorkbenchSidebarContainer.displayName = "AgentWorkbenchSidebarContainer";
|
|
18311
18367
|
function ItemAvatar({ item }) {
|
|
18312
18368
|
const [failed, setFailed] = useState(false);
|
|
18313
18369
|
if (item.iconUrl && !failed) {
|
|
@@ -18402,15 +18458,22 @@ function SessionActions({
|
|
|
18402
18458
|
}
|
|
18403
18459
|
function AgentWorkbenchSidebar({
|
|
18404
18460
|
viewModel,
|
|
18405
|
-
navigationMode
|
|
18461
|
+
navigationMode,
|
|
18462
|
+
config,
|
|
18463
|
+
header,
|
|
18406
18464
|
headerActions,
|
|
18465
|
+
footer,
|
|
18407
18466
|
className,
|
|
18408
18467
|
classNames,
|
|
18409
18468
|
onIntent
|
|
18410
18469
|
}) {
|
|
18411
18470
|
const { locale } = useMonkeysLocale();
|
|
18412
18471
|
const messages = useMonkeysLocaleMessages().agentWorkbench.navigation;
|
|
18413
|
-
const
|
|
18472
|
+
const resolvedConfig = useMemo(() => resolveAgentWorkbenchSidebarConfig(config), [config]);
|
|
18473
|
+
const visibleSections = useMemo(() => new Set(resolvedConfig.visibleSections), [resolvedConfig.visibleSections]);
|
|
18474
|
+
const sessionsOnly = navigationMode === "sessions-only" || navigationMode === void 0 && resolvedConfig.navigationMode !== "default";
|
|
18475
|
+
const showAgents = visibleSections.has("agents") && !sessionsOnly;
|
|
18476
|
+
const showSessions = visibleSections.has("sessions");
|
|
18414
18477
|
const searchRef = useRef(null);
|
|
18415
18478
|
const renameInputRef = useRef(null);
|
|
18416
18479
|
const [editingSessionId, setEditingSessionId] = useState();
|
|
@@ -18507,17 +18570,21 @@ function AgentWorkbenchSidebar({
|
|
|
18507
18570
|
] })
|
|
18508
18571
|
] }, item.id);
|
|
18509
18572
|
}) });
|
|
18510
|
-
return /* @__PURE__ */ jsx(
|
|
18573
|
+
return /* @__PURE__ */ jsx(
|
|
18511
18574
|
Tabs,
|
|
18512
18575
|
{
|
|
18513
|
-
value: sessionsOnly ? "sessions" : viewModel.activeTab,
|
|
18576
|
+
value: sessionsOnly || !showAgents ? "sessions" : viewModel.activeTab,
|
|
18514
18577
|
onValueChange: (value) => {
|
|
18515
18578
|
if (!sessionsOnly && (value === "agents" || value === "sessions")) onIntent?.({ type: "change-tab", tab: value });
|
|
18516
18579
|
},
|
|
18517
|
-
className: "
|
|
18518
|
-
children:
|
|
18519
|
-
|
|
18520
|
-
|
|
18580
|
+
className: "h-full min-h-0",
|
|
18581
|
+
children: /* @__PURE__ */ jsxs(
|
|
18582
|
+
AgentWorkbenchSidebarContainer,
|
|
18583
|
+
{
|
|
18584
|
+
"data-sidebar-width-percent": resolvedConfig.widthPercent,
|
|
18585
|
+
"aria-label": messages.tabsLabel,
|
|
18586
|
+
header: visibleSections.has("header") ? header : void 0,
|
|
18587
|
+
search: visibleSections.has("search") ? /* @__PURE__ */ jsxs(InputGroup, { className: cn2("h-10 rounded-lg bg-card", classNames?.search), children: [
|
|
18521
18588
|
/* @__PURE__ */ jsx(InputGroupAddon, { children: /* @__PURE__ */ jsx(Search, { className: "size-4", "aria-hidden": "true" }) }),
|
|
18522
18589
|
/* @__PURE__ */ jsx(
|
|
18523
18590
|
InputGroupInput,
|
|
@@ -18537,92 +18604,100 @@ function AgentWorkbenchSidebar({
|
|
|
18537
18604
|
}
|
|
18538
18605
|
),
|
|
18539
18606
|
viewModel.searchQuery ? /* @__PURE__ */ jsx(InputGroupAddon, { align: "inline-end", children: /* @__PURE__ */ jsx(InputGroupButton, { size: "icon-xs", "aria-label": messages.clearSearch, onClick: () => onIntent?.({ type: "change-search", query: "" }), children: /* @__PURE__ */ jsx(X, { className: "size-3.5", "aria-hidden": "true" }) }) }) : /* @__PURE__ */ jsx(InputGroupAddon, { align: "inline-end", children: /* @__PURE__ */ jsx("kbd", { className: "border border-border px-1.5 py-0.5 text-[10px]", children: "Ctrl K" }) })
|
|
18540
|
-
] }),
|
|
18541
|
-
|
|
18542
|
-
|
|
18607
|
+
] }) : void 0,
|
|
18608
|
+
actions: showAgents && showSessions || headerActions ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
18609
|
+
showAgents && showSessions ? /* @__PURE__ */ jsxs(TabsList, { className: cn2("grid min-w-0 flex-1 grid-cols-2 text-foreground", classNames?.tabs), "aria-label": messages.tabsLabel, children: [
|
|
18543
18610
|
/* @__PURE__ */ jsx(TabsTrigger, { value: "agents", children: messages.agents }),
|
|
18544
18611
|
/* @__PURE__ */ jsx(TabsTrigger, { value: "sessions", children: messages.sessions })
|
|
18545
18612
|
] }) : null,
|
|
18546
18613
|
headerActions ? /* @__PURE__ */ jsx("div", { className: "flex shrink-0 items-center", children: headerActions }) : null
|
|
18547
|
-
] }) :
|
|
18548
|
-
|
|
18549
|
-
|
|
18550
|
-
|
|
18551
|
-
|
|
18552
|
-
|
|
18553
|
-
|
|
18554
|
-
|
|
18555
|
-
|
|
18556
|
-
|
|
18557
|
-
|
|
18558
|
-
|
|
18559
|
-
|
|
18560
|
-
|
|
18561
|
-
|
|
18562
|
-
|
|
18563
|
-
|
|
18564
|
-
|
|
18565
|
-
|
|
18566
|
-
|
|
18567
|
-
|
|
18568
|
-
|
|
18569
|
-
|
|
18570
|
-
|
|
18571
|
-
|
|
18572
|
-
|
|
18573
|
-
|
|
18574
|
-
|
|
18575
|
-
|
|
18576
|
-
|
|
18577
|
-
|
|
18578
|
-
|
|
18579
|
-
|
|
18580
|
-
|
|
18581
|
-
|
|
18582
|
-
|
|
18583
|
-
|
|
18584
|
-
|
|
18585
|
-
|
|
18586
|
-
|
|
18614
|
+
] }) : void 0,
|
|
18615
|
+
footer: visibleSections.has("footer") && (!sessionsOnly && viewModel.capabilities.manageAgentSettings || footer) ? /* @__PURE__ */ jsxs("div", { className: cn2("border-t border-border p-4", classNames?.footer), children: [
|
|
18616
|
+
!sessionsOnly && viewModel.capabilities.manageAgentSettings ? /* @__PURE__ */ jsxs(Button, { type: "button", variant: "ghost", className: "h-10 w-full justify-start gap-2 px-3 text-sm", onClick: () => onIntent?.({ type: "open-agent-settings" }), children: [
|
|
18617
|
+
/* @__PURE__ */ jsx(Settings, { className: "size-4", "aria-hidden": "true" }),
|
|
18618
|
+
messages.settings
|
|
18619
|
+
] }) : null,
|
|
18620
|
+
footer
|
|
18621
|
+
] }) : void 0,
|
|
18622
|
+
bodyScrollable: false,
|
|
18623
|
+
className,
|
|
18624
|
+
classNames: { root: classNames?.root, body: "flex min-h-0 flex-1 flex-col p-0" },
|
|
18625
|
+
children: [
|
|
18626
|
+
showAgents ? /* @__PURE__ */ jsxs(TabsContent, { value: "agents", "data-agent-workbench-scroll-region": true, className: cn2("mt-0 min-h-0 flex-1 overflow-x-hidden overflow-y-auto overscroll-contain px-4 pb-4", classNames?.body), children: [
|
|
18627
|
+
viewModel.capabilities.createAgent ? /* @__PURE__ */ jsxs(Button, { type: "button", variant: "ghost", className: "mb-3 h-9 w-full justify-start gap-2 px-3 text-sm", onClick: () => onIntent?.({ type: "create-agent" }), children: [
|
|
18628
|
+
/* @__PURE__ */ jsx(Plus, { className: "size-4", "aria-hidden": "true" }),
|
|
18629
|
+
messages.newAgent
|
|
18630
|
+
] }) : null,
|
|
18631
|
+
/* @__PURE__ */ jsx("h3", { className: "mb-2 px-3 text-xs font-medium text-muted-foreground", children: messages.allAgents }),
|
|
18632
|
+
/* @__PURE__ */ jsx(CollectionState, { status: viewModel.agents.status, empty: messages.emptyAgents, noResults: messages.noResults, hasItems: agents.length > 0, query, error: viewModel.agents.error, onRetry: () => onIntent?.({ type: "retry-agents" }) }),
|
|
18633
|
+
/* @__PURE__ */ jsx("div", { className: "space-y-1", children: agents.map((item) => /* @__PURE__ */ jsxs(
|
|
18634
|
+
"div",
|
|
18635
|
+
{
|
|
18636
|
+
"aria-current": item.id === viewModel.selectedAgentItem ? "page" : void 0,
|
|
18637
|
+
className: cn2("group flex w-full min-w-0 items-center gap-3 rounded-lg border border-transparent px-3 py-2 text-left hover:bg-muted aria-[current=page]:border-primary aria-[current=page]:bg-muted", classNames?.item),
|
|
18638
|
+
children: [
|
|
18639
|
+
/* @__PURE__ */ jsxs("button", { type: "button", title: item.name, className: "flex min-w-0 flex-1 items-center gap-3 text-left", onClick: () => onIntent?.({ type: "select-agent", itemId: item.id }), children: [
|
|
18640
|
+
/* @__PURE__ */ jsx("span", { className: "flex size-10 shrink-0 items-center justify-center overflow-hidden rounded-lg bg-muted", children: /* @__PURE__ */ jsx(ItemAvatar, { item }) }),
|
|
18641
|
+
/* @__PURE__ */ jsxs("span", { className: "min-w-0 flex-1", children: [
|
|
18642
|
+
/* @__PURE__ */ jsx("span", { className: "block truncate text-sm font-medium", children: item.name }),
|
|
18643
|
+
/* @__PURE__ */ jsx("span", { className: "block truncate text-xs text-foreground/80", children: item.description || messages.noDescription })
|
|
18644
|
+
] })
|
|
18645
|
+
] }),
|
|
18646
|
+
item.builtIn ? /* @__PURE__ */ jsx("span", { className: "shrink-0 rounded-full bg-muted px-1.5 py-1 text-[10px] text-foreground", children: messages.builtIn }) : null,
|
|
18647
|
+
viewModel.capabilities.pinAgents ? /* @__PURE__ */ jsx(
|
|
18648
|
+
Button,
|
|
18649
|
+
{
|
|
18650
|
+
type: "button",
|
|
18651
|
+
variant: "ghost",
|
|
18652
|
+
size: "icon",
|
|
18653
|
+
"aria-label": item.pinned ? messages.unpin : messages.pin,
|
|
18654
|
+
className: cn2("size-8 text-muted-foreground opacity-0 group-hover:opacity-100", item.pinned && "text-primary opacity-100"),
|
|
18655
|
+
onClick: (event) => {
|
|
18656
|
+
event.stopPropagation();
|
|
18657
|
+
onIntent?.({ type: "toggle-agent-pin", itemId: item.id, pinned: !item.pinned });
|
|
18658
|
+
},
|
|
18659
|
+
onKeyDown: (event) => {
|
|
18660
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
18661
|
+
event.preventDefault();
|
|
18662
|
+
event.stopPropagation();
|
|
18663
|
+
onIntent?.({ type: "toggle-agent-pin", itemId: item.id, pinned: !item.pinned });
|
|
18664
|
+
}
|
|
18665
|
+
},
|
|
18666
|
+
children: /* @__PURE__ */ jsx(Pin, { className: cn2("size-4", item.pinned && "fill-current", item.pinPending && "animate-pulse") })
|
|
18587
18667
|
}
|
|
18588
|
-
|
|
18589
|
-
|
|
18590
|
-
|
|
18591
|
-
|
|
18592
|
-
|
|
18593
|
-
},
|
|
18594
|
-
|
|
18595
|
-
|
|
18596
|
-
|
|
18597
|
-
|
|
18598
|
-
|
|
18599
|
-
|
|
18600
|
-
|
|
18601
|
-
|
|
18602
|
-
|
|
18603
|
-
|
|
18604
|
-
|
|
18605
|
-
|
|
18606
|
-
|
|
18607
|
-
|
|
18608
|
-
|
|
18609
|
-
|
|
18610
|
-
|
|
18611
|
-
|
|
18612
|
-
|
|
18613
|
-
|
|
18614
|
-
|
|
18615
|
-
] })
|
|
18616
|
-
|
|
18617
|
-
|
|
18618
|
-
|
|
18619
|
-
!sessionsOnly && viewModel.capabilities.manageAgentSettings ? /* @__PURE__ */ jsx("div", { className: cn2("shrink-0 border-t border-border p-4", classNames?.footer), children: /* @__PURE__ */ jsxs(Button, { type: "button", variant: "ghost", className: "h-10 w-full justify-start gap-2 px-3 text-sm", onClick: () => onIntent?.({ type: "open-agent-settings" }), children: [
|
|
18620
|
-
/* @__PURE__ */ jsx(Settings, { className: "size-4", "aria-hidden": "true" }),
|
|
18621
|
-
messages.settings
|
|
18622
|
-
] }) }) : null
|
|
18623
|
-
]
|
|
18668
|
+
) : null
|
|
18669
|
+
]
|
|
18670
|
+
},
|
|
18671
|
+
item.id
|
|
18672
|
+
)) })
|
|
18673
|
+
] }) : null,
|
|
18674
|
+
showSessions ? /* @__PURE__ */ jsxs(TabsContent, { value: "sessions", "data-agent-workbench-scroll-region": true, className: cn2("mt-0 min-h-0 flex-1 overflow-x-hidden overflow-y-auto overscroll-contain px-4 pb-4", classNames?.body), children: [
|
|
18675
|
+
visibleSections.has("new-session") && viewModel.capabilities.createSession ? /* @__PURE__ */ jsxs(Button, { type: "button", variant: "ghost", className: "h-9 w-full justify-start gap-2 px-3 text-sm", onClick: () => onIntent?.({ type: "create-session" }), children: [
|
|
18676
|
+
/* @__PURE__ */ jsx(SquarePen, { className: "size-4", "aria-hidden": "true" }),
|
|
18677
|
+
messages.newSession
|
|
18678
|
+
] }) : null,
|
|
18679
|
+
!sessionsOnly && viewModel.capabilities.manageCapabilities ? /* @__PURE__ */ jsxs(Button, { type: "button", variant: "ghost", className: "mb-3 h-9 w-full justify-start gap-2 px-3 text-sm", onClick: () => onIntent?.({ type: "open-capabilities" }), children: [
|
|
18680
|
+
/* @__PURE__ */ jsx(Blocks, { className: "size-4", "aria-hidden": "true" }),
|
|
18681
|
+
messages.capabilities
|
|
18682
|
+
] }) : null,
|
|
18683
|
+
!sessionsOnly ? /* @__PURE__ */ jsx("h3", { className: "mb-2 px-3 text-xs font-medium text-muted-foreground", children: messages.recentSessions }) : null,
|
|
18684
|
+
/* @__PURE__ */ jsx(CollectionState, { status: viewModel.sessions.status, empty: messages.emptySessions, noResults: messages.noResults, hasItems: sessions.length > 0, query, error: viewModel.sessions.error, onRetry: () => onIntent?.({ type: "retry-sessions" }) }),
|
|
18685
|
+
sessionsOnly && sessions.length > 0 ? /* @__PURE__ */ jsx("div", { className: "space-y-2", children: [
|
|
18686
|
+
{ id: "chatbot", label: messages.chats, icon: MessageSquare, items: chatbotSessions },
|
|
18687
|
+
{ id: "agent", label: messages.agents, icon: Bot, items: agentSessions }
|
|
18688
|
+
].map(({ id, label, icon: Icon2, items }) => /* @__PURE__ */ jsxs("details", { open: true, "aria-label": label, children: [
|
|
18689
|
+
/* @__PURE__ */ jsxs("summary", { className: "flex h-9 cursor-pointer list-none items-center gap-2 rounded-md px-3 text-sm font-semibold hover:bg-muted", children: [
|
|
18690
|
+
/* @__PURE__ */ jsx(Icon2, { className: "size-4 shrink-0 text-muted-foreground", "aria-hidden": "true" }),
|
|
18691
|
+
/* @__PURE__ */ jsx("span", { className: "min-w-0 truncate", children: label })
|
|
18692
|
+
] }),
|
|
18693
|
+
renderSessionItems(items)
|
|
18694
|
+
] }, id)) }) : !sessionsOnly ? renderSessionItems(sessions) : null
|
|
18695
|
+
] }) : null
|
|
18696
|
+
]
|
|
18697
|
+
}
|
|
18698
|
+
)
|
|
18624
18699
|
}
|
|
18625
|
-
)
|
|
18700
|
+
);
|
|
18626
18701
|
}
|
|
18627
18702
|
function AgentWorkbenchExploreCardMedia({
|
|
18628
18703
|
item,
|
|
@@ -18675,7 +18750,8 @@ function AgentWorkbenchExploreCardMedia({
|
|
|
18675
18750
|
}
|
|
18676
18751
|
function AgentWorkbenchExploreSidebar({
|
|
18677
18752
|
sessions,
|
|
18678
|
-
groups,
|
|
18753
|
+
groups: configuredGroups,
|
|
18754
|
+
config,
|
|
18679
18755
|
labels,
|
|
18680
18756
|
selectedSessionId,
|
|
18681
18757
|
searchQuery = "",
|
|
@@ -18684,14 +18760,23 @@ function AgentWorkbenchExploreSidebar({
|
|
|
18684
18760
|
showDraftSession = !selectedSessionId,
|
|
18685
18761
|
deleteSessions = false,
|
|
18686
18762
|
defaultGroupId,
|
|
18763
|
+
header,
|
|
18764
|
+
footer,
|
|
18687
18765
|
className,
|
|
18688
18766
|
renderItemMedia,
|
|
18689
18767
|
onIntent
|
|
18690
18768
|
}) {
|
|
18691
18769
|
const navigationMessages = useMonkeysLocaleMessages().agentWorkbench.navigation;
|
|
18692
18770
|
const searchRef = useRef(null);
|
|
18771
|
+
const resolvedConfig = useMemo(() => resolveAgentWorkbenchSidebarConfig(config), [config]);
|
|
18772
|
+
const visibleSections = useMemo(
|
|
18773
|
+
() => new Set(resolvedConfig.visibleSections),
|
|
18774
|
+
[resolvedConfig.visibleSections]
|
|
18775
|
+
);
|
|
18776
|
+
const groups = configuredGroups?.length ? configuredGroups : resolvedConfig.groups;
|
|
18777
|
+
const resolvedDefaultGroupId = defaultGroupId ?? resolvedConfig.defaultGroupId;
|
|
18693
18778
|
const [activeGroupId, setActiveGroupId] = useState(
|
|
18694
|
-
|
|
18779
|
+
resolvedDefaultGroupId ?? groups[0]?.id ?? ""
|
|
18695
18780
|
);
|
|
18696
18781
|
const activeGroup = groups.find((group) => group.id === activeGroupId) ?? groups[0];
|
|
18697
18782
|
const normalizedQuery = searchQuery.trim().toLocaleLowerCase();
|
|
@@ -18704,8 +18789,8 @@ function AgentWorkbenchExploreSidebar({
|
|
|
18704
18789
|
);
|
|
18705
18790
|
useEffect(() => {
|
|
18706
18791
|
if (groups.some((group) => group.id === activeGroupId)) return;
|
|
18707
|
-
setActiveGroupId(
|
|
18708
|
-
}, [activeGroupId,
|
|
18792
|
+
setActiveGroupId(resolvedDefaultGroupId ?? groups[0]?.id ?? "");
|
|
18793
|
+
}, [activeGroupId, groups, resolvedDefaultGroupId]);
|
|
18709
18794
|
useEffect(() => {
|
|
18710
18795
|
const handleShortcut = (event) => {
|
|
18711
18796
|
if (!(event.ctrlKey || event.metaKey) || event.key.toLocaleLowerCase() !== "k")
|
|
@@ -18721,166 +18806,147 @@ function AgentWorkbenchExploreSidebar({
|
|
|
18721
18806
|
setActiveGroupId(groupId);
|
|
18722
18807
|
onIntent?.({ type: "change-group", groupId });
|
|
18723
18808
|
};
|
|
18724
|
-
|
|
18725
|
-
|
|
18809
|
+
const state = !visibleSections.has("sessions") ? "ready" : error ? "error" : loading && sessions.length === 0 ? "loading" : filteredSessions.length === 0 && !draftVisible ? "empty" : "ready";
|
|
18810
|
+
const groupNavigation = visibleSections.has("groups") && activeGroup ? /* @__PURE__ */ jsx("div", { className: "border-t border-border px-4 pb-4 pt-3", children: /* @__PURE__ */ jsxs(Tabs, { value: activeGroup.id, onValueChange: changeGroup, children: [
|
|
18811
|
+
/* @__PURE__ */ jsx(
|
|
18812
|
+
TabsList,
|
|
18813
|
+
{
|
|
18814
|
+
className: "grid h-10 w-full rounded-[var(--radius)] bg-muted p-0.5 text-foreground",
|
|
18815
|
+
style: { gridTemplateColumns: `repeat(${groups.length}, minmax(0, 1fr))` },
|
|
18816
|
+
children: groups.map((group) => /* @__PURE__ */ jsx(
|
|
18817
|
+
TabsTrigger,
|
|
18818
|
+
{
|
|
18819
|
+
value: group.id,
|
|
18820
|
+
className: "rounded-md text-sm font-semibold text-foreground data-[state=active]:border data-[state=active]:border-border data-[state=active]:bg-background",
|
|
18821
|
+
children: group.label
|
|
18822
|
+
},
|
|
18823
|
+
group.id
|
|
18824
|
+
))
|
|
18825
|
+
}
|
|
18826
|
+
),
|
|
18827
|
+
groups.map((group) => /* @__PURE__ */ jsx(TabsContent, { value: group.id, className: "mt-3", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-2", children: group.items.map((item) => /* @__PURE__ */ jsx(
|
|
18828
|
+
"button",
|
|
18829
|
+
{
|
|
18830
|
+
type: "button",
|
|
18831
|
+
"aria-label": item.title,
|
|
18832
|
+
className: "group relative aspect-[1.27] overflow-hidden rounded-[var(--radius)] border border-border bg-card text-left transition hover:border-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
18833
|
+
style: Number.isFinite(group.itemAspectRatio) && Number(group.itemAspectRatio) > 0 ? { aspectRatio: group.itemAspectRatio } : void 0,
|
|
18834
|
+
onClick: () => onIntent?.({ type: "select-item", groupId: group.id, item }),
|
|
18835
|
+
children: renderItemMedia?.(item, group) ?? /* @__PURE__ */ jsx(AgentWorkbenchExploreCardMedia, { item })
|
|
18836
|
+
},
|
|
18837
|
+
item.id
|
|
18838
|
+
)) }) }, group.id))
|
|
18839
|
+
] }) }) : void 0;
|
|
18840
|
+
return /* @__PURE__ */ jsx(
|
|
18841
|
+
AgentWorkbenchSidebarContainer,
|
|
18726
18842
|
{
|
|
18727
18843
|
"data-sidebar-style": "explore",
|
|
18844
|
+
"data-sidebar-width-percent": resolvedConfig.widthPercent,
|
|
18728
18845
|
"aria-label": labels.navigation,
|
|
18729
|
-
|
|
18730
|
-
|
|
18731
|
-
className
|
|
18732
|
-
),
|
|
18733
|
-
children: [
|
|
18734
|
-
/* @__PURE__ */ jsxs("div", { className: "shrink-0 space-y-3 px-4 pb-2 pt-4", children: [
|
|
18735
|
-
/* @__PURE__ */ jsxs(InputGroup, { className: "h-12 rounded-[var(--radius)] border-border bg-card text-foreground", children: [
|
|
18736
|
-
/* @__PURE__ */ jsx(InputGroupAddon, { children: /* @__PURE__ */ jsx(Search, { className: "size-4 text-muted-foreground", "aria-hidden": "true" }) }),
|
|
18737
|
-
/* @__PURE__ */ jsx(
|
|
18738
|
-
InputGroupInput,
|
|
18739
|
-
{
|
|
18740
|
-
ref: searchRef,
|
|
18741
|
-
type: "search",
|
|
18742
|
-
value: searchQuery,
|
|
18743
|
-
"aria-label": labels.search,
|
|
18744
|
-
placeholder: labels.search,
|
|
18745
|
-
className: "min-w-0 text-foreground placeholder:text-muted-foreground [&::-webkit-search-cancel-button]:hidden",
|
|
18746
|
-
onChange: (event) => onIntent?.({ type: "change-search", query: event.target.value })
|
|
18747
|
-
}
|
|
18748
|
-
),
|
|
18749
|
-
/* @__PURE__ */ jsx(InputGroupAddon, { align: "inline-end", children: /* @__PURE__ */ jsx("kbd", { className: "rounded-sm border border-border px-1.5 py-0.5 text-[10px] text-muted-foreground", children: "Ctrl K" }) })
|
|
18750
|
-
] }),
|
|
18751
|
-
/* @__PURE__ */ jsxs(
|
|
18752
|
-
Button,
|
|
18753
|
-
{
|
|
18754
|
-
type: "button",
|
|
18755
|
-
className: "h-11 w-full justify-start gap-2 rounded-[var(--radius)] border border-primary/60 bg-primary px-3 font-semibold text-primary-foreground hover:bg-primary/90",
|
|
18756
|
-
onClick: () => onIntent?.({ type: "create-session" }),
|
|
18757
|
-
children: [
|
|
18758
|
-
/* @__PURE__ */ jsx(SquarePen, { className: "size-4", "aria-hidden": "true" }),
|
|
18759
|
-
labels.newSession
|
|
18760
|
-
]
|
|
18761
|
-
}
|
|
18762
|
-
)
|
|
18763
|
-
] }),
|
|
18846
|
+
header: visibleSections.has("header") ? header : void 0,
|
|
18847
|
+
search: visibleSections.has("search") ? /* @__PURE__ */ jsxs(InputGroup, { className: "h-12 rounded-[var(--radius)] border-border bg-card text-foreground", children: [
|
|
18848
|
+
/* @__PURE__ */ jsx(InputGroupAddon, { children: /* @__PURE__ */ jsx(Search, { className: "size-4 text-muted-foreground", "aria-hidden": "true" }) }),
|
|
18764
18849
|
/* @__PURE__ */ jsx(
|
|
18850
|
+
InputGroupInput,
|
|
18851
|
+
{
|
|
18852
|
+
ref: searchRef,
|
|
18853
|
+
type: "search",
|
|
18854
|
+
value: searchQuery,
|
|
18855
|
+
"aria-label": labels.search,
|
|
18856
|
+
placeholder: labels.search,
|
|
18857
|
+
className: "min-w-0 text-foreground placeholder:text-muted-foreground [&::-webkit-search-cancel-button]:hidden",
|
|
18858
|
+
onChange: (event) => onIntent?.({ type: "change-search", query: event.target.value })
|
|
18859
|
+
}
|
|
18860
|
+
),
|
|
18861
|
+
/* @__PURE__ */ jsx(InputGroupAddon, { align: "inline-end", children: /* @__PURE__ */ jsx("kbd", { className: "rounded-sm border border-border px-1.5 py-0.5 text-[10px] text-muted-foreground", children: "Ctrl K" }) })
|
|
18862
|
+
] }) : void 0,
|
|
18863
|
+
primaryAction: visibleSections.has("new-session") ? /* @__PURE__ */ jsxs(
|
|
18864
|
+
Button,
|
|
18865
|
+
{
|
|
18866
|
+
type: "button",
|
|
18867
|
+
className: "h-11 w-full justify-start gap-2 rounded-[var(--radius)] border border-primary/60 bg-primary px-3 font-semibold text-primary-foreground hover:bg-primary/90",
|
|
18868
|
+
onClick: () => onIntent?.({ type: "create-session" }),
|
|
18869
|
+
children: [
|
|
18870
|
+
/* @__PURE__ */ jsx(SquarePen, { className: "size-4", "aria-hidden": "true" }),
|
|
18871
|
+
labels.newSession
|
|
18872
|
+
]
|
|
18873
|
+
}
|
|
18874
|
+
) : void 0,
|
|
18875
|
+
groups: groupNavigation,
|
|
18876
|
+
footer: visibleSections.has("footer") ? footer : void 0,
|
|
18877
|
+
status: state,
|
|
18878
|
+
loadingState: /* @__PURE__ */ jsx("div", { className: "flex h-24 items-center justify-center text-muted-foreground", children: /* @__PURE__ */ jsx(Loader2, { className: "size-5 animate-spin" }) }),
|
|
18879
|
+
emptyState: /* @__PURE__ */ jsx("div", { className: "px-3 py-8 text-center text-sm text-muted-foreground", children: normalizedQuery ? labels.noResults : labels.emptySessions }),
|
|
18880
|
+
errorState: /* @__PURE__ */ jsxs("div", { className: "flex min-h-24 flex-col items-center justify-center gap-2 px-3 py-6 text-center", role: "alert", children: [
|
|
18881
|
+
/* @__PURE__ */ jsx(AlertCircle, { className: "size-5 shrink-0 text-destructive-text", "aria-hidden": "true" }),
|
|
18882
|
+
/* @__PURE__ */ jsx("p", { className: "max-w-full break-words text-sm text-muted-foreground", children: error }),
|
|
18883
|
+
labels.retry ? /* @__PURE__ */ jsxs(Button, { type: "button", variant: "ghost", size: "sm", className: "gap-1.5 text-primary", onClick: () => onIntent?.({ type: "retry-sessions" }), children: [
|
|
18884
|
+
/* @__PURE__ */ jsx(RefreshCw, { className: "size-3.5", "aria-hidden": "true" }),
|
|
18885
|
+
labels.retry
|
|
18886
|
+
] }) : null
|
|
18887
|
+
] }),
|
|
18888
|
+
bodyProps: { "data-agent-workbench-session-scroll-region": "" },
|
|
18889
|
+
className,
|
|
18890
|
+
classNames: { body: "min-h-[160px] flex-[0_1_280px] px-4 pb-3" },
|
|
18891
|
+
children: visibleSections.has("sessions") ? /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
18892
|
+
draftVisible ? /* @__PURE__ */ jsx(
|
|
18893
|
+
"button",
|
|
18894
|
+
{
|
|
18895
|
+
type: "button",
|
|
18896
|
+
"aria-current": "page",
|
|
18897
|
+
className: "block h-10 w-full min-w-0 truncate rounded-[var(--radius)] border border-primary bg-primary/10 px-3 text-left text-sm font-semibold text-foreground",
|
|
18898
|
+
onClick: () => onIntent?.({ type: "create-session" }),
|
|
18899
|
+
children: labels.draftSession
|
|
18900
|
+
}
|
|
18901
|
+
) : null,
|
|
18902
|
+
filteredSessions.map((session) => /* @__PURE__ */ jsxs(
|
|
18765
18903
|
"div",
|
|
18766
18904
|
{
|
|
18767
|
-
"
|
|
18768
|
-
className: "min-
|
|
18769
|
-
children:
|
|
18770
|
-
/* @__PURE__ */ jsx(
|
|
18771
|
-
/* @__PURE__ */ jsx("p", { className: "max-w-full break-words text-sm text-muted-foreground", children: error }),
|
|
18772
|
-
labels.retry ? /* @__PURE__ */ jsxs(
|
|
18773
|
-
Button,
|
|
18774
|
-
{
|
|
18775
|
-
type: "button",
|
|
18776
|
-
variant: "ghost",
|
|
18777
|
-
size: "sm",
|
|
18778
|
-
className: "gap-1.5 text-primary",
|
|
18779
|
-
onClick: () => onIntent?.({ type: "retry-sessions" }),
|
|
18780
|
-
children: [
|
|
18781
|
-
/* @__PURE__ */ jsx(RefreshCw, { className: "size-3.5", "aria-hidden": "true" }),
|
|
18782
|
-
labels.retry
|
|
18783
|
-
]
|
|
18784
|
-
}
|
|
18785
|
-
) : null
|
|
18786
|
-
] }) : loading && sessions.length === 0 ? /* @__PURE__ */ jsx("div", { className: "flex h-24 items-center justify-center text-muted-foreground", children: /* @__PURE__ */ jsx(Loader2, { className: "size-5 animate-spin" }) }) : filteredSessions.length === 0 && !draftVisible ? /* @__PURE__ */ jsx("div", { className: "px-3 py-8 text-center text-sm text-muted-foreground", children: normalizedQuery ? labels.noResults : labels.emptySessions }) : /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
18787
|
-
draftVisible ? /* @__PURE__ */ jsx(
|
|
18905
|
+
"aria-current": session.id === selectedSessionId ? "page" : void 0,
|
|
18906
|
+
className: "group flex h-10 w-full min-w-0 items-center rounded-[var(--radius)] border border-transparent bg-muted/60 text-foreground transition hover:bg-muted aria-[current=page]:border-primary aria-[current=page]:bg-primary/10",
|
|
18907
|
+
children: [
|
|
18908
|
+
/* @__PURE__ */ jsx(
|
|
18788
18909
|
"button",
|
|
18789
18910
|
{
|
|
18790
18911
|
type: "button",
|
|
18791
|
-
|
|
18792
|
-
className: "
|
|
18793
|
-
onClick: () => onIntent?.({ type: "
|
|
18794
|
-
children:
|
|
18912
|
+
title: session.title,
|
|
18913
|
+
className: "h-full min-w-0 flex-1 truncate px-3 text-left text-sm font-semibold",
|
|
18914
|
+
onClick: () => onIntent?.({ type: "select-session", sessionId: session.id }),
|
|
18915
|
+
children: session.title
|
|
18795
18916
|
}
|
|
18796
|
-
)
|
|
18797
|
-
|
|
18798
|
-
|
|
18799
|
-
|
|
18800
|
-
|
|
18801
|
-
|
|
18802
|
-
|
|
18803
|
-
|
|
18804
|
-
|
|
18805
|
-
|
|
18806
|
-
|
|
18807
|
-
|
|
18808
|
-
|
|
18809
|
-
|
|
18810
|
-
|
|
18811
|
-
|
|
18812
|
-
|
|
18813
|
-
|
|
18814
|
-
|
|
18815
|
-
|
|
18816
|
-
|
|
18817
|
-
|
|
18818
|
-
|
|
18819
|
-
|
|
18820
|
-
|
|
18821
|
-
|
|
18822
|
-
|
|
18823
|
-
|
|
18824
|
-
|
|
18825
|
-
|
|
18826
|
-
|
|
18827
|
-
|
|
18828
|
-
|
|
18829
|
-
onSelect: () => onIntent?.({
|
|
18830
|
-
type: "delete-session",
|
|
18831
|
-
sessionId: session.id
|
|
18832
|
-
}),
|
|
18833
|
-
children: [
|
|
18834
|
-
/* @__PURE__ */ jsx(Trash2, { className: "mr-2 size-4", "aria-hidden": "true" }),
|
|
18835
|
-
navigationMessages.delete
|
|
18836
|
-
]
|
|
18837
|
-
}
|
|
18838
|
-
) })
|
|
18839
|
-
] }) : null
|
|
18840
|
-
]
|
|
18841
|
-
},
|
|
18842
|
-
session.id
|
|
18843
|
-
))
|
|
18844
|
-
] })
|
|
18845
|
-
}
|
|
18846
|
-
),
|
|
18847
|
-
activeGroup ? /* @__PURE__ */ jsx("div", { className: "shrink-0 border-t border-border px-4 pb-4 pt-3", children: /* @__PURE__ */ jsxs(Tabs, { value: activeGroup.id, onValueChange: changeGroup, children: [
|
|
18848
|
-
/* @__PURE__ */ jsx(
|
|
18849
|
-
TabsList,
|
|
18850
|
-
{
|
|
18851
|
-
className: "grid h-10 w-full rounded-[var(--radius)] bg-muted p-0.5 text-foreground",
|
|
18852
|
-
style: {
|
|
18853
|
-
gridTemplateColumns: `repeat(${groups.length}, minmax(0, 1fr))`
|
|
18854
|
-
},
|
|
18855
|
-
children: groups.map((group) => /* @__PURE__ */ jsx(
|
|
18856
|
-
TabsTrigger,
|
|
18857
|
-
{
|
|
18858
|
-
value: group.id,
|
|
18859
|
-
className: "rounded-md text-sm font-semibold text-foreground data-[state=active]:border data-[state=active]:border-border data-[state=active]:bg-background",
|
|
18860
|
-
children: group.label
|
|
18861
|
-
},
|
|
18862
|
-
group.id
|
|
18863
|
-
))
|
|
18864
|
-
}
|
|
18865
|
-
),
|
|
18866
|
-
groups.map((group) => /* @__PURE__ */ jsx(TabsContent, { value: group.id, className: "mt-3", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-2", children: group.items.map((item) => /* @__PURE__ */ jsx(
|
|
18867
|
-
"button",
|
|
18868
|
-
{
|
|
18869
|
-
type: "button",
|
|
18870
|
-
"aria-label": item.title,
|
|
18871
|
-
className: "group relative aspect-[1.27] overflow-hidden rounded-[var(--radius)] border border-border bg-card text-left transition hover:border-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
18872
|
-
style: Number.isFinite(group.itemAspectRatio) && Number(group.itemAspectRatio) > 0 ? { aspectRatio: group.itemAspectRatio } : void 0,
|
|
18873
|
-
onClick: () => onIntent?.({
|
|
18874
|
-
type: "select-item",
|
|
18875
|
-
groupId: group.id,
|
|
18876
|
-
item
|
|
18877
|
-
}),
|
|
18878
|
-
children: renderItemMedia?.(item, group) ?? /* @__PURE__ */ jsx(AgentWorkbenchExploreCardMedia, { item })
|
|
18879
|
-
},
|
|
18880
|
-
item.id
|
|
18881
|
-
)) }) }, group.id))
|
|
18882
|
-
] }) }) : null
|
|
18883
|
-
]
|
|
18917
|
+
),
|
|
18918
|
+
deleteSessions ? /* @__PURE__ */ jsxs(DropdownMenu4, { children: [
|
|
18919
|
+
/* @__PURE__ */ jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
18920
|
+
Button,
|
|
18921
|
+
{
|
|
18922
|
+
type: "button",
|
|
18923
|
+
variant: "ghost",
|
|
18924
|
+
size: "icon",
|
|
18925
|
+
"aria-label": navigationMessages.actions,
|
|
18926
|
+
className: "mr-1 size-8 shrink-0 text-muted-foreground opacity-0 transition-opacity group-aria-[current=page]:opacity-100 group-focus-within:opacity-100 group-hover:opacity-100 data-[state=open]:opacity-100",
|
|
18927
|
+
children: /* @__PURE__ */ jsx(Ellipsis, { className: "size-4", "aria-hidden": "true" })
|
|
18928
|
+
}
|
|
18929
|
+
) }),
|
|
18930
|
+
/* @__PURE__ */ jsx(DropdownMenuContent, { align: "end", children: /* @__PURE__ */ jsxs(
|
|
18931
|
+
DropdownMenuItem,
|
|
18932
|
+
{
|
|
18933
|
+
className: "text-destructive-text",
|
|
18934
|
+
onSelect: () => onIntent?.({
|
|
18935
|
+
type: "delete-session",
|
|
18936
|
+
sessionId: session.id
|
|
18937
|
+
}),
|
|
18938
|
+
children: [
|
|
18939
|
+
/* @__PURE__ */ jsx(Trash2, { className: "mr-2 size-4", "aria-hidden": "true" }),
|
|
18940
|
+
navigationMessages.delete
|
|
18941
|
+
]
|
|
18942
|
+
}
|
|
18943
|
+
) })
|
|
18944
|
+
] }) : null
|
|
18945
|
+
]
|
|
18946
|
+
},
|
|
18947
|
+
session.id
|
|
18948
|
+
))
|
|
18949
|
+
] }) : null
|
|
18884
18950
|
}
|
|
18885
18951
|
);
|
|
18886
18952
|
}
|
|
@@ -32832,6 +32898,6 @@ function useDarkMode() {
|
|
|
32832
32898
|
return { mode, setMode, resolvedMode };
|
|
32833
32899
|
}
|
|
32834
32900
|
|
|
32835
|
-
export { AgentWorkbenchActivity, AgentWorkbenchExploreSidebar, AgentWorkbenchShell, AgentWorkbenchSidebar, AgentWorkbenchTaskDetails, AgentWorkbenchTool, AppHeader, AppLayout, AppShellSidebar, AppSidebar, ApplicationHandoffLink, BaseAccordion, BaseAspectRatio, BaseAvatar, BaseBadge, BaseBreadcrumb, BaseButton, BaseCheckbox, BaseCode, BaseContainer, BaseContextMenu, BaseContextMenuCheckboxItem, BaseContextMenuContent, BaseContextMenuItem, BaseContextMenuLabel, BaseContextMenuRadioGroup, BaseContextMenuRadioItem, BaseContextMenuSeparator, BaseContextMenuSub, BaseContextMenuSubContent, BaseContextMenuSubTrigger, BaseContextMenuTrigger, BaseDescriptionList, BaseDialog, BaseDivider, BaseDropdownMenu, BaseEmptyState, BaseField, BaseFieldset, BaseGrid, BaseHeading, BaseInline, BaseInput, BaseInputGroup, BaseKbd, BaseLayout, BaseLayoutPane, BaseLayoutResizeHandle, BaseLayoutSplit, BaseLink, BaseList, BaseListFooter, BaseListItem, BaseLoadingState, BaseMultiSelect, BaseNotice, BaseNumberInput, BasePagination, BasePanel, BasePasswordInput, BasePortal, BaseProgress, BaseRadioGroup, BaseScrollArea, BaseSectionHeader, BaseSegmentedControl, BaseSelect, BaseSkeleton, BaseSpinner, BaseStack, BaseSteps, BaseSwitch, BaseSystemState, BaseTable, BaseTableBody, BaseTableCaption, BaseTableCell, BaseTableContainer, BaseTableEmpty, BaseTableFooter, BaseTableFooterBar, BaseTableHead, BaseTableHeader, BaseTableLoading, BaseTableRow, BaseTabs, BaseText, BaseTextarea, BaseToolbar, BaseTooltip, BaseVisuallyHidden, DarkModeSelector, DarkModeSubMenu, DataExplorerActionBar, DataExplorerButton, DataExplorerCheckbox, DataExplorerCollectionFooter, DataExplorerDetailField, DataExplorerDetailSection, DataExplorerDetailShell, DataExplorerDisplayActionMenu, DataExplorerDisplayCard, DataExplorerDisplayCollectionView, DataExplorerDisplayListItem, DataExplorerDisplayMedia, DataExplorerFilterBar, DataExplorerImagePreview, DataExplorerPage, DataExplorerRecordCard, DataExplorerSelect, DataExplorerToolbarActions, DataExplorerToolbarShell, DataExplorerTree, DataExplorerTreeShell, DataExplorerView, DataExplorerViewCollection, DataExplorerViewItem, DataExplorerViewItemShell, DataExplorerViewShell, DataExplorerViewTree, I18nSelector, InteractiveTable, InteractiveTableEditableTextCell, InteractiveTableReadonlyCell, InteractiveTableSelectCell, LoginPage, MonkeysProvider, MonkeysToastProvider, MonkeysToaster, NavButton, NavigationLayout, NavigationSidebar, OverlayNodeHost, RenderNodeHost, MonkeysToastProvider as ToastProvider, MonkeysToaster as Toaster, UnifiedDropdown, UserAccountMenu, WorkbenchAssetGallery, WorkbenchCollection, WorkbenchContentPane, WorkbenchContentToolbar, WorkbenchDetailSidebar, WorkbenchEvidenceList, WorkbenchGalleryCard, WorkbenchGallerySettingsButton, WorkbenchGallerySettingsPanel, WorkbenchGalleryView, WorkbenchJourneyNavigation, WorkbenchLaneView, WorkbenchMasonryLayout, WorkbenchMetricGrid, WorkbenchRadarFilterChip, WorkbenchRadarFilterRow, WorkbenchRadarInspectorSection, WorkbenchRadarMatrix, WorkbenchRadarNavigation, WorkbenchRadarWorkspace, WorkbenchRankedList, WorkbenchRelationshipGraph, WorkbenchResizableSidebar, WorkbenchScatterPlot, WorkbenchSelectionTray, WorkbenchTableView, applyThemeTokens, browserOverlayHistoryAdapter, buildOverlayUrl, calculateHue, calculateLightness, calculateSaturation, cn2 as cn, compileThemeTokens, createAgentWorkbenchActivityModel, createAgentWorkbenchDetailsModel, createSolidColorScale, defaultMonkeysLocale, enUS, extractToastMessage, genTailwindTheme, getBaseBadgeToneClassName, getBaseButtonToneClassName, getBaseMenuItemToneClassName, getBaseNoticeToneClassName, getDataExplorerActionToneClassName, getDataExplorerMenuItemToneClassName, getOverlayPresentationClassNames, getOverlayZIndex, getRenderNodeDataAttributes, getThemeTokenCssValue, isOverlayUrlActive, markDarkColor, mergeMonkeysLocaleMessages, resolveBaseAppearance, resolveDataExplorerAppearance, resolveMonkeysLocale, resolveRenderNodePolicyState, resolveToastVariantForMessage, sessionRenderNodeScrollRestoration, setTailwindTheme, toast, useDarkMode, useMonkeysBaseAppearance, useMonkeysComponentAttributes, useMonkeysDataExplorerAppearance, useMonkeysDirection, useMonkeysEnvironment, useMonkeysListFooter, useMonkeysLocale, useMonkeysLocaleMessages, useMonkeysPortalOptions, useMonkeysResolvedTheme, useMonkeysStatusStates, useToastFeed, useToastOnValue, zhCN };
|
|
32901
|
+
export { AgentWorkbenchActivity, AgentWorkbenchExploreSidebar, AgentWorkbenchShell, AgentWorkbenchSidebar, AgentWorkbenchSidebarContainer, AgentWorkbenchTaskDetails, AgentWorkbenchTool, AppHeader, AppLayout, AppShellSidebar, AppSidebar, ApplicationHandoffLink, BaseAccordion, BaseAspectRatio, BaseAvatar, BaseBadge, BaseBreadcrumb, BaseButton, BaseCheckbox, BaseCode, BaseContainer, BaseContextMenu, BaseContextMenuCheckboxItem, BaseContextMenuContent, BaseContextMenuItem, BaseContextMenuLabel, BaseContextMenuRadioGroup, BaseContextMenuRadioItem, BaseContextMenuSeparator, BaseContextMenuSub, BaseContextMenuSubContent, BaseContextMenuSubTrigger, BaseContextMenuTrigger, BaseDescriptionList, BaseDialog, BaseDivider, BaseDropdownMenu, BaseEmptyState, BaseField, BaseFieldset, BaseGrid, BaseHeading, BaseInline, BaseInput, BaseInputGroup, BaseKbd, BaseLayout, BaseLayoutPane, BaseLayoutResizeHandle, BaseLayoutSplit, BaseLink, BaseList, BaseListFooter, BaseListItem, BaseLoadingState, BaseMultiSelect, BaseNotice, BaseNumberInput, BasePagination, BasePanel, BasePasswordInput, BasePortal, BaseProgress, BaseRadioGroup, BaseScrollArea, BaseSectionHeader, BaseSegmentedControl, BaseSelect, BaseSkeleton, BaseSpinner, BaseStack, BaseSteps, BaseSwitch, BaseSystemState, BaseTable, BaseTableBody, BaseTableCaption, BaseTableCell, BaseTableContainer, BaseTableEmpty, BaseTableFooter, BaseTableFooterBar, BaseTableHead, BaseTableHeader, BaseTableLoading, BaseTableRow, BaseTabs, BaseText, BaseTextarea, BaseToolbar, BaseTooltip, BaseVisuallyHidden, DarkModeSelector, DarkModeSubMenu, DataExplorerActionBar, DataExplorerButton, DataExplorerCheckbox, DataExplorerCollectionFooter, DataExplorerDetailField, DataExplorerDetailSection, DataExplorerDetailShell, DataExplorerDisplayActionMenu, DataExplorerDisplayCard, DataExplorerDisplayCollectionView, DataExplorerDisplayListItem, DataExplorerDisplayMedia, DataExplorerFilterBar, DataExplorerImagePreview, DataExplorerPage, DataExplorerRecordCard, DataExplorerSelect, DataExplorerToolbarActions, DataExplorerToolbarShell, DataExplorerTree, DataExplorerTreeShell, DataExplorerView, DataExplorerViewCollection, DataExplorerViewItem, DataExplorerViewItemShell, DataExplorerViewShell, DataExplorerViewTree, I18nSelector, InteractiveTable, InteractiveTableEditableTextCell, InteractiveTableReadonlyCell, InteractiveTableSelectCell, LoginPage, MonkeysProvider, MonkeysToastProvider, MonkeysToaster, NavButton, NavigationLayout, NavigationSidebar, OverlayNodeHost, RenderNodeHost, MonkeysToastProvider as ToastProvider, MonkeysToaster as Toaster, UnifiedDropdown, UserAccountMenu, WorkbenchAssetGallery, WorkbenchCollection, WorkbenchContentPane, WorkbenchContentToolbar, WorkbenchDetailSidebar, WorkbenchEvidenceList, WorkbenchGalleryCard, WorkbenchGallerySettingsButton, WorkbenchGallerySettingsPanel, WorkbenchGalleryView, WorkbenchJourneyNavigation, WorkbenchLaneView, WorkbenchMasonryLayout, WorkbenchMetricGrid, WorkbenchRadarFilterChip, WorkbenchRadarFilterRow, WorkbenchRadarInspectorSection, WorkbenchRadarMatrix, WorkbenchRadarNavigation, WorkbenchRadarWorkspace, WorkbenchRankedList, WorkbenchRelationshipGraph, WorkbenchResizableSidebar, WorkbenchScatterPlot, WorkbenchSelectionTray, WorkbenchTableView, applyThemeTokens, browserOverlayHistoryAdapter, buildOverlayUrl, calculateHue, calculateLightness, calculateSaturation, cn2 as cn, compileThemeTokens, createAgentWorkbenchActivityModel, createAgentWorkbenchDetailsModel, createSolidColorScale, defaultMonkeysLocale, enUS, extractToastMessage, genTailwindTheme, getBaseBadgeToneClassName, getBaseButtonToneClassName, getBaseMenuItemToneClassName, getBaseNoticeToneClassName, getDataExplorerActionToneClassName, getDataExplorerMenuItemToneClassName, getOverlayPresentationClassNames, getOverlayZIndex, getRenderNodeDataAttributes, getThemeTokenCssValue, isOverlayUrlActive, markDarkColor, mergeMonkeysLocaleMessages, resolveBaseAppearance, resolveDataExplorerAppearance, resolveMonkeysLocale, resolveRenderNodePolicyState, resolveToastVariantForMessage, sessionRenderNodeScrollRestoration, setTailwindTheme, toast, useDarkMode, useMonkeysBaseAppearance, useMonkeysComponentAttributes, useMonkeysDataExplorerAppearance, useMonkeysDirection, useMonkeysEnvironment, useMonkeysListFooter, useMonkeysLocale, useMonkeysLocaleMessages, useMonkeysPortalOptions, useMonkeysResolvedTheme, useMonkeysStatusStates, useToastFeed, useToastOnValue, zhCN };
|
|
32836
32902
|
//# sourceMappingURL=index.mjs.map
|
|
32837
32903
|
//# sourceMappingURL=index.mjs.map
|