@frontmcp/sdk 1.3.0 → 1.4.0
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/README.md +65 -60
- package/agent/agent.scope.d.ts +164 -0
- package/agent/agent.scope.d.ts.map +1 -1
- package/app/instances/app.esm.instance.d.ts.map +1 -1
- package/app/instances/app.remote.instance.d.ts.map +1 -1
- package/auth/auth-ui/auth-ui.contract.d.ts +149 -0
- package/auth/auth-ui/auth-ui.contract.d.ts.map +1 -0
- package/auth/auth-ui/auth-ui.registry.d.ts +151 -0
- package/auth/auth-ui/auth-ui.registry.d.ts.map +1 -0
- package/auth/auth-ui/auth-ui.render.d.ts +49 -0
- package/auth/auth-ui/auth-ui.render.d.ts.map +1 -0
- package/auth/auth-ui/auth-ui.state.d.ts +62 -0
- package/auth/auth-ui/auth-ui.state.d.ts.map +1 -0
- package/auth/auth-ui/index.d.ts +24 -0
- package/auth/auth-ui/index.d.ts.map +1 -0
- package/auth/auth.registry.d.ts.map +1 -1
- package/auth/authorized-apps.utils.d.ts +51 -0
- package/auth/authorized-apps.utils.d.ts.map +1 -0
- package/auth/consent-tools.helper.d.ts +26 -0
- package/auth/consent-tools.helper.d.ts.map +1 -0
- package/auth/consent.utils.d.ts +62 -0
- package/auth/consent.utils.d.ts.map +1 -0
- package/auth/credentials/credentials.context-extension.d.ts +63 -0
- package/auth/credentials/credentials.context-extension.d.ts.map +1 -0
- package/auth/credentials/credentials.providers.d.ts +40 -0
- package/auth/credentials/credentials.providers.d.ts.map +1 -0
- package/auth/credentials/index.d.ts +3 -0
- package/auth/credentials/index.d.ts.map +1 -0
- package/auth/flows/auth.verify.flow.d.ts.map +1 -1
- package/auth/flows/oauth.auth-ui.flow.d.ts +53 -0
- package/auth/flows/oauth.auth-ui.flow.d.ts.map +1 -0
- package/auth/flows/oauth.authorize.flow.d.ts +51 -9
- package/auth/flows/oauth.authorize.flow.d.ts.map +1 -1
- package/auth/flows/oauth.callback.flow.d.ts +118 -5
- package/auth/flows/oauth.callback.flow.d.ts.map +1 -1
- package/auth/flows/oauth.connect.flow.d.ts +89 -0
- package/auth/flows/oauth.connect.flow.d.ts.map +1 -0
- package/auth/flows/oauth.provider-callback.flow.d.ts +34 -4
- package/auth/flows/oauth.provider-callback.flow.d.ts.map +1 -1
- package/auth/flows/oauth.register.flow.d.ts +16 -20
- package/auth/flows/oauth.register.flow.d.ts.map +1 -1
- package/auth/flows/oauth.token.flow.d.ts +2 -2
- package/auth/flows/oauth.token.flow.d.ts.map +1 -1
- package/auth/flows/oauth.userinfo.flow.d.ts +67 -0
- package/auth/flows/oauth.userinfo.flow.d.ts.map +1 -0
- package/auth/flows/session.verify.flow.d.ts +2 -2
- package/auth/flows/session.verify.flow.d.ts.map +1 -1
- package/auth/flows/well-known.jwks.flow.d.ts +3 -3
- package/auth/flows/well-known.oauth-authorization-server.flow.d.ts +3 -2
- package/auth/flows/well-known.oauth-authorization-server.flow.d.ts.map +1 -1
- package/auth/flows/well-known.prm.flow.d.ts +1 -1
- package/auth/flows/well-known.prm.flow.d.ts.map +1 -1
- package/auth/instances/instance.local-primary-auth.d.ts +226 -12
- package/auth/instances/instance.local-primary-auth.d.ts.map +1 -1
- package/auth/secure-store/index.d.ts +3 -0
- package/auth/secure-store/index.d.ts.map +1 -0
- package/auth/secure-store/secure-store.context-extension.d.ts +61 -0
- package/auth/secure-store/secure-store.context-extension.d.ts.map +1 -0
- package/auth/secure-store/secure-store.providers.d.ts +36 -0
- package/auth/secure-store/secure-store.providers.d.ts.map +1 -0
- package/common/decorators/agent.decorator.d.ts +32 -0
- package/common/decorators/agent.decorator.d.ts.map +1 -1
- package/common/decorators/app.decorator.d.ts.map +1 -1
- package/common/decorators/front-mcp.decorator.d.ts.map +1 -1
- package/common/decorators/skill.decorator.d.ts.map +1 -1
- package/common/decorators/tool.decorator.d.ts +44 -0
- package/common/decorators/tool.decorator.d.ts.map +1 -1
- package/common/entries/scope.entry.d.ts +7 -0
- package/common/entries/scope.entry.d.ts.map +1 -1
- package/common/entries/skill.entry.d.ts +22 -1
- package/common/entries/skill.entry.d.ts.map +1 -1
- package/common/entries/tool.entry.d.ts +17 -0
- package/common/entries/tool.entry.d.ts.map +1 -1
- package/common/interfaces/internal/primary-auth-provider.interface.d.ts +18 -0
- package/common/interfaces/internal/primary-auth-provider.interface.d.ts.map +1 -1
- package/common/interfaces/tool.interface.d.ts +26 -0
- package/common/interfaces/tool.interface.d.ts.map +1 -1
- package/common/metadata/app.metadata.d.ts +472 -0
- package/common/metadata/app.metadata.d.ts.map +1 -1
- package/common/metadata/front-mcp.metadata.d.ts +1773 -52
- package/common/metadata/front-mcp.metadata.d.ts.map +1 -1
- package/common/metadata/index.d.ts +1 -0
- package/common/metadata/index.d.ts.map +1 -1
- package/common/metadata/output-policy.d.ts +82 -0
- package/common/metadata/output-policy.d.ts.map +1 -0
- package/common/metadata/skill.metadata.d.ts +45 -1
- package/common/metadata/skill.metadata.d.ts.map +1 -1
- package/common/metadata/tool-ui.metadata.d.ts +1 -1
- package/common/metadata/tool-ui.metadata.d.ts.map +1 -1
- package/common/metadata/tool.metadata.d.ts +65 -0
- package/common/metadata/tool.metadata.d.ts.map +1 -1
- package/common/schemas/http-output.schema.d.ts +25 -25
- package/common/schemas/http-output.schema.d.ts.map +1 -1
- package/common/tokens/app.tokens.d.ts.map +1 -1
- package/common/tokens/front-mcp.tokens.d.ts.map +1 -1
- package/common/tokens/skill.tokens.d.ts +2 -0
- package/common/tokens/skill.tokens.d.ts.map +1 -1
- package/common/tokens/tool.tokens.d.ts +1 -0
- package/common/tokens/tool.tokens.d.ts.map +1 -1
- package/common/types/auth/session.types.d.ts +2 -2
- package/common/types/options/auth/index.d.ts +4 -4
- package/common/types/options/auth/index.d.ts.map +1 -1
- package/common/types/options/auth/interfaces.d.ts +1 -1
- package/common/types/options/auth/interfaces.d.ts.map +1 -1
- package/common/types/options/auth/orchestrated.schema.d.ts +1 -1
- package/common/types/options/auth/orchestrated.schema.d.ts.map +1 -1
- package/common/types/options/auth/shared.schemas.d.ts +2 -2
- package/common/types/options/auth/shared.schemas.d.ts.map +1 -1
- package/common/types/options/http/index.d.ts +1 -1
- package/common/types/options/http/index.d.ts.map +1 -1
- package/common/types/options/http/interfaces.d.ts +56 -1
- package/common/types/options/http/interfaces.d.ts.map +1 -1
- package/common/types/options/http/schema.d.ts +15 -0
- package/common/types/options/http/schema.d.ts.map +1 -1
- package/common/types/options/session/schema.d.ts +3 -3
- package/common/types/options/transport/schema.d.ts +1 -1
- package/common/utils/caller-dir.utils.d.ts +15 -0
- package/common/utils/caller-dir.utils.d.ts.map +1 -0
- package/common/utils/index.d.ts +1 -0
- package/common/utils/index.d.ts.map +1 -1
- package/errors/index.d.ts +3 -1
- package/errors/index.d.ts.map +1 -1
- package/errors/mcp.error.d.ts +36 -2
- package/errors/mcp.error.d.ts.map +1 -1
- package/errors/tool-credentials-required.error.d.ts +70 -0
- package/errors/tool-credentials-required.error.d.ts.map +1 -0
- package/esm/index.mjs +6551 -2688
- package/flows/flow.instance.d.ts.map +1 -1
- package/front-mcp/front-mcp.d.ts +52 -32
- package/front-mcp/front-mcp.d.ts.map +1 -1
- package/front-mcp/front-mcp.providers.d.ts +700 -8
- package/front-mcp/front-mcp.providers.d.ts.map +1 -1
- package/index.d.ts +29 -4
- package/index.d.ts.map +1 -1
- package/index.js +7138 -3307
- package/package.json +10 -11
- package/scope/flows/http.request.flow.d.ts +18 -1
- package/scope/flows/http.request.flow.d.ts.map +1 -1
- package/scope/optional-dependency.util.d.ts +39 -0
- package/scope/optional-dependency.util.d.ts.map +1 -0
- package/scope/scope.instance.d.ts +17 -0
- package/scope/scope.instance.d.ts.map +1 -1
- package/scope/scope.utils.d.ts.map +1 -1
- package/server/adapters/express.host.adapter.d.ts.map +1 -1
- package/server/custom-routes.helper.d.ts +81 -0
- package/server/custom-routes.helper.d.ts.map +1 -0
- package/skill/flows/http/llm-full-txt.flow.d.ts +1 -1
- package/skill/flows/http/llm-txt.flow.d.ts +1 -1
- package/skill/flows/http/skills-api.flow.d.ts +18 -1
- package/skill/flows/http/skills-api.flow.d.ts.map +1 -1
- package/skill/flows/load-skill.flow.d.ts +7 -0
- package/skill/flows/load-skill.flow.d.ts.map +1 -1
- package/skill/flows/search-skills.flow.d.ts +13 -0
- package/skill/flows/search-skills.flow.d.ts.map +1 -1
- package/skill/index.d.ts +1 -0
- package/skill/index.d.ts.map +1 -1
- package/skill/sep-2640/resources/skill-file.resource.d.ts.map +1 -1
- package/skill/sep-2640/resources/skill-index.resource.d.ts.map +1 -1
- package/skill/sep-2640/resources/skill-md.resource.d.ts.map +1 -1
- package/skill/sep-2640/sep-2640.per-skill.d.ts.map +1 -1
- package/skill/skill-authorities.helper.d.ts +100 -0
- package/skill/skill-authorities.helper.d.ts.map +1 -0
- package/skill/skill.instance.d.ts.map +1 -1
- package/skill/skill.registry.d.ts +34 -0
- package/skill/skill.registry.d.ts.map +1 -1
- package/task/helpers/cli-task-runner.d.ts.map +1 -1
- package/tool/flows/call-tool.flow.d.ts +26 -1
- package/tool/flows/call-tool.flow.d.ts.map +1 -1
- package/tool/flows/tool-credentials.gate.d.ts +31 -0
- package/tool/flows/tool-credentials.gate.d.ts.map +1 -0
- package/tool/flows/tools-list.flow.d.ts.map +1 -1
- package/tool/tool.instance.d.ts.map +1 -1
- package/tool/ui/index.d.ts +1 -1
- package/tool/ui/index.d.ts.map +1 -1
- package/tool/ui/ui-resource.handler.d.ts.map +1 -1
- package/tool/ui/ui-shared.d.ts +33 -1
- package/tool/ui/ui-shared.d.ts.map +1 -1
- package/transport/adapters/transport.local.adapter.d.ts.map +1 -1
- package/transport/flows/handle.sse.flow.d.ts +1 -1
- package/transport/flows/handle.streamable-http.flow.d.ts +58 -1
- package/transport/flows/handle.streamable-http.flow.d.ts.map +1 -1
- package/transport/mcp-handlers/call-tool-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/read-resource-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/skills-list-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/skills-load-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/skills-search-request.handler.d.ts.map +1 -1
|
@@ -35,7 +35,7 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
35
35
|
customOnly: boolean;
|
|
36
36
|
mappings?: {
|
|
37
37
|
pattern: string | RegExp;
|
|
38
|
-
platform: "unknown" | "
|
|
38
|
+
platform: "unknown" | "continue" | "openai" | "claude" | "gemini" | "cursor" | "cody" | "generic-mcp" | "ext-apps";
|
|
39
39
|
}[] | undefined;
|
|
40
40
|
} | undefined;
|
|
41
41
|
persistence?: false | {
|
|
@@ -108,6 +108,7 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
108
108
|
} | undefined;
|
|
109
109
|
};
|
|
110
110
|
splitByApp: false;
|
|
111
|
+
__sourceDir?: string | undefined;
|
|
111
112
|
instructions?: string | undefined;
|
|
112
113
|
http?: {
|
|
113
114
|
port: number;
|
|
@@ -130,6 +131,12 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
130
131
|
} | undefined;
|
|
131
132
|
} | undefined;
|
|
132
133
|
urlencodedLimit?: string | number | undefined;
|
|
134
|
+
routes?: {
|
|
135
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD";
|
|
136
|
+
path: string;
|
|
137
|
+
handler: import("../common").ServerRequestHandler;
|
|
138
|
+
auth?: boolean | undefined;
|
|
139
|
+
}[] | undefined;
|
|
133
140
|
} | undefined;
|
|
134
141
|
redis?: {
|
|
135
142
|
provider: "redis";
|
|
@@ -284,7 +291,9 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
284
291
|
cdnOverrides?: Record<string, string> | undefined;
|
|
285
292
|
} | undefined;
|
|
286
293
|
output?: {
|
|
287
|
-
allowNonFinite
|
|
294
|
+
allowNonFinite?: boolean | undefined;
|
|
295
|
+
schemaMode?: "description" | "definition" | "both" | "none" | undefined;
|
|
296
|
+
schemaDescriptionFormat?: "summary" | "jsonSchema" | undefined;
|
|
288
297
|
} | undefined;
|
|
289
298
|
jobs?: {
|
|
290
299
|
enabled: boolean;
|
|
@@ -522,6 +531,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
522
531
|
userInfoEndpoint?: string | undefined;
|
|
523
532
|
} | undefined;
|
|
524
533
|
} | {
|
|
534
|
+
requireEmail: boolean;
|
|
535
|
+
anonymousSubject: string;
|
|
525
536
|
tokenStorage: "memory" | {
|
|
526
537
|
redis: {
|
|
527
538
|
host: string;
|
|
@@ -532,10 +543,69 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
532
543
|
defaultTtlMs: number;
|
|
533
544
|
password?: string | undefined;
|
|
534
545
|
};
|
|
546
|
+
} | {
|
|
547
|
+
sqlite: {
|
|
548
|
+
path: string;
|
|
549
|
+
encryption?: {
|
|
550
|
+
secret: string;
|
|
551
|
+
} | undefined;
|
|
552
|
+
ttlCleanupIntervalMs?: number | undefined;
|
|
553
|
+
walMode?: boolean | undefined;
|
|
554
|
+
};
|
|
535
555
|
};
|
|
536
556
|
allowDefaultPublic: boolean;
|
|
537
557
|
anonymousScopes: string[];
|
|
538
558
|
mode: "local";
|
|
559
|
+
login?: {
|
|
560
|
+
title?: string | undefined;
|
|
561
|
+
subtitle?: string | undefined;
|
|
562
|
+
logoUri?: string | undefined;
|
|
563
|
+
fields?: Record<string, {
|
|
564
|
+
type: "text" | "email" | "password" | "select" | "hidden";
|
|
565
|
+
label?: string | undefined;
|
|
566
|
+
required?: boolean | undefined;
|
|
567
|
+
placeholder?: string | undefined;
|
|
568
|
+
options?: {
|
|
569
|
+
value: string;
|
|
570
|
+
label: string;
|
|
571
|
+
}[] | undefined;
|
|
572
|
+
}> | undefined;
|
|
573
|
+
render?: ((ctx: import("libs/auth/dist/options/interfaces").LoginRenderContext) => string) | undefined;
|
|
574
|
+
subject?: {
|
|
575
|
+
fromField?: string | undefined;
|
|
576
|
+
strategy?: "per-session" | "per-account" | undefined;
|
|
577
|
+
} | undefined;
|
|
578
|
+
} | undefined;
|
|
579
|
+
authenticate?: import("libs/auth/dist/options/interfaces").AuthenticateFn | undefined;
|
|
580
|
+
providers?: {
|
|
581
|
+
id: string;
|
|
582
|
+
clientId: string;
|
|
583
|
+
name?: string | undefined;
|
|
584
|
+
authorizationEndpoint?: string | undefined;
|
|
585
|
+
authorizeUrl?: string | undefined;
|
|
586
|
+
tokenEndpoint?: string | undefined;
|
|
587
|
+
tokenUrl?: string | undefined;
|
|
588
|
+
clientSecret?: string | undefined;
|
|
589
|
+
scopes?: string[] | undefined;
|
|
590
|
+
userInfoEndpoint?: string | undefined;
|
|
591
|
+
jwksUri?: string | undefined;
|
|
592
|
+
}[] | undefined;
|
|
593
|
+
dcr?: {
|
|
594
|
+
enabled?: boolean | undefined;
|
|
595
|
+
allowedRedirectUris?: string[] | undefined;
|
|
596
|
+
allowedClientIds?: string[] | undefined;
|
|
597
|
+
initialAccessToken?: string | undefined;
|
|
598
|
+
clients?: {
|
|
599
|
+
clientId: string;
|
|
600
|
+
redirectUris: string[];
|
|
601
|
+
tokenEndpointAuthMethod: "none" | "client_secret_basic" | "client_secret_post";
|
|
602
|
+
grantTypes: ("authorization_code" | "refresh_token")[];
|
|
603
|
+
responseTypes: "code"[];
|
|
604
|
+
clientSecret?: string | undefined;
|
|
605
|
+
clientName?: string | undefined;
|
|
606
|
+
scope?: string | undefined;
|
|
607
|
+
}[] | undefined;
|
|
608
|
+
} | undefined;
|
|
539
609
|
local?: {
|
|
540
610
|
signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
|
|
541
611
|
jwks?: {
|
|
@@ -543,6 +613,49 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
543
613
|
} | undefined;
|
|
544
614
|
issuer?: string | undefined;
|
|
545
615
|
} | undefined;
|
|
616
|
+
secureStore?: "memory" | {
|
|
617
|
+
sqlite: {
|
|
618
|
+
path: string;
|
|
619
|
+
encryption?: {
|
|
620
|
+
secret: string;
|
|
621
|
+
} | undefined;
|
|
622
|
+
ttlCleanupIntervalMs?: number | undefined;
|
|
623
|
+
walMode?: boolean | undefined;
|
|
624
|
+
};
|
|
625
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
626
|
+
ttlMs?: number | undefined;
|
|
627
|
+
encryption?: {
|
|
628
|
+
pepper?: string | undefined;
|
|
629
|
+
} | undefined;
|
|
630
|
+
} | {
|
|
631
|
+
redis: {
|
|
632
|
+
host: string;
|
|
633
|
+
port: number;
|
|
634
|
+
db: number;
|
|
635
|
+
tls: boolean;
|
|
636
|
+
keyPrefix: string;
|
|
637
|
+
defaultTtlMs: number;
|
|
638
|
+
password?: string | undefined;
|
|
639
|
+
};
|
|
640
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
641
|
+
ttlMs?: number | undefined;
|
|
642
|
+
encryption?: {
|
|
643
|
+
pepper?: string | undefined;
|
|
644
|
+
} | undefined;
|
|
645
|
+
} | {
|
|
646
|
+
backend: import("libs/auth/dist/options/interfaces").SecureStoreCustomBackend;
|
|
647
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
648
|
+
ttlMs?: number | undefined;
|
|
649
|
+
encryption?: {
|
|
650
|
+
pepper?: string | undefined;
|
|
651
|
+
} | undefined;
|
|
652
|
+
} | {
|
|
653
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
654
|
+
ttlMs?: number | undefined;
|
|
655
|
+
encryption?: {
|
|
656
|
+
pepper?: string | undefined;
|
|
657
|
+
} | undefined;
|
|
658
|
+
} | undefined;
|
|
546
659
|
publicAccess?: {
|
|
547
660
|
tools: string[] | "all";
|
|
548
661
|
prompts: string[] | "all";
|
|
@@ -561,6 +674,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
561
674
|
} | undefined;
|
|
562
675
|
federatedAuth?: {
|
|
563
676
|
stateValidation: "format" | "strict";
|
|
677
|
+
minProviders?: number | undefined;
|
|
678
|
+
requiredProviders?: string[] | undefined;
|
|
564
679
|
} | undefined;
|
|
565
680
|
refresh?: {
|
|
566
681
|
enabled: boolean;
|
|
@@ -604,6 +719,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
604
719
|
maxRedirects: number;
|
|
605
720
|
} | undefined;
|
|
606
721
|
} | undefined;
|
|
722
|
+
ui?: Partial<Record<"error" | "login" | "consent" | "incremental" | "federated", string>> | undefined;
|
|
723
|
+
extras?: Record<string, import("libs/auth/dist/options/interfaces").AuthExtraHandler> | undefined;
|
|
607
724
|
} | {
|
|
608
725
|
tokenStorage: "memory" | {
|
|
609
726
|
redis: {
|
|
@@ -615,6 +732,15 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
615
732
|
defaultTtlMs: number;
|
|
616
733
|
password?: string | undefined;
|
|
617
734
|
};
|
|
735
|
+
} | {
|
|
736
|
+
sqlite: {
|
|
737
|
+
path: string;
|
|
738
|
+
encryption?: {
|
|
739
|
+
secret: string;
|
|
740
|
+
} | undefined;
|
|
741
|
+
ttlCleanupIntervalMs?: number | undefined;
|
|
742
|
+
walMode?: boolean | undefined;
|
|
743
|
+
};
|
|
618
744
|
};
|
|
619
745
|
allowDefaultPublic: boolean;
|
|
620
746
|
anonymousScopes: string[];
|
|
@@ -627,6 +753,49 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
627
753
|
} | undefined;
|
|
628
754
|
issuer?: string | undefined;
|
|
629
755
|
} | undefined;
|
|
756
|
+
secureStore?: "memory" | {
|
|
757
|
+
sqlite: {
|
|
758
|
+
path: string;
|
|
759
|
+
encryption?: {
|
|
760
|
+
secret: string;
|
|
761
|
+
} | undefined;
|
|
762
|
+
ttlCleanupIntervalMs?: number | undefined;
|
|
763
|
+
walMode?: boolean | undefined;
|
|
764
|
+
};
|
|
765
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
766
|
+
ttlMs?: number | undefined;
|
|
767
|
+
encryption?: {
|
|
768
|
+
pepper?: string | undefined;
|
|
769
|
+
} | undefined;
|
|
770
|
+
} | {
|
|
771
|
+
redis: {
|
|
772
|
+
host: string;
|
|
773
|
+
port: number;
|
|
774
|
+
db: number;
|
|
775
|
+
tls: boolean;
|
|
776
|
+
keyPrefix: string;
|
|
777
|
+
defaultTtlMs: number;
|
|
778
|
+
password?: string | undefined;
|
|
779
|
+
};
|
|
780
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
781
|
+
ttlMs?: number | undefined;
|
|
782
|
+
encryption?: {
|
|
783
|
+
pepper?: string | undefined;
|
|
784
|
+
} | undefined;
|
|
785
|
+
} | {
|
|
786
|
+
backend: import("libs/auth/dist/options/interfaces").SecureStoreCustomBackend;
|
|
787
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
788
|
+
ttlMs?: number | undefined;
|
|
789
|
+
encryption?: {
|
|
790
|
+
pepper?: string | undefined;
|
|
791
|
+
} | undefined;
|
|
792
|
+
} | {
|
|
793
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
794
|
+
ttlMs?: number | undefined;
|
|
795
|
+
encryption?: {
|
|
796
|
+
pepper?: string | undefined;
|
|
797
|
+
} | undefined;
|
|
798
|
+
} | undefined;
|
|
630
799
|
publicAccess?: {
|
|
631
800
|
tools: string[] | "all";
|
|
632
801
|
prompts: string[] | "all";
|
|
@@ -645,6 +814,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
645
814
|
} | undefined;
|
|
646
815
|
federatedAuth?: {
|
|
647
816
|
stateValidation: "format" | "strict";
|
|
817
|
+
minProviders?: number | undefined;
|
|
818
|
+
requiredProviders?: string[] | undefined;
|
|
648
819
|
} | undefined;
|
|
649
820
|
refresh?: {
|
|
650
821
|
enabled: boolean;
|
|
@@ -688,6 +859,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
688
859
|
maxRedirects: number;
|
|
689
860
|
} | undefined;
|
|
690
861
|
} | undefined;
|
|
862
|
+
ui?: Partial<Record<"error" | "login" | "consent" | "incremental" | "federated", string>> | undefined;
|
|
863
|
+
extras?: Record<string, import("libs/auth/dist/options/interfaces").AuthExtraHandler> | undefined;
|
|
691
864
|
clientId?: string | undefined;
|
|
692
865
|
clientSecret?: string | undefined;
|
|
693
866
|
scopes?: string[] | undefined;
|
|
@@ -740,7 +913,7 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
740
913
|
customOnly: boolean;
|
|
741
914
|
mappings?: {
|
|
742
915
|
pattern: string | RegExp;
|
|
743
|
-
platform: "unknown" | "
|
|
916
|
+
platform: "unknown" | "continue" | "openai" | "claude" | "gemini" | "cursor" | "cody" | "generic-mcp" | "ext-apps";
|
|
744
917
|
}[] | undefined;
|
|
745
918
|
} | undefined;
|
|
746
919
|
persistence?: false | {
|
|
@@ -813,6 +986,7 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
813
986
|
} | undefined;
|
|
814
987
|
};
|
|
815
988
|
splitByApp: true;
|
|
989
|
+
__sourceDir?: string | undefined;
|
|
816
990
|
instructions?: string | undefined;
|
|
817
991
|
http?: {
|
|
818
992
|
port: number;
|
|
@@ -835,6 +1009,12 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
835
1009
|
} | undefined;
|
|
836
1010
|
} | undefined;
|
|
837
1011
|
urlencodedLimit?: string | number | undefined;
|
|
1012
|
+
routes?: {
|
|
1013
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD";
|
|
1014
|
+
path: string;
|
|
1015
|
+
handler: import("../common").ServerRequestHandler;
|
|
1016
|
+
auth?: boolean | undefined;
|
|
1017
|
+
}[] | undefined;
|
|
838
1018
|
} | undefined;
|
|
839
1019
|
redis?: {
|
|
840
1020
|
provider: "redis";
|
|
@@ -989,7 +1169,9 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
989
1169
|
cdnOverrides?: Record<string, string> | undefined;
|
|
990
1170
|
} | undefined;
|
|
991
1171
|
output?: {
|
|
992
|
-
allowNonFinite
|
|
1172
|
+
allowNonFinite?: boolean | undefined;
|
|
1173
|
+
schemaMode?: "description" | "definition" | "both" | "none" | undefined;
|
|
1174
|
+
schemaDescriptionFormat?: "summary" | "jsonSchema" | undefined;
|
|
993
1175
|
} | undefined;
|
|
994
1176
|
jobs?: {
|
|
995
1177
|
enabled: boolean;
|
|
@@ -1227,6 +1409,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
1227
1409
|
userInfoEndpoint?: string | undefined;
|
|
1228
1410
|
} | undefined;
|
|
1229
1411
|
} | {
|
|
1412
|
+
requireEmail: boolean;
|
|
1413
|
+
anonymousSubject: string;
|
|
1230
1414
|
tokenStorage: "memory" | {
|
|
1231
1415
|
redis: {
|
|
1232
1416
|
host: string;
|
|
@@ -1237,10 +1421,69 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
1237
1421
|
defaultTtlMs: number;
|
|
1238
1422
|
password?: string | undefined;
|
|
1239
1423
|
};
|
|
1424
|
+
} | {
|
|
1425
|
+
sqlite: {
|
|
1426
|
+
path: string;
|
|
1427
|
+
encryption?: {
|
|
1428
|
+
secret: string;
|
|
1429
|
+
} | undefined;
|
|
1430
|
+
ttlCleanupIntervalMs?: number | undefined;
|
|
1431
|
+
walMode?: boolean | undefined;
|
|
1432
|
+
};
|
|
1240
1433
|
};
|
|
1241
1434
|
allowDefaultPublic: boolean;
|
|
1242
1435
|
anonymousScopes: string[];
|
|
1243
1436
|
mode: "local";
|
|
1437
|
+
login?: {
|
|
1438
|
+
title?: string | undefined;
|
|
1439
|
+
subtitle?: string | undefined;
|
|
1440
|
+
logoUri?: string | undefined;
|
|
1441
|
+
fields?: Record<string, {
|
|
1442
|
+
type: "text" | "email" | "password" | "select" | "hidden";
|
|
1443
|
+
label?: string | undefined;
|
|
1444
|
+
required?: boolean | undefined;
|
|
1445
|
+
placeholder?: string | undefined;
|
|
1446
|
+
options?: {
|
|
1447
|
+
value: string;
|
|
1448
|
+
label: string;
|
|
1449
|
+
}[] | undefined;
|
|
1450
|
+
}> | undefined;
|
|
1451
|
+
render?: ((ctx: import("libs/auth/dist/options/interfaces").LoginRenderContext) => string) | undefined;
|
|
1452
|
+
subject?: {
|
|
1453
|
+
fromField?: string | undefined;
|
|
1454
|
+
strategy?: "per-session" | "per-account" | undefined;
|
|
1455
|
+
} | undefined;
|
|
1456
|
+
} | undefined;
|
|
1457
|
+
authenticate?: import("libs/auth/dist/options/interfaces").AuthenticateFn | undefined;
|
|
1458
|
+
providers?: {
|
|
1459
|
+
id: string;
|
|
1460
|
+
clientId: string;
|
|
1461
|
+
name?: string | undefined;
|
|
1462
|
+
authorizationEndpoint?: string | undefined;
|
|
1463
|
+
authorizeUrl?: string | undefined;
|
|
1464
|
+
tokenEndpoint?: string | undefined;
|
|
1465
|
+
tokenUrl?: string | undefined;
|
|
1466
|
+
clientSecret?: string | undefined;
|
|
1467
|
+
scopes?: string[] | undefined;
|
|
1468
|
+
userInfoEndpoint?: string | undefined;
|
|
1469
|
+
jwksUri?: string | undefined;
|
|
1470
|
+
}[] | undefined;
|
|
1471
|
+
dcr?: {
|
|
1472
|
+
enabled?: boolean | undefined;
|
|
1473
|
+
allowedRedirectUris?: string[] | undefined;
|
|
1474
|
+
allowedClientIds?: string[] | undefined;
|
|
1475
|
+
initialAccessToken?: string | undefined;
|
|
1476
|
+
clients?: {
|
|
1477
|
+
clientId: string;
|
|
1478
|
+
redirectUris: string[];
|
|
1479
|
+
tokenEndpointAuthMethod: "none" | "client_secret_basic" | "client_secret_post";
|
|
1480
|
+
grantTypes: ("authorization_code" | "refresh_token")[];
|
|
1481
|
+
responseTypes: "code"[];
|
|
1482
|
+
clientSecret?: string | undefined;
|
|
1483
|
+
clientName?: string | undefined;
|
|
1484
|
+
scope?: string | undefined;
|
|
1485
|
+
}[] | undefined;
|
|
1486
|
+
} | undefined;
|
|
1244
1487
|
local?: {
|
|
1245
1488
|
signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
|
|
1246
1489
|
jwks?: {
|
|
@@ -1248,6 +1491,49 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
1248
1491
|
} | undefined;
|
|
1249
1492
|
issuer?: string | undefined;
|
|
1250
1493
|
} | undefined;
|
|
1494
|
+
secureStore?: "memory" | {
|
|
1495
|
+
sqlite: {
|
|
1496
|
+
path: string;
|
|
1497
|
+
encryption?: {
|
|
1498
|
+
secret: string;
|
|
1499
|
+
} | undefined;
|
|
1500
|
+
ttlCleanupIntervalMs?: number | undefined;
|
|
1501
|
+
walMode?: boolean | undefined;
|
|
1502
|
+
};
|
|
1503
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
1504
|
+
ttlMs?: number | undefined;
|
|
1505
|
+
encryption?: {
|
|
1506
|
+
pepper?: string | undefined;
|
|
1507
|
+
} | undefined;
|
|
1508
|
+
} | {
|
|
1509
|
+
redis: {
|
|
1510
|
+
host: string;
|
|
1511
|
+
port: number;
|
|
1512
|
+
db: number;
|
|
1513
|
+
tls: boolean;
|
|
1514
|
+
keyPrefix: string;
|
|
1515
|
+
defaultTtlMs: number;
|
|
1516
|
+
password?: string | undefined;
|
|
1517
|
+
};
|
|
1518
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
1519
|
+
ttlMs?: number | undefined;
|
|
1520
|
+
encryption?: {
|
|
1521
|
+
pepper?: string | undefined;
|
|
1522
|
+
} | undefined;
|
|
1523
|
+
} | {
|
|
1524
|
+
backend: import("libs/auth/dist/options/interfaces").SecureStoreCustomBackend;
|
|
1525
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
1526
|
+
ttlMs?: number | undefined;
|
|
1527
|
+
encryption?: {
|
|
1528
|
+
pepper?: string | undefined;
|
|
1529
|
+
} | undefined;
|
|
1530
|
+
} | {
|
|
1531
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
1532
|
+
ttlMs?: number | undefined;
|
|
1533
|
+
encryption?: {
|
|
1534
|
+
pepper?: string | undefined;
|
|
1535
|
+
} | undefined;
|
|
1536
|
+
} | undefined;
|
|
1251
1537
|
publicAccess?: {
|
|
1252
1538
|
tools: string[] | "all";
|
|
1253
1539
|
prompts: string[] | "all";
|
|
@@ -1266,6 +1552,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
1266
1552
|
} | undefined;
|
|
1267
1553
|
federatedAuth?: {
|
|
1268
1554
|
stateValidation: "format" | "strict";
|
|
1555
|
+
minProviders?: number | undefined;
|
|
1556
|
+
requiredProviders?: string[] | undefined;
|
|
1269
1557
|
} | undefined;
|
|
1270
1558
|
refresh?: {
|
|
1271
1559
|
enabled: boolean;
|
|
@@ -1309,6 +1597,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
1309
1597
|
maxRedirects: number;
|
|
1310
1598
|
} | undefined;
|
|
1311
1599
|
} | undefined;
|
|
1600
|
+
ui?: Partial<Record<"error" | "login" | "consent" | "incremental" | "federated", string>> | undefined;
|
|
1601
|
+
extras?: Record<string, import("libs/auth/dist/options/interfaces").AuthExtraHandler> | undefined;
|
|
1312
1602
|
} | {
|
|
1313
1603
|
tokenStorage: "memory" | {
|
|
1314
1604
|
redis: {
|
|
@@ -1320,6 +1610,15 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
1320
1610
|
defaultTtlMs: number;
|
|
1321
1611
|
password?: string | undefined;
|
|
1322
1612
|
};
|
|
1613
|
+
} | {
|
|
1614
|
+
sqlite: {
|
|
1615
|
+
path: string;
|
|
1616
|
+
encryption?: {
|
|
1617
|
+
secret: string;
|
|
1618
|
+
} | undefined;
|
|
1619
|
+
ttlCleanupIntervalMs?: number | undefined;
|
|
1620
|
+
walMode?: boolean | undefined;
|
|
1621
|
+
};
|
|
1323
1622
|
};
|
|
1324
1623
|
allowDefaultPublic: boolean;
|
|
1325
1624
|
anonymousScopes: string[];
|
|
@@ -1332,6 +1631,49 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
1332
1631
|
} | undefined;
|
|
1333
1632
|
issuer?: string | undefined;
|
|
1334
1633
|
} | undefined;
|
|
1634
|
+
secureStore?: "memory" | {
|
|
1635
|
+
sqlite: {
|
|
1636
|
+
path: string;
|
|
1637
|
+
encryption?: {
|
|
1638
|
+
secret: string;
|
|
1639
|
+
} | undefined;
|
|
1640
|
+
ttlCleanupIntervalMs?: number | undefined;
|
|
1641
|
+
walMode?: boolean | undefined;
|
|
1642
|
+
};
|
|
1643
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
1644
|
+
ttlMs?: number | undefined;
|
|
1645
|
+
encryption?: {
|
|
1646
|
+
pepper?: string | undefined;
|
|
1647
|
+
} | undefined;
|
|
1648
|
+
} | {
|
|
1649
|
+
redis: {
|
|
1650
|
+
host: string;
|
|
1651
|
+
port: number;
|
|
1652
|
+
db: number;
|
|
1653
|
+
tls: boolean;
|
|
1654
|
+
keyPrefix: string;
|
|
1655
|
+
defaultTtlMs: number;
|
|
1656
|
+
password?: string | undefined;
|
|
1657
|
+
};
|
|
1658
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
1659
|
+
ttlMs?: number | undefined;
|
|
1660
|
+
encryption?: {
|
|
1661
|
+
pepper?: string | undefined;
|
|
1662
|
+
} | undefined;
|
|
1663
|
+
} | {
|
|
1664
|
+
backend: import("libs/auth/dist/options/interfaces").SecureStoreCustomBackend;
|
|
1665
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
1666
|
+
ttlMs?: number | undefined;
|
|
1667
|
+
encryption?: {
|
|
1668
|
+
pepper?: string | undefined;
|
|
1669
|
+
} | undefined;
|
|
1670
|
+
} | {
|
|
1671
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
1672
|
+
ttlMs?: number | undefined;
|
|
1673
|
+
encryption?: {
|
|
1674
|
+
pepper?: string | undefined;
|
|
1675
|
+
} | undefined;
|
|
1676
|
+
} | undefined;
|
|
1335
1677
|
publicAccess?: {
|
|
1336
1678
|
tools: string[] | "all";
|
|
1337
1679
|
prompts: string[] | "all";
|
|
@@ -1350,6 +1692,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
1350
1692
|
} | undefined;
|
|
1351
1693
|
federatedAuth?: {
|
|
1352
1694
|
stateValidation: "format" | "strict";
|
|
1695
|
+
minProviders?: number | undefined;
|
|
1696
|
+
requiredProviders?: string[] | undefined;
|
|
1353
1697
|
} | undefined;
|
|
1354
1698
|
refresh?: {
|
|
1355
1699
|
enabled: boolean;
|
|
@@ -1393,6 +1737,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
1393
1737
|
maxRedirects: number;
|
|
1394
1738
|
} | undefined;
|
|
1395
1739
|
} | undefined;
|
|
1740
|
+
ui?: Partial<Record<"error" | "login" | "consent" | "incremental" | "federated", string>> | undefined;
|
|
1741
|
+
extras?: Record<string, import("libs/auth/dist/options/interfaces").AuthExtraHandler> | undefined;
|
|
1396
1742
|
clientId?: string | undefined;
|
|
1397
1743
|
clientSecret?: string | undefined;
|
|
1398
1744
|
scopes?: string[] | undefined;
|
|
@@ -1445,7 +1791,7 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
1445
1791
|
customOnly: boolean;
|
|
1446
1792
|
mappings?: {
|
|
1447
1793
|
pattern: string | RegExp;
|
|
1448
|
-
platform: "unknown" | "
|
|
1794
|
+
platform: "unknown" | "continue" | "openai" | "claude" | "gemini" | "cursor" | "cody" | "generic-mcp" | "ext-apps";
|
|
1449
1795
|
}[] | undefined;
|
|
1450
1796
|
} | undefined;
|
|
1451
1797
|
persistence?: false | {
|
|
@@ -1518,6 +1864,7 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
1518
1864
|
} | undefined;
|
|
1519
1865
|
};
|
|
1520
1866
|
splitByApp: false;
|
|
1867
|
+
__sourceDir?: string | undefined;
|
|
1521
1868
|
instructions?: string | undefined;
|
|
1522
1869
|
http?: {
|
|
1523
1870
|
port: number;
|
|
@@ -1540,6 +1887,12 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
1540
1887
|
} | undefined;
|
|
1541
1888
|
} | undefined;
|
|
1542
1889
|
urlencodedLimit?: string | number | undefined;
|
|
1890
|
+
routes?: {
|
|
1891
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD";
|
|
1892
|
+
path: string;
|
|
1893
|
+
handler: import("../common").ServerRequestHandler;
|
|
1894
|
+
auth?: boolean | undefined;
|
|
1895
|
+
}[] | undefined;
|
|
1543
1896
|
} | undefined;
|
|
1544
1897
|
redis?: {
|
|
1545
1898
|
provider: "redis";
|
|
@@ -1694,7 +2047,9 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
1694
2047
|
cdnOverrides?: Record<string, string> | undefined;
|
|
1695
2048
|
} | undefined;
|
|
1696
2049
|
output?: {
|
|
1697
|
-
allowNonFinite
|
|
2050
|
+
allowNonFinite?: boolean | undefined;
|
|
2051
|
+
schemaMode?: "description" | "definition" | "both" | "none" | undefined;
|
|
2052
|
+
schemaDescriptionFormat?: "summary" | "jsonSchema" | undefined;
|
|
1698
2053
|
} | undefined;
|
|
1699
2054
|
jobs?: {
|
|
1700
2055
|
enabled: boolean;
|
|
@@ -1932,6 +2287,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
1932
2287
|
userInfoEndpoint?: string | undefined;
|
|
1933
2288
|
} | undefined;
|
|
1934
2289
|
} | {
|
|
2290
|
+
requireEmail: boolean;
|
|
2291
|
+
anonymousSubject: string;
|
|
1935
2292
|
tokenStorage: "memory" | {
|
|
1936
2293
|
redis: {
|
|
1937
2294
|
host: string;
|
|
@@ -1942,10 +2299,69 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
1942
2299
|
defaultTtlMs: number;
|
|
1943
2300
|
password?: string | undefined;
|
|
1944
2301
|
};
|
|
2302
|
+
} | {
|
|
2303
|
+
sqlite: {
|
|
2304
|
+
path: string;
|
|
2305
|
+
encryption?: {
|
|
2306
|
+
secret: string;
|
|
2307
|
+
} | undefined;
|
|
2308
|
+
ttlCleanupIntervalMs?: number | undefined;
|
|
2309
|
+
walMode?: boolean | undefined;
|
|
2310
|
+
};
|
|
1945
2311
|
};
|
|
1946
2312
|
allowDefaultPublic: boolean;
|
|
1947
2313
|
anonymousScopes: string[];
|
|
1948
2314
|
mode: "local";
|
|
2315
|
+
login?: {
|
|
2316
|
+
title?: string | undefined;
|
|
2317
|
+
subtitle?: string | undefined;
|
|
2318
|
+
logoUri?: string | undefined;
|
|
2319
|
+
fields?: Record<string, {
|
|
2320
|
+
type: "text" | "email" | "password" | "select" | "hidden";
|
|
2321
|
+
label?: string | undefined;
|
|
2322
|
+
required?: boolean | undefined;
|
|
2323
|
+
placeholder?: string | undefined;
|
|
2324
|
+
options?: {
|
|
2325
|
+
value: string;
|
|
2326
|
+
label: string;
|
|
2327
|
+
}[] | undefined;
|
|
2328
|
+
}> | undefined;
|
|
2329
|
+
render?: ((ctx: import("libs/auth/dist/options/interfaces").LoginRenderContext) => string) | undefined;
|
|
2330
|
+
subject?: {
|
|
2331
|
+
fromField?: string | undefined;
|
|
2332
|
+
strategy?: "per-session" | "per-account" | undefined;
|
|
2333
|
+
} | undefined;
|
|
2334
|
+
} | undefined;
|
|
2335
|
+
authenticate?: import("libs/auth/dist/options/interfaces").AuthenticateFn | undefined;
|
|
2336
|
+
providers?: {
|
|
2337
|
+
id: string;
|
|
2338
|
+
clientId: string;
|
|
2339
|
+
name?: string | undefined;
|
|
2340
|
+
authorizationEndpoint?: string | undefined;
|
|
2341
|
+
authorizeUrl?: string | undefined;
|
|
2342
|
+
tokenEndpoint?: string | undefined;
|
|
2343
|
+
tokenUrl?: string | undefined;
|
|
2344
|
+
clientSecret?: string | undefined;
|
|
2345
|
+
scopes?: string[] | undefined;
|
|
2346
|
+
userInfoEndpoint?: string | undefined;
|
|
2347
|
+
jwksUri?: string | undefined;
|
|
2348
|
+
}[] | undefined;
|
|
2349
|
+
dcr?: {
|
|
2350
|
+
enabled?: boolean | undefined;
|
|
2351
|
+
allowedRedirectUris?: string[] | undefined;
|
|
2352
|
+
allowedClientIds?: string[] | undefined;
|
|
2353
|
+
initialAccessToken?: string | undefined;
|
|
2354
|
+
clients?: {
|
|
2355
|
+
clientId: string;
|
|
2356
|
+
redirectUris: string[];
|
|
2357
|
+
tokenEndpointAuthMethod: "none" | "client_secret_basic" | "client_secret_post";
|
|
2358
|
+
grantTypes: ("authorization_code" | "refresh_token")[];
|
|
2359
|
+
responseTypes: "code"[];
|
|
2360
|
+
clientSecret?: string | undefined;
|
|
2361
|
+
clientName?: string | undefined;
|
|
2362
|
+
scope?: string | undefined;
|
|
2363
|
+
}[] | undefined;
|
|
2364
|
+
} | undefined;
|
|
1949
2365
|
local?: {
|
|
1950
2366
|
signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
|
|
1951
2367
|
jwks?: {
|
|
@@ -1953,6 +2369,49 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
1953
2369
|
} | undefined;
|
|
1954
2370
|
issuer?: string | undefined;
|
|
1955
2371
|
} | undefined;
|
|
2372
|
+
secureStore?: "memory" | {
|
|
2373
|
+
sqlite: {
|
|
2374
|
+
path: string;
|
|
2375
|
+
encryption?: {
|
|
2376
|
+
secret: string;
|
|
2377
|
+
} | undefined;
|
|
2378
|
+
ttlCleanupIntervalMs?: number | undefined;
|
|
2379
|
+
walMode?: boolean | undefined;
|
|
2380
|
+
};
|
|
2381
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
2382
|
+
ttlMs?: number | undefined;
|
|
2383
|
+
encryption?: {
|
|
2384
|
+
pepper?: string | undefined;
|
|
2385
|
+
} | undefined;
|
|
2386
|
+
} | {
|
|
2387
|
+
redis: {
|
|
2388
|
+
host: string;
|
|
2389
|
+
port: number;
|
|
2390
|
+
db: number;
|
|
2391
|
+
tls: boolean;
|
|
2392
|
+
keyPrefix: string;
|
|
2393
|
+
defaultTtlMs: number;
|
|
2394
|
+
password?: string | undefined;
|
|
2395
|
+
};
|
|
2396
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
2397
|
+
ttlMs?: number | undefined;
|
|
2398
|
+
encryption?: {
|
|
2399
|
+
pepper?: string | undefined;
|
|
2400
|
+
} | undefined;
|
|
2401
|
+
} | {
|
|
2402
|
+
backend: import("libs/auth/dist/options/interfaces").SecureStoreCustomBackend;
|
|
2403
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
2404
|
+
ttlMs?: number | undefined;
|
|
2405
|
+
encryption?: {
|
|
2406
|
+
pepper?: string | undefined;
|
|
2407
|
+
} | undefined;
|
|
2408
|
+
} | {
|
|
2409
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
2410
|
+
ttlMs?: number | undefined;
|
|
2411
|
+
encryption?: {
|
|
2412
|
+
pepper?: string | undefined;
|
|
2413
|
+
} | undefined;
|
|
2414
|
+
} | undefined;
|
|
1956
2415
|
publicAccess?: {
|
|
1957
2416
|
tools: string[] | "all";
|
|
1958
2417
|
prompts: string[] | "all";
|
|
@@ -1971,6 +2430,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
1971
2430
|
} | undefined;
|
|
1972
2431
|
federatedAuth?: {
|
|
1973
2432
|
stateValidation: "format" | "strict";
|
|
2433
|
+
minProviders?: number | undefined;
|
|
2434
|
+
requiredProviders?: string[] | undefined;
|
|
1974
2435
|
} | undefined;
|
|
1975
2436
|
refresh?: {
|
|
1976
2437
|
enabled: boolean;
|
|
@@ -2014,6 +2475,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
2014
2475
|
maxRedirects: number;
|
|
2015
2476
|
} | undefined;
|
|
2016
2477
|
} | undefined;
|
|
2478
|
+
ui?: Partial<Record<"error" | "login" | "consent" | "incremental" | "federated", string>> | undefined;
|
|
2479
|
+
extras?: Record<string, import("libs/auth/dist/options/interfaces").AuthExtraHandler> | undefined;
|
|
2017
2480
|
} | {
|
|
2018
2481
|
tokenStorage: "memory" | {
|
|
2019
2482
|
redis: {
|
|
@@ -2025,6 +2488,15 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
2025
2488
|
defaultTtlMs: number;
|
|
2026
2489
|
password?: string | undefined;
|
|
2027
2490
|
};
|
|
2491
|
+
} | {
|
|
2492
|
+
sqlite: {
|
|
2493
|
+
path: string;
|
|
2494
|
+
encryption?: {
|
|
2495
|
+
secret: string;
|
|
2496
|
+
} | undefined;
|
|
2497
|
+
ttlCleanupIntervalMs?: number | undefined;
|
|
2498
|
+
walMode?: boolean | undefined;
|
|
2499
|
+
};
|
|
2028
2500
|
};
|
|
2029
2501
|
allowDefaultPublic: boolean;
|
|
2030
2502
|
anonymousScopes: string[];
|
|
@@ -2037,6 +2509,49 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
2037
2509
|
} | undefined;
|
|
2038
2510
|
issuer?: string | undefined;
|
|
2039
2511
|
} | undefined;
|
|
2512
|
+
secureStore?: "memory" | {
|
|
2513
|
+
sqlite: {
|
|
2514
|
+
path: string;
|
|
2515
|
+
encryption?: {
|
|
2516
|
+
secret: string;
|
|
2517
|
+
} | undefined;
|
|
2518
|
+
ttlCleanupIntervalMs?: number | undefined;
|
|
2519
|
+
walMode?: boolean | undefined;
|
|
2520
|
+
};
|
|
2521
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
2522
|
+
ttlMs?: number | undefined;
|
|
2523
|
+
encryption?: {
|
|
2524
|
+
pepper?: string | undefined;
|
|
2525
|
+
} | undefined;
|
|
2526
|
+
} | {
|
|
2527
|
+
redis: {
|
|
2528
|
+
host: string;
|
|
2529
|
+
port: number;
|
|
2530
|
+
db: number;
|
|
2531
|
+
tls: boolean;
|
|
2532
|
+
keyPrefix: string;
|
|
2533
|
+
defaultTtlMs: number;
|
|
2534
|
+
password?: string | undefined;
|
|
2535
|
+
};
|
|
2536
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
2537
|
+
ttlMs?: number | undefined;
|
|
2538
|
+
encryption?: {
|
|
2539
|
+
pepper?: string | undefined;
|
|
2540
|
+
} | undefined;
|
|
2541
|
+
} | {
|
|
2542
|
+
backend: import("libs/auth/dist/options/interfaces").SecureStoreCustomBackend;
|
|
2543
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
2544
|
+
ttlMs?: number | undefined;
|
|
2545
|
+
encryption?: {
|
|
2546
|
+
pepper?: string | undefined;
|
|
2547
|
+
} | undefined;
|
|
2548
|
+
} | {
|
|
2549
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
2550
|
+
ttlMs?: number | undefined;
|
|
2551
|
+
encryption?: {
|
|
2552
|
+
pepper?: string | undefined;
|
|
2553
|
+
} | undefined;
|
|
2554
|
+
} | undefined;
|
|
2040
2555
|
publicAccess?: {
|
|
2041
2556
|
tools: string[] | "all";
|
|
2042
2557
|
prompts: string[] | "all";
|
|
@@ -2055,6 +2570,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
2055
2570
|
} | undefined;
|
|
2056
2571
|
federatedAuth?: {
|
|
2057
2572
|
stateValidation: "format" | "strict";
|
|
2573
|
+
minProviders?: number | undefined;
|
|
2574
|
+
requiredProviders?: string[] | undefined;
|
|
2058
2575
|
} | undefined;
|
|
2059
2576
|
refresh?: {
|
|
2060
2577
|
enabled: boolean;
|
|
@@ -2098,6 +2615,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
2098
2615
|
maxRedirects: number;
|
|
2099
2616
|
} | undefined;
|
|
2100
2617
|
} | undefined;
|
|
2618
|
+
ui?: Partial<Record<"error" | "login" | "consent" | "incremental" | "federated", string>> | undefined;
|
|
2619
|
+
extras?: Record<string, import("libs/auth/dist/options/interfaces").AuthExtraHandler> | undefined;
|
|
2101
2620
|
clientId?: string | undefined;
|
|
2102
2621
|
clientSecret?: string | undefined;
|
|
2103
2622
|
scopes?: string[] | undefined;
|
|
@@ -2150,7 +2669,7 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
2150
2669
|
customOnly: boolean;
|
|
2151
2670
|
mappings?: {
|
|
2152
2671
|
pattern: string | RegExp;
|
|
2153
|
-
platform: "unknown" | "
|
|
2672
|
+
platform: "unknown" | "continue" | "openai" | "claude" | "gemini" | "cursor" | "cody" | "generic-mcp" | "ext-apps";
|
|
2154
2673
|
}[] | undefined;
|
|
2155
2674
|
} | undefined;
|
|
2156
2675
|
persistence?: false | {
|
|
@@ -2223,6 +2742,7 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
2223
2742
|
} | undefined;
|
|
2224
2743
|
};
|
|
2225
2744
|
splitByApp: true;
|
|
2745
|
+
__sourceDir?: string | undefined;
|
|
2226
2746
|
instructions?: string | undefined;
|
|
2227
2747
|
http?: {
|
|
2228
2748
|
port: number;
|
|
@@ -2245,6 +2765,12 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
2245
2765
|
} | undefined;
|
|
2246
2766
|
} | undefined;
|
|
2247
2767
|
urlencodedLimit?: string | number | undefined;
|
|
2768
|
+
routes?: {
|
|
2769
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD";
|
|
2770
|
+
path: string;
|
|
2771
|
+
handler: import("../common").ServerRequestHandler;
|
|
2772
|
+
auth?: boolean | undefined;
|
|
2773
|
+
}[] | undefined;
|
|
2248
2774
|
} | undefined;
|
|
2249
2775
|
redis?: {
|
|
2250
2776
|
provider: "redis";
|
|
@@ -2399,7 +2925,9 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
2399
2925
|
cdnOverrides?: Record<string, string> | undefined;
|
|
2400
2926
|
} | undefined;
|
|
2401
2927
|
output?: {
|
|
2402
|
-
allowNonFinite
|
|
2928
|
+
allowNonFinite?: boolean | undefined;
|
|
2929
|
+
schemaMode?: "description" | "definition" | "both" | "none" | undefined;
|
|
2930
|
+
schemaDescriptionFormat?: "summary" | "jsonSchema" | undefined;
|
|
2403
2931
|
} | undefined;
|
|
2404
2932
|
jobs?: {
|
|
2405
2933
|
enabled: boolean;
|
|
@@ -2637,6 +3165,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
2637
3165
|
userInfoEndpoint?: string | undefined;
|
|
2638
3166
|
} | undefined;
|
|
2639
3167
|
} | {
|
|
3168
|
+
requireEmail: boolean;
|
|
3169
|
+
anonymousSubject: string;
|
|
2640
3170
|
tokenStorage: "memory" | {
|
|
2641
3171
|
redis: {
|
|
2642
3172
|
host: string;
|
|
@@ -2647,10 +3177,69 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
2647
3177
|
defaultTtlMs: number;
|
|
2648
3178
|
password?: string | undefined;
|
|
2649
3179
|
};
|
|
3180
|
+
} | {
|
|
3181
|
+
sqlite: {
|
|
3182
|
+
path: string;
|
|
3183
|
+
encryption?: {
|
|
3184
|
+
secret: string;
|
|
3185
|
+
} | undefined;
|
|
3186
|
+
ttlCleanupIntervalMs?: number | undefined;
|
|
3187
|
+
walMode?: boolean | undefined;
|
|
3188
|
+
};
|
|
2650
3189
|
};
|
|
2651
3190
|
allowDefaultPublic: boolean;
|
|
2652
3191
|
anonymousScopes: string[];
|
|
2653
3192
|
mode: "local";
|
|
3193
|
+
login?: {
|
|
3194
|
+
title?: string | undefined;
|
|
3195
|
+
subtitle?: string | undefined;
|
|
3196
|
+
logoUri?: string | undefined;
|
|
3197
|
+
fields?: Record<string, {
|
|
3198
|
+
type: "text" | "email" | "password" | "select" | "hidden";
|
|
3199
|
+
label?: string | undefined;
|
|
3200
|
+
required?: boolean | undefined;
|
|
3201
|
+
placeholder?: string | undefined;
|
|
3202
|
+
options?: {
|
|
3203
|
+
value: string;
|
|
3204
|
+
label: string;
|
|
3205
|
+
}[] | undefined;
|
|
3206
|
+
}> | undefined;
|
|
3207
|
+
render?: ((ctx: import("libs/auth/dist/options/interfaces").LoginRenderContext) => string) | undefined;
|
|
3208
|
+
subject?: {
|
|
3209
|
+
fromField?: string | undefined;
|
|
3210
|
+
strategy?: "per-session" | "per-account" | undefined;
|
|
3211
|
+
} | undefined;
|
|
3212
|
+
} | undefined;
|
|
3213
|
+
authenticate?: import("libs/auth/dist/options/interfaces").AuthenticateFn | undefined;
|
|
3214
|
+
providers?: {
|
|
3215
|
+
id: string;
|
|
3216
|
+
clientId: string;
|
|
3217
|
+
name?: string | undefined;
|
|
3218
|
+
authorizationEndpoint?: string | undefined;
|
|
3219
|
+
authorizeUrl?: string | undefined;
|
|
3220
|
+
tokenEndpoint?: string | undefined;
|
|
3221
|
+
tokenUrl?: string | undefined;
|
|
3222
|
+
clientSecret?: string | undefined;
|
|
3223
|
+
scopes?: string[] | undefined;
|
|
3224
|
+
userInfoEndpoint?: string | undefined;
|
|
3225
|
+
jwksUri?: string | undefined;
|
|
3226
|
+
}[] | undefined;
|
|
3227
|
+
dcr?: {
|
|
3228
|
+
enabled?: boolean | undefined;
|
|
3229
|
+
allowedRedirectUris?: string[] | undefined;
|
|
3230
|
+
allowedClientIds?: string[] | undefined;
|
|
3231
|
+
initialAccessToken?: string | undefined;
|
|
3232
|
+
clients?: {
|
|
3233
|
+
clientId: string;
|
|
3234
|
+
redirectUris: string[];
|
|
3235
|
+
tokenEndpointAuthMethod: "none" | "client_secret_basic" | "client_secret_post";
|
|
3236
|
+
grantTypes: ("authorization_code" | "refresh_token")[];
|
|
3237
|
+
responseTypes: "code"[];
|
|
3238
|
+
clientSecret?: string | undefined;
|
|
3239
|
+
clientName?: string | undefined;
|
|
3240
|
+
scope?: string | undefined;
|
|
3241
|
+
}[] | undefined;
|
|
3242
|
+
} | undefined;
|
|
2654
3243
|
local?: {
|
|
2655
3244
|
signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
|
|
2656
3245
|
jwks?: {
|
|
@@ -2658,6 +3247,49 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
2658
3247
|
} | undefined;
|
|
2659
3248
|
issuer?: string | undefined;
|
|
2660
3249
|
} | undefined;
|
|
3250
|
+
secureStore?: "memory" | {
|
|
3251
|
+
sqlite: {
|
|
3252
|
+
path: string;
|
|
3253
|
+
encryption?: {
|
|
3254
|
+
secret: string;
|
|
3255
|
+
} | undefined;
|
|
3256
|
+
ttlCleanupIntervalMs?: number | undefined;
|
|
3257
|
+
walMode?: boolean | undefined;
|
|
3258
|
+
};
|
|
3259
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
3260
|
+
ttlMs?: number | undefined;
|
|
3261
|
+
encryption?: {
|
|
3262
|
+
pepper?: string | undefined;
|
|
3263
|
+
} | undefined;
|
|
3264
|
+
} | {
|
|
3265
|
+
redis: {
|
|
3266
|
+
host: string;
|
|
3267
|
+
port: number;
|
|
3268
|
+
db: number;
|
|
3269
|
+
tls: boolean;
|
|
3270
|
+
keyPrefix: string;
|
|
3271
|
+
defaultTtlMs: number;
|
|
3272
|
+
password?: string | undefined;
|
|
3273
|
+
};
|
|
3274
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
3275
|
+
ttlMs?: number | undefined;
|
|
3276
|
+
encryption?: {
|
|
3277
|
+
pepper?: string | undefined;
|
|
3278
|
+
} | undefined;
|
|
3279
|
+
} | {
|
|
3280
|
+
backend: import("libs/auth/dist/options/interfaces").SecureStoreCustomBackend;
|
|
3281
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
3282
|
+
ttlMs?: number | undefined;
|
|
3283
|
+
encryption?: {
|
|
3284
|
+
pepper?: string | undefined;
|
|
3285
|
+
} | undefined;
|
|
3286
|
+
} | {
|
|
3287
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
3288
|
+
ttlMs?: number | undefined;
|
|
3289
|
+
encryption?: {
|
|
3290
|
+
pepper?: string | undefined;
|
|
3291
|
+
} | undefined;
|
|
3292
|
+
} | undefined;
|
|
2661
3293
|
publicAccess?: {
|
|
2662
3294
|
tools: string[] | "all";
|
|
2663
3295
|
prompts: string[] | "all";
|
|
@@ -2676,6 +3308,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
2676
3308
|
} | undefined;
|
|
2677
3309
|
federatedAuth?: {
|
|
2678
3310
|
stateValidation: "format" | "strict";
|
|
3311
|
+
minProviders?: number | undefined;
|
|
3312
|
+
requiredProviders?: string[] | undefined;
|
|
2679
3313
|
} | undefined;
|
|
2680
3314
|
refresh?: {
|
|
2681
3315
|
enabled: boolean;
|
|
@@ -2719,6 +3353,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
2719
3353
|
maxRedirects: number;
|
|
2720
3354
|
} | undefined;
|
|
2721
3355
|
} | undefined;
|
|
3356
|
+
ui?: Partial<Record<"error" | "login" | "consent" | "incremental" | "federated", string>> | undefined;
|
|
3357
|
+
extras?: Record<string, import("libs/auth/dist/options/interfaces").AuthExtraHandler> | undefined;
|
|
2722
3358
|
} | {
|
|
2723
3359
|
tokenStorage: "memory" | {
|
|
2724
3360
|
redis: {
|
|
@@ -2730,6 +3366,15 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
2730
3366
|
defaultTtlMs: number;
|
|
2731
3367
|
password?: string | undefined;
|
|
2732
3368
|
};
|
|
3369
|
+
} | {
|
|
3370
|
+
sqlite: {
|
|
3371
|
+
path: string;
|
|
3372
|
+
encryption?: {
|
|
3373
|
+
secret: string;
|
|
3374
|
+
} | undefined;
|
|
3375
|
+
ttlCleanupIntervalMs?: number | undefined;
|
|
3376
|
+
walMode?: boolean | undefined;
|
|
3377
|
+
};
|
|
2733
3378
|
};
|
|
2734
3379
|
allowDefaultPublic: boolean;
|
|
2735
3380
|
anonymousScopes: string[];
|
|
@@ -2742,6 +3387,49 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
2742
3387
|
} | undefined;
|
|
2743
3388
|
issuer?: string | undefined;
|
|
2744
3389
|
} | undefined;
|
|
3390
|
+
secureStore?: "memory" | {
|
|
3391
|
+
sqlite: {
|
|
3392
|
+
path: string;
|
|
3393
|
+
encryption?: {
|
|
3394
|
+
secret: string;
|
|
3395
|
+
} | undefined;
|
|
3396
|
+
ttlCleanupIntervalMs?: number | undefined;
|
|
3397
|
+
walMode?: boolean | undefined;
|
|
3398
|
+
};
|
|
3399
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
3400
|
+
ttlMs?: number | undefined;
|
|
3401
|
+
encryption?: {
|
|
3402
|
+
pepper?: string | undefined;
|
|
3403
|
+
} | undefined;
|
|
3404
|
+
} | {
|
|
3405
|
+
redis: {
|
|
3406
|
+
host: string;
|
|
3407
|
+
port: number;
|
|
3408
|
+
db: number;
|
|
3409
|
+
tls: boolean;
|
|
3410
|
+
keyPrefix: string;
|
|
3411
|
+
defaultTtlMs: number;
|
|
3412
|
+
password?: string | undefined;
|
|
3413
|
+
};
|
|
3414
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
3415
|
+
ttlMs?: number | undefined;
|
|
3416
|
+
encryption?: {
|
|
3417
|
+
pepper?: string | undefined;
|
|
3418
|
+
} | undefined;
|
|
3419
|
+
} | {
|
|
3420
|
+
backend: import("libs/auth/dist/options/interfaces").SecureStoreCustomBackend;
|
|
3421
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
3422
|
+
ttlMs?: number | undefined;
|
|
3423
|
+
encryption?: {
|
|
3424
|
+
pepper?: string | undefined;
|
|
3425
|
+
} | undefined;
|
|
3426
|
+
} | {
|
|
3427
|
+
scope?: "user" | "session" | "global" | undefined;
|
|
3428
|
+
ttlMs?: number | undefined;
|
|
3429
|
+
encryption?: {
|
|
3430
|
+
pepper?: string | undefined;
|
|
3431
|
+
} | undefined;
|
|
3432
|
+
} | undefined;
|
|
2745
3433
|
publicAccess?: {
|
|
2746
3434
|
tools: string[] | "all";
|
|
2747
3435
|
prompts: string[] | "all";
|
|
@@ -2760,6 +3448,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
2760
3448
|
} | undefined;
|
|
2761
3449
|
federatedAuth?: {
|
|
2762
3450
|
stateValidation: "format" | "strict";
|
|
3451
|
+
minProviders?: number | undefined;
|
|
3452
|
+
requiredProviders?: string[] | undefined;
|
|
2763
3453
|
} | undefined;
|
|
2764
3454
|
refresh?: {
|
|
2765
3455
|
enabled: boolean;
|
|
@@ -2803,6 +3493,8 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
|
|
|
2803
3493
|
maxRedirects: number;
|
|
2804
3494
|
} | undefined;
|
|
2805
3495
|
} | undefined;
|
|
3496
|
+
ui?: Partial<Record<"error" | "login" | "consent" | "incremental" | "federated", string>> | undefined;
|
|
3497
|
+
extras?: Record<string, import("libs/auth/dist/options/interfaces").AuthExtraHandler> | undefined;
|
|
2806
3498
|
clientId?: string | undefined;
|
|
2807
3499
|
clientSecret?: string | undefined;
|
|
2808
3500
|
scopes?: string[] | undefined;
|