@shuffleio/shuffle-mcps 0.0.17 → 0.0.18
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/index.d.mts +56 -151
- package/dist/index.d.ts +56 -151
- package/dist/index.js +197 -63
- package/dist/index.mjs +197 -63
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -362,21 +362,21 @@ var init_appsCache = __esm({
|
|
|
362
362
|
var index_exports = {};
|
|
363
363
|
__export(index_exports, {
|
|
364
364
|
API_CONFIG: () => API_CONFIG,
|
|
365
|
-
AgentActivityList: () =>
|
|
366
|
-
AgentExecutionDrawer: () =>
|
|
365
|
+
AgentActivityList: () => AgentActivityList2,
|
|
366
|
+
AgentExecutionDrawer: () => AgentExecutionDrawer2,
|
|
367
367
|
AgentIcon: () => AgentIcon_default,
|
|
368
|
-
AgentRunDiagnosisBanner: () =>
|
|
369
|
-
AgentRunDrawer: () =>
|
|
370
|
-
AgentUI: () =>
|
|
371
|
-
AgentsView: () =>
|
|
372
|
-
AiAgentPromptsEditor: () =>
|
|
368
|
+
AgentRunDiagnosisBanner: () => AgentRunDiagnosisBanner2,
|
|
369
|
+
AgentRunDrawer: () => AgentRunDrawer2,
|
|
370
|
+
AgentUI: () => AgentUI2,
|
|
371
|
+
AgentsView: () => AgentsView2,
|
|
372
|
+
AiAgentPromptsEditor: () => AiAgentPromptsEditor2,
|
|
373
373
|
AppAuthCard: () => AppAuthCard,
|
|
374
374
|
AppAuthConfig: () => AppAuthConfig,
|
|
375
|
-
AppAuthSection: () =>
|
|
376
|
-
AppDetailDrawer: () =>
|
|
375
|
+
AppAuthSection: () => AppAuthSection2,
|
|
376
|
+
AppDetailDrawer: () => AppDetailDrawer2,
|
|
377
377
|
AppDetailProvider: () => AppDetailProvider,
|
|
378
|
-
AppSearchDrawer: () =>
|
|
379
|
-
AppTitleHeader: () =>
|
|
378
|
+
AppSearchDrawer: () => AppSearchDrawer2,
|
|
379
|
+
AppTitleHeader: () => AppTitleHeader2,
|
|
380
380
|
CASES_PATTERNS: () => CASES_PATTERNS,
|
|
381
381
|
COMMUNICATION_PATTERNS_NAMES: () => COMMUNICATION_PATTERNS_NAMES,
|
|
382
382
|
DATASTORE_CATEGORIES: () => DATASTORE_CATEGORIES,
|
|
@@ -386,15 +386,15 @@ __export(index_exports, {
|
|
|
386
386
|
INGEST_TICKETS_WORKFLOW_NAME: () => INGEST_TICKETS_WORKFLOW_NAME,
|
|
387
387
|
IntegrationStatus: () => IntegrationStatus,
|
|
388
388
|
SIEM_PATTERNS: () => SIEM_PATTERNS,
|
|
389
|
-
ShuffleMCP: () =>
|
|
389
|
+
ShuffleMCP: () => ShuffleMCP2,
|
|
390
390
|
ShuffleMcpThemeProvider: () => ShuffleMcpThemeProvider,
|
|
391
|
-
ShufflePipelinesBanner: () =>
|
|
392
|
-
SingulActionsPreview: () =>
|
|
391
|
+
ShufflePipelinesBanner: () => ShufflePipelinesBanner2,
|
|
392
|
+
SingulActionsPreview: () => SingulActionsPreview2,
|
|
393
393
|
THREAT_INTEL_PATTERNS: () => THREAT_INTEL_PATTERNS,
|
|
394
|
-
TryMcpSection: () =>
|
|
394
|
+
TryMcpSection: () => TryMcpSection2,
|
|
395
395
|
UsageBar: () => UsageBar,
|
|
396
396
|
VULN_SCANNER_PATTERNS: () => VULN_SCANNER_PATTERNS,
|
|
397
|
-
default: () =>
|
|
397
|
+
default: () => index_default,
|
|
398
398
|
deleteDatastoreItem: () => deleteDatastoreItem,
|
|
399
399
|
deleteDatastoreItems: () => deleteDatastoreItems,
|
|
400
400
|
diagnoseOutputWarning: () => diagnoseOutputWarning,
|
|
@@ -449,6 +449,7 @@ __export(index_exports, {
|
|
|
449
449
|
});
|
|
450
450
|
module.exports = __toCommonJS(index_exports);
|
|
451
451
|
var import_shuffle_mcp2 = require("./shuffle-mcp-CN72CJJQ.css");
|
|
452
|
+
var import_react20 = __toESM(require("react"));
|
|
452
453
|
|
|
453
454
|
// ShuffleMcpThemeProvider.tsx
|
|
454
455
|
var import_react = __toESM(require("react"));
|
|
@@ -535,7 +536,7 @@ var useHtmlDarkClass = (enabled) => {
|
|
|
535
536
|
};
|
|
536
537
|
var ShuffleMcpThemeProvider = ({
|
|
537
538
|
children,
|
|
538
|
-
mode = "
|
|
539
|
+
mode = "dark"
|
|
539
540
|
}) => {
|
|
540
541
|
const parent = (0, import_material.useTheme)();
|
|
541
542
|
const htmlIsDark = useHtmlDarkClass(mode === "auto");
|
|
@@ -555,10 +556,11 @@ var ShuffleMcpThemeProvider = ({
|
|
|
555
556
|
[parent, effectiveDark]
|
|
556
557
|
);
|
|
557
558
|
const tree = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.ThemeProvider, { theme: merged, children });
|
|
559
|
+
const scopeClassName = mode === "light" ? "shuffle-mcp-scope" : "shuffle-mcp-scope dark";
|
|
558
560
|
if (mode === "light" || mode === "dark") {
|
|
559
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className:
|
|
561
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: scopeClassName, "data-shuffle-mode": mode, "data-shuffle-mcp-root": true, children: tree });
|
|
560
562
|
}
|
|
561
|
-
return tree;
|
|
563
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "shuffle-mcp-scope", "data-shuffle-mode": "auto", "data-shuffle-mcp-root": true, children: tree });
|
|
562
564
|
};
|
|
563
565
|
|
|
564
566
|
// ShuffleMCP.tsx
|
|
@@ -5948,19 +5950,32 @@ init_appsCache();
|
|
|
5948
5950
|
var React2 = __toESM(require("react"));
|
|
5949
5951
|
var import_framer_motion7 = require("framer-motion");
|
|
5950
5952
|
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
5951
|
-
var
|
|
5952
|
-
var sizeClasses = {
|
|
5953
|
+
var SIZE = {
|
|
5953
5954
|
sm: {
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5955
|
+
containerPadding: "2px",
|
|
5956
|
+
fontSize: "11px",
|
|
5957
|
+
itemPaddingY: "4px",
|
|
5958
|
+
itemPaddingX: "10px",
|
|
5959
|
+
itemGap: "6px",
|
|
5960
|
+
countMin: "16px",
|
|
5961
|
+
countH: "16px",
|
|
5962
|
+
countPx: "4px",
|
|
5963
|
+
countFs: "10px",
|
|
5964
|
+
dividerH: "16px",
|
|
5965
|
+
dividerMx: "2px"
|
|
5958
5966
|
},
|
|
5959
5967
|
md: {
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5968
|
+
containerPadding: "4px",
|
|
5969
|
+
fontSize: "12px",
|
|
5970
|
+
itemPaddingY: "6px",
|
|
5971
|
+
itemPaddingX: "12px",
|
|
5972
|
+
itemGap: "6px",
|
|
5973
|
+
countMin: "18px",
|
|
5974
|
+
countH: "18px",
|
|
5975
|
+
countPx: "6px",
|
|
5976
|
+
countFs: "10px",
|
|
5977
|
+
dividerH: "20px",
|
|
5978
|
+
dividerMx: "4px"
|
|
5964
5979
|
}
|
|
5965
5980
|
};
|
|
5966
5981
|
var uid = 0;
|
|
@@ -5984,25 +5999,36 @@ function SegmentedControl({
|
|
|
5984
5999
|
}) {
|
|
5985
6000
|
const autoId = useUniqueId("segmented");
|
|
5986
6001
|
const groupId = layoutId ?? autoId;
|
|
5987
|
-
const s =
|
|
6002
|
+
const s = SIZE[size];
|
|
5988
6003
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_framer_motion7.LayoutGroup, { id: groupId, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
5989
6004
|
"div",
|
|
5990
6005
|
{
|
|
5991
6006
|
role: "tablist",
|
|
5992
6007
|
"aria-label": ariaLabel,
|
|
5993
|
-
className
|
|
5994
|
-
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
|
|
5998
|
-
|
|
6008
|
+
className,
|
|
6009
|
+
style: {
|
|
6010
|
+
display: "inline-flex",
|
|
6011
|
+
alignItems: "center",
|
|
6012
|
+
gap: "2px",
|
|
6013
|
+
borderRadius: 9999,
|
|
6014
|
+
padding: s.containerPadding,
|
|
6015
|
+
fontSize: s.fontSize,
|
|
6016
|
+
border: variant === "outline" ? "1px solid hsl(var(--border))" : "1px solid transparent",
|
|
6017
|
+
background: variant === "outline" ? "transparent" : "hsl(var(--muted) / 0.4)"
|
|
6018
|
+
},
|
|
5999
6019
|
children: options.map((opt, i) => {
|
|
6000
6020
|
if (opt.type === "divider") {
|
|
6001
6021
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
6002
6022
|
"span",
|
|
6003
6023
|
{
|
|
6004
6024
|
"aria-hidden": true,
|
|
6005
|
-
|
|
6025
|
+
style: {
|
|
6026
|
+
width: 1,
|
|
6027
|
+
height: s.dividerH,
|
|
6028
|
+
margin: `0 ${s.dividerMx}`,
|
|
6029
|
+
background: "hsl(var(--border))",
|
|
6030
|
+
alignSelf: "center"
|
|
6031
|
+
}
|
|
6006
6032
|
},
|
|
6007
6033
|
opt.key ?? `divider-${i}`
|
|
6008
6034
|
);
|
|
@@ -6024,20 +6050,46 @@ function SegmentedControl({
|
|
|
6024
6050
|
if (isAction) opt.onClick();
|
|
6025
6051
|
else onChange(opt.value);
|
|
6026
6052
|
},
|
|
6027
|
-
|
|
6028
|
-
"relative
|
|
6029
|
-
"
|
|
6030
|
-
|
|
6031
|
-
s.
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6053
|
+
style: {
|
|
6054
|
+
position: "relative",
|
|
6055
|
+
display: "inline-flex",
|
|
6056
|
+
alignItems: "center",
|
|
6057
|
+
gap: s.itemGap,
|
|
6058
|
+
padding: `${s.itemPaddingY} ${s.itemPaddingX}`,
|
|
6059
|
+
borderRadius: 9999,
|
|
6060
|
+
fontWeight: 500,
|
|
6061
|
+
fontSize: s.fontSize,
|
|
6062
|
+
background: "transparent",
|
|
6063
|
+
border: "none",
|
|
6064
|
+
cursor: opt.disabled ? "not-allowed" : "pointer",
|
|
6065
|
+
color: active ? "hsl(var(--foreground))" : "hsl(var(--muted-foreground))",
|
|
6066
|
+
opacity: opt.disabled ? 0.5 : 1,
|
|
6067
|
+
transition: "color 200ms ease",
|
|
6068
|
+
outline: "none",
|
|
6069
|
+
fontFamily: "inherit"
|
|
6070
|
+
},
|
|
6071
|
+
onMouseEnter: (e) => {
|
|
6072
|
+
if (!active && !opt.disabled) {
|
|
6073
|
+
e.currentTarget.style.color = "hsl(var(--foreground))";
|
|
6074
|
+
}
|
|
6075
|
+
},
|
|
6076
|
+
onMouseLeave: (e) => {
|
|
6077
|
+
if (!active && !opt.disabled) {
|
|
6078
|
+
e.currentTarget.style.color = "hsl(var(--muted-foreground))";
|
|
6079
|
+
}
|
|
6080
|
+
},
|
|
6035
6081
|
children: [
|
|
6036
6082
|
active && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
6037
6083
|
import_framer_motion7.motion.span,
|
|
6038
6084
|
{
|
|
6039
6085
|
layoutId: `${groupId}-pill`,
|
|
6040
|
-
|
|
6086
|
+
style: {
|
|
6087
|
+
position: "absolute",
|
|
6088
|
+
inset: 0,
|
|
6089
|
+
borderRadius: 9999,
|
|
6090
|
+
background: "hsl(var(--muted))",
|
|
6091
|
+
border: "1px solid hsl(var(--border))"
|
|
6092
|
+
},
|
|
6041
6093
|
initial: false,
|
|
6042
6094
|
transition: {
|
|
6043
6095
|
type: "spring",
|
|
@@ -6046,15 +6098,39 @@ function SegmentedControl({
|
|
|
6046
6098
|
}
|
|
6047
6099
|
}
|
|
6048
6100
|
),
|
|
6049
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
6101
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
6102
|
+
"span",
|
|
6103
|
+
{
|
|
6104
|
+
style: {
|
|
6105
|
+
position: "relative",
|
|
6106
|
+
zIndex: 1,
|
|
6107
|
+
display: "inline-flex",
|
|
6108
|
+
alignItems: "center",
|
|
6109
|
+
gap: s.itemGap
|
|
6110
|
+
},
|
|
6111
|
+
children: opt.label
|
|
6112
|
+
}
|
|
6113
|
+
),
|
|
6050
6114
|
!isAction && typeof opt.count === "number" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
6051
6115
|
"span",
|
|
6052
6116
|
{
|
|
6053
|
-
|
|
6054
|
-
"relative
|
|
6055
|
-
|
|
6056
|
-
|
|
6057
|
-
|
|
6117
|
+
style: {
|
|
6118
|
+
position: "relative",
|
|
6119
|
+
zIndex: 1,
|
|
6120
|
+
display: "inline-flex",
|
|
6121
|
+
alignItems: "center",
|
|
6122
|
+
justifyContent: "center",
|
|
6123
|
+
minWidth: s.countMin,
|
|
6124
|
+
height: s.countH,
|
|
6125
|
+
padding: `0 ${s.countPx}`,
|
|
6126
|
+
fontSize: s.countFs,
|
|
6127
|
+
fontWeight: 600,
|
|
6128
|
+
fontVariantNumeric: "tabular-nums",
|
|
6129
|
+
borderRadius: 6,
|
|
6130
|
+
border: "1px solid hsl(var(--border) / 0.6)",
|
|
6131
|
+
color: active ? "hsl(var(--foreground))" : "hsl(var(--muted-foreground))",
|
|
6132
|
+
background: "transparent"
|
|
6133
|
+
},
|
|
6058
6134
|
children: opt.count
|
|
6059
6135
|
}
|
|
6060
6136
|
)
|
|
@@ -6615,7 +6691,6 @@ var ShuffleMCP = import_react12.default.forwardRef(({
|
|
|
6615
6691
|
);
|
|
6616
6692
|
});
|
|
6617
6693
|
ShuffleMCP.displayName = "ShuffleMCP";
|
|
6618
|
-
var ShuffleMCP_default = ShuffleMCP;
|
|
6619
6694
|
|
|
6620
6695
|
// AppSearchDrawer.tsx
|
|
6621
6696
|
var import_react13 = require("react");
|
|
@@ -6958,7 +7033,7 @@ function AppSearchDrawer({
|
|
|
6958
7033
|
transition: { duration: 0.2 },
|
|
6959
7034
|
style: { height: "100%", minHeight: 0 },
|
|
6960
7035
|
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
6961
|
-
|
|
7036
|
+
ShuffleMCP2,
|
|
6962
7037
|
{
|
|
6963
7038
|
apiKey: API_CONFIG.apiKey || void 0,
|
|
6964
7039
|
apiBaseUrl: API_CONFIG.baseUrl,
|
|
@@ -7007,7 +7082,7 @@ function AppSearchDrawer({
|
|
|
7007
7082
|
}
|
|
7008
7083
|
),
|
|
7009
7084
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
7010
|
-
|
|
7085
|
+
AppDetailDrawer2,
|
|
7011
7086
|
{
|
|
7012
7087
|
open: open && detailAppName !== null,
|
|
7013
7088
|
onClose: () => {
|
|
@@ -9007,6 +9082,8 @@ var AgentUI = ({
|
|
|
9007
9082
|
appPickerLabel = "Select Apps",
|
|
9008
9083
|
appPickerTitle = "Select Apps",
|
|
9009
9084
|
appPickerSubtitle = "Pick the tools the agent is allowed to use for this run",
|
|
9085
|
+
onChooseLLM,
|
|
9086
|
+
hideChooseLLM = false,
|
|
9010
9087
|
submitTooltip = "\u2318+Enter to send",
|
|
9011
9088
|
submitIcon,
|
|
9012
9089
|
submitOverride,
|
|
@@ -10859,15 +10936,25 @@ var AgentUI = ({
|
|
|
10859
10936
|
bgcolor: "hsl(var(--card))",
|
|
10860
10937
|
maxWidth: "100%"
|
|
10861
10938
|
}, children: [
|
|
10862
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_material16.Tooltip, { title: "Configure the local LLM used for this agent", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
10939
|
+
!hideChooseLLM && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_material16.Tooltip, { title: "Configure the local LLM used for this agent", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
10863
10940
|
import_material16.Box,
|
|
10864
10941
|
{
|
|
10865
10942
|
component: "button",
|
|
10866
10943
|
type: "button",
|
|
10867
10944
|
onClick: () => {
|
|
10868
|
-
if (
|
|
10869
|
-
|
|
10870
|
-
|
|
10945
|
+
if (onChooseLLM) {
|
|
10946
|
+
onChooseLLM();
|
|
10947
|
+
return;
|
|
10948
|
+
}
|
|
10949
|
+
if (typeof window === "undefined") return;
|
|
10950
|
+
const evt = new CustomEvent("agent-drawer-open", {
|
|
10951
|
+
detail: { tab: "localLLM" },
|
|
10952
|
+
cancelable: true
|
|
10953
|
+
});
|
|
10954
|
+
const handled = window.dispatchEvent(evt);
|
|
10955
|
+
if (handled && !window.__shuffleAgentDrawerMounted) {
|
|
10956
|
+
console.warn(
|
|
10957
|
+
'[AgentUI] "Choose LLM" was clicked but no host handler is wired. Pass an `onChooseLLM` prop, mount the bundled `AgentRunDrawer`, or set `hideChooseLLM` to remove the chip.'
|
|
10871
10958
|
);
|
|
10872
10959
|
}
|
|
10873
10960
|
},
|
|
@@ -11630,6 +11717,13 @@ var AgentRunDrawer = ({
|
|
|
11630
11717
|
if (open && !prevOpenRef.current) setActiveTab(initialTab);
|
|
11631
11718
|
prevOpenRef.current = open;
|
|
11632
11719
|
}, [open, initialTab]);
|
|
11720
|
+
(0, import_react16.useEffect)(() => {
|
|
11721
|
+
if (typeof window === "undefined") return;
|
|
11722
|
+
window.__shuffleAgentDrawerMounted = (window.__shuffleAgentDrawerMounted || 0) + 1;
|
|
11723
|
+
return () => {
|
|
11724
|
+
window.__shuffleAgentDrawerMounted = Math.max(0, (window.__shuffleAgentDrawerMounted || 1) - 1);
|
|
11725
|
+
};
|
|
11726
|
+
}, []);
|
|
11633
11727
|
const visibleTabs = TAB_ORDER.filter((t) => {
|
|
11634
11728
|
if (t === "run") return true;
|
|
11635
11729
|
if (t === "permissions") return !!permissionsSlot;
|
|
@@ -12734,7 +12828,7 @@ var AgentExecutionDrawer_default = AgentExecutionDrawer;
|
|
|
12734
12828
|
var import_react18 = require("react");
|
|
12735
12829
|
var import_material20 = require("@mui/material");
|
|
12736
12830
|
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
12737
|
-
var AgentsView = ({ onSchedule, maxWidth = 820, globalUrl, isLoaded, isLoggedIn, userdata, serverside }) => {
|
|
12831
|
+
var AgentsView = ({ onSchedule, maxWidth = 820, onChooseLLM, hideChooseLLM, globalUrl, isLoaded, isLoggedIn, userdata, serverside }) => {
|
|
12738
12832
|
useSyncHostBaseUrl(globalUrl);
|
|
12739
12833
|
const [selectedRun, setSelectedRun] = (0, import_react18.useState)(null);
|
|
12740
12834
|
const [agentView, setAgentView] = (0, import_react18.useState)("start");
|
|
@@ -12776,8 +12870,8 @@ var AgentsView = ({ onSchedule, maxWidth = 820, globalUrl, isLoaded, isLoggedIn,
|
|
|
12776
12870
|
},
|
|
12777
12871
|
[editing]
|
|
12778
12872
|
);
|
|
12779
|
-
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_material20.Box, { sx: { minHeight: "
|
|
12780
|
-
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_material20.Stack, { spacing: 6, sx: { maxWidth, mx: "auto" }, children: [
|
|
12873
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_material20.Box, { sx: { minHeight: "100%", width: "100%", px: { xs: 2, md: 4 }, pt: { xs: 3, md: "5vh" }, pb: 6, boxSizing: "border-box" }, children: [
|
|
12874
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_material20.Stack, { spacing: 6, sx: { maxWidth, mx: "auto", width: "100%" }, children: [
|
|
12781
12875
|
editing && /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
12782
12876
|
import_material20.Box,
|
|
12783
12877
|
{
|
|
@@ -12824,6 +12918,8 @@ var AgentsView = ({ onSchedule, maxWidth = 820, globalUrl, isLoaded, isLoggedIn,
|
|
|
12824
12918
|
apiBaseUrl: globalUrl,
|
|
12825
12919
|
onViewChange: setAgentView,
|
|
12826
12920
|
onSchedule,
|
|
12921
|
+
onChooseLLM,
|
|
12922
|
+
hideChooseLLM,
|
|
12827
12923
|
defaultInput: prefill.input,
|
|
12828
12924
|
defaultApps: prefill.apps.length > 0 ? prefill.apps : void 0,
|
|
12829
12925
|
submitOverride: editing ? handleSaveEdit : void 0,
|
|
@@ -12834,7 +12930,7 @@ var AgentsView = ({ onSchedule, maxWidth = 820, globalUrl, isLoaded, isLoggedIn,
|
|
|
12834
12930
|
},
|
|
12835
12931
|
prefill.key
|
|
12836
12932
|
),
|
|
12837
|
-
agentView === "start" && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_material20.Box, { sx: { pt: "
|
|
12933
|
+
agentView === "start" && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_material20.Box, { sx: { pt: { xs: 4, md: "8vh" } }, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
12838
12934
|
AgentActivityList_default,
|
|
12839
12935
|
{
|
|
12840
12936
|
apiBaseUrl: globalUrl,
|
|
@@ -13082,6 +13178,44 @@ var UsageBar = ({
|
|
|
13082
13178
|
) })
|
|
13083
13179
|
] }) });
|
|
13084
13180
|
};
|
|
13181
|
+
|
|
13182
|
+
// index.ts
|
|
13183
|
+
var withMcpTheme = (Inner, displayName) => {
|
|
13184
|
+
const Wrapped = ({ colorMode, ...rest }) => import_react20.default.createElement(
|
|
13185
|
+
ShuffleMcpThemeProvider,
|
|
13186
|
+
{ mode: colorMode },
|
|
13187
|
+
import_react20.default.createElement(Inner, { ...rest })
|
|
13188
|
+
);
|
|
13189
|
+
Wrapped.displayName = `ShuffleMCPs(${displayName})`;
|
|
13190
|
+
return Wrapped;
|
|
13191
|
+
};
|
|
13192
|
+
var withMcpThemeRef = (Inner, displayName) => {
|
|
13193
|
+
const Wrapped = import_react20.default.forwardRef(
|
|
13194
|
+
({ colorMode, ...rest }, ref) => import_react20.default.createElement(
|
|
13195
|
+
ShuffleMcpThemeProvider,
|
|
13196
|
+
{ mode: colorMode },
|
|
13197
|
+
import_react20.default.createElement(Inner, { ...rest, ref })
|
|
13198
|
+
)
|
|
13199
|
+
);
|
|
13200
|
+
Wrapped.displayName = `ShuffleMCPs(${displayName})`;
|
|
13201
|
+
return Wrapped;
|
|
13202
|
+
};
|
|
13203
|
+
var ShuffleMCP2 = withMcpThemeRef(ShuffleMCP, "ShuffleMCP");
|
|
13204
|
+
var index_default = ShuffleMCP2;
|
|
13205
|
+
var AppDetailDrawer2 = withMcpTheme(AppDetailDrawer, "AppDetailDrawer");
|
|
13206
|
+
var AppSearchDrawer2 = withMcpTheme(AppSearchDrawer, "AppSearchDrawer");
|
|
13207
|
+
var AiAgentPromptsEditor2 = withMcpTheme(AiAgentPromptsEditor_default, "AiAgentPromptsEditor");
|
|
13208
|
+
var ShufflePipelinesBanner2 = withMcpTheme(ShufflePipelinesBanner_default, "ShufflePipelinesBanner");
|
|
13209
|
+
var AppTitleHeader2 = withMcpTheme(AppTitleHeader, "AppTitleHeader");
|
|
13210
|
+
var AppAuthSection2 = withMcpTheme(AppAuthSection, "AppAuthSection");
|
|
13211
|
+
var TryMcpSection2 = withMcpTheme(TryMcpSection, "TryMcpSection");
|
|
13212
|
+
var SingulActionsPreview2 = withMcpTheme(SingulActionsPreview_default, "SingulActionsPreview");
|
|
13213
|
+
var AgentUI2 = withMcpTheme(AgentUI_default, "AgentUI");
|
|
13214
|
+
var AgentRunDrawer2 = withMcpTheme(AgentRunDrawer_default, "AgentRunDrawer");
|
|
13215
|
+
var AgentActivityList2 = withMcpTheme(AgentActivityList_default, "AgentActivityList");
|
|
13216
|
+
var AgentExecutionDrawer2 = withMcpTheme(AgentExecutionDrawer_default, "AgentExecutionDrawer");
|
|
13217
|
+
var AgentsView2 = withMcpTheme(AgentsView_default, "AgentsView");
|
|
13218
|
+
var AgentRunDiagnosisBanner2 = withMcpTheme(AgentRunDiagnosisBanner_default, "AgentRunDiagnosisBanner");
|
|
13085
13219
|
// Annotate the CommonJS export names for ESM import in node:
|
|
13086
13220
|
0 && (module.exports = {
|
|
13087
13221
|
API_CONFIG,
|