@shuffleio/shuffle-mcps 0.0.31 → 0.0.33

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
- import React$1, { ReactNode } from 'react';
1
+ import * as React$1 from 'react';
2
+ import React__default, { ReactNode } from 'react';
2
3
  import { SxProps, Theme } from '@mui/material';
3
- import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
 
5
5
  /**
6
6
  * ShuffleMcpThemeProvider
@@ -25,7 +25,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
25
25
 
26
26
  type ShuffleMcpColorMode = "light" | "dark" | "auto";
27
27
  interface ShuffleMcpThemeProviderProps {
28
- children?: React$1.ReactNode;
28
+ children?: React__default.ReactNode;
29
29
  /**
30
30
  * Color mode for the wrapped subtree.
31
31
  * - `"auto"` (default) — follow the host page's `.dark` class on `<html>`.
@@ -34,7 +34,7 @@ interface ShuffleMcpThemeProviderProps {
34
34
  */
35
35
  mode?: ShuffleMcpColorMode;
36
36
  }
37
- declare const ShuffleMcpThemeProvider: React$1.FC<ShuffleMcpThemeProviderProps>;
37
+ declare const ShuffleMcpThemeProvider: React__default.FC<ShuffleMcpThemeProviderProps>;
38
38
 
39
39
  /**
40
40
  * Standard host-injected props passed to every top-level Shuffle-MCPs
@@ -272,7 +272,7 @@ interface AiAgentPromptsEditorProps {
272
272
  value: string;
273
273
  onChange: (next: string) => void;
274
274
  placeholder: string;
275
- }) => React$1.ReactNode;
275
+ }) => React__default.ReactNode;
276
276
  }
277
277
 
278
278
  interface AppTitleHeaderProps extends ShuffleHostProps {
@@ -294,6 +294,9 @@ interface AppTitleHeaderProps extends ShuffleHostProps {
294
294
  activateLoading?: boolean;
295
295
  /** Called when user clicks Activate/Deactivate. */
296
296
  onActivateToggle?: () => void;
297
+ /** When true, visually highlight the Activate button to signal an
298
+ * automatic click is happening (e.g. from a usecase auto-activate flow). */
299
+ highlightActivate?: boolean;
297
300
  /** When provided, replaces the Activate button with "+ Add". */
298
301
  onAdd?: () => void;
299
302
  }
