@shuffleio/shuffle-mcps 0.0.22 → 0.0.24
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 +69 -8
- package/dist/index.d.ts +69 -8
- package/dist/index.js +938 -356
- package/dist/index.mjs +935 -343
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -62,6 +62,10 @@ interface ShuffleHostProps {
|
|
|
62
62
|
globalUrl?: string;
|
|
63
63
|
/** Userdata returned by `GET /api/v1/getinfo` (active_org, support, etc.). */
|
|
64
64
|
userdata?: any;
|
|
65
|
+
/** Optional theme mode forwarded through composed Shuffle surfaces. */
|
|
66
|
+
theme?: 'light' | 'dark' | 'system';
|
|
67
|
+
/** Legacy theme alias forwarded through composed Shuffle surfaces. */
|
|
68
|
+
colorMode?: 'light' | 'dark' | 'auto';
|
|
65
69
|
}
|
|
66
70
|
|
|
67
71
|
/**
|
|
@@ -182,6 +186,8 @@ interface ShuffleMCPProps extends ShuffleHostProps {
|
|
|
182
186
|
showCheckbox?: boolean;
|
|
183
187
|
multiSelect?: boolean;
|
|
184
188
|
selectedApps?: AlgoliaSearchApp[];
|
|
189
|
+
/** Disable automatic selection of already validated apps. Useful for explicit user pickers. */
|
|
190
|
+
disableAutoSelectValidatedApps?: boolean;
|
|
185
191
|
preventDefault?: boolean;
|
|
186
192
|
/** When true, results show inline on the page instead of as a dropdown */
|
|
187
193
|
inline?: boolean;
|
|
@@ -505,6 +511,10 @@ interface AgentUIProps {
|
|
|
505
511
|
apiBaseUrl?: string;
|
|
506
512
|
/** Optional Shuffle Org ID — sent as the `Org-Id` header on every call. */
|
|
507
513
|
orgId?: string;
|
|
514
|
+
/** Optional theme mode forwarded to nested Shuffle drawers. */
|
|
515
|
+
theme?: 'light' | 'dark' | 'system';
|
|
516
|
+
/** Legacy theme alias forwarded to nested Shuffle drawers. */
|
|
517
|
+
colorMode?: 'light' | 'dark' | 'auto';
|
|
508
518
|
/** Optional className forwarded to the root container. */
|
|
509
519
|
className?: string;
|
|
510
520
|
/** Style overrides merged into the root container sx. */
|
|
@@ -521,7 +531,7 @@ interface AgentRunDrawerProps extends ShuffleHostProps {
|
|
|
521
531
|
initialTab?: AgentRunDrawerTab;
|
|
522
532
|
/** Render content for the Permissions tab. Tab is hidden when omitted. */
|
|
523
533
|
permissionsSlot?: React.ReactNode;
|
|
524
|
-
/** Render content for the Local LLM tab.
|
|
534
|
+
/** Render content for the Local LLM tab. Defaults to the bundled Local LLM configuration UI. */
|
|
525
535
|
localLLMSlot?: React.ReactNode;
|
|
526
536
|
/**
|
|
527
537
|
* Custom badge node next to the Local LLM tab label (e.g. a green check
|
|
@@ -676,10 +686,36 @@ interface AgentActivityParams {
|
|
|
676
686
|
/** Workflow ID to search. Defaults to the synthetic 'AGENT' grouping. */
|
|
677
687
|
workflowId?: string;
|
|
678
688
|
}
|
|
689
|
+
type ScheduleStepId = 'name' | 'workflow' | 'schedule';
|
|
690
|
+
type ScheduleStepState = 'active' | 'done' | 'error';
|
|
691
|
+
interface ScheduleStepEvent {
|
|
692
|
+
id: ScheduleStepId;
|
|
693
|
+
state: ScheduleStepState;
|
|
694
|
+
detail?: string;
|
|
695
|
+
}
|
|
696
|
+
interface ScheduleAgentRunArgs {
|
|
697
|
+
cron: string;
|
|
698
|
+
input: string;
|
|
699
|
+
apps?: Array<{
|
|
700
|
+
name: string;
|
|
701
|
+
id?: string;
|
|
702
|
+
icon?: string;
|
|
703
|
+
}>;
|
|
704
|
+
onStep?: (event: ScheduleStepEvent) => void;
|
|
705
|
+
apiKey?: string;
|
|
706
|
+
apiBaseUrl?: string;
|
|
707
|
+
orgId?: string;
|
|
708
|
+
}
|
|
679
709
|
/**
|
|
680
710
|
* Search agent workflow executions (workflow_id = "AGENT" by default).
|
|
681
711
|
*/
|
|
682
712
|
declare const searchAgentActivity: (params?: AgentActivityParams) => Promise<AgentActivityResponse>;
|
|
713
|
+
/** Create a scheduled AI Agent workflow directly from the library. */
|
|
714
|
+
declare const scheduleAgentRun: ({ cron, input, apps, onStep, apiKey, apiBaseUrl, orgId }: ScheduleAgentRunArgs) => Promise<{
|
|
715
|
+
workflowId: string;
|
|
716
|
+
name: string;
|
|
717
|
+
cron: string;
|
|
718
|
+
}>;
|
|
683
719
|
|
|
684
720
|
interface AgentActivityListProps extends ShuffleHostProps {
|
|
685
721
|
/** Optional Shuffle API key. Falls back to the shared API_CONFIG. */
|
|
@@ -751,11 +787,14 @@ interface AgentExecutionDrawerProps extends ShuffleHostProps {
|
|
|
751
787
|
|
|
752
788
|
interface AgentsViewProps extends ShuffleHostProps {
|
|
753
789
|
/**
|
|
754
|
-
*
|
|
755
|
-
*
|
|
756
|
-
* workflow on the host backend.
|
|
790
|
+
* Optional scheduler override. When omitted, AgentsView creates the scheduled
|
|
791
|
+
* AI Agent workflow directly through the Shuffle API.
|
|
757
792
|
*/
|
|
758
|
-
onSchedule
|
|
793
|
+
onSchedule?: NonNullable<AgentUIProps['onSchedule']>;
|
|
794
|
+
/** Optional Shuffle API key. Falls back to the shared API config/session. */
|
|
795
|
+
apiKey?: string;
|
|
796
|
+
/** Optional Shuffle Org ID — sent as the `Org-Id` header on library fetches. */
|
|
797
|
+
orgId?: string;
|
|
759
798
|
/** Override max content width of the inner stack. Defaults to 820. */
|
|
760
799
|
maxWidth?: number;
|
|
761
800
|
/**
|
|
@@ -772,13 +811,31 @@ interface AgentsViewProps extends ShuffleHostProps {
|
|
|
772
811
|
/**
|
|
773
812
|
* Content rendered inside the built-in AgentRunDrawer's Local LLM tab
|
|
774
813
|
* when no `onChooseLLM` is provided. Use to plug in your own local LLM
|
|
775
|
-
* config form. When omitted,
|
|
814
|
+
* config form. When omitted, the built-in Local LLM configuration UI is shown.
|
|
776
815
|
*/
|
|
777
816
|
localLLMSlot?: React.ReactNode;
|
|
778
817
|
/** Content for the built-in AgentRunDrawer's Permissions tab. Optional. */
|
|
779
818
|
permissionsSlot?: React.ReactNode;
|
|
780
819
|
}
|
|
781
820
|
|
|
821
|
+
interface AgentLocalModel {
|
|
822
|
+
url: string;
|
|
823
|
+
apikey: string;
|
|
824
|
+
model: string;
|
|
825
|
+
}
|
|
826
|
+
interface LocalLLMTestResult {
|
|
827
|
+
success: boolean;
|
|
828
|
+
message: string;
|
|
829
|
+
models?: string[];
|
|
830
|
+
latencyMs?: number;
|
|
831
|
+
}
|
|
832
|
+
interface LocalLLMConfigProps extends ShuffleHostProps {
|
|
833
|
+
compact?: boolean;
|
|
834
|
+
hasOpenAIAuth?: boolean;
|
|
835
|
+
onSave?: (model: AgentLocalModel) => void;
|
|
836
|
+
onTestResult?: (result: LocalLLMTestResult) => void;
|
|
837
|
+
}
|
|
838
|
+
|
|
782
839
|
/**
|
|
783
840
|
* Shared diagnosis utilities for an agent execution result.
|
|
784
841
|
*
|
|
@@ -1336,7 +1393,10 @@ declare const UsageBar: React$1.FC<UsageBarProps>;
|
|
|
1336
1393
|
/**
|
|
1337
1394
|
* Every exported component accepts an optional `theme` prop:
|
|
1338
1395
|
* - `"light"` / `"dark"` — pin the subtree to that scheme
|
|
1339
|
-
* - `"system"`
|
|
1396
|
+
* - `"system"` — follow the host page's `.dark` class on `<html>`
|
|
1397
|
+
*
|
|
1398
|
+
* If `theme` is omitted, defaults to `"dark"` (Shuffle's primary surface).
|
|
1399
|
+
* Callers can always override by passing `theme="light"` or `theme="system"`.
|
|
1340
1400
|
*
|
|
1341
1401
|
* `colorMode` is preserved as a legacy alias (`"auto"` == `"system"`).
|
|
1342
1402
|
*/
|
|
@@ -1367,5 +1427,6 @@ declare const AgentExecutionDrawer: React$1.ComponentType<any>;
|
|
|
1367
1427
|
declare const AgentsView: React$1.ComponentType<any>;
|
|
1368
1428
|
|
|
1369
1429
|
declare const AgentRunDiagnosisBanner: React$1.ComponentType<any>;
|
|
1430
|
+
declare const LocalLLMConfig: React$1.ComponentType<any>;
|
|
1370
1431
|
|
|
1371
|
-
export { API_CONFIG, AgentActivityList, type AgentActivityListProps, type AgentActivityParams, type AgentActivityResponse, type AgentDecision, AgentExecutionDrawer, type AgentExecutionDrawerProps, AgentIcon, 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, 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, searchAgentActivity, seedResolvedApp, setDatastoreItem, setDatastoreItems, setHostBaseUrl, setRegionUrl, setRuntimeOrgId, setToastImpl, shuffleFetch, toast, useAppAuth, useAppDetail, useAppDetailOptional, useAppLookup, useSyncHostBaseUrl };
|
|
1432
|
+
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -62,6 +62,10 @@ interface ShuffleHostProps {
|
|
|
62
62
|
globalUrl?: string;
|
|
63
63
|
/** Userdata returned by `GET /api/v1/getinfo` (active_org, support, etc.). */
|
|
64
64
|
userdata?: any;
|
|
65
|
+
/** Optional theme mode forwarded through composed Shuffle surfaces. */
|
|
66
|
+
theme?: 'light' | 'dark' | 'system';
|
|
67
|
+
/** Legacy theme alias forwarded through composed Shuffle surfaces. */
|
|
68
|
+
colorMode?: 'light' | 'dark' | 'auto';
|
|
65
69
|
}
|
|
66
70
|
|
|
67
71
|
/**
|
|
@@ -182,6 +186,8 @@ interface ShuffleMCPProps extends ShuffleHostProps {
|
|
|
182
186
|
showCheckbox?: boolean;
|
|
183
187
|
multiSelect?: boolean;
|
|
184
188
|
selectedApps?: AlgoliaSearchApp[];
|
|
189
|
+
/** Disable automatic selection of already validated apps. Useful for explicit user pickers. */
|
|
190
|
+
disableAutoSelectValidatedApps?: boolean;
|
|
185
191
|
preventDefault?: boolean;
|
|
186
192
|
/** When true, results show inline on the page instead of as a dropdown */
|
|
187
193
|
inline?: boolean;
|
|
@@ -505,6 +511,10 @@ interface AgentUIProps {
|
|
|
505
511
|
apiBaseUrl?: string;
|
|
506
512
|
/** Optional Shuffle Org ID — sent as the `Org-Id` header on every call. */
|
|
507
513
|
orgId?: string;
|
|
514
|
+
/** Optional theme mode forwarded to nested Shuffle drawers. */
|
|
515
|
+
theme?: 'light' | 'dark' | 'system';
|
|
516
|
+
/** Legacy theme alias forwarded to nested Shuffle drawers. */
|
|
517
|
+
colorMode?: 'light' | 'dark' | 'auto';
|
|
508
518
|
/** Optional className forwarded to the root container. */
|
|
509
519
|
className?: string;
|
|
510
520
|
/** Style overrides merged into the root container sx. */
|
|
@@ -521,7 +531,7 @@ interface AgentRunDrawerProps extends ShuffleHostProps {
|
|
|
521
531
|
initialTab?: AgentRunDrawerTab;
|
|
522
532
|
/** Render content for the Permissions tab. Tab is hidden when omitted. */
|
|
523
533
|
permissionsSlot?: React.ReactNode;
|
|
524
|
-
/** Render content for the Local LLM tab.
|
|
534
|
+
/** Render content for the Local LLM tab. Defaults to the bundled Local LLM configuration UI. */
|
|
525
535
|
localLLMSlot?: React.ReactNode;
|
|
526
536
|
/**
|
|
527
537
|
* Custom badge node next to the Local LLM tab label (e.g. a green check
|
|
@@ -676,10 +686,36 @@ interface AgentActivityParams {
|
|
|
676
686
|
/** Workflow ID to search. Defaults to the synthetic 'AGENT' grouping. */
|
|
677
687
|
workflowId?: string;
|
|
678
688
|
}
|
|
689
|
+
type ScheduleStepId = 'name' | 'workflow' | 'schedule';
|
|
690
|
+
type ScheduleStepState = 'active' | 'done' | 'error';
|
|
691
|
+
interface ScheduleStepEvent {
|
|
692
|
+
id: ScheduleStepId;
|
|
693
|
+
state: ScheduleStepState;
|
|
694
|
+
detail?: string;
|
|
695
|
+
}
|
|
696
|
+
interface ScheduleAgentRunArgs {
|
|
697
|
+
cron: string;
|
|
698
|
+
input: string;
|
|
699
|
+
apps?: Array<{
|
|
700
|
+
name: string;
|
|
701
|
+
id?: string;
|
|
702
|
+
icon?: string;
|
|
703
|
+
}>;
|
|
704
|
+
onStep?: (event: ScheduleStepEvent) => void;
|
|
705
|
+
apiKey?: string;
|
|
706
|
+
apiBaseUrl?: string;
|
|
707
|
+
orgId?: string;
|
|
708
|
+
}
|
|
679
709
|
/**
|
|
680
710
|
* Search agent workflow executions (workflow_id = "AGENT" by default).
|
|
681
711
|
*/
|
|
682
712
|
declare const searchAgentActivity: (params?: AgentActivityParams) => Promise<AgentActivityResponse>;
|
|
713
|
+
/** Create a scheduled AI Agent workflow directly from the library. */
|
|
714
|
+
declare const scheduleAgentRun: ({ cron, input, apps, onStep, apiKey, apiBaseUrl, orgId }: ScheduleAgentRunArgs) => Promise<{
|
|
715
|
+
workflowId: string;
|
|
716
|
+
name: string;
|
|
717
|
+
cron: string;
|
|
718
|
+
}>;
|
|
683
719
|
|
|
684
720
|
interface AgentActivityListProps extends ShuffleHostProps {
|
|
685
721
|
/** Optional Shuffle API key. Falls back to the shared API_CONFIG. */
|
|
@@ -751,11 +787,14 @@ interface AgentExecutionDrawerProps extends ShuffleHostProps {
|
|
|
751
787
|
|
|
752
788
|
interface AgentsViewProps extends ShuffleHostProps {
|
|
753
789
|
/**
|
|
754
|
-
*
|
|
755
|
-
*
|
|
756
|
-
* workflow on the host backend.
|
|
790
|
+
* Optional scheduler override. When omitted, AgentsView creates the scheduled
|
|
791
|
+
* AI Agent workflow directly through the Shuffle API.
|
|
757
792
|
*/
|
|
758
|
-
onSchedule
|
|
793
|
+
onSchedule?: NonNullable<AgentUIProps['onSchedule']>;
|
|
794
|
+
/** Optional Shuffle API key. Falls back to the shared API config/session. */
|
|
795
|
+
apiKey?: string;
|
|
796
|
+
/** Optional Shuffle Org ID — sent as the `Org-Id` header on library fetches. */
|
|
797
|
+
orgId?: string;
|
|
759
798
|
/** Override max content width of the inner stack. Defaults to 820. */
|
|
760
799
|
maxWidth?: number;
|
|
761
800
|
/**
|
|
@@ -772,13 +811,31 @@ interface AgentsViewProps extends ShuffleHostProps {
|
|
|
772
811
|
/**
|
|
773
812
|
* Content rendered inside the built-in AgentRunDrawer's Local LLM tab
|
|
774
813
|
* when no `onChooseLLM` is provided. Use to plug in your own local LLM
|
|
775
|
-
* config form. When omitted,
|
|
814
|
+
* config form. When omitted, the built-in Local LLM configuration UI is shown.
|
|
776
815
|
*/
|
|
777
816
|
localLLMSlot?: React.ReactNode;
|
|
778
817
|
/** Content for the built-in AgentRunDrawer's Permissions tab. Optional. */
|
|
779
818
|
permissionsSlot?: React.ReactNode;
|
|
780
819
|
}
|
|
781
820
|
|
|
821
|
+
interface AgentLocalModel {
|
|
822
|
+
url: string;
|
|
823
|
+
apikey: string;
|
|
824
|
+
model: string;
|
|
825
|
+
}
|
|
826
|
+
interface LocalLLMTestResult {
|
|
827
|
+
success: boolean;
|
|
828
|
+
message: string;
|
|
829
|
+
models?: string[];
|
|
830
|
+
latencyMs?: number;
|
|
831
|
+
}
|
|
832
|
+
interface LocalLLMConfigProps extends ShuffleHostProps {
|
|
833
|
+
compact?: boolean;
|
|
834
|
+
hasOpenAIAuth?: boolean;
|
|
835
|
+
onSave?: (model: AgentLocalModel) => void;
|
|
836
|
+
onTestResult?: (result: LocalLLMTestResult) => void;
|
|
837
|
+
}
|
|
838
|
+
|
|
782
839
|
/**
|
|
783
840
|
* Shared diagnosis utilities for an agent execution result.
|
|
784
841
|
*
|
|
@@ -1336,7 +1393,10 @@ declare const UsageBar: React$1.FC<UsageBarProps>;
|
|
|
1336
1393
|
/**
|
|
1337
1394
|
* Every exported component accepts an optional `theme` prop:
|
|
1338
1395
|
* - `"light"` / `"dark"` — pin the subtree to that scheme
|
|
1339
|
-
* - `"system"`
|
|
1396
|
+
* - `"system"` — follow the host page's `.dark` class on `<html>`
|
|
1397
|
+
*
|
|
1398
|
+
* If `theme` is omitted, defaults to `"dark"` (Shuffle's primary surface).
|
|
1399
|
+
* Callers can always override by passing `theme="light"` or `theme="system"`.
|
|
1340
1400
|
*
|
|
1341
1401
|
* `colorMode` is preserved as a legacy alias (`"auto"` == `"system"`).
|
|
1342
1402
|
*/
|
|
@@ -1367,5 +1427,6 @@ declare const AgentExecutionDrawer: React$1.ComponentType<any>;
|
|
|
1367
1427
|
declare const AgentsView: React$1.ComponentType<any>;
|
|
1368
1428
|
|
|
1369
1429
|
declare const AgentRunDiagnosisBanner: React$1.ComponentType<any>;
|
|
1430
|
+
declare const LocalLLMConfig: React$1.ComponentType<any>;
|
|
1370
1431
|
|
|
1371
|
-
export { API_CONFIG, AgentActivityList, type AgentActivityListProps, type AgentActivityParams, type AgentActivityResponse, type AgentDecision, AgentExecutionDrawer, type AgentExecutionDrawerProps, AgentIcon, 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, 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, searchAgentActivity, seedResolvedApp, setDatastoreItem, setDatastoreItems, setHostBaseUrl, setRegionUrl, setRuntimeOrgId, setToastImpl, shuffleFetch, toast, useAppAuth, useAppDetail, useAppDetailOptional, useAppLookup, useSyncHostBaseUrl };
|
|
1432
|
+
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 };
|