@shuffleio/shuffle-mcps 0.0.39 → 0.0.45

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as React$1 from 'react';
2
2
  import React__default, { ReactNode } from 'react';
3
- import { SxProps, Theme } from '@mui/material';
3
+ import { SxProps, Theme, PopperProps } from '@mui/material';
4
4
 
5
5
  /**
6
6
  * ShuffleMcpThemeProvider
@@ -381,8 +381,12 @@ interface AgentPresetsProps {
381
381
  chipRef?: React.Ref<HTMLButtonElement>;
382
382
  /** Authoritative support flag from the host's getinfo payload. */
383
383
  isSupport?: boolean;
384
+ /** Optional style overrides for the trigger button */
385
+ sx?: SxProps<Theme>;
386
+ /** Popper placement override (defaults to 'bottom-start') */
387
+ placement?: PopperProps['placement'];
384
388
  }
385
- declare const AgentPresets: ({ variant, onSelectPreset, selectedPreset, onRemoveSelected, presets, chipRef, isSupport }: AgentPresetsProps) => React$1.JSX.Element;
389
+ declare const AgentPresets: ({ variant, onSelectPreset, selectedPreset, onRemoveSelected, presets, chipRef, isSupport, sx, placement }: AgentPresetsProps) => React$1.JSX.Element;
386
390
 
387
391
  /**
388
392
  * AgentUI — Standalone "start + debug agents" surface.
@@ -413,6 +417,8 @@ interface AgentUIApp {
413
417
  icon?: string;
414
418
  }
415
419
  interface AgentUIProps {
420
+ /** Optional React key to force re-mounting when context changes */
421
+ key?: React__default.Key;
416
422
  /** Controlled list of apps. When provided, overrides defaultApps and disables auto-load. */
417
423
  apps?: AgentUIApp[];
418
424
  /** Initial chip set under the prompt. Used only when `apps` is not provided. */