@@ -374,7 +377,7 @@ interface AgentUIProps {
374
377
  /** Hero title above the prompt. */
375
378
  title?: string;
376
379
  /** Optional subtitle/description shown under the title. */
377
- subtitle?: React$1.ReactNode;
380
+ subtitle?: React__default.ReactNode;
378
381
  /** Placeholder shown in the empty prompt. */
379
382
  placeholder?: string;
380
383
  /** Pre-fill the prompt with this text. */
@@ -384,7 +387,7 @@ interface AgentUIProps {
384
387
  /** Hide the centered hero icon (compact mode). */
385
388
  hideHeroIcon?: boolean;
386
389
  /** Replace the default AgentIcon with a custom node (e.g. brand logo). */
387
- heroIcon?: React$1.ReactNode;
390
+ heroIcon?: React__default.ReactNode;
388
391
  /** Pixel size of the hero icon container. Default 84. */
389
392
  heroIconSize?: number;
390
393
  /** Maximum width of the centered card. */
@@ -417,7 +420,7 @@ interface AgentUIProps {
417
420
  /** Tooltip on the submit button. Default: "⌘+Enter to send". */
418
421
  submitTooltip?: string;
419
422
  /** Custom icon for the submit button. */
420
- submitIcon?: React$1.ReactNode;
423
+ submitIcon?: React__default.ReactNode;
421
424
  /**
422
425
  * When provided, the submit button + Cmd/Ctrl+Enter call this instead of
423
426
  * running the agent. Used for "edit existing scheduled workflow" mode where
@@ -995,7 +998,7 @@ interface IntegrationStatusProps extends ShuffleHostProps {
995
998
  }
996
999
  /** Fire this event from anywhere to make all IntegrationStatus instances re-fetch. */
997
1000
  declare const refreshAllIntegrationStatus: () => void;
998
- declare const IntegrationStatus: ({ collapsed, filterApps, onAddClick, iconSize, onDisable, disabledApps, showAll, hideAddButton, hideHeader, priorityCategory, extraApps }: IntegrationStatusProps) => react_jsx_runtime.JSX.Element;
1001
+ declare const IntegrationStatus: ({ collapsed, filterApps, onAddClick, iconSize, onDisable, disabledApps, showAll, hideAddButton, hideHeader, priorityCategory, extraApps }: IntegrationStatusProps) => React$1.JSX.Element;
999
1002
 
1000
1003
  type AuthStatus = 'pending' | 'testing' | 'connected' | 'error';
1001
1004
  interface AppAuthState {
@@ -1062,9 +1065,22 @@ interface AppAuthCardProps extends ShuffleHostProps {
1062
1065
  /** Render without the outer Card border so the component can be embedded
1063
1066
  * inside another bordered container without the nested "double border" look. */
1064
1067
  borderless?: boolean;
1068
+ /** Compact mode for embedded auth setup (e.g. Local LLM). Hides the
1069
+ * "Select authentication" dropdown and the large "Pending Verification"
1070
+ * detail panel with its standalone Test Connection button. The inline
1071
+ * credentials form (with the small "Test Authentication" CTA) is always
1072
+ * visible so users can edit & retest in one place. */
1073
+ compactAuthForm?: boolean;
1074
+ /** Render additional fields inside the expanded body, above the credential
1075
+ * inputs. The slot receives the live `localCredentials` and a `setField`
1076
+ * helper so its values are persisted as part of the auth on Save. */
1077
+ extraFieldsSlot?: (api: {
1078
+ credentials: Record<string, string>;
1079
+ setField: (key: string, value: string) => void;
1080
+ }) => React.ReactNode;
1065
1081
  }
1066
- declare const AppAuthCard: ({ app, authState, isExpanded, onToggle, onAuthChange, onTestConnection, onSaveAuth, apiAuthEntries, onSelectAuth, onRefreshAuth, disableUrlPrefill, hideHeader, hideStatusChips, hideDocsLink, hideUrlFields, borderless, globalUrl, userdata, isLoaded, isLoggedIn, serverside, }: AppAuthCardProps) => react_jsx_runtime.JSX.Element;
1067
- declare const AppAuthConfig: ({ apps, authStates, authenticatedApps, onAuthChange, onTestConnection, onSaveAuth, onSelectAuth, onRefreshAuth, globalUrl, userdata, isLoaded, isLoggedIn, serverside, }: AppAuthConfigProps) => react_jsx_runtime.JSX.Element;
1082
+ declare const AppAuthCard: ({ app, authState, isExpanded, onToggle, onAuthChange, onTestConnection, onSaveAuth, apiAuthEntries, onSelectAuth, onRefreshAuth, disableUrlPrefill, hideHeader, hideStatusChips, hideDocsLink, hideUrlFields, borderless, compactAuthForm, extraFieldsSlot, globalUrl, userdata, isLoaded, isLoggedIn, serverside, }: AppAuthCardProps) => React$1.JSX.Element;
1083
+ declare const AppAuthConfig: ({ apps, authStates, authenticatedApps, onAuthChange, onTestConnection, onSaveAuth, onSelectAuth, onRefreshAuth, globalUrl, userdata, isLoaded, isLoggedIn, serverside, }: AppAuthConfigProps) => React$1.JSX.Element;
1068
1084
 
1069
1085
  declare function useAppAuth(): {
1070
1086
  authStates: Record<string, AppAuthState>;
@@ -1084,7 +1100,7 @@ interface AppDetailContextType {
1084
1100
  }
1085
1101
  declare const AppDetailProvider: ({ children }: {
1086
1102
  children: ReactNode;
1087
- }) => react_jsx_runtime.JSX.Element;
1103
+ }) => React$1.JSX.Element;
1088
1104
  declare const useAppDetail: () => AppDetailContextType;
1089
1105
  /** Safe variant: returns null if no provider is mounted. Useful for components used both inside and outside the dashboard. */
1090
1106
  declare const useAppDetailOptional: () => AppDetailContextType;
@@ -1144,7 +1160,7 @@ interface AgentIconProps {
1144
1160
  /**
1145
1161
  * Renders the Singul agent icon — use this everywhere instead of 🤖.
1146
1162
  */
1147
- declare const AgentIcon: ({ size, className, style }: AgentIconProps) => react_jsx_runtime.JSX.Element;
1163
+ declare const AgentIcon: ({ size, className, style }: AgentIconProps) => React$1.JSX.Element;
1148
1164
 
1149
1165
  /**
1150
1166
  * Shuffle Datastore Service
@@ -1287,6 +1303,8 @@ declare const isVulnScannerApp: (appName: string) => boolean;
1287
1303
  declare const isIngestionApp: (appName: string) => boolean;
1288
1304
  type IngestionCategory = 'email' | 'cases' | 'edr' | 'siem' | 'other';
1289
1305
  declare const normalizeAppName: (name: string) => string;
1306
+ declare function extractActionAppNames(action: any): string[];
1307
+ declare function extractWorkflowActionAppNames(workflow: any): string[];
1290
1308
  declare const getIngestionCategory: (appName: string, appCategories?: string[]) => IngestionCategory | null;
1291
1309
  /** Name of the workflow that powers automatic ingestion */
1292
1310
  declare const INGEST_TICKETS_WORKFLOW_NAME = "Ingest Tickets";
@@ -1385,7 +1403,7 @@ interface UsageBarProps {
1385
1403
  actionLabel?: string;
1386
1404
  actionHref?: string;
1387
1405
  }
1388
- declare const UsageBar: React$1.FC<UsageBarProps>;
1406
+ declare const UsageBar: React__default.FC<UsageBarProps>;
1389
1407
 
1390
1408
  /**
1391
1409
  * Local Singul Library — fully self-contained.
@@ -1404,31 +1422,31 @@ declare const UsageBar: React$1.FC<UsageBarProps>;
1404
1422
  */
1405
1423
  type ShuffleTheme = 'light' | 'dark' | 'system';
1406
1424
 
1407
- declare const ShuffleMCP: React$1.ForwardRefExoticComponent<any>;
1425
+ declare const ShuffleMCP: React__default.ForwardRefExoticComponent<any>;
1408
1426
 
1409
- declare const AppDetailDrawer: React$1.ComponentType<any>;
1410
- declare const AppSearchDrawer: React$1.ComponentType<any>;
1411
- declare const AiAgentPromptsEditor: React$1.ComponentType<any>;
1427
+ declare const AppDetailDrawer: React__default.ComponentType<any>;
1428
+ declare const AppSearchDrawer: React__default.ComponentType<any>;
1429
+ declare const AiAgentPromptsEditor: React__default.ComponentType<any>;
1412
1430
 
1413
- declare const ShufflePipelinesBanner: React$1.ComponentType<any>;
1414
- declare const AppTitleHeader: React$1.ComponentType<any>;
1431
+ declare const ShufflePipelinesBanner: React__default.ComponentType<any>;
1432
+ declare const AppTitleHeader: React__default.ComponentType<any>;
1415
1433
 
1416
- declare const AppAuthSection: React$1.ComponentType<any>;
1434
+ declare const AppAuthSection: React__default.ComponentType<any>;
1417
1435
 
1418
- declare const TryMcpSection: React$1.ComponentType<any>;
1436
+ declare const TryMcpSection: React__default.ComponentType<any>;
1419
1437
 
1420
- declare const SingulActionsPreview: React$1.ComponentType<any>;
1421
- declare const AgentUI: React$1.ComponentType<any>;
1438
+ declare const SingulActionsPreview: React__default.ComponentType<any>;
1439
+ declare const AgentUI: React__default.ComponentType<any>;
1422
1440
 
1423
- declare const AgentRunDrawer: React$1.ComponentType<any>;
1441
+ declare const AgentRunDrawer: React__default.ComponentType<any>;
1424
1442
 
1425
- declare const AgentActivityList: React$1.ComponentType<any>;
1443
+ declare const AgentActivityList: React__default.ComponentType<any>;
1426
1444
 
1427
- declare const AgentExecutionDrawer: React$1.ComponentType<any>;
1445
+ declare const AgentExecutionDrawer: React__default.ComponentType<any>;
1428
1446
 
1429
- declare const AgentsView: React$1.ComponentType<any>;
1447
+ declare const AgentsView: React__default.ComponentType<any>;
1430
1448
 
1431
- declare const AgentRunDiagnosisBanner: React$1.ComponentType<any>;
1432
- declare const LocalLLMConfig: React$1.ComponentType<any>;
1449
+ declare const AgentRunDiagnosisBanner: React__default.ComponentType<any>;
1450
+ declare const LocalLLMConfig: React__default.ComponentType<any>;
1433
1451
 
1434
- export { API_CONFIG, AgentActivityList, type AgentActivityListProps, type AgentActivityParams, type AgentActivityResponse, type AgentDecision, AgentExecutionDrawer, type AgentExecutionDrawerProps, AgentIcon, type AgentLocalModel, 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, 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, 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, VULN_SCANNER_PATTERNS, type ValidatedIngestionApp, ShuffleMCP as default, deleteDatastoreItem, deleteDatastoreItems, diagnoseOutputWarning, extractValidatedIngestionApps, extractWorkflowAppNames, fetchApps, fetchAppsViaApiConfig, findForwardTicketsWorkflow, findIngestTicketsWorkflow, getApiUrl, getAuthHeader, getDatastoreByCategory, getDatastoreItem, getDatastoreItemPublic, 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, useAppAuth, useAppDetail, useAppDetailOptional, useAppLookup, useSyncHostBaseUrl };
1452
+ export { API_CONFIG, AgentActivityList, type AgentActivityListProps, type AgentActivityParams, type AgentActivityResponse, type AgentDecision, AgentExecutionDrawer, type AgentExecutionDrawerProps, AgentIcon, type AgentLocalModel, 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, 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, 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, VULN_SCANNER_PATTERNS, type ValidatedIngestionApp, ShuffleMCP as default, deleteDatastoreItem, deleteDatastoreItems, diagnoseOutputWarning, extractActionAppNames, extractValidatedIngestionApps, extractWorkflowActionAppNames, extractWorkflowAppNames, fetchApps, fetchAppsViaApiConfig, findForwardTicketsWorkflow, findIngestTicketsWorkflow, getApiUrl, getAuthHeader, getDatastoreByCategory, getDatastoreItem, getDatastoreItemPublic, 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, useAppAuth, useAppDetail, useAppDetailOptional, useAppLookup, useSyncHostBaseUrl };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import React$1, { ReactNode } from 'react';
1
+ import * as React$1 from 'react';
2
+ import React__default, { ReactNode } from 'react';
2
3
  import { SxProps, Theme } from '@mui/material';
3
- import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
 
5
5
  /**
6
6
  * ShuffleMcpThemeProvider
@@ -25,7 +25,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
25
25
 
26
26
  type ShuffleMcpColorMode = "light" | "dark" | "auto";
27
27
  interface ShuffleMcpThemeProviderProps {
28
- children?: React$1.ReactNode;
28
+ children?: React__default.ReactNode;
29
29
  /**
30
30
  * Color mode for the wrapped subtree.
31
31
  * - `"auto"` (default) — follow the host page's `.dark` class on `<html>`.
@@ -34,7 +34,7 @@ interface ShuffleMcpThemeProviderProps {
34
34
  */
35
35
  mode?: ShuffleMcpColorMode;
36
36
  }
37
- declare const ShuffleMcpThemeProvider: React$1.FC<ShuffleMcpThemeProviderProps>;
37
+ declare const ShuffleMcpThemeProvider: React__default.FC<ShuffleMcpThemeProviderProps>;
38
38
 
39
39
  /**
40
40
  * Standard host-injected props passed to every top-level Shuffle-MCPs
@@ -272,7 +272,7 @@ interface AiAgentPromptsEditorProps {
272
272
  value: string;
273
273
  onChange: (next: string) => void;
274
274
  placeholder: string;
275
- }) => React$1.ReactNode;
275
+ }) => React__default.ReactNode;
276
276
  }
277
277
 
278
278
  interface AppTitleHeaderProps extends ShuffleHostProps {
@@ -294,6 +294,9 @@ interface AppTitleHeaderProps extends ShuffleHostProps {
294
294
  activateLoading?: boolean;
295
295
  /** Called when user clicks Activate/Deactivate. */
296
296
  onActivateToggle?: () => void;
297
+ /** When true, visually highlight the Activate button to signal an
298
+ * automatic click is happening (e.g. from a usecase auto-activate flow). */
299
+ highlightActivate?: boolean;
297
300
  /** When provided, replaces the Activate button with "+ Add". */
298
301
  onAdd?: () => void;
299
302
  }
@@ -374,7 +377,7 @@ interface AgentUIProps {
374
377
  /** Hero title above the prompt. */
375
378
  title?: string;
376
379
  /** Optional subtitle/description shown under the title. */
377
- subtitle?: React$1.ReactNode;
380
+ subtitle?: React__default.ReactNode;
378
381
  /** Placeholder shown in the empty prompt. */
379
382
  placeholder?: string;
380
383
  /** Pre-fill the prompt with this text. */
@@ -384,7 +387,7 @@ interface AgentUIProps {
384
387
  /** Hide the centered hero icon (compact mode). */
385
388
  hideHeroIcon?: boolean;
386
389
  /** Replace the default AgentIcon with a custom node (e.g. brand logo). */
387
- heroIcon?: React$1.ReactNode;
390
+ heroIcon?: React__default.ReactNode;
388
391
  /** Pixel size of the hero icon container. Default 84. */
389
392
  heroIconSize?: number;
390
393
  /** Maximum width of the centered card. */
@@ -417,7 +420,7 @@ interface AgentUIProps {
417
420
  /** Tooltip on the submit button. Default: "⌘+Enter to send". */
418
421
  submitTooltip?: string;
419
422
  /** Custom icon for the submit button. */
420
- submitIcon?: React$1.ReactNode;
423
+ submitIcon?: React__default.ReactNode;
421
424
  /**
422
425
  * When provided, the submit button + Cmd/Ctrl+Enter call this instead of
423
426
  * running the agent. Used for "edit existing scheduled workflow" mode where
@@ -995,7 +998,7 @@ interface IntegrationStatusProps extends ShuffleHostProps {
995
998
  }
996
999
  /** Fire this event from anywhere to make all IntegrationStatus instances re-fetch. */
997
1000
  declare const refreshAllIntegrationStatus: () => void;
998
- declare const IntegrationStatus: ({ collapsed, filterApps, onAddClick, iconSize, onDisable, disabledApps, showAll, hideAddButton, hideHeader, priorityCategory, extraApps }: IntegrationStatusProps) => react_jsx_runtime.JSX.Element;
1001
+ declare const IntegrationStatus: ({ collapsed, filterApps, onAddClick, iconSize, onDisable, disabledApps, showAll, hideAddButton, hideHeader, priorityCategory, extraApps }: IntegrationStatusProps) => React$1.JSX.Element;
999
1002
 
1000
1003
  type AuthStatus = 'pending' | 'testing' | 'connected' | 'error';
1001
1004
  interface AppAuthState {
@@ -1062,9 +1065,22 @@ interface AppAuthCardProps extends ShuffleHostProps {
1062
1065
  /** Render without the outer Card border so the component can be embedded
1063
1066
  * inside another bordered container without the nested "double border" look. */
1064
1067
  borderless?: boolean;
1068
+ /** Compact mode for embedded auth setup (e.g. Local LLM). Hides the
1069
+ * "Select authentication" dropdown and the large "Pending Verification"
1070
+ * detail panel with its standalone Test Connection button. The inline
1071
+ * credentials form (with the small "Test Authentication" CTA) is always
1072
+ * visible so users can edit & retest in one place. */
1073
+ compactAuthForm?: boolean;
1074
+ /** Render additional fields inside the expanded body, above the credential
1075
+ * inputs. The slot receives the live `localCredentials` and a `setField`
1076
+ * helper so its values are persisted as part of the auth on Save. */
1077
+ extraFieldsSlot?: (api: {
1078
+ credentials: Record<string, string>;
1079
+ setField: (key: string, value: string) => void;
1080
+ }) => React.ReactNode;
1065
1081
  }
1066
- declare const AppAuthCard: ({ app, authState, isExpanded, onToggle, onAuthChange, onTestConnection, onSaveAuth, apiAuthEntries, onSelectAuth, onRefreshAuth, disableUrlPrefill, hideHeader, hideStatusChips, hideDocsLink, hideUrlFields, borderless, globalUrl, userdata, isLoaded, isLoggedIn, serverside, }: AppAuthCardProps) => react_jsx_runtime.JSX.Element;
1067
- declare const AppAuthConfig: ({ apps, authStates, authenticatedApps, onAuthChange, onTestConnection, onSaveAuth, onSelectAuth, onRefreshAuth, globalUrl, userdata, isLoaded, isLoggedIn, serverside, }: AppAuthConfigProps) => react_jsx_runtime.JSX.Element;
1082
+ declare const AppAuthCard: ({ app, authState, isExpanded, onToggle, onAuthChange, onTestConnection, onSaveAuth, apiAuthEntries, onSelectAuth, onRefreshAuth, disableUrlPrefill, hideHeader, hideStatusChips, hideDocsLink, hideUrlFields, borderless, compactAuthForm, extraFieldsSlot, globalUrl, userdata, isLoaded, isLoggedIn, serverside, }: AppAuthCardProps) => React$1.JSX.Element;
1083
+ declare const AppAuthConfig: ({ apps, authStates, authenticatedApps, onAuthChange, onTestConnection, onSaveAuth, onSelectAuth, onRefreshAuth, globalUrl, userdata, isLoaded, isLoggedIn, serverside, }: AppAuthConfigProps) => React$1.JSX.Element;
1068
1084
 
1069
1085
  declare function useAppAuth(): {
1070
1086
  authStates: Record<string, AppAuthState>;
@@ -1084,7 +1100,7 @@ interface AppDetailContextType {
1084
1100
  }
1085
1101
  declare const AppDetailProvider: ({ children }: {
1086
1102
  children: ReactNode;
1087
- }) => react_jsx_runtime.JSX.Element;
1103
+ }) => React$1.JSX.Element;
1088
1104
  declare const useAppDetail: () => AppDetailContextType;
1089
1105
  /** Safe variant: returns null if no provider is mounted. Useful for components used both inside and outside the dashboard. */
1090
1106
  declare const useAppDetailOptional: () => AppDetailContextType;
@@ -1144,7 +1160,7 @@ interface AgentIconProps {
1144
1160
  /**
1145
1161
  * Renders the Singul agent icon — use this everywhere instead of 🤖.
1146
1162
  */
1147
- declare const AgentIcon: ({ size, className, style }: AgentIconProps) => react_jsx_runtime.JSX.Element;
1163
+ declare const AgentIcon: ({ size, className, style }: AgentIconProps) => React$1.JSX.Element;
1148
1164
 
1149
1165
  /**
1150
1166
  * Shuffle Datastore Service
@@ -1287,6 +1303,8 @@ declare const isVulnScannerApp: (appName: string) => boolean;
1287
1303
  declare const isIngestionApp: (appName: string) => boolean;
1288
1304
  type IngestionCategory = 'email' | 'cases' | 'edr' | 'siem' | 'other';
1289
1305
  declare const normalizeAppName: (name: string) => string;
1306
+ declare function extractActionAppNames(action: any): string[];
1307
+ declare function extractWorkflowActionAppNames(workflow: any): string[];
1290
1308
  declare const getIngestionCategory: (appName: string, appCategories?: string[]) => IngestionCategory | null;
1291
1309
  /** Name of the workflow that powers automatic ingestion */
1292
1310
  declare const INGEST_TICKETS_WORKFLOW_NAME = "Ingest Tickets";
@@ -1385,7 +1403,7 @@ interface UsageBarProps {
1385
1403
  actionLabel?: string;
1386
1404
  actionHref?: string;
1387
1405
  }
1388
- declare const UsageBar: React$1.FC<UsageBarProps>;
1406
+ declare const UsageBar: React__default.FC<UsageBarProps>;
1389
1407
 
1390
1408
  /**
1391
1409
  * Local Singul Library — fully self-contained.
@@ -1404,31 +1422,31 @@ declare const UsageBar: React$1.FC<UsageBarProps>;
1404
1422
  */
1405
1423
  type ShuffleTheme = 'light' | 'dark' | 'system';
1406
1424
 
1407
- declare const ShuffleMCP: React$1.ForwardRefExoticComponent<any>;
1425
+ declare const ShuffleMCP: React__default.ForwardRefExoticComponent<any>;
1408
1426
 
1409
- declare const AppDetailDrawer: React$1.ComponentType<any>;
1410
- declare const AppSearchDrawer: React$1.ComponentType<any>;
1411
- declare const AiAgentPromptsEditor: React$1.ComponentType<any>;
1427
+ declare const AppDetailDrawer: React__default.ComponentType<any>;
1428
+ declare const AppSearchDrawer: React__default.ComponentType<any>;
1429
+ declare const AiAgentPromptsEditor: React__default.ComponentType<any>;
1412
1430
 
1413
- declare const ShufflePipelinesBanner: React$1.ComponentType<any>;
1414
- declare const AppTitleHeader: React$1.ComponentType<any>;
1431
+ declare const ShufflePipelinesBanner: React__default.ComponentType<any>;
1432
+ declare const AppTitleHeader: React__default.ComponentType<any>;
1415
1433
 
1416
- declare const AppAuthSection: React$1.ComponentType<any>;
1434
+ declare const AppAuthSection: React__default.ComponentType<any>;
1417
1435
 
1418
- declare const TryMcpSection: React$1.ComponentType<any>;
1436
+ declare const TryMcpSection: React__default.ComponentType<any>;
1419
1437
 
1420
- declare const SingulActionsPreview: React$1.ComponentType<any>;
1421
- declare const AgentUI: React$1.ComponentType<any>;
1438
+ declare const SingulActionsPreview: React__default.ComponentType<any>;
1439
+ declare const AgentUI: React__default.ComponentType<any>;
1422
1440
 
1423
- declare const AgentRunDrawer: React$1.ComponentType<any>;
1441
+ declare const AgentRunDrawer: React__default.ComponentType<any>;
1424
1442
 
1425
- declare const AgentActivityList: React$1.ComponentType<any>;
1443
+ declare const AgentActivityList: React__default.ComponentType<any>;
1426
1444
 
1427
- declare const AgentExecutionDrawer: React$1.ComponentType<any>;
1445
+ declare const AgentExecutionDrawer: React__default.ComponentType<any>;
1428
1446
 
1429
- declare const AgentsView: React$1.ComponentType<any>;
1447
+ declare const AgentsView: React__default.ComponentType<any>;
1430
1448
 
1431
- declare const AgentRunDiagnosisBanner: React$1.ComponentType<any>;
1432
- declare const LocalLLMConfig: React$1.ComponentType<any>;
1449
+ declare const AgentRunDiagnosisBanner: React__default.ComponentType<any>;
1450
+ declare const LocalLLMConfig: React__default.ComponentType<any>;
1433
1451
 
1434
- export { API_CONFIG, AgentActivityList, type AgentActivityListProps, type AgentActivityParams, type AgentActivityResponse, type AgentDecision, AgentExecutionDrawer, type AgentExecutionDrawerProps, AgentIcon, type AgentLocalModel, 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, 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, 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, VULN_SCANNER_PATTERNS, type ValidatedIngestionApp, ShuffleMCP as default, deleteDatastoreItem, deleteDatastoreItems, diagnoseOutputWarning, extractValidatedIngestionApps, extractWorkflowAppNames, fetchApps, fetchAppsViaApiConfig, findForwardTicketsWorkflow, findIngestTicketsWorkflow, getApiUrl, getAuthHeader, getDatastoreByCategory, getDatastoreItem, getDatastoreItemPublic, 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, useAppAuth, useAppDetail, useAppDetailOptional, useAppLookup, useSyncHostBaseUrl };
1452
+ export { API_CONFIG, AgentActivityList, type AgentActivityListProps, type AgentActivityParams, type AgentActivityResponse, type AgentDecision, AgentExecutionDrawer, type AgentExecutionDrawerProps, AgentIcon, type AgentLocalModel, 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, 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, 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, VULN_SCANNER_PATTERNS, type ValidatedIngestionApp, ShuffleMCP as default, deleteDatastoreItem, deleteDatastoreItems, diagnoseOutputWarning, extractActionAppNames, extractValidatedIngestionApps, extractWorkflowActionAppNames, extractWorkflowAppNames, fetchApps, fetchAppsViaApiConfig, findForwardTicketsWorkflow, findIngestTicketsWorkflow, getApiUrl, getAuthHeader, getDatastoreByCategory, getDatastoreItem, getDatastoreItemPublic, 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, useAppAuth, useAppDetail, useAppDetailOptional, useAppLookup, useSyncHostBaseUrl };