@shuffleio/shuffle-mcps 0.0.35 → 0.0.36

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.
@@ -2,7 +2,7 @@ import {
2
2
  fetchApps,
3
3
  fetchAppsViaApiConfig,
4
4
  invalidateAppsCache
5
- } from "./chunk-5B3Q2RHS.mjs";
5
+ } from "./chunk-IABSYB2J.mjs";
6
6
  export {
7
7
  fetchApps,
8
8
  fetchAppsViaApiConfig,
@@ -186,9 +186,54 @@ var getDefaultBaseUrl = () => {
186
186
  }
187
187
  return PROD_BACKEND;
188
188
  };
189
- var _regionUrl = null;
190
- var _trackedOrgId = null;
189
+ var REGION_STORAGE_KEY = "shuffle_region_url";
190
+ var readCachedRegion = () => {
191
+ if (typeof window === "undefined") return { url: null, orgId: null };
192
+ try {
193
+ const raw = localStorage.getItem(REGION_STORAGE_KEY);
194
+ if (!raw) return { url: null, orgId: null };
195
+ const parsed = JSON.parse(raw);
196
+ return { url: parsed?.url || null, orgId: parsed?.orgId || null };
197
+ } catch {
198
+ return { url: null, orgId: null };
199
+ }
200
+ };
201
+ var cached = readCachedRegion();
202
+ var _regionUrl = cached.url;
203
+ var _trackedOrgId = cached.orgId;
191
204
  var _hostBaseUrl = null;
205
+ var REGION_EVENT = "shuffle:region-url";
206
+ var _lastBroadcastUrl = cached.url;
207
+ var persistRegion = (url, orgId) => {
208
+ if (typeof window === "undefined") return;
209
+ const changed = url !== _lastBroadcastUrl;
210
+ _lastBroadcastUrl = url;
211
+ try {
212
+ if (url) localStorage.setItem(REGION_STORAGE_KEY, JSON.stringify({ url, orgId }));
213
+ else localStorage.removeItem(REGION_STORAGE_KEY);
214
+ } catch {
215
+ }
216
+ if (!changed) return;
217
+ try {
218
+ window.dispatchEvent(new CustomEvent(REGION_EVENT, { detail: { url, orgId } }));
219
+ } catch {
220
+ }
221
+ };
222
+ if (typeof window !== "undefined") {
223
+ const sync = () => {
224
+ const next = readCachedRegion();
225
+ if (next.url !== _regionUrl) {
226
+ _regionUrl = next.url;
227
+ _lastBroadcastUrl = next.url;
228
+ console.log(`[API] Region URL synced to: ${_regionUrl || "default"}`);
229
+ }
230
+ _trackedOrgId = next.orgId;
231
+ };
232
+ window.addEventListener(REGION_EVENT, sync);
233
+ window.addEventListener("storage", (e) => {
234
+ if (e.key === REGION_STORAGE_KEY) sync();
235
+ });
236
+ }
192
237
  var isShufflerSubdomain = (url) => {
193
238
  try {
194
239
  const parsed = new URL(url);
@@ -198,26 +243,32 @@ var isShufflerSubdomain = (url) => {
198
243
  }
199
244
  };
200
245
  var setRegionUrl = (regionUrl, orgId) => {
201
- if (isDevEnvironment()) {
202
- _trackedOrgId = orgId || null;
203
- return;
204
- }
205
246
  _trackedOrgId = orgId || null;
206
247
  if (regionUrl && isShufflerSubdomain(regionUrl)) {
207
248
  const normalized = regionUrl.replace(/\/+$/, "");
208
249
  if (normalized !== PROD_BACKEND) {
209
250
  _regionUrl = normalized;
251
+ persistRegion(_regionUrl, _trackedOrgId);
210
252
  console.log(`[API] Region URL set to: ${_regionUrl}`);
211
253
  return;
212
254
  }
213
255
  }
214
256
  _regionUrl = null;
257
+ persistRegion(null, _trackedOrgId);
258
+ };
259
+ var applyRegionFromPayload = (payload, orgIdOverride) => {
260
+ if (!payload || typeof payload !== "object") return null;
261
+ const orgId = orgIdOverride ?? payload?.active_org?.id ?? payload?.org_id ?? null;
262
+ const regionUrl = payload?.region_url || payload?.active_org?.region_url || null;
263
+ setRegionUrl(regionUrl, orgId);
264
+ return regionUrl;
215
265
  };
216
266
  var resetRegionUrl = () => {
217
267
  if (_regionUrl) {
218
268
  console.log(`[API] Region URL reset to default (org changed)`);
219
269
  }
220
270
  _regionUrl = null;
271
+ persistRegion(null, null);
221
272
  };
222
273
  var SHUFFLE_HOST_BASE_URL_EVENT = "shuffle:set-host-base-url";
223
274
  var setHostBaseUrl = (url) => {
@@ -251,7 +302,7 @@ var getTrackedOrgId = () => _trackedOrgId;
251
302
  var API_CONFIG = {
252
303
  // Shuffle backend URL — host override beats region URL beats default.
253
304
  get baseUrl() {
254
- const url = _hostBaseUrl || _regionUrl || getDefaultBaseUrl();
305
+ const url = _hostBaseUrl || (isDevEnvironment() || getEnvVar("VITE_SHUFFLE_API_URL") ? getDefaultBaseUrl() : _regionUrl || getDefaultBaseUrl());
255
306
  try {
256
307
  registerProtectedOrigin(url);
257
308
  } catch {
@@ -359,6 +410,7 @@ export {
359
410
  isCloud,
360
411
  isOnprem,
361
412
  setRegionUrl,
413
+ applyRegionFromPayload,
362
414
  resetRegionUrl,
363
415
  setHostBaseUrl,
364
416
  getHostBaseUrl,
package/dist/index.d.mts CHANGED
@@ -676,9 +676,18 @@ declare const isCloud: () => boolean;
676
676
  declare const isOnprem: () => boolean;
677
677
  /**
678
678
  * Set the dynamic region URL from getinfo response.
679
- * Only applies if the URL is a shuffler.io subdomain and different from default.
679
+ * ALWAYS honored for the current org/tenant (including dev/preview) as long as
680
+ * the URL is a valid shuffler.io subdomain different from the default backend.
681
+ * Persisted in localStorage so later page loads do not have to wait on getinfo.
680
682
  */
681
683
  declare const setRegionUrl: (regionUrl: string | undefined | null, orgId: string | undefined | null) => void;
684
+ /**
685
+ * Single entry point for applying a region from ANY backend response that
686
+ * carries one (`/api/v1/getinfo`, `/api/v1/orgs/{id}/change`, ...). Extracts
687
+ * `region_url` (top-level first, then `active_org`) and routes it through
688
+ * `setRegionUrl`, so setting + broadcasting always happens in one place.
689
+ */
690
+ declare const applyRegionFromPayload: (payload: any, orgIdOverride?: string | null) => string | null;
682
691
  /**
683
692
  * Called when org changes. Resets region URL to default until next getinfo.
684
693
  */
@@ -949,6 +958,10 @@ interface LocalLLMConfigProps extends ShuffleHostProps {
949
958
  hasOpenAIAuth?: boolean;
950
959
  onSave?: (model: AgentLocalModel) => void;
951
960
  onTestResult?: (result: LocalLLMTestResult) => void;
961
+ /** When the panel is rendered inside a drawer, pass the drawer open state
962
+ * so the provider selector can reset to the currently active provider each
963
+ * time the drawer opens. */
964
+ open?: boolean;
952
965
  }
953
966
 
954
967
  /**
@@ -1613,6 +1626,67 @@ interface UsageBarProps {
1613
1626
  }
1614
1627
  declare const UsageBar: React__default.FC<UsageBarProps>;
1615
1628
 
1629
+ /**
1630
+ * ShuffleMarkdown — the ONE markdown renderer for the platform.
1631
+ *
1632
+ * Every place that renders user/AI/remote markdown should use this component
1633
+ * (or `InlineMarkdown` for single-line strings) instead of importing
1634
+ * `react-markdown` directly, so plugins, link safety and typography stay
1635
+ * identical everywhere.
1636
+ *
1637
+ * Defaults:
1638
+ * - remark-gfm (tables, strikethrough, task lists, autolinks)
1639
+ * - remark-breaks (single newline = <br>, matches how LLM/agent output reads)
1640
+ * - rehype-sanitize (defense in depth; raw HTML is never enabled)
1641
+ * - external links open in a new tab with noopener/noreferrer
1642
+ * - shared code / table / blockquote styling based on HSL design tokens
1643
+ */
1644
+
1645
+ /** Standardised JSON tree used inside markdown (same viewer as the rest of the platform). */
1646
+ declare const MarkdownJsonBlock: React__default.FC<{
1647
+ src: object;
1648
+ }>;
1649
+ /**
1650
+ * Deliberately loose (not react-markdown's own `Components` type): that type is a mapped
1651
+ * type over `keyof JSX.IntrinsicElements`, which tsup's declaration bundler (rollup-plugin-dts)
1652
+ * cannot inline into this package's published `.d.ts` without erroring (TS2709).
1653
+ */
1654
+ type MarkdownComponentOverrides = Record<string, React__default.ElementType>;
1655
+ interface ShuffleMarkdownProps {
1656
+ /** The markdown source. */
1657
+ children?: string | null;
1658
+ /** Component overrides merged on top of the shared defaults. */
1659
+ components?: MarkdownComponentOverrides;
1660
+ /** Extra remark plugins appended to the defaults. */
1661
+ remarkPlugins?: any[];
1662
+ /** Disable remark-breaks (for prose docs where blank lines separate paragraphs). */
1663
+ disableBreaks?: boolean;
1664
+ /** Styling applied to the wrapping Box. */
1665
+ sx?: SxProps<Theme>;
1666
+ className?: string;
1667
+ }
1668
+ declare const ShuffleMarkdown: React__default.FC<ShuffleMarkdownProps>;
1669
+
1670
+ /**
1671
+ * VideoEmbed — shared inline video player for markdown content.
1672
+ *
1673
+ * Supports YouTube, Loom and direct video files (mp4/webm/ogg).
1674
+ * Rendered as a block-level span so it is valid inside <p> elements.
1675
+ */
1676
+
1677
+ type VideoKind = 'youtube' | 'loom' | 'file';
1678
+ interface ResolvedVideo {
1679
+ kind: VideoKind;
1680
+ /** Embed URL for iframes, or the direct file URL for <video>. */
1681
+ src: string;
1682
+ }
1683
+ /** Returns embed info when the URL points at a supported video, otherwise null. */
1684
+ declare function resolveVideoUrl(raw?: string | null): ResolvedVideo | null;
1685
+ declare const VideoEmbed: React__default.FC<{
1686
+ video: ResolvedVideo;
1687
+ title?: string;
1688
+ }>;
1689
+
1616
1690
  /**
1617
1691
  * Local Singul Library — fully self-contained.
1618
1692
  * No host-app `@/` imports remain inside this folder (assets aside).
@@ -1659,4 +1733,4 @@ declare const LocalLLMConfig: React__default.ComponentType<any>;
1659
1733
 
1660
1734
  declare const AddAppModal: React__default.ComponentType<any>;
1661
1735
 
1662
- export { AGENT_PRESETS, AGENT_PROMPT_PREFIX_CATEGORY, API_CONFIG, AddAppModal, type AddAppModalProps, AgentActivityList, type AgentActivityListProps, type AgentActivityParams, type AgentActivityResponse, type AgentDecision, AgentExecutionDrawer, type AgentExecutionDrawerProps, AgentIcon, type AgentLocalModel, type AgentPreset, AgentPresets, type AgentPresetsProps, AgentPromptPrefixChip, type AgentPromptPrefixChipProps, type AgentRun, AgentRunDiagnosisBanner, AgentRunDrawer, type AgentRunDrawerProps, type AgentRunDrawerTab, type AgentRunResult, AgentUI, type AgentUIApp, type AgentUIProps, AgentsView, type AgentsViewProps, AiAgentPromptsEditor, type AiAgentPromptsEditorProps, type AlgoliaSearchApp, type ApiAuthEntry, AppAuthCard, type AppAuthCardProps, AppAuthConfig, AppAuthSection, type AppAuthSectionProps, type AppAuthState, type AppAuthentication$1 as AppAuthentication, AppDetailDrawer, AppDetailProvider, type AppLookupResult, AppSearchDrawer, type AppSelectedEvent, AppTitleHeader, type AppTitleHeaderProps, type AuthStatus, CASES_PATTERNS, COMMUNICATION_PATTERNS_NAMES, type CategoryAutomation, type CategoryConfig, type CustomStyles, DATASTORE_CATEGORIES, DEFAULT_AGENT_PROMPT_PREFIX, type DatastoreDiagnostics, type DatastoreItem, type DatastoreResponse, type DiagnosableRun, type DiagnosisEvidence, EDR_PATTERNS, EMAIL_APP_PATTERNS, FORWARD_TICKETS_WORKFLOW_NAME, type FetchAppsOptions, INGEST_TICKETS_WORKFLOW_NAME, type IngestionCategory, IntegrationStatus, LocalLLMConfig, type LocalLLMConfigProps, type LocalLLMTestResult, type OutputDiagnosis, type ResolvedApp, SIEM_PATTERNS, type ShuffleHostProps, ShuffleMCP, type ShuffleMCPHandle, type ShuffleMCPProps, type ShuffleMcpColorMode, ShuffleMcpThemeProvider, type ShuffleMcpThemeProviderProps, ShufflePipelinesBanner, type ShuffleTheme, SingulActionsPreview, THREAT_INTEL_PATTERNS, TryMcpSection, type TryMcpSectionProps, UsageBar, type UsageBarProps, type UseAgentPromptPrefixOptions, VULN_SCANNER_PATTERNS, type ValidatedIngestionApp, ShuffleMCP as default, deleteDatastoreItem, deleteDatastoreItems, diagnoseOutputWarning, extractActionAppNames, extractValidatedIngestionApps, extractWorkflowActionAppNames, extractWorkflowAppNames, fetchApps, fetchAppsViaApiConfig, findForwardTicketsWorkflow, findIngestTicketsWorkflow, getApiUrl, getAuthHeader, getDatastoreByCategory, getDatastoreItem, getDatastoreItemPublic, getDatastorePageSize, getFailureInfo, getHostBaseUrl, getIngestionCategory, hasOutputWarning, installFetchBreaker, invalidateAppsCache, invalidateResolvedApps, isCloud, isCloudDomain, isEmailApp, isIngestionApp, isOnprem, isThreatIntelApp, isVulnScannerApp, isWorkflowScheduleStopped, normalizeAppName, parseRunResult, refreshAllIntegrationStatus, registerProtectedOrigin, resetRegionUrl, resolveApp, resolveApps, scheduleAgentRun, searchAgentActivity, seedResolvedApp, setDatastoreItem, setDatastoreItems, setHostBaseUrl, setRegionUrl, setRuntimeOrgId, setToastImpl, shuffleFetch, toast, useAgentPromptPrefix, useAppAuth, useAppAuthFlow, useAppDetail, useAppDetailOptional, useAppLookup, useSyncHostBaseUrl };
1736
+ export { AGENT_PRESETS, AGENT_PROMPT_PREFIX_CATEGORY, API_CONFIG, AddAppModal, type AddAppModalProps, AgentActivityList, type AgentActivityListProps, type AgentActivityParams, type AgentActivityResponse, type AgentDecision, AgentExecutionDrawer, type AgentExecutionDrawerProps, AgentIcon, type AgentLocalModel, type AgentPreset, AgentPresets, type AgentPresetsProps, AgentPromptPrefixChip, type AgentPromptPrefixChipProps, type AgentRun, AgentRunDiagnosisBanner, AgentRunDrawer, type AgentRunDrawerProps, type AgentRunDrawerTab, type AgentRunResult, AgentUI, type AgentUIApp, type AgentUIProps, AgentsView, type AgentsViewProps, AiAgentPromptsEditor, type AiAgentPromptsEditorProps, type AlgoliaSearchApp, type ApiAuthEntry, AppAuthCard, type AppAuthCardProps, AppAuthConfig, AppAuthSection, type AppAuthSectionProps, type AppAuthState, type AppAuthentication$1 as AppAuthentication, AppDetailDrawer, AppDetailProvider, type AppLookupResult, AppSearchDrawer, type AppSelectedEvent, AppTitleHeader, type AppTitleHeaderProps, type AuthStatus, CASES_PATTERNS, COMMUNICATION_PATTERNS_NAMES, type CategoryAutomation, type CategoryConfig, type CustomStyles, DATASTORE_CATEGORIES, DEFAULT_AGENT_PROMPT_PREFIX, type DatastoreDiagnostics, type DatastoreItem, type DatastoreResponse, type DiagnosableRun, type DiagnosisEvidence, EDR_PATTERNS, EMAIL_APP_PATTERNS, FORWARD_TICKETS_WORKFLOW_NAME, type FetchAppsOptions, INGEST_TICKETS_WORKFLOW_NAME, type IngestionCategory, IntegrationStatus, LocalLLMConfig, type LocalLLMConfigProps, type LocalLLMTestResult, ShuffleMarkdown as Markdown, MarkdownJsonBlock, type OutputDiagnosis, type ResolvedApp, SIEM_PATTERNS, type ShuffleHostProps, ShuffleMCP, type ShuffleMCPHandle, type ShuffleMCPProps, ShuffleMarkdown, type ShuffleMcpColorMode, ShuffleMcpThemeProvider, type ShuffleMcpThemeProviderProps, ShufflePipelinesBanner, type ShuffleTheme, SingulActionsPreview, THREAT_INTEL_PATTERNS, TryMcpSection, type TryMcpSectionProps, UsageBar, type UsageBarProps, type UseAgentPromptPrefixOptions, VULN_SCANNER_PATTERNS, type ValidatedIngestionApp, VideoEmbed, applyRegionFromPayload, ShuffleMCP as default, deleteDatastoreItem, deleteDatastoreItems, diagnoseOutputWarning, extractActionAppNames, extractValidatedIngestionApps, extractWorkflowActionAppNames, extractWorkflowAppNames, fetchApps, fetchAppsViaApiConfig, findForwardTicketsWorkflow, findIngestTicketsWorkflow, getApiUrl, getAuthHeader, getDatastoreByCategory, getDatastoreItem, getDatastoreItemPublic, getDatastorePageSize, getFailureInfo, getHostBaseUrl, getIngestionCategory, hasOutputWarning, installFetchBreaker, invalidateAppsCache, invalidateResolvedApps, isCloud, isCloudDomain, isEmailApp, isIngestionApp, isOnprem, isThreatIntelApp, isVulnScannerApp, isWorkflowScheduleStopped, normalizeAppName, parseRunResult, refreshAllIntegrationStatus, registerProtectedOrigin, resetRegionUrl, resolveApp, resolveApps, resolveVideoUrl, scheduleAgentRun, searchAgentActivity, seedResolvedApp, setDatastoreItem, setDatastoreItems, setHostBaseUrl, setRegionUrl, setRuntimeOrgId, setToastImpl, shuffleFetch, toast, useAgentPromptPrefix, useAppAuth, useAppAuthFlow, useAppDetail, useAppDetailOptional, useAppLookup, useSyncHostBaseUrl };
package/dist/index.d.ts CHANGED
@@ -676,9 +676,18 @@ declare const isCloud: () => boolean;
676
676
  declare const isOnprem: () => boolean;
677
677
  /**
678
678
  * Set the dynamic region URL from getinfo response.
679
- * Only applies if the URL is a shuffler.io subdomain and different from default.
679
+ * ALWAYS honored for the current org/tenant (including dev/preview) as long as
680
+ * the URL is a valid shuffler.io subdomain different from the default backend.
681
+ * Persisted in localStorage so later page loads do not have to wait on getinfo.
680
682
  */
681
683
  declare const setRegionUrl: (regionUrl: string | undefined | null, orgId: string | undefined | null) => void;
684
+ /**
685
+ * Single entry point for applying a region from ANY backend response that
686
+ * carries one (`/api/v1/getinfo`, `/api/v1/orgs/{id}/change`, ...). Extracts
687
+ * `region_url` (top-level first, then `active_org`) and routes it through
688
+ * `setRegionUrl`, so setting + broadcasting always happens in one place.
689
+ */
690
+ declare const applyRegionFromPayload: (payload: any, orgIdOverride?: string | null) => string | null;
682
691
  /**
683
692
  * Called when org changes. Resets region URL to default until next getinfo.
684
693
  */
@@ -949,6 +958,10 @@ interface LocalLLMConfigProps extends ShuffleHostProps {
949
958
  hasOpenAIAuth?: boolean;
950
959
  onSave?: (model: AgentLocalModel) => void;
951
960
  onTestResult?: (result: LocalLLMTestResult) => void;
961
+ /** When the panel is rendered inside a drawer, pass the drawer open state
962
+ * so the provider selector can reset to the currently active provider each
963
+ * time the drawer opens. */
964
+ open?: boolean;
952
965
  }
953
966
 
954
967
  /**
@@ -1613,6 +1626,67 @@ interface UsageBarProps {
1613
1626
  }
1614
1627
  declare const UsageBar: React__default.FC<UsageBarProps>;
1615
1628
 
1629
+ /**
1630
+ * ShuffleMarkdown — the ONE markdown renderer for the platform.
1631
+ *
1632
+ * Every place that renders user/AI/remote markdown should use this component
1633
+ * (or `InlineMarkdown` for single-line strings) instead of importing
1634
+ * `react-markdown` directly, so plugins, link safety and typography stay
1635
+ * identical everywhere.
1636
+ *
1637
+ * Defaults:
1638
+ * - remark-gfm (tables, strikethrough, task lists, autolinks)
1639
+ * - remark-breaks (single newline = <br>, matches how LLM/agent output reads)
1640
+ * - rehype-sanitize (defense in depth; raw HTML is never enabled)
1641
+ * - external links open in a new tab with noopener/noreferrer
1642
+ * - shared code / table / blockquote styling based on HSL design tokens
1643
+ */
1644
+
1645
+ /** Standardised JSON tree used inside markdown (same viewer as the rest of the platform). */
1646
+ declare const MarkdownJsonBlock: React__default.FC<{
1647
+ src: object;
1648
+ }>;
1649
+ /**
1650
+ * Deliberately loose (not react-markdown's own `Components` type): that type is a mapped
1651
+ * type over `keyof JSX.IntrinsicElements`, which tsup's declaration bundler (rollup-plugin-dts)
1652
+ * cannot inline into this package's published `.d.ts` without erroring (TS2709).
1653
+ */
1654
+ type MarkdownComponentOverrides = Record<string, React__default.ElementType>;
1655
+ interface ShuffleMarkdownProps {
1656
+ /** The markdown source. */
1657
+ children?: string | null;
1658
+ /** Component overrides merged on top of the shared defaults. */
1659
+ components?: MarkdownComponentOverrides;
1660
+ /** Extra remark plugins appended to the defaults. */
1661
+ remarkPlugins?: any[];
1662
+ /** Disable remark-breaks (for prose docs where blank lines separate paragraphs). */
1663
+ disableBreaks?: boolean;
1664
+ /** Styling applied to the wrapping Box. */
1665
+ sx?: SxProps<Theme>;
1666
+ className?: string;
1667
+ }
1668
+ declare const ShuffleMarkdown: React__default.FC<ShuffleMarkdownProps>;
1669
+
1670
+ /**
1671
+ * VideoEmbed — shared inline video player for markdown content.
1672
+ *
1673
+ * Supports YouTube, Loom and direct video files (mp4/webm/ogg).
1674
+ * Rendered as a block-level span so it is valid inside <p> elements.
1675
+ */
1676
+
1677
+ type VideoKind = 'youtube' | 'loom' | 'file';
1678
+ interface ResolvedVideo {
1679
+ kind: VideoKind;
1680
+ /** Embed URL for iframes, or the direct file URL for <video>. */
1681
+ src: string;
1682
+ }
1683
+ /** Returns embed info when the URL points at a supported video, otherwise null. */
1684
+ declare function resolveVideoUrl(raw?: string | null): ResolvedVideo | null;
1685
+ declare const VideoEmbed: React__default.FC<{
1686
+ video: ResolvedVideo;
1687
+ title?: string;
1688
+ }>;
1689
+
1616
1690
  /**
1617
1691
  * Local Singul Library — fully self-contained.
1618
1692
  * No host-app `@/` imports remain inside this folder (assets aside).
@@ -1659,4 +1733,4 @@ declare const LocalLLMConfig: React__default.ComponentType<any>;
1659
1733
 
1660
1734
  declare const AddAppModal: React__default.ComponentType<any>;
1661
1735
 
1662
- export { AGENT_PRESETS, AGENT_PROMPT_PREFIX_CATEGORY, API_CONFIG, AddAppModal, type AddAppModalProps, AgentActivityList, type AgentActivityListProps, type AgentActivityParams, type AgentActivityResponse, type AgentDecision, AgentExecutionDrawer, type AgentExecutionDrawerProps, AgentIcon, type AgentLocalModel, type AgentPreset, AgentPresets, type AgentPresetsProps, AgentPromptPrefixChip, type AgentPromptPrefixChipProps, type AgentRun, AgentRunDiagnosisBanner, AgentRunDrawer, type AgentRunDrawerProps, type AgentRunDrawerTab, type AgentRunResult, AgentUI, type AgentUIApp, type AgentUIProps, AgentsView, type AgentsViewProps, AiAgentPromptsEditor, type AiAgentPromptsEditorProps, type AlgoliaSearchApp, type ApiAuthEntry, AppAuthCard, type AppAuthCardProps, AppAuthConfig, AppAuthSection, type AppAuthSectionProps, type AppAuthState, type AppAuthentication$1 as AppAuthentication, AppDetailDrawer, AppDetailProvider, type AppLookupResult, AppSearchDrawer, type AppSelectedEvent, AppTitleHeader, type AppTitleHeaderProps, type AuthStatus, CASES_PATTERNS, COMMUNICATION_PATTERNS_NAMES, type CategoryAutomation, type CategoryConfig, type CustomStyles, DATASTORE_CATEGORIES, DEFAULT_AGENT_PROMPT_PREFIX, type DatastoreDiagnostics, type DatastoreItem, type DatastoreResponse, type DiagnosableRun, type DiagnosisEvidence, EDR_PATTERNS, EMAIL_APP_PATTERNS, FORWARD_TICKETS_WORKFLOW_NAME, type FetchAppsOptions, INGEST_TICKETS_WORKFLOW_NAME, type IngestionCategory, IntegrationStatus, LocalLLMConfig, type LocalLLMConfigProps, type LocalLLMTestResult, type OutputDiagnosis, type ResolvedApp, SIEM_PATTERNS, type ShuffleHostProps, ShuffleMCP, type ShuffleMCPHandle, type ShuffleMCPProps, type ShuffleMcpColorMode, ShuffleMcpThemeProvider, type ShuffleMcpThemeProviderProps, ShufflePipelinesBanner, type ShuffleTheme, SingulActionsPreview, THREAT_INTEL_PATTERNS, TryMcpSection, type TryMcpSectionProps, UsageBar, type UsageBarProps, type UseAgentPromptPrefixOptions, VULN_SCANNER_PATTERNS, type ValidatedIngestionApp, ShuffleMCP as default, deleteDatastoreItem, deleteDatastoreItems, diagnoseOutputWarning, extractActionAppNames, extractValidatedIngestionApps, extractWorkflowActionAppNames, extractWorkflowAppNames, fetchApps, fetchAppsViaApiConfig, findForwardTicketsWorkflow, findIngestTicketsWorkflow, getApiUrl, getAuthHeader, getDatastoreByCategory, getDatastoreItem, getDatastoreItemPublic, getDatastorePageSize, getFailureInfo, getHostBaseUrl, getIngestionCategory, hasOutputWarning, installFetchBreaker, invalidateAppsCache, invalidateResolvedApps, isCloud, isCloudDomain, isEmailApp, isIngestionApp, isOnprem, isThreatIntelApp, isVulnScannerApp, isWorkflowScheduleStopped, normalizeAppName, parseRunResult, refreshAllIntegrationStatus, registerProtectedOrigin, resetRegionUrl, resolveApp, resolveApps, scheduleAgentRun, searchAgentActivity, seedResolvedApp, setDatastoreItem, setDatastoreItems, setHostBaseUrl, setRegionUrl, setRuntimeOrgId, setToastImpl, shuffleFetch, toast, useAgentPromptPrefix, useAppAuth, useAppAuthFlow, useAppDetail, useAppDetailOptional, useAppLookup, useSyncHostBaseUrl };
1736
+ export { AGENT_PRESETS, AGENT_PROMPT_PREFIX_CATEGORY, API_CONFIG, AddAppModal, type AddAppModalProps, AgentActivityList, type AgentActivityListProps, type AgentActivityParams, type AgentActivityResponse, type AgentDecision, AgentExecutionDrawer, type AgentExecutionDrawerProps, AgentIcon, type AgentLocalModel, type AgentPreset, AgentPresets, type AgentPresetsProps, AgentPromptPrefixChip, type AgentPromptPrefixChipProps, type AgentRun, AgentRunDiagnosisBanner, AgentRunDrawer, type AgentRunDrawerProps, type AgentRunDrawerTab, type AgentRunResult, AgentUI, type AgentUIApp, type AgentUIProps, AgentsView, type AgentsViewProps, AiAgentPromptsEditor, type AiAgentPromptsEditorProps, type AlgoliaSearchApp, type ApiAuthEntry, AppAuthCard, type AppAuthCardProps, AppAuthConfig, AppAuthSection, type AppAuthSectionProps, type AppAuthState, type AppAuthentication$1 as AppAuthentication, AppDetailDrawer, AppDetailProvider, type AppLookupResult, AppSearchDrawer, type AppSelectedEvent, AppTitleHeader, type AppTitleHeaderProps, type AuthStatus, CASES_PATTERNS, COMMUNICATION_PATTERNS_NAMES, type CategoryAutomation, type CategoryConfig, type CustomStyles, DATASTORE_CATEGORIES, DEFAULT_AGENT_PROMPT_PREFIX, type DatastoreDiagnostics, type DatastoreItem, type DatastoreResponse, type DiagnosableRun, type DiagnosisEvidence, EDR_PATTERNS, EMAIL_APP_PATTERNS, FORWARD_TICKETS_WORKFLOW_NAME, type FetchAppsOptions, INGEST_TICKETS_WORKFLOW_NAME, type IngestionCategory, IntegrationStatus, LocalLLMConfig, type LocalLLMConfigProps, type LocalLLMTestResult, ShuffleMarkdown as Markdown, MarkdownJsonBlock, type OutputDiagnosis, type ResolvedApp, SIEM_PATTERNS, type ShuffleHostProps, ShuffleMCP, type ShuffleMCPHandle, type ShuffleMCPProps, ShuffleMarkdown, type ShuffleMcpColorMode, ShuffleMcpThemeProvider, type ShuffleMcpThemeProviderProps, ShufflePipelinesBanner, type ShuffleTheme, SingulActionsPreview, THREAT_INTEL_PATTERNS, TryMcpSection, type TryMcpSectionProps, UsageBar, type UsageBarProps, type UseAgentPromptPrefixOptions, VULN_SCANNER_PATTERNS, type ValidatedIngestionApp, VideoEmbed, applyRegionFromPayload, ShuffleMCP as default, deleteDatastoreItem, deleteDatastoreItems, diagnoseOutputWarning, extractActionAppNames, extractValidatedIngestionApps, extractWorkflowActionAppNames, extractWorkflowAppNames, fetchApps, fetchAppsViaApiConfig, findForwardTicketsWorkflow, findIngestTicketsWorkflow, getApiUrl, getAuthHeader, getDatastoreByCategory, getDatastoreItem, getDatastoreItemPublic, getDatastorePageSize, getFailureInfo, getHostBaseUrl, getIngestionCategory, hasOutputWarning, installFetchBreaker, invalidateAppsCache, invalidateResolvedApps, isCloud, isCloudDomain, isEmailApp, isIngestionApp, isOnprem, isThreatIntelApp, isVulnScannerApp, isWorkflowScheduleStopped, normalizeAppName, parseRunResult, refreshAllIntegrationStatus, registerProtectedOrigin, resetRegionUrl, resolveApp, resolveApps, resolveVideoUrl, scheduleAgentRun, searchAgentActivity, seedResolvedApp, setDatastoreItem, setDatastoreItems, setHostBaseUrl, setRegionUrl, setRuntimeOrgId, setToastImpl, shuffleFetch, toast, useAgentPromptPrefix, useAppAuth, useAppAuthFlow, useAppDetail, useAppDetailOptional, useAppLookup, useSyncHostBaseUrl };