@@ -457,6 +463,8 @@ interface AgentUIProps {
457
463
  maxWidth?: number;
458
464
  /** Compact mode: hides the hero icon, shrinks padding. */
459
465
  compact?: boolean;
466
+ /** Force the mobile/compact layout for narrow containers (e.g. side panels, split panes). Replaces the floating in-field skill badge with the compact `+` / skill icon menu button, removes the wide first-line indent, and sizes tool chips down to icons. */
467
+ mobileView?: boolean;
460
468
  /** Hide the "Select Apps" chip row entirely. */
461
469
  hideAppPicker?: boolean;
462
470
  /** Hide the paperclip image-attachment button. */
@@ -600,8 +608,14 @@ interface AgentUIProps {
600
608
  hidePresets?: boolean;
601
609
  /** Override the built-in template list surfaced by the "+ Templates" trigger. */
602
610
  presets?: AgentPreset[];
611
+ /** Preset/template to activate on mount. When omitted, restores from localStorage. */
612
+ initialPresetId?: string | null;
603
613
  /** Called when the user picks a preset. Overrides the built-in seed behavior. */
604
614
  onSelectPreset?: (preset: AgentPreset) => void;
615
+ /** Category used to auto-discover and connect tenant sources & destinations (e.g. 'incidents' or 'vulnerabilities') */
616
+ contextCategory?: 'incidents' | 'vulnerabilities' | string;
617
+ /** Storage key of the active page context to detect user overrides */
618
+ contextStorageKey?: string;
605
619
  }
606
620
 
607
621
  interface AgentPromptPrefixChipProps {
@@ -662,13 +676,15 @@ interface AgentRunDrawerProps extends ShuffleHostProps {
662
676
  permissionsDisabled?: boolean;
663
677
  permissionsDisabledTooltip?: string;
664
678
  /** Forwarded to the embedded AgentUI (apiKey, apiBaseUrl, orgId, etc.). */
665
- agentUIProps?: Partial<AgentUIProps>;
679
+ agentUIProps?: Partial<AgentUIProps> & {
680
+ key?: React.Key;
681
+ };
666
682
  /** Drawer width override (default: 595 px on >=sm, full-width on xs). */
667
683
  width?: number;
668
684
  /** Header title. Default: "Agent". */
669
- title?: string;
685
+ title?: React.ReactNode;
670
686
  /** Header subtitle. Default: "Run actions and manage permissions". */
671
- subtitle?: string;
687
+ subtitle?: React.ReactNode;
672
688
  /** Optional className forwarded to the Drawer Paper. */
673
689
  className?: string;
674
690
  /** Style overrides merged into the Drawer Paper sx. Use to override colors, padding, etc. */
@@ -681,6 +697,304 @@ interface AgentRunDrawerProps extends ShuffleHostProps {
681
697
  bodySx?: SxProps<Theme>;
682
698
  }
683
699
 
700
+ /**
701
+ * AskAiButton — Floating "Ask AI" trigger button in the bottom-right corner.
702
+ * Styled after ChatGPT docs with a "Support only" tag.
703
+ *
704
+ * Self-contained: No host-app `@/` imports.
705
+ */
706
+
707
+ interface AskAiButtonProps {
708
+ /** Click handler to toggle or open the context-aware drawer */
709
+ onClick: () => void;
710
+ /** Whether the drawer is currently open */
711
+ isOpen?: boolean;
712
+ /** Authoritative support user flag. Defaults to checking localStorage when omitted. */
713
+ isSupport?: boolean;
714
+ /**
715
+ * Whether to require support status to display the button.
716
+ * Default: true ("This is for now just for support users").
717
+ */
718
+ requireSupport?: boolean;
719
+ /** Current URL pathname. Automatically disables button on /agents and /agent */
720
+ pathname?: string;
721
+ /** Custom button label. Default: "Ask AI". */
722
+ label?: string;
723
+ /** Tag label in the button. Default: "Support only". Set to null to hide tag. */
724
+ tagLabel?: string | null;
725
+ /** Optional context name or subtitle shown in tooltip (e.g. "Shuffle Incidents MCP") */
726
+ contextHint?: string;
727
+ /** Custom tooltip title. When omitted, auto-generated from contextHint. */
728
+ tooltipTitle?: React__default.ReactNode;
729
+ /** Custom sx style overrides for the button */
730
+ sx?: SxProps<Theme>;
731
+ /** Hide button when drawer is open. Default: true. */
732
+ hideWhenOpen?: boolean;
733
+ }
734
+
735
+ /**
736
+ * agentContextRegistry — Extensible context awareness engine for Shuffle-MCPs.
737
+ *
738
+ * Maps application routes / locations to the appropriate MCP apps, agent skills/presets,
739
+ * and contextual prompt seeds. Also manages per-page user choice persistence so any
740
+ * manual tool or preset customization is remembered for that specific page.
741
+ *
742
+ * Self-contained: No host-app `@/` imports.
743
+ */
744
+ interface AgentContextApp {
745
+ name: string;
746
+ id?: string;
747
+ icon?: string;
748
+ }
749
+ interface AgentContextRule {
750
+ /** Unique identifier for the rule (e.g. 'incident-detail', 'incidents-list') */
751
+ id: string;
752
+ /**
753
+ * Route pattern string with ':param' tokens (e.g. '/incidents/:id', '/vulnerabilities'),
754
+ * a RegExp, or a custom matching function.
755
+ */
756
+ match: string | RegExp | ((pathname: string, searchParams: URLSearchParams) => boolean | Record<string, string> | null);
757
+ /** Default MCP apps to pre-select for this context */
758
+ defaultApps: AgentContextApp[];
759
+ /** Default skill/preset id (e.g. 'incident-response', 'vulnerability', 'build-workflows') */
760
+ defaultPresetId?: string;
761
+ /** Title shown on drawer header */
762
+ title?: string | ((params: Record<string, string>, pathname: string) => string);
763
+ /** Subtitle or context description shown under the drawer header */
764
+ subtitle?: string | ((params: Record<string, string>, pathname: string) => string);
765
+ /** Contextual prompt seed */
766
+ defaultPrompt?: string | ((params: Record<string, string>, pathname: string) => string);
767
+ /** Custom placeholder for the prompt input */
768
+ placeholder?: string;
769
+ /** Key used for localStorage persistence. Defaults to the rule id or parameterized key */
770
+ getStorageKey?: (params: Record<string, string>, pathname: string) => string;
771
+ /** Human-readable description of what this context provides */
772
+ description?: string;
773
+ /** Category used to automatically connect tenant sources and destinations (e.g. 'incidents' or 'vulnerabilities') */
774
+ sourceCategory?: 'incidents' | 'vulnerabilities' | string;
775
+ /** Explicit flag indicating this route lacks a dedicated MCP mapping */
776
+ missingConfig?: boolean;
777
+ /** Whether opening the panel should sideshift the page layout. Default: true */
778
+ sideshift?: boolean;
779
+ }
780
+ interface AgentResolvedContext {
781
+ ruleId: string;
782
+ apps: AgentContextApp[];
783
+ presetId?: string;
784
+ title: string;
785
+ subtitle: string;
786
+ defaultPrompt: string;
787
+ placeholder?: string;
788
+ storageKey: string;
789
+ params: Record<string, string>;
790
+ pathname: string;
791
+ /** Category used to automatically connect tenant sources and destinations */
792
+ sourceCategory?: 'incidents' | 'vulnerabilities' | string;
793
+ /** True when the active apps or preset come from the user's saved overrides rather than rule defaults */
794
+ isOverridden: boolean;
795
+ /** The default apps before any user customization */
796
+ originalDefaultApps: AgentContextApp[];
797
+ /** The default preset before any user customization */
798
+ originalDefaultPresetId?: string;
799
+ /** True when no specific rule was configured for this route (fallback rule used) */
800
+ missingConfig: boolean;
801
+ /** Whether opening the panel should sideshift the page layout */
802
+ sideshift?: boolean;
803
+ }
804
+ interface PageContextChoice {
805
+ apps?: AgentContextApp[];
806
+ presetId?: string | null;
807
+ updatedAt: number;
808
+ }
809
+ /** Match a URL pathname against a route pattern with `:param` segments */
810
+ declare const matchRoutePattern: (pattern: string, pathname: string) => Record<string, string> | null;
811
+ /** Checks whether the given pathname is an Agent-specific route that must disable Ask AI */
812
+ declare const isAgentRoute: (pathname: string) => boolean;
813
+ /** Attempts to discover the primary entity name/title from the active DOM (e.g. incident/case/alert title input) */
814
+ declare const getActivePageEntityName: () => string | undefined;
815
+ /**
816
+ * Built-in context rules for Shuffle.
817
+ * Most specific rules are defined first.
818
+ */
819
+ declare const DEFAULT_AGENT_CONTEXT_RULES: AgentContextRule[];
820
+ /** Register a custom context rule dynamically. Returns an unsubscribe function. */
821
+ declare const registerAgentContextRule: (rule: AgentContextRule, prepend?: boolean) => (() => void);
822
+ /** Get all registered rules (custom rules first, then built-in defaults) */
823
+ declare const getAgentContextRules: (customRules?: AgentContextRule[]) => AgentContextRule[];
824
+ /** Read saved user choice for a specific page storage key */
825
+ declare const getPageContextChoice: (storageKey: string) => PageContextChoice | null;
826
+ /** Save user's customized apps and preset for a specific page storage key */
827
+ declare const setPageContextChoice: (storageKey: string, choice: {
828
+ apps?: AgentContextApp[];
829
+ presetId?: string | null;
830
+ }) => void;
831
+ /** Clear saved user choice for a specific page, reverting it to defaults */
832
+ declare const clearPageContextChoice: (storageKey: string) => void;
833
+ /**
834
+ * Resolve the active context for a given pathname and search string.
835
+ * Automatically checks for saved user choices per page and applies them if present.
836
+ */
837
+ declare const resolveAgentContext: (pathname: string, search?: string, customRules?: AgentContextRule[]) => AgentResolvedContext;
838
+
839
+ /**
840
+ * AskAiDrawer — Context-aware wrapper around AgentRunDrawer.
841
+ *
842
+ * Automatically inspects the current URL/route, resolves the matching MCP apps and
843
+ * agent skills/presets, and persists user customizations per page.
844
+ *
845
+ * Self-contained: No host-app `@/` imports.
846
+ */
847
+
848
+ interface AskAiDrawerProps extends Omit<AgentRunDrawerProps, 'title' | 'subtitle'> {
849
+ /** Override drawer title. When omitted, uses the context-aware title. */
850
+ title?: React__default.ReactNode;
851
+ /** Override drawer subtitle. When omitted, uses the context-aware subtitle. */
852
+ subtitle?: React__default.ReactNode;
853
+ /**
854
+ * Current pathname. When omitted, automatically tracks `window.location.pathname`.
855
+ * Can be provided directly by host routers (e.g. TanStack Router `useLocation().pathname`).
856
+ */
857
+ pathname?: string;
858
+ /** Current search string (e.g. `?query=abc`). When omitted, uses `window.location.search`. */
859
+ search?: string;
860
+ /** Custom rules extending or overriding built-in context rules. */
861
+ rules?: AgentContextRule[];
862
+ /** Callback fired whenever the active context is resolved or changes. */
863
+ onContextResolved?: (context: AgentResolvedContext) => void;
864
+ /** When true, hides the "Reset to defaults" prompt when page tools have been customized. */
865
+ hideResetAction?: boolean;
866
+ }
867
+
868
+ /**
869
+ * AskAiSidePanel — Persistent, sideshifting right-docked AI assistant panel.
870
+ *
871
+ * Replaces the modal drawer with a persistent panel that slides out from the
872
+ * right and sideshifts the main UI horizontally without blocking page clicks.
873
+ *
874
+ * Key features:
875
+ * - Sideshifts layout: sets CSS variable `--ask-ai-panel-width: {width}px` on
876
+ * document.documentElement, smoothly shrinking DashboardLayout margin.
877
+ * - Compact horizontal width (~380px default).
878
+ * - Task-focused: minimal fluff, contextual question header (e.g. "How can we
879
+ * help handle incidents?"), prompt input with active skill chip -> tools chips.
880
+ * - Support user visibility: shows an explicit missing-config notice when no
881
+ * dedicated MCP app or skill is mapped for the current page.
882
+ * - Disabled & auto-closing on `/agents` and `/agent` routes.
883
+ * - Choice persistence: remembers tool and skill modifications per page.
884
+ */
885
+
886
+ interface AskAiSidePanelProps extends ShuffleHostProps {
887
+ /** Whether the side panel is open */
888
+ open: boolean;
889
+ /** Callback to close the side panel */
890
+ onClose: () => void;
891
+ /** Initial tab or active tab to display. Default: 'run' */
892
+ initialTab?: AgentRunDrawerTab;
893
+ /** Controlled active tab */
894
+ activeTab?: AgentRunDrawerTab;
895
+ /** Tab change callback */
896
+ onTabChange?: (tab: AgentRunDrawerTab) => void;
897
+ /** Render content for the Permissions tab. Tab is hidden when omitted. */
898
+ permissionsSlot?: React__default.ReactNode;
899
+ /** Render content for the Local LLM tab. Defaults to bundled Local LLM configuration UI. */
900
+ localLLMSlot?: React__default.ReactNode;
901
+ /** Custom badge node next to the Local LLM tab label. */
902
+ localLLMTabBadge?: React__default.ReactNode;
903
+ /** Tooltip shown when the Permissions tab is rendered but disabled. */
904
+ permissionsDisabled?: boolean;
905
+ permissionsDisabledTooltip?: string;
906
+ /** Current URL pathname. Falls back to window.location.pathname when omitted. */
907
+ pathname?: string;
908
+ /** Current URL search params string. */
909
+ search?: string;
910
+ /** Optional custom rules to evaluate ahead of built-ins */
911
+ rules?: AgentContextRule[];
912
+ /** Authoritative support user flag */
913
+ isSupport?: boolean;
914
+ /** Panel width in pixels. Default: 380 */
915
+ width?: number;
916
+ /** Theme override forwarded to AgentUI */
917
+ theme?: 'light' | 'dark' | 'system';
918
+ /** Backend base URL */
919
+ globalUrl?: string;
920
+ /** Extra props forwarded directly to AgentUI */
921
+ agentUIProps?: Partial<AgentUIProps>;
922
+ /** Notified when context is resolved or updated */
923
+ onContextResolved?: (context: AgentResolvedContext) => void;
924
+ /**
925
+ * Whether opening the side panel should sideshift the page layout by setting
926
+ * `--ask-ai-panel-width` on the root HTML element.
927
+ *
928
+ * When `true` (default), pages consuming `var(--ask-ai-panel-width, 0px)`
929
+ * (e.g. `DashboardLayout`, `DocsPage`) will smoothly shrink or shift their
930
+ * main content container to avoid being covered by the panel.
931
+ *
932
+ * When `false`, the panel acts as an overlay without adjusting page layout margins.
933
+ *
934
+ * If omitted, falls back to the matched route's context rule `sideshift` setting,
935
+ * which defaults to `true`.
936
+ *
937
+ * Default: true
938
+ */
939
+ sideshift?: boolean;
940
+ /** Style overrides for the root panel container */
941
+ sx?: SxProps<Theme>;
942
+ }
943
+
944
+ /**
945
+ * AskAiWidget — Complete drop-in context-aware "Ask AI" solution for Shuffle-MCPs.
946
+ *
947
+ * Combines the ChatGPT docs-styled floating button in the bottom-right corner with
948
+ * the context-aware AskAiDrawer. Supports both controlled and uncontrolled states,
949
+ * and responds to legacy `openAgentDrawer` events.
950
+ *
951
+ * Self-contained: No host-app `@/` imports.
952
+ */
953
+
954
+ interface AskAiWidgetProps extends Omit<AskAiSidePanelProps, 'open' | 'onClose'> {
955
+ /** Controlled open state. When omitted, the widget manages its own open state. */
956
+ open?: boolean;
957
+ /** Controlled open state change handler. */
958
+ onOpenChange?: (open: boolean) => void;
959
+ /** Presentation mode: 'panel' (sideshifting persistent side panel, default) or 'drawer' (modal slide-over) */
960
+ mode?: 'panel' | 'drawer';
961
+ /** Authoritative support user flag. When omitted, checks localStorage. */
962
+ isSupport?: boolean;
963
+ /** Whether to require support status to show the floating button. Default: true. */
964
+ requireSupport?: boolean;
965
+ /** Props forwarded to the floating AskAiButton */
966
+ buttonProps?: Partial<AskAiButtonProps>;
967
+ /** Hide the floating button completely (e.g. if controlled only by external triggers) */
968
+ hideButton?: boolean;
969
+ /** Legacy drawer tab support */
970
+ initialTab?: AgentRunDrawerTab;
971
+ /** Legacy drawer slot */
972
+ permissionsSlot?: React__default.ReactNode;
973
+ /** Legacy drawer slot */
974
+ localLLMSlot?: React__default.ReactNode;
975
+ /**
976
+ * Whether opening the side panel should sideshift the page layout.
977
+ * Default: true (or controlled per route rule). Set false for pure overlay mode.
978
+ */
979
+ sideshift?: boolean;
980
+ }
981
+ /**
982
+ * Convenience hook to get the active agent context for a given route.
983
+ */
984
+ declare const useContextAwareAgent: (pathname?: string, search?: string) => AgentResolvedContext;
985
+
986
+ /**
987
+ * API Configuration
988
+ *
989
+ * Configure the base URL based on your deployment:
990
+ * - Shuffle Cloud (EU): https://shuffler.io
991
+ * - Shuffle Cloud (US): https://us.shuffler.io
992
+ * - Self-hosted: Your own backend URL (e.g., https://shuffle.yourdomain.com)
993
+ *
994
+ * The region URL is dynamically resolved from /api/v1/getinfo's `region_url` field.
995
+ * If the user switches orgs, it resets to the default until getinfo is called again.
996
+ */
997
+
684
998
  /** Check if running on a known Shuffle Cloud domain */
685
999
  declare const isCloudDomain: () => boolean;
686
1000
  /**
@@ -719,7 +1033,12 @@ declare const getHostBaseUrl: () => string | null;
719
1033
  declare const API_CONFIG: {
720
1034
  readonly baseUrl: string;
721
1035
  version: string;
1036
+ /**
1037
+ * DEPRECATED alias for the single session token. There is no separate
1038
+ * API-key auth any more: exactly one session token may exist at a time.
1039
+ */
722
1040
  readonly apiKey: string | null;
1041
+ /** DEPRECATED: writes/clears the single session token. */
723
1042
  setApiKey(key: string | null): void;
724
1043
  };
725
1044
  declare const getApiUrl: (endpoint: string) => string;
@@ -847,7 +1166,7 @@ declare const scheduleAgentRun: ({ cron, input, apps, onStep, apiKey, apiBaseUrl
847
1166
  interface AgentUsecaseFilter {
848
1167
  /** Unique id (used as the menu value). */
849
1168
  id: string;
850
- /** Menu label, e.g. "Incident Response Agent". */
1169
+ /** Menu label, e.g. "Incident Handler". */
851
1170
  label: string;
852
1171
  /** Case-insensitive substrings matched against run source/workflow metadata. */
853
1172
  matchTokens: string[];
@@ -922,6 +1241,8 @@ interface AgentExecutionDrawerProps extends ShuffleHostProps {
922
1241
  topBanner?: React.ReactNode;
923
1242
  /** Handler for scheduling the loaded agent prompt from the execution view. */
924
1243
  onSchedule?: AgentUIProps['onSchedule'];
1244
+ /** Authoritative support flag. */
1245
+ isSupport?: boolean;
925
1246
  }
926
1247
 
927
1248
  interface AgentsViewProps extends ShuffleHostProps {
@@ -1751,6 +2072,14 @@ declare const AgentUI: React__default.ComponentType<any>;
1751
2072
 
1752
2073
  declare const AgentRunDrawer: React__default.ComponentType<any>;
1753
2074
 
2075
+ declare const AskAiButton: React__default.ComponentType<any>;
2076
+
2077
+ declare const AskAiDrawer: React__default.ComponentType<any>;
2078
+
2079
+ declare const AskAiSidePanel: React__default.ComponentType<any>;
2080
+
2081
+ declare const AskAiWidget: React__default.ComponentType<any>;
2082
+
1754
2083
  declare const AgentActivityList: React__default.ComponentType<any>;
1755
2084
 
1756
2085
  declare const AgentExecutionDrawer: React__default.ComponentType<any>;
@@ -1762,4 +2091,4 @@ declare const LocalLLMConfig: React__default.ComponentType<any>;
1762
2091
 
1763
2092
  declare const AddAppModal: React__default.ComponentType<any>;
1764
2093
 
1765
- 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 };
2094
+ export { AGENT_PRESETS, AGENT_PROMPT_PREFIX_CATEGORY, API_CONFIG, AddAppModal, type AddAppModalProps, AgentActivityList, type AgentActivityListProps, type AgentActivityParams, type AgentActivityResponse, type AgentContextApp, type AgentContextRule, type AgentDecision, AgentExecutionDrawer, type AgentExecutionDrawerProps, AgentIcon, type AgentLocalModel, type AgentPreset, AgentPresets, type AgentPresetsProps, AgentPromptPrefixChip, type AgentPromptPrefixChipProps, type AgentResolvedContext, 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, AskAiButton, type AskAiButtonProps, AskAiDrawer, type AskAiDrawerProps, AskAiSidePanel, type AskAiSidePanelProps, AskAiWidget, type AskAiWidgetProps, type AuthStatus, CASES_PATTERNS, COMMUNICATION_PATTERNS_NAMES, type CategoryAutomation, type CategoryConfig, type CustomStyles, DATASTORE_CATEGORIES, DEFAULT_AGENT_CONTEXT_RULES, 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 PageContextChoice, 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, clearPageContextChoice, ShuffleMCP as default, deleteDatastoreItem, deleteDatastoreItems, diagnoseOutputWarning, extractActionAppNames, extractValidatedIngestionApps, extractWorkflowActionAppNames, extractWorkflowAppNames, fetchApps, fetchAppsViaApiConfig, findForwardTicketsWorkflow, findIngestTicketsWorkflow, getActivePageEntityName, getAgentContextRules, getApiUrl, getAuthHeader, getDatastoreByCategory, getDatastoreItem, getDatastoreItemPublic, getDatastorePageSize, getFailureInfo, getHostBaseUrl, getIngestionCategory, getPageContextChoice, hasOutputWarning, installFetchBreaker, invalidateAppsCache, invalidateResolvedApps, isAgentRoute, isCloud, isCloudDomain, isEmailApp, isIngestionApp, isOnprem, isThreatIntelApp, isVulnScannerApp, isWorkflowScheduleStopped, matchRoutePattern, normalizeAppName, parseRunResult, refreshAllIntegrationStatus, registerAgentContextRule, registerProtectedOrigin, resetRegionUrl, resolveAgentContext, resolveApp, resolveApps, resolveVideoUrl, scheduleAgentRun, searchAgentActivity, seedResolvedApp, setDatastoreItem, setDatastoreItems, setHostBaseUrl, setPageContextChoice, setRegionUrl, setRuntimeOrgId, setToastImpl, shuffleFetch, toast, useAgentPromptPrefix, useAppAuth, useAppAuthFlow, useAppDetail, useAppDetailOptional, useAppLookup, useContextAwareAgent, useSyncHostBaseUrl };