@shuffleio/shuffle-mcps 0.0.21 → 0.0.23
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 +12 -2
- package/dist/index.d.ts +12 -2
- package/dist/index.js +205 -115
- package/dist/index.mjs +401 -313
- 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. */
|
|
@@ -1004,8 +1014,8 @@ interface AppAuthCardProps extends ShuffleHostProps {
|
|
|
1004
1014
|
* inside another bordered container without the nested "double border" look. */
|
|
1005
1015
|
borderless?: boolean;
|
|
1006
1016
|
}
|
|
1007
|
-
declare const AppAuthCard: ({ app, authState, isExpanded, onToggle, onAuthChange, onTestConnection, onSaveAuth, apiAuthEntries, onSelectAuth, onRefreshAuth, disableUrlPrefill, hideHeader, hideStatusChips, hideDocsLink, hideUrlFields, borderless, }: AppAuthCardProps) => react_jsx_runtime.JSX.Element;
|
|
1008
|
-
declare const AppAuthConfig: ({ apps, authStates, authenticatedApps, onAuthChange, onTestConnection, onSaveAuth, onSelectAuth, onRefreshAuth, }: AppAuthConfigProps) => react_jsx_runtime.JSX.Element;
|
|
1017
|
+
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;
|
|
1018
|
+
declare const AppAuthConfig: ({ apps, authStates, authenticatedApps, onAuthChange, onTestConnection, onSaveAuth, onSelectAuth, onRefreshAuth, globalUrl, userdata, isLoaded, isLoggedIn, serverside, }: AppAuthConfigProps) => react_jsx_runtime.JSX.Element;
|
|
1009
1019
|
|
|
1010
1020
|
declare function useAppAuth(): {
|
|
1011
1021
|
authStates: Record<string, AppAuthState>;
|
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. */
|
|
@@ -1004,8 +1014,8 @@ interface AppAuthCardProps extends ShuffleHostProps {
|
|
|
1004
1014
|
* inside another bordered container without the nested "double border" look. */
|
|
1005
1015
|
borderless?: boolean;
|
|
1006
1016
|
}
|
|
1007
|
-
declare const AppAuthCard: ({ app, authState, isExpanded, onToggle, onAuthChange, onTestConnection, onSaveAuth, apiAuthEntries, onSelectAuth, onRefreshAuth, disableUrlPrefill, hideHeader, hideStatusChips, hideDocsLink, hideUrlFields, borderless, }: AppAuthCardProps) => react_jsx_runtime.JSX.Element;
|
|
1008
|
-
declare const AppAuthConfig: ({ apps, authStates, authenticatedApps, onAuthChange, onTestConnection, onSaveAuth, onSelectAuth, onRefreshAuth, }: AppAuthConfigProps) => react_jsx_runtime.JSX.Element;
|
|
1017
|
+
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;
|
|
1018
|
+
declare const AppAuthConfig: ({ apps, authStates, authenticatedApps, onAuthChange, onTestConnection, onSaveAuth, onSelectAuth, onRefreshAuth, globalUrl, userdata, isLoaded, isLoggedIn, serverside, }: AppAuthConfigProps) => react_jsx_runtime.JSX.Element;
|
|
1009
1019
|
|
|
1010
1020
|
declare function useAppAuth(): {
|
|
1011
1021
|
authStates: Record<string, AppAuthState>;
|