@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChevronDown, Check, ChevronRight, Circle, ChevronUp, ArrowUp, ArrowDown, Pencil, Trash2, Image, File, LoaderCircle, CircleAlert, RotateCcw, X, Paperclip, FileText, Mic, Send, Square, ShoppingBag, Code2, Search, Palette, Sparkles, ArrowLeft, Upload, ArrowUpRight, Plus, Pin, SquarePen, Blocks, MessageSquare, Bot, Settings, AlertCircle, RefreshCw, Loader2,
|
|
1
|
+
import { ChevronDown, Check, ChevronRight, Circle, ChevronUp, ArrowUp, ArrowDown, Pencil, Trash2, Image, File, LoaderCircle, CircleAlert, RotateCcw, X, Paperclip, FileText, Mic, Send, Square, ShoppingBag, Code2, Search, Palette, Sparkles, ArrowLeft, Upload, ArrowUpRight, Plus, Pin, SquarePen, Blocks, MessageSquare, Bot, Settings, Ellipsis, AlertCircle, RefreshCw, Loader2, Clock3, TerminalSquare, FileOutput, Download, ListFilter, Link2, ExternalLink, PanelRightClose, Wrench, BookOpen, CheckCircle2, XCircle, CircleStop, GitFork, PencilLine, Copy, FileCode2, Files, TestTube2, Globe2, Film, Presentation, FileImage, Music2 } from 'lucide-react';
|
|
2
2
|
import * as React5 from 'react';
|
|
3
3
|
import { useImperativeHandle, forwardRef, createContext, useRef, useState, useMemo, useEffect, useContext } from 'react';
|
|
4
4
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
@@ -14,6 +14,7 @@ import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
|
14
14
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
15
15
|
import { cva } from 'class-variance-authority';
|
|
16
16
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
17
|
+
import { resolveAgentWorkbenchSidebarConfig } from '@inf-monkeys-tech/monkeys';
|
|
17
18
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
18
19
|
import { useSensors, useSensor, PointerSensor, KeyboardSensor, DndContext, closestCenter } from '@dnd-kit/core';
|
|
19
20
|
import { sortableKeyboardCoordinates, SortableContext, horizontalListSortingStrategy, useSortable } from '@dnd-kit/sortable';
|
|
@@ -1430,6 +1431,61 @@ function AgentWorkbenchQuickStart({ viewModel, className, onIntent }) {
|
|
|
1430
1431
|
] })
|
|
1431
1432
|
] });
|
|
1432
1433
|
}
|
|
1434
|
+
var AgentWorkbenchSidebarContainer = forwardRef(
|
|
1435
|
+
function AgentWorkbenchSidebarContainer2({
|
|
1436
|
+
children,
|
|
1437
|
+
header,
|
|
1438
|
+
search,
|
|
1439
|
+
primaryAction,
|
|
1440
|
+
actions,
|
|
1441
|
+
groups,
|
|
1442
|
+
footer,
|
|
1443
|
+
className,
|
|
1444
|
+
classNames,
|
|
1445
|
+
bodyProps,
|
|
1446
|
+
bodyScrollable = true,
|
|
1447
|
+
status = "ready",
|
|
1448
|
+
loadingState,
|
|
1449
|
+
emptyState,
|
|
1450
|
+
errorState,
|
|
1451
|
+
...props
|
|
1452
|
+
}, ref) {
|
|
1453
|
+
const hasToolbar = search !== void 0 || primaryAction !== void 0 || actions !== void 0;
|
|
1454
|
+
const statusContent = status === "loading" ? loadingState : status === "empty" ? emptyState : status === "error" ? errorState : children;
|
|
1455
|
+
return /* @__PURE__ */ jsxs(
|
|
1456
|
+
"nav",
|
|
1457
|
+
{
|
|
1458
|
+
ref,
|
|
1459
|
+
className: cn2("flex h-full min-h-0 flex-col bg-background text-foreground", classNames?.root, className),
|
|
1460
|
+
...props,
|
|
1461
|
+
children: [
|
|
1462
|
+
header !== void 0 ? /* @__PURE__ */ jsx("div", { className: cn2("shrink-0", classNames?.header), children: header }) : null,
|
|
1463
|
+
hasToolbar ? /* @__PURE__ */ jsxs("div", { className: cn2("shrink-0 space-y-3 px-4 pb-2 pt-4", classNames?.search), children: [
|
|
1464
|
+
search,
|
|
1465
|
+
primaryAction !== void 0 ? /* @__PURE__ */ jsx("div", { className: cn2(classNames?.primaryAction), children: primaryAction }) : null,
|
|
1466
|
+
actions !== void 0 ? /* @__PURE__ */ jsx("div", { className: cn2("flex min-w-0 items-center gap-2", classNames?.actions), children: actions }) : null
|
|
1467
|
+
] }) : null,
|
|
1468
|
+
/* @__PURE__ */ jsx(
|
|
1469
|
+
"div",
|
|
1470
|
+
{
|
|
1471
|
+
"data-agent-workbench-scroll-region": bodyScrollable ? "" : void 0,
|
|
1472
|
+
...bodyProps,
|
|
1473
|
+
className: cn2(
|
|
1474
|
+
"min-h-0 flex-1 px-4 pb-4",
|
|
1475
|
+
bodyScrollable && "overflow-x-hidden overflow-y-auto overscroll-contain",
|
|
1476
|
+
classNames?.body
|
|
1477
|
+
),
|
|
1478
|
+
children: statusContent
|
|
1479
|
+
}
|
|
1480
|
+
),
|
|
1481
|
+
groups !== void 0 ? /* @__PURE__ */ jsx("div", { className: cn2("shrink-0", classNames?.groups), children: groups }) : null,
|
|
1482
|
+
footer !== void 0 ? /* @__PURE__ */ jsx("div", { className: cn2("shrink-0", classNames?.footer), children: footer }) : null
|
|
1483
|
+
]
|
|
1484
|
+
}
|
|
1485
|
+
);
|
|
1486
|
+
}
|
|
1487
|
+
);
|
|
1488
|
+
AgentWorkbenchSidebarContainer.displayName = "AgentWorkbenchSidebarContainer";
|
|
1433
1489
|
function ItemAvatar({ item }) {
|
|
1434
1490
|
const [failed, setFailed] = useState(false);
|
|
1435
1491
|
if (item.iconUrl && !failed) {
|
|
@@ -1524,15 +1580,22 @@ function SessionActions({
|
|
|
1524
1580
|
}
|
|
1525
1581
|
function AgentWorkbenchSidebar({
|
|
1526
1582
|
viewModel,
|
|
1527
|
-
navigationMode
|
|
1583
|
+
navigationMode,
|
|
1584
|
+
config,
|
|
1585
|
+
header,
|
|
1528
1586
|
headerActions,
|
|
1587
|
+
footer,
|
|
1529
1588
|
className,
|
|
1530
1589
|
classNames,
|
|
1531
1590
|
onIntent
|
|
1532
1591
|
}) {
|
|
1533
1592
|
const { locale } = useMonkeysLocale();
|
|
1534
1593
|
const messages = useMonkeysLocaleMessages().agentWorkbench.navigation;
|
|
1535
|
-
const
|
|
1594
|
+
const resolvedConfig = useMemo(() => resolveAgentWorkbenchSidebarConfig(config), [config]);
|
|
1595
|
+
const visibleSections = useMemo(() => new Set(resolvedConfig.visibleSections), [resolvedConfig.visibleSections]);
|
|
1596
|
+
const sessionsOnly = navigationMode === "sessions-only" || navigationMode === void 0 && resolvedConfig.navigationMode !== "default";
|
|
1597
|
+
const showAgents = visibleSections.has("agents") && !sessionsOnly;
|
|
1598
|
+
const showSessions = visibleSections.has("sessions");
|
|
1536
1599
|
const searchRef = useRef(null);
|
|
1537
1600
|
const renameInputRef = useRef(null);
|
|
1538
1601
|
const [editingSessionId, setEditingSessionId] = useState();
|
|
@@ -1629,17 +1692,21 @@ function AgentWorkbenchSidebar({
|
|
|
1629
1692
|
] })
|
|
1630
1693
|
] }, item.id);
|
|
1631
1694
|
}) });
|
|
1632
|
-
return /* @__PURE__ */ jsx(
|
|
1695
|
+
return /* @__PURE__ */ jsx(
|
|
1633
1696
|
Tabs,
|
|
1634
1697
|
{
|
|
1635
|
-
value: sessionsOnly ? "sessions" : viewModel.activeTab,
|
|
1698
|
+
value: sessionsOnly || !showAgents ? "sessions" : viewModel.activeTab,
|
|
1636
1699
|
onValueChange: (value) => {
|
|
1637
1700
|
if (!sessionsOnly && (value === "agents" || value === "sessions")) onIntent?.({ type: "change-tab", tab: value });
|
|
1638
1701
|
},
|
|
1639
|
-
className: "
|
|
1640
|
-
children:
|
|
1641
|
-
|
|
1642
|
-
|
|
1702
|
+
className: "h-full min-h-0",
|
|
1703
|
+
children: /* @__PURE__ */ jsxs(
|
|
1704
|
+
AgentWorkbenchSidebarContainer,
|
|
1705
|
+
{
|
|
1706
|
+
"data-sidebar-width-percent": resolvedConfig.widthPercent,
|
|
1707
|
+
"aria-label": messages.tabsLabel,
|
|
1708
|
+
header: visibleSections.has("header") ? header : void 0,
|
|
1709
|
+
search: visibleSections.has("search") ? /* @__PURE__ */ jsxs(InputGroup, { className: cn2("h-10 rounded-lg bg-card", classNames?.search), children: [
|
|
1643
1710
|
/* @__PURE__ */ jsx(InputGroupAddon, { children: /* @__PURE__ */ jsx(Search, { className: "size-4", "aria-hidden": "true" }) }),
|
|
1644
1711
|
/* @__PURE__ */ jsx(
|
|
1645
1712
|
InputGroupInput,
|
|
@@ -1659,92 +1726,100 @@ function AgentWorkbenchSidebar({
|
|
|
1659
1726
|
}
|
|
1660
1727
|
),
|
|
1661
1728
|
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" }) })
|
|
1662
|
-
] }),
|
|
1663
|
-
|
|
1664
|
-
|
|
1729
|
+
] }) : void 0,
|
|
1730
|
+
actions: showAgents && showSessions || headerActions ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1731
|
+
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: [
|
|
1665
1732
|
/* @__PURE__ */ jsx(TabsTrigger, { value: "agents", children: messages.agents }),
|
|
1666
1733
|
/* @__PURE__ */ jsx(TabsTrigger, { value: "sessions", children: messages.sessions })
|
|
1667
1734
|
] }) : null,
|
|
1668
1735
|
headerActions ? /* @__PURE__ */ jsx("div", { className: "flex shrink-0 items-center", children: headerActions }) : null
|
|
1669
|
-
] }) :
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1736
|
+
] }) : void 0,
|
|
1737
|
+
footer: visibleSections.has("footer") && (!sessionsOnly && viewModel.capabilities.manageAgentSettings || footer) ? /* @__PURE__ */ jsxs("div", { className: cn2("border-t border-border p-4", classNames?.footer), children: [
|
|
1738
|
+
!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: [
|
|
1739
|
+
/* @__PURE__ */ jsx(Settings, { className: "size-4", "aria-hidden": "true" }),
|
|
1740
|
+
messages.settings
|
|
1741
|
+
] }) : null,
|
|
1742
|
+
footer
|
|
1743
|
+
] }) : void 0,
|
|
1744
|
+
bodyScrollable: false,
|
|
1745
|
+
className,
|
|
1746
|
+
classNames: { root: classNames?.root, body: "flex min-h-0 flex-1 flex-col p-0" },
|
|
1747
|
+
children: [
|
|
1748
|
+
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: [
|
|
1749
|
+
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: [
|
|
1750
|
+
/* @__PURE__ */ jsx(Plus, { className: "size-4", "aria-hidden": "true" }),
|
|
1751
|
+
messages.newAgent
|
|
1752
|
+
] }) : null,
|
|
1753
|
+
/* @__PURE__ */ jsx("h3", { className: "mb-2 px-3 text-xs font-medium text-muted-foreground", children: messages.allAgents }),
|
|
1754
|
+
/* @__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" }) }),
|
|
1755
|
+
/* @__PURE__ */ jsx("div", { className: "space-y-1", children: agents.map((item) => /* @__PURE__ */ jsxs(
|
|
1756
|
+
"div",
|
|
1757
|
+
{
|
|
1758
|
+
"aria-current": item.id === viewModel.selectedAgentItem ? "page" : void 0,
|
|
1759
|
+
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),
|
|
1760
|
+
children: [
|
|
1761
|
+
/* @__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: [
|
|
1762
|
+
/* @__PURE__ */ jsx("span", { className: "flex size-10 shrink-0 items-center justify-center overflow-hidden rounded-lg bg-muted", children: /* @__PURE__ */ jsx(ItemAvatar, { item }) }),
|
|
1763
|
+
/* @__PURE__ */ jsxs("span", { className: "min-w-0 flex-1", children: [
|
|
1764
|
+
/* @__PURE__ */ jsx("span", { className: "block truncate text-sm font-medium", children: item.name }),
|
|
1765
|
+
/* @__PURE__ */ jsx("span", { className: "block truncate text-xs text-foreground/80", children: item.description || messages.noDescription })
|
|
1766
|
+
] })
|
|
1767
|
+
] }),
|
|
1768
|
+
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,
|
|
1769
|
+
viewModel.capabilities.pinAgents ? /* @__PURE__ */ jsx(
|
|
1770
|
+
Button,
|
|
1771
|
+
{
|
|
1772
|
+
type: "button",
|
|
1773
|
+
variant: "ghost",
|
|
1774
|
+
size: "icon",
|
|
1775
|
+
"aria-label": item.pinned ? messages.unpin : messages.pin,
|
|
1776
|
+
className: cn2("size-8 text-muted-foreground opacity-0 group-hover:opacity-100", item.pinned && "text-primary opacity-100"),
|
|
1777
|
+
onClick: (event) => {
|
|
1778
|
+
event.stopPropagation();
|
|
1779
|
+
onIntent?.({ type: "toggle-agent-pin", itemId: item.id, pinned: !item.pinned });
|
|
1780
|
+
},
|
|
1781
|
+
onKeyDown: (event) => {
|
|
1782
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
1783
|
+
event.preventDefault();
|
|
1784
|
+
event.stopPropagation();
|
|
1785
|
+
onIntent?.({ type: "toggle-agent-pin", itemId: item.id, pinned: !item.pinned });
|
|
1786
|
+
}
|
|
1787
|
+
},
|
|
1788
|
+
children: /* @__PURE__ */ jsx(Pin, { className: cn2("size-4", item.pinned && "fill-current", item.pinPending && "animate-pulse") })
|
|
1709
1789
|
}
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
},
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
] })
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
!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: [
|
|
1742
|
-
/* @__PURE__ */ jsx(Settings, { className: "size-4", "aria-hidden": "true" }),
|
|
1743
|
-
messages.settings
|
|
1744
|
-
] }) }) : null
|
|
1745
|
-
]
|
|
1790
|
+
) : null
|
|
1791
|
+
]
|
|
1792
|
+
},
|
|
1793
|
+
item.id
|
|
1794
|
+
)) })
|
|
1795
|
+
] }) : null,
|
|
1796
|
+
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: [
|
|
1797
|
+
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: [
|
|
1798
|
+
/* @__PURE__ */ jsx(SquarePen, { className: "size-4", "aria-hidden": "true" }),
|
|
1799
|
+
messages.newSession
|
|
1800
|
+
] }) : null,
|
|
1801
|
+
!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: [
|
|
1802
|
+
/* @__PURE__ */ jsx(Blocks, { className: "size-4", "aria-hidden": "true" }),
|
|
1803
|
+
messages.capabilities
|
|
1804
|
+
] }) : null,
|
|
1805
|
+
!sessionsOnly ? /* @__PURE__ */ jsx("h3", { className: "mb-2 px-3 text-xs font-medium text-muted-foreground", children: messages.recentSessions }) : null,
|
|
1806
|
+
/* @__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" }) }),
|
|
1807
|
+
sessionsOnly && sessions.length > 0 ? /* @__PURE__ */ jsx("div", { className: "space-y-2", children: [
|
|
1808
|
+
{ id: "chatbot", label: messages.chats, icon: MessageSquare, items: chatbotSessions },
|
|
1809
|
+
{ id: "agent", label: messages.agents, icon: Bot, items: agentSessions }
|
|
1810
|
+
].map(({ id, label, icon: Icon2, items }) => /* @__PURE__ */ jsxs("details", { open: true, "aria-label": label, children: [
|
|
1811
|
+
/* @__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: [
|
|
1812
|
+
/* @__PURE__ */ jsx(Icon2, { className: "size-4 shrink-0 text-muted-foreground", "aria-hidden": "true" }),
|
|
1813
|
+
/* @__PURE__ */ jsx("span", { className: "min-w-0 truncate", children: label })
|
|
1814
|
+
] }),
|
|
1815
|
+
renderSessionItems(items)
|
|
1816
|
+
] }, id)) }) : !sessionsOnly ? renderSessionItems(sessions) : null
|
|
1817
|
+
] }) : null
|
|
1818
|
+
]
|
|
1819
|
+
}
|
|
1820
|
+
)
|
|
1746
1821
|
}
|
|
1747
|
-
)
|
|
1822
|
+
);
|
|
1748
1823
|
}
|
|
1749
1824
|
function AgentWorkbenchExploreCardMedia({
|
|
1750
1825
|
item,
|
|
@@ -1797,7 +1872,8 @@ function AgentWorkbenchExploreCardMedia({
|
|
|
1797
1872
|
}
|
|
1798
1873
|
function AgentWorkbenchExploreSidebar({
|
|
1799
1874
|
sessions,
|
|
1800
|
-
groups,
|
|
1875
|
+
groups: configuredGroups,
|
|
1876
|
+
config,
|
|
1801
1877
|
labels,
|
|
1802
1878
|
selectedSessionId,
|
|
1803
1879
|
searchQuery = "",
|
|
@@ -1806,14 +1882,23 @@ function AgentWorkbenchExploreSidebar({
|
|
|
1806
1882
|
showDraftSession = !selectedSessionId,
|
|
1807
1883
|
deleteSessions = false,
|
|
1808
1884
|
defaultGroupId,
|
|
1885
|
+
header,
|
|
1886
|
+
footer,
|
|
1809
1887
|
className,
|
|
1810
1888
|
renderItemMedia,
|
|
1811
1889
|
onIntent
|
|
1812
1890
|
}) {
|
|
1813
1891
|
const navigationMessages = useMonkeysLocaleMessages().agentWorkbench.navigation;
|
|
1814
1892
|
const searchRef = useRef(null);
|
|
1893
|
+
const resolvedConfig = useMemo(() => resolveAgentWorkbenchSidebarConfig(config), [config]);
|
|
1894
|
+
const visibleSections = useMemo(
|
|
1895
|
+
() => new Set(resolvedConfig.visibleSections),
|
|
1896
|
+
[resolvedConfig.visibleSections]
|
|
1897
|
+
);
|
|
1898
|
+
const groups = configuredGroups?.length ? configuredGroups : resolvedConfig.groups;
|
|
1899
|
+
const resolvedDefaultGroupId = defaultGroupId ?? resolvedConfig.defaultGroupId;
|
|
1815
1900
|
const [activeGroupId, setActiveGroupId] = useState(
|
|
1816
|
-
|
|
1901
|
+
resolvedDefaultGroupId ?? groups[0]?.id ?? ""
|
|
1817
1902
|
);
|
|
1818
1903
|
const activeGroup = groups.find((group) => group.id === activeGroupId) ?? groups[0];
|
|
1819
1904
|
const normalizedQuery = searchQuery.trim().toLocaleLowerCase();
|
|
@@ -1826,8 +1911,8 @@ function AgentWorkbenchExploreSidebar({
|
|
|
1826
1911
|
);
|
|
1827
1912
|
useEffect(() => {
|
|
1828
1913
|
if (groups.some((group) => group.id === activeGroupId)) return;
|
|
1829
|
-
setActiveGroupId(
|
|
1830
|
-
}, [activeGroupId,
|
|
1914
|
+
setActiveGroupId(resolvedDefaultGroupId ?? groups[0]?.id ?? "");
|
|
1915
|
+
}, [activeGroupId, groups, resolvedDefaultGroupId]);
|
|
1831
1916
|
useEffect(() => {
|
|
1832
1917
|
const handleShortcut = (event) => {
|
|
1833
1918
|
if (!(event.ctrlKey || event.metaKey) || event.key.toLocaleLowerCase() !== "k")
|
|
@@ -1843,166 +1928,147 @@ function AgentWorkbenchExploreSidebar({
|
|
|
1843
1928
|
setActiveGroupId(groupId);
|
|
1844
1929
|
onIntent?.({ type: "change-group", groupId });
|
|
1845
1930
|
};
|
|
1846
|
-
|
|
1847
|
-
|
|
1931
|
+
const state = !visibleSections.has("sessions") ? "ready" : error ? "error" : loading && sessions.length === 0 ? "loading" : filteredSessions.length === 0 && !draftVisible ? "empty" : "ready";
|
|
1932
|
+
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: [
|
|
1933
|
+
/* @__PURE__ */ jsx(
|
|
1934
|
+
TabsList,
|
|
1935
|
+
{
|
|
1936
|
+
className: "grid h-10 w-full rounded-[var(--radius)] bg-muted p-0.5 text-foreground",
|
|
1937
|
+
style: { gridTemplateColumns: `repeat(${groups.length}, minmax(0, 1fr))` },
|
|
1938
|
+
children: groups.map((group) => /* @__PURE__ */ jsx(
|
|
1939
|
+
TabsTrigger,
|
|
1940
|
+
{
|
|
1941
|
+
value: group.id,
|
|
1942
|
+
className: "rounded-md text-sm font-semibold text-foreground data-[state=active]:border data-[state=active]:border-border data-[state=active]:bg-background",
|
|
1943
|
+
children: group.label
|
|
1944
|
+
},
|
|
1945
|
+
group.id
|
|
1946
|
+
))
|
|
1947
|
+
}
|
|
1948
|
+
),
|
|
1949
|
+
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(
|
|
1950
|
+
"button",
|
|
1951
|
+
{
|
|
1952
|
+
type: "button",
|
|
1953
|
+
"aria-label": item.title,
|
|
1954
|
+
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",
|
|
1955
|
+
style: Number.isFinite(group.itemAspectRatio) && Number(group.itemAspectRatio) > 0 ? { aspectRatio: group.itemAspectRatio } : void 0,
|
|
1956
|
+
onClick: () => onIntent?.({ type: "select-item", groupId: group.id, item }),
|
|
1957
|
+
children: renderItemMedia?.(item, group) ?? /* @__PURE__ */ jsx(AgentWorkbenchExploreCardMedia, { item })
|
|
1958
|
+
},
|
|
1959
|
+
item.id
|
|
1960
|
+
)) }) }, group.id))
|
|
1961
|
+
] }) }) : void 0;
|
|
1962
|
+
return /* @__PURE__ */ jsx(
|
|
1963
|
+
AgentWorkbenchSidebarContainer,
|
|
1848
1964
|
{
|
|
1849
1965
|
"data-sidebar-style": "explore",
|
|
1966
|
+
"data-sidebar-width-percent": resolvedConfig.widthPercent,
|
|
1850
1967
|
"aria-label": labels.navigation,
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
className
|
|
1854
|
-
),
|
|
1855
|
-
children: [
|
|
1856
|
-
/* @__PURE__ */ jsxs("div", { className: "shrink-0 space-y-3 px-4 pb-2 pt-4", children: [
|
|
1857
|
-
/* @__PURE__ */ jsxs(InputGroup, { className: "h-12 rounded-[var(--radius)] border-border bg-card text-foreground", children: [
|
|
1858
|
-
/* @__PURE__ */ jsx(InputGroupAddon, { children: /* @__PURE__ */ jsx(Search, { className: "size-4 text-muted-foreground", "aria-hidden": "true" }) }),
|
|
1859
|
-
/* @__PURE__ */ jsx(
|
|
1860
|
-
InputGroupInput,
|
|
1861
|
-
{
|
|
1862
|
-
ref: searchRef,
|
|
1863
|
-
type: "search",
|
|
1864
|
-
value: searchQuery,
|
|
1865
|
-
"aria-label": labels.search,
|
|
1866
|
-
placeholder: labels.search,
|
|
1867
|
-
className: "min-w-0 text-foreground placeholder:text-muted-foreground [&::-webkit-search-cancel-button]:hidden",
|
|
1868
|
-
onChange: (event) => onIntent?.({ type: "change-search", query: event.target.value })
|
|
1869
|
-
}
|
|
1870
|
-
),
|
|
1871
|
-
/* @__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" }) })
|
|
1872
|
-
] }),
|
|
1873
|
-
/* @__PURE__ */ jsxs(
|
|
1874
|
-
Button,
|
|
1875
|
-
{
|
|
1876
|
-
type: "button",
|
|
1877
|
-
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",
|
|
1878
|
-
onClick: () => onIntent?.({ type: "create-session" }),
|
|
1879
|
-
children: [
|
|
1880
|
-
/* @__PURE__ */ jsx(SquarePen, { className: "size-4", "aria-hidden": "true" }),
|
|
1881
|
-
labels.newSession
|
|
1882
|
-
]
|
|
1883
|
-
}
|
|
1884
|
-
)
|
|
1885
|
-
] }),
|
|
1968
|
+
header: visibleSections.has("header") ? header : void 0,
|
|
1969
|
+
search: visibleSections.has("search") ? /* @__PURE__ */ jsxs(InputGroup, { className: "h-12 rounded-[var(--radius)] border-border bg-card text-foreground", children: [
|
|
1970
|
+
/* @__PURE__ */ jsx(InputGroupAddon, { children: /* @__PURE__ */ jsx(Search, { className: "size-4 text-muted-foreground", "aria-hidden": "true" }) }),
|
|
1886
1971
|
/* @__PURE__ */ jsx(
|
|
1972
|
+
InputGroupInput,
|
|
1973
|
+
{
|
|
1974
|
+
ref: searchRef,
|
|
1975
|
+
type: "search",
|
|
1976
|
+
value: searchQuery,
|
|
1977
|
+
"aria-label": labels.search,
|
|
1978
|
+
placeholder: labels.search,
|
|
1979
|
+
className: "min-w-0 text-foreground placeholder:text-muted-foreground [&::-webkit-search-cancel-button]:hidden",
|
|
1980
|
+
onChange: (event) => onIntent?.({ type: "change-search", query: event.target.value })
|
|
1981
|
+
}
|
|
1982
|
+
),
|
|
1983
|
+
/* @__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" }) })
|
|
1984
|
+
] }) : void 0,
|
|
1985
|
+
primaryAction: visibleSections.has("new-session") ? /* @__PURE__ */ jsxs(
|
|
1986
|
+
Button,
|
|
1987
|
+
{
|
|
1988
|
+
type: "button",
|
|
1989
|
+
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",
|
|
1990
|
+
onClick: () => onIntent?.({ type: "create-session" }),
|
|
1991
|
+
children: [
|
|
1992
|
+
/* @__PURE__ */ jsx(SquarePen, { className: "size-4", "aria-hidden": "true" }),
|
|
1993
|
+
labels.newSession
|
|
1994
|
+
]
|
|
1995
|
+
}
|
|
1996
|
+
) : void 0,
|
|
1997
|
+
groups: groupNavigation,
|
|
1998
|
+
footer: visibleSections.has("footer") ? footer : void 0,
|
|
1999
|
+
status: state,
|
|
2000
|
+
loadingState: /* @__PURE__ */ jsx("div", { className: "flex h-24 items-center justify-center text-muted-foreground", children: /* @__PURE__ */ jsx(Loader2, { className: "size-5 animate-spin" }) }),
|
|
2001
|
+
emptyState: /* @__PURE__ */ jsx("div", { className: "px-3 py-8 text-center text-sm text-muted-foreground", children: normalizedQuery ? labels.noResults : labels.emptySessions }),
|
|
2002
|
+
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: [
|
|
2003
|
+
/* @__PURE__ */ jsx(AlertCircle, { className: "size-5 shrink-0 text-destructive-text", "aria-hidden": "true" }),
|
|
2004
|
+
/* @__PURE__ */ jsx("p", { className: "max-w-full break-words text-sm text-muted-foreground", children: error }),
|
|
2005
|
+
labels.retry ? /* @__PURE__ */ jsxs(Button, { type: "button", variant: "ghost", size: "sm", className: "gap-1.5 text-primary", onClick: () => onIntent?.({ type: "retry-sessions" }), children: [
|
|
2006
|
+
/* @__PURE__ */ jsx(RefreshCw, { className: "size-3.5", "aria-hidden": "true" }),
|
|
2007
|
+
labels.retry
|
|
2008
|
+
] }) : null
|
|
2009
|
+
] }),
|
|
2010
|
+
bodyProps: { "data-agent-workbench-session-scroll-region": "" },
|
|
2011
|
+
className,
|
|
2012
|
+
classNames: { body: "min-h-[160px] flex-[0_1_280px] px-4 pb-3" },
|
|
2013
|
+
children: visibleSections.has("sessions") ? /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
2014
|
+
draftVisible ? /* @__PURE__ */ jsx(
|
|
2015
|
+
"button",
|
|
2016
|
+
{
|
|
2017
|
+
type: "button",
|
|
2018
|
+
"aria-current": "page",
|
|
2019
|
+
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",
|
|
2020
|
+
onClick: () => onIntent?.({ type: "create-session" }),
|
|
2021
|
+
children: labels.draftSession
|
|
2022
|
+
}
|
|
2023
|
+
) : null,
|
|
2024
|
+
filteredSessions.map((session) => /* @__PURE__ */ jsxs(
|
|
1887
2025
|
"div",
|
|
1888
2026
|
{
|
|
1889
|
-
"
|
|
1890
|
-
className: "min-
|
|
1891
|
-
children:
|
|
1892
|
-
/* @__PURE__ */ jsx(
|
|
1893
|
-
/* @__PURE__ */ jsx("p", { className: "max-w-full break-words text-sm text-muted-foreground", children: error }),
|
|
1894
|
-
labels.retry ? /* @__PURE__ */ jsxs(
|
|
1895
|
-
Button,
|
|
1896
|
-
{
|
|
1897
|
-
type: "button",
|
|
1898
|
-
variant: "ghost",
|
|
1899
|
-
size: "sm",
|
|
1900
|
-
className: "gap-1.5 text-primary",
|
|
1901
|
-
onClick: () => onIntent?.({ type: "retry-sessions" }),
|
|
1902
|
-
children: [
|
|
1903
|
-
/* @__PURE__ */ jsx(RefreshCw, { className: "size-3.5", "aria-hidden": "true" }),
|
|
1904
|
-
labels.retry
|
|
1905
|
-
]
|
|
1906
|
-
}
|
|
1907
|
-
) : null
|
|
1908
|
-
] }) : 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: [
|
|
1909
|
-
draftVisible ? /* @__PURE__ */ jsx(
|
|
2027
|
+
"aria-current": session.id === selectedSessionId ? "page" : void 0,
|
|
2028
|
+
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",
|
|
2029
|
+
children: [
|
|
2030
|
+
/* @__PURE__ */ jsx(
|
|
1910
2031
|
"button",
|
|
1911
2032
|
{
|
|
1912
2033
|
type: "button",
|
|
1913
|
-
|
|
1914
|
-
className: "
|
|
1915
|
-
onClick: () => onIntent?.({ type: "
|
|
1916
|
-
children:
|
|
2034
|
+
title: session.title,
|
|
2035
|
+
className: "h-full min-w-0 flex-1 truncate px-3 text-left text-sm font-semibold",
|
|
2036
|
+
onClick: () => onIntent?.({ type: "select-session", sessionId: session.id }),
|
|
2037
|
+
children: session.title
|
|
1917
2038
|
}
|
|
1918
|
-
)
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
onSelect: () => onIntent?.({
|
|
1952
|
-
type: "delete-session",
|
|
1953
|
-
sessionId: session.id
|
|
1954
|
-
}),
|
|
1955
|
-
children: [
|
|
1956
|
-
/* @__PURE__ */ jsx(Trash2, { className: "mr-2 size-4", "aria-hidden": "true" }),
|
|
1957
|
-
navigationMessages.delete
|
|
1958
|
-
]
|
|
1959
|
-
}
|
|
1960
|
-
) })
|
|
1961
|
-
] }) : null
|
|
1962
|
-
]
|
|
1963
|
-
},
|
|
1964
|
-
session.id
|
|
1965
|
-
))
|
|
1966
|
-
] })
|
|
1967
|
-
}
|
|
1968
|
-
),
|
|
1969
|
-
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: [
|
|
1970
|
-
/* @__PURE__ */ jsx(
|
|
1971
|
-
TabsList,
|
|
1972
|
-
{
|
|
1973
|
-
className: "grid h-10 w-full rounded-[var(--radius)] bg-muted p-0.5 text-foreground",
|
|
1974
|
-
style: {
|
|
1975
|
-
gridTemplateColumns: `repeat(${groups.length}, minmax(0, 1fr))`
|
|
1976
|
-
},
|
|
1977
|
-
children: groups.map((group) => /* @__PURE__ */ jsx(
|
|
1978
|
-
TabsTrigger,
|
|
1979
|
-
{
|
|
1980
|
-
value: group.id,
|
|
1981
|
-
className: "rounded-md text-sm font-semibold text-foreground data-[state=active]:border data-[state=active]:border-border data-[state=active]:bg-background",
|
|
1982
|
-
children: group.label
|
|
1983
|
-
},
|
|
1984
|
-
group.id
|
|
1985
|
-
))
|
|
1986
|
-
}
|
|
1987
|
-
),
|
|
1988
|
-
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(
|
|
1989
|
-
"button",
|
|
1990
|
-
{
|
|
1991
|
-
type: "button",
|
|
1992
|
-
"aria-label": item.title,
|
|
1993
|
-
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",
|
|
1994
|
-
style: Number.isFinite(group.itemAspectRatio) && Number(group.itemAspectRatio) > 0 ? { aspectRatio: group.itemAspectRatio } : void 0,
|
|
1995
|
-
onClick: () => onIntent?.({
|
|
1996
|
-
type: "select-item",
|
|
1997
|
-
groupId: group.id,
|
|
1998
|
-
item
|
|
1999
|
-
}),
|
|
2000
|
-
children: renderItemMedia?.(item, group) ?? /* @__PURE__ */ jsx(AgentWorkbenchExploreCardMedia, { item })
|
|
2001
|
-
},
|
|
2002
|
-
item.id
|
|
2003
|
-
)) }) }, group.id))
|
|
2004
|
-
] }) }) : null
|
|
2005
|
-
]
|
|
2039
|
+
),
|
|
2040
|
+
deleteSessions ? /* @__PURE__ */ jsxs(DropdownMenu2, { children: [
|
|
2041
|
+
/* @__PURE__ */ jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
2042
|
+
Button,
|
|
2043
|
+
{
|
|
2044
|
+
type: "button",
|
|
2045
|
+
variant: "ghost",
|
|
2046
|
+
size: "icon",
|
|
2047
|
+
"aria-label": navigationMessages.actions,
|
|
2048
|
+
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",
|
|
2049
|
+
children: /* @__PURE__ */ jsx(Ellipsis, { className: "size-4", "aria-hidden": "true" })
|
|
2050
|
+
}
|
|
2051
|
+
) }),
|
|
2052
|
+
/* @__PURE__ */ jsx(DropdownMenuContent, { align: "end", children: /* @__PURE__ */ jsxs(
|
|
2053
|
+
DropdownMenuItem,
|
|
2054
|
+
{
|
|
2055
|
+
className: "text-destructive-text",
|
|
2056
|
+
onSelect: () => onIntent?.({
|
|
2057
|
+
type: "delete-session",
|
|
2058
|
+
sessionId: session.id
|
|
2059
|
+
}),
|
|
2060
|
+
children: [
|
|
2061
|
+
/* @__PURE__ */ jsx(Trash2, { className: "mr-2 size-4", "aria-hidden": "true" }),
|
|
2062
|
+
navigationMessages.delete
|
|
2063
|
+
]
|
|
2064
|
+
}
|
|
2065
|
+
) })
|
|
2066
|
+
] }) : null
|
|
2067
|
+
]
|
|
2068
|
+
},
|
|
2069
|
+
session.id
|
|
2070
|
+
))
|
|
2071
|
+
] }) : null
|
|
2006
2072
|
}
|
|
2007
2073
|
);
|
|
2008
2074
|
}
|
|
@@ -3901,6 +3967,6 @@ function AgentWorkbenchArtifactWorkspace({
|
|
|
3901
3967
|
);
|
|
3902
3968
|
}
|
|
3903
3969
|
|
|
3904
|
-
export { AgentWorkbenchAction, AgentWorkbenchActivity, AgentWorkbenchApproval, AgentWorkbenchArtifactSummary, AgentWorkbenchArtifactWorkspace, AgentWorkbenchComposer, AgentWorkbenchExploreCardMedia, AgentWorkbenchExploreSidebar, AgentWorkbenchMessage, AgentWorkbenchMessageAction, AgentWorkbenchMessageActions, AgentWorkbenchMessageContent, AgentWorkbenchProcess, AgentWorkbenchQuickStart, AgentWorkbenchShell, AgentWorkbenchSidebar, AgentWorkbenchTaskDetails, AgentWorkbenchThread, AgentWorkbenchThreadShell, AgentWorkbenchTool, createAgentWorkbenchActivityModel, createAgentWorkbenchDetailsModel };
|
|
3970
|
+
export { AgentWorkbenchAction, AgentWorkbenchActivity, AgentWorkbenchApproval, AgentWorkbenchArtifactSummary, AgentWorkbenchArtifactWorkspace, AgentWorkbenchComposer, AgentWorkbenchExploreCardMedia, AgentWorkbenchExploreSidebar, AgentWorkbenchMessage, AgentWorkbenchMessageAction, AgentWorkbenchMessageActions, AgentWorkbenchMessageContent, AgentWorkbenchProcess, AgentWorkbenchQuickStart, AgentWorkbenchShell, AgentWorkbenchSidebar, AgentWorkbenchSidebarContainer, AgentWorkbenchTaskDetails, AgentWorkbenchThread, AgentWorkbenchThreadShell, AgentWorkbenchTool, createAgentWorkbenchActivityModel, createAgentWorkbenchDetailsModel };
|
|
3905
3971
|
//# sourceMappingURL=index.mjs.map
|
|
3906
3972
|
//# sourceMappingURL=index.mjs.map
|