@frontmcp/auth 1.10.16 → 1.11.0-rc.2
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/browser/authorities/authorities.context.mjs +115 -0
- package/browser/authorities/authorities.engine.mjs +272 -0
- package/browser/authorities/authorities.errors.mjs +59 -0
- package/browser/authorities/authorities.evaluator.mjs +225 -0
- package/browser/authorities/authorities.metadata-augment.mjs +18 -0
- package/browser/authorities/authorities.registry.mjs +112 -0
- package/browser/authorities/authorities.schema.mjs +92 -0
- package/browser/authorities/authorities.scope-mapping.mjs +30 -0
- package/browser/authorities/authorities.validation.mjs +208 -0
- package/browser/authorities/index.mjs +43 -0
- package/browser/authorization/authorization.class.mjs +252 -0
- package/browser/authorization/authorization.types.mjs +64 -0
- package/browser/authorization/dcr-client.registry.mjs +222 -0
- package/browser/authorization/index.mjs +41 -0
- package/browser/authorization/orchestrated.accessor.mjs +86 -0
- package/browser/authorization/orchestrated.authorization.mjs +289 -0
- package/browser/authorization/public.authorization.mjs +124 -0
- package/browser/authorization/transparent.authorization.mjs +130 -0
- package/browser/cimd/cimd-redis.cache.mjs +231 -0
- package/browser/cimd/cimd.cache.mjs +215 -0
- package/browser/cimd/cimd.errors.mjs +142 -0
- package/browser/cimd/cimd.logger.mjs +15 -0
- package/browser/cimd/cimd.service.mjs +376 -0
- package/browser/cimd/cimd.types.mjs +228 -0
- package/browser/cimd/cimd.validator.mjs +217 -0
- package/browser/cimd/index.mjs +63 -0
- package/browser/common/auth-logger.interface.mjs +14 -0
- package/browser/common/index.mjs +6 -0
- package/browser/common/jwt.types.mjs +38 -0
- package/browser/common/session-user.types.mjs +0 -0
- package/browser/common/session.types.mjs +58 -0
- package/browser/common/zod-utils.mjs +0 -0
- package/browser/consent/consent.types.mjs +94 -0
- package/browser/consent/index.mjs +17 -0
- package/browser/context/frontmcp-auth-context.factory.mjs +29 -0
- package/browser/context/frontmcp-auth-context.impl.mjs +112 -0
- package/browser/context/index.mjs +7 -0
- package/browser/detection/auth-provider-detection.mjs +176 -0
- package/browser/detection/index.mjs +19 -0
- package/browser/errors/auth-internal.error.mjs +42 -0
- package/browser/errors/auth-internal.errors.mjs +150 -0
- package/browser/errors/index.mjs +53 -0
- package/browser/fetch/fetch-credential-middleware.mjs +91 -0
- package/browser/fetch/index.mjs +19 -0
- package/browser/index.mjs +573 -0
- package/browser/jwks/index.mjs +9 -0
- package/browser/jwks/jose.loader.mjs +28 -0
- package/browser/jwks/jwks.service.mjs +521 -0
- package/browser/jwks/jwks.utils.mjs +33 -0
- package/browser/options/app-auth.schema.mjs +18 -0
- package/browser/options/index.mjs +89 -0
- package/browser/options/orchestrated.schema.mjs +128 -0
- package/browser/options/public.schema.mjs +39 -0
- package/browser/options/schema.mjs +16 -0
- package/browser/options/shared.schemas.mjs +506 -0
- package/browser/options/static.schema.mjs +41 -0
- package/browser/options/transparent.schema.mjs +43 -0
- package/browser/options/utils.mjs +47 -0
- package/browser/people/index.mjs +15 -0
- package/browser/people/loopback-token.auth.mjs +115 -0
- package/browser/people/people-auth.options.mjs +37 -0
- package/browser/session/authorization-vault.mjs +279 -0
- package/browser/session/authorization.store.mjs +336 -0
- package/browser/session/consent.store.mjs +34 -0
- package/browser/session/credential-resume-link.mjs +43 -0
- package/browser/session/credentials-accessor.impl.mjs +54 -0
- package/browser/session/credentials-accessor.mjs +5 -0
- package/browser/session/encrypted-authorization-vault.mjs +405 -0
- package/browser/session/federated-auth.session.mjs +176 -0
- package/browser/session/incremental-auth-ticket.mjs +42 -0
- package/browser/session/index.mjs +266 -0
- package/browser/session/orchestrated-token.crypto.mjs +47 -0
- package/browser/session/orchestrated-token.store.mjs +286 -0
- package/browser/session/pending-login.mjs +37 -0
- package/browser/session/redis-session.store.mjs +255 -0
- package/browser/session/secure-store-accessor.impl.mjs +78 -0
- package/browser/session/secure-store-accessor.mjs +5 -0
- package/browser/session/secure-store-backends.mjs +111 -0
- package/browser/session/secure-store.factory.mjs +77 -0
- package/browser/session/session-credential-vault.factory.mjs +18 -0
- package/browser/session/session-credential-vault.mjs +243 -0
- package/browser/session/session-crypto.mjs +39 -0
- package/browser/session/session-rate-limiter.mjs +126 -0
- package/browser/session/session.transport.mjs +16 -0
- package/browser/session/signin-binding.mjs +30 -0
- package/browser/session/storage/in-memory-authorization-vault.mjs +28 -0
- package/browser/session/storage/index.mjs +14 -0
- package/browser/session/storage/storage-authorization-vault.mjs +301 -0
- package/browser/session/storage/storage-token-store.mjs +83 -0
- package/browser/session/storage-authorization.store.mjs +134 -0
- package/browser/session/storage-consent.store.mjs +33 -0
- package/browser/session/storage-federated-auth.session.mjs +55 -0
- package/browser/session/storage-orchestrated-token.store.mjs +197 -0
- package/browser/session/token-storage.factory.mjs +58 -0
- package/browser/session/token.refresh.mjs +36 -0
- package/browser/session/token.vault.mjs +61 -0
- package/browser/session/transport-session.types.mjs +108 -0
- package/browser/session/utils/auth-token.utils.mjs +58 -0
- package/browser/session/utils/index.mjs +23 -0
- package/browser/session/utils/session-crypto.utils.mjs +49 -0
- package/browser/session/utils/tiny-ttl-cache.mjs +46 -0
- package/browser/session/vault-encryption.mjs +187 -0
- package/browser/session/vercel-kv-session.store.mjs +230 -0
- package/browser/shared-server/index.mjs +17 -0
- package/browser/shared-server/shared-server-identity.mjs +55 -0
- package/browser/ui/base-layout.mjs +184 -0
- package/browser/ui/index.mjs +51 -0
- package/browser/ui/local-login.helper.mjs +46 -0
- package/browser/ui/templates.mjs +482 -0
- package/browser/utils/audience.validator.mjs +110 -0
- package/browser/utils/authorization-id.utils.mjs +10 -0
- package/browser/utils/index.mjs +45 -0
- package/browser/utils/redirect-uri.utils.mjs +22 -0
- package/browser/utils/scope-grant.utils.mjs +36 -0
- package/browser/utils/token-scopes.utils.mjs +12 -0
- package/browser/utils/www-authenticate.utils.mjs +164 -0
- package/browser/vault/auth-providers.accessor.impl.mjs +236 -0
- package/browser/vault/auth-providers.accessor.mjs +5 -0
- package/browser/vault/auth-providers.registry.mjs +140 -0
- package/browser/vault/auth-providers.types.mjs +47 -0
- package/browser/vault/auth-providers.vault.mjs +206 -0
- package/browser/vault/credential-cache.mjs +187 -0
- package/browser/vault/credential-helpers.mjs +15 -0
- package/browser/vault/credential-loaders/eager-loader.mjs +91 -0
- package/browser/vault/credential-loaders/lazy-loader.mjs +120 -0
- package/browser/vault/index.mjs +35 -0
- package/cimd/cimd.types.d.ts +1 -1
- package/cimd/cimd.types.d.ts.map +1 -1
- package/common/jwt.types.d.ts +1 -1
- package/common/jwt.types.d.ts.map +1 -1
- package/common/session.types.d.ts +9 -1
- package/common/session.types.d.ts.map +1 -1
- package/consent/consent.types.d.ts +1 -1
- package/consent/consent.types.d.ts.map +1 -1
- package/detection/auth-provider-detection.d.ts +1 -1
- package/detection/auth-provider-detection.d.ts.map +1 -1
- package/errors/auth-internal.errors.d.ts +6 -0
- package/errors/auth-internal.errors.d.ts.map +1 -1
- package/errors/index.d.ts +1 -1
- package/errors/index.d.ts.map +1 -1
- package/esm/index.mjs +2 -2
- package/esm/package.json +21 -5
- package/index.d.ts +5 -1
- package/index.d.ts.map +1 -1
- package/index.js +2 -2
- package/options/app-auth.schema.d.ts +19 -1
- package/options/app-auth.schema.d.ts.map +1 -1
- package/options/orchestrated.schema.d.ts +37 -1
- package/options/orchestrated.schema.d.ts.map +1 -1
- package/options/public.schema.d.ts +1 -1
- package/options/public.schema.d.ts.map +1 -1
- package/options/schema.d.ts +19 -1
- package/options/schema.d.ts.map +1 -1
- package/options/shared.schemas.d.ts +10 -14
- package/options/shared.schemas.d.ts.map +1 -1
- package/options/static.schema.d.ts +1 -1
- package/options/static.schema.d.ts.map +1 -1
- package/options/transparent.schema.d.ts +1 -1
- package/options/transparent.schema.d.ts.map +1 -1
- package/package.json +21 -5
- package/people/index.d.ts +3 -0
- package/people/index.d.ts.map +1 -0
- package/people/loopback-token.auth.d.ts +75 -0
- package/people/loopback-token.auth.d.ts.map +1 -0
- package/people/people-auth.options.d.ts +36 -0
- package/people/people-auth.options.d.ts.map +1 -0
- package/session/authorization-vault.d.ts +1 -1
- package/session/authorization-vault.d.ts.map +1 -1
- package/session/encrypted-authorization-vault.d.ts +1 -1
- package/session/encrypted-authorization-vault.d.ts.map +1 -1
- package/session/secure-store.factory.d.ts.map +1 -1
- package/shared-server/index.d.ts +3 -0
- package/shared-server/index.d.ts.map +1 -0
- package/shared-server/shared-server-identity.d.ts +26 -0
- package/shared-server/shared-server-identity.d.ts.map +1 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
// libs/auth/src/vault/credential-loaders/lazy-loader.ts
|
|
2
|
+
import { extractCredentialExpiry } from "../credential-helpers.mjs";
|
|
3
|
+
var LazyCredentialLoader = class {
|
|
4
|
+
constructor(logger) {
|
|
5
|
+
this.logger = logger;
|
|
6
|
+
}
|
|
7
|
+
logger;
|
|
8
|
+
/** In-flight loading promises for deduplication */
|
|
9
|
+
loading = /* @__PURE__ */ new Map();
|
|
10
|
+
/**
|
|
11
|
+
* Load a credential lazily.
|
|
12
|
+
* If already loading, returns the in-flight promise (deduplication).
|
|
13
|
+
*
|
|
14
|
+
* @param config - Provider configuration
|
|
15
|
+
* @param context - Factory context
|
|
16
|
+
* @returns Resolved credential or null
|
|
17
|
+
*/
|
|
18
|
+
async load(config, context) {
|
|
19
|
+
const existing = this.loading.get(config.name);
|
|
20
|
+
if (existing) {
|
|
21
|
+
this.logger?.debug(`Waiting for in-flight load: ${config.name}`);
|
|
22
|
+
return existing;
|
|
23
|
+
}
|
|
24
|
+
const promise = this.doLoad(config, context);
|
|
25
|
+
this.loading.set(config.name, promise);
|
|
26
|
+
try {
|
|
27
|
+
return await promise;
|
|
28
|
+
} finally {
|
|
29
|
+
this.loading.delete(config.name);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Perform the actual credential loading
|
|
34
|
+
*/
|
|
35
|
+
async doLoad(config, context) {
|
|
36
|
+
const startTime = Date.now();
|
|
37
|
+
this.logger?.debug(`Loading lazy credential: ${config.name}`);
|
|
38
|
+
try {
|
|
39
|
+
const credential = await config.factory({
|
|
40
|
+
...context,
|
|
41
|
+
metadata: config.metadata
|
|
42
|
+
});
|
|
43
|
+
if (!credential) {
|
|
44
|
+
this.logger?.debug(`Lazy credential "${config.name}" returned null`);
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
const resolved = {
|
|
48
|
+
credential,
|
|
49
|
+
providerId: config.name,
|
|
50
|
+
acquiredAt: Date.now(),
|
|
51
|
+
expiresAt: extractCredentialExpiry(credential),
|
|
52
|
+
isValid: true,
|
|
53
|
+
scope: config.scope
|
|
54
|
+
};
|
|
55
|
+
const duration = Date.now() - startTime;
|
|
56
|
+
this.logger?.debug(`Loaded lazy credential "${config.name}" in ${duration}ms`);
|
|
57
|
+
return resolved;
|
|
58
|
+
} catch (error) {
|
|
59
|
+
const duration = Date.now() - startTime;
|
|
60
|
+
this.logger?.warn(`Failed to load lazy credential "${config.name}" after ${duration}ms:`, error);
|
|
61
|
+
throw error;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Refresh a credential using the provider's refresh function or factory
|
|
66
|
+
*
|
|
67
|
+
* @param config - Provider configuration
|
|
68
|
+
* @param context - Factory context with existing credential
|
|
69
|
+
* @returns Refreshed credential or null
|
|
70
|
+
*/
|
|
71
|
+
async refresh(config, context) {
|
|
72
|
+
const startTime = Date.now();
|
|
73
|
+
this.logger?.debug(`Refreshing credential: ${config.name}`);
|
|
74
|
+
try {
|
|
75
|
+
let credential;
|
|
76
|
+
if (config.refresh) {
|
|
77
|
+
credential = await config.refresh(context);
|
|
78
|
+
} else {
|
|
79
|
+
credential = await config.factory(context);
|
|
80
|
+
}
|
|
81
|
+
if (!credential) {
|
|
82
|
+
this.logger?.debug(`Credential refresh "${config.name}" returned null`);
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
const resolved = {
|
|
86
|
+
credential,
|
|
87
|
+
providerId: config.name,
|
|
88
|
+
acquiredAt: Date.now(),
|
|
89
|
+
expiresAt: extractCredentialExpiry(credential),
|
|
90
|
+
isValid: true,
|
|
91
|
+
scope: config.scope
|
|
92
|
+
};
|
|
93
|
+
const duration = Date.now() - startTime;
|
|
94
|
+
this.logger?.debug(`Refreshed credential "${config.name}" in ${duration}ms`);
|
|
95
|
+
return resolved;
|
|
96
|
+
} catch (error) {
|
|
97
|
+
const duration = Date.now() - startTime;
|
|
98
|
+
this.logger?.warn(`Failed to refresh credential "${config.name}" after ${duration}ms:`, error);
|
|
99
|
+
throw error;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Check if a credential is currently being loaded
|
|
104
|
+
*
|
|
105
|
+
* @param name - Provider name
|
|
106
|
+
* @returns true if loading is in progress
|
|
107
|
+
*/
|
|
108
|
+
isLoading(name) {
|
|
109
|
+
return this.loading.has(name);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Cancel all in-flight loads (for cleanup)
|
|
113
|
+
*/
|
|
114
|
+
cancelAll() {
|
|
115
|
+
this.loading.clear();
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
export {
|
|
119
|
+
LazyCredentialLoader
|
|
120
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// libs/auth/src/vault/index.ts
|
|
2
|
+
import {
|
|
3
|
+
credentialScopeSchema,
|
|
4
|
+
loadingStrategySchema,
|
|
5
|
+
getCredentialOptionsSchema,
|
|
6
|
+
credentialProviderConfigSchema,
|
|
7
|
+
authProviderMappingSchema,
|
|
8
|
+
authProvidersVaultOptionsSchema
|
|
9
|
+
} from "./auth-providers.types.mjs";
|
|
10
|
+
import { extractCredentialExpiry } from "./credential-helpers.mjs";
|
|
11
|
+
import { CredentialCache } from "./credential-cache.mjs";
|
|
12
|
+
import { AUTH_PROVIDERS_ACCESSOR } from "./auth-providers.accessor.mjs";
|
|
13
|
+
import { AuthProvidersAccessorImpl } from "./auth-providers.accessor.impl.mjs";
|
|
14
|
+
import { AuthProvidersRegistry, AUTH_PROVIDERS_REGISTRY } from "./auth-providers.registry.mjs";
|
|
15
|
+
import { AuthProvidersVault, AUTH_PROVIDERS_VAULT } from "./auth-providers.vault.mjs";
|
|
16
|
+
import { EagerCredentialLoader } from "./credential-loaders/eager-loader.mjs";
|
|
17
|
+
import { LazyCredentialLoader } from "./credential-loaders/lazy-loader.mjs";
|
|
18
|
+
export {
|
|
19
|
+
AUTH_PROVIDERS_ACCESSOR,
|
|
20
|
+
AUTH_PROVIDERS_REGISTRY,
|
|
21
|
+
AUTH_PROVIDERS_VAULT,
|
|
22
|
+
AuthProvidersAccessorImpl,
|
|
23
|
+
AuthProvidersRegistry,
|
|
24
|
+
AuthProvidersVault,
|
|
25
|
+
CredentialCache,
|
|
26
|
+
EagerCredentialLoader,
|
|
27
|
+
LazyCredentialLoader,
|
|
28
|
+
authProviderMappingSchema,
|
|
29
|
+
authProvidersVaultOptionsSchema,
|
|
30
|
+
credentialProviderConfigSchema,
|
|
31
|
+
credentialScopeSchema,
|
|
32
|
+
extractCredentialExpiry,
|
|
33
|
+
getCredentialOptionsSchema,
|
|
34
|
+
loadingStrategySchema
|
|
35
|
+
};
|
package/cimd/cimd.types.d.ts
CHANGED
package/cimd/cimd.types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cimd.types.d.ts","sourceRoot":"","sources":["../../src/cimd/cimd.types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"cimd.types.d.ts","sourceRoot":"","sources":["../../src/cimd/cimd.types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,SAAS,IAAI,CAAC,EAAE,MAAM,oBAAoB,CAAC;AAMpD;;;;;;;GAOG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;gC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AS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
package/common/jwt.types.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jwt.types.d.ts","sourceRoot":"","sources":["../../src/common/jwt.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"jwt.types.d.ts","sourceRoot":"","sources":["../../src/common/jwt.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,CAAC,EAAE,MAAM,oBAAoB,CAAC;AAIpD,MAAM,WAAW,aAAa;IAC5B,qCAAqC;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,+CAA+C;IAC/C,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,wCAAwC;IACxC,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,2CAA2C;IAC3C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,oDAAoD;IACpD,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IACf,+DAA+D;IAC/D,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,sCAAsC;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,mCAAmC;IACnC,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;gCAWO,CAAC;AAExC,MAAM,WAAW,GAAI,SAAQ,aAAa;IACxC;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,iEAAiE;IACjE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,kEAAkE;IAClE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,uCAAuC;IACvC,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,wCAAwC;IACxC,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,sCAAsC;IACtC,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,yDAAyD;IACzD,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,0DAA0D;IAC1D,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,6DAA6D;IAC7D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,0CAA0C;IAC1C,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,2CAA2C;IAC3C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,6CAA6C;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAeO,CAAC;AAE7C,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,GAAG,EAAE,CAAC;CACb;AAED,eAAO,MAAM,mBAAmB;;gCAEO,CAAC"}
|
|
@@ -6,7 +6,7 @@ export type TransportProtocolType = 'legacy-sse' | 'sse' | 'streamable-http' | '
|
|
|
6
6
|
* Known AI platform types that can be detected from client info.
|
|
7
7
|
* Used for platform-specific rendering and behavior customization.
|
|
8
8
|
*/
|
|
9
|
-
export type AIPlatformType = 'openai' | 'claude' | 'gemini' | 'cursor' | 'continue' | 'cody' | 'generic-mcp' | 'ext-apps' | 'unknown';
|
|
9
|
+
export type AIPlatformType = 'openai' | 'claude' | 'claude-code' | 'codex' | 'gemini' | 'cursor' | 'continue' | 'cody' | 'generic-mcp' | 'ext-apps' | 'unknown';
|
|
10
10
|
/**
|
|
11
11
|
* Zod schema for AIPlatformType validation
|
|
12
12
|
*/
|
|
@@ -15,6 +15,8 @@ export declare const aiPlatformTypeSchema: import("@frontmcp/lazy-zod").ZodEnum<
|
|
|
15
15
|
continue: "continue";
|
|
16
16
|
openai: "openai";
|
|
17
17
|
claude: "claude";
|
|
18
|
+
"claude-code": "claude-code";
|
|
19
|
+
codex: "codex";
|
|
18
20
|
gemini: "gemini";
|
|
19
21
|
cursor: "cursor";
|
|
20
22
|
cody: "cody";
|
|
@@ -86,6 +88,8 @@ export declare const sessionIdPayloadSchema: import("@frontmcp/lazy-zod").ZodObj
|
|
|
86
88
|
continue: "continue";
|
|
87
89
|
openai: "openai";
|
|
88
90
|
claude: "claude";
|
|
91
|
+
"claude-code": "claude-code";
|
|
92
|
+
codex: "codex";
|
|
89
93
|
gemini: "gemini";
|
|
90
94
|
cursor: "cursor";
|
|
91
95
|
cody: "cody";
|
|
@@ -126,6 +130,8 @@ export declare const sessionIdSchema: import("@frontmcp/lazy-zod").ZodObject<{
|
|
|
126
130
|
continue: "continue";
|
|
127
131
|
openai: "openai";
|
|
128
132
|
claude: "claude";
|
|
133
|
+
"claude-code": "claude-code";
|
|
134
|
+
codex: "codex";
|
|
129
135
|
gemini: "gemini";
|
|
130
136
|
cursor: "cursor";
|
|
131
137
|
cody: "cody";
|
|
@@ -160,6 +166,8 @@ export declare const authorizationSchema: import("@frontmcp/lazy-zod").ZodObject
|
|
|
160
166
|
continue: "continue";
|
|
161
167
|
openai: "openai";
|
|
162
168
|
claude: "claude";
|
|
169
|
+
"claude-code": "claude-code";
|
|
170
|
+
codex: "codex";
|
|
163
171
|
gemini: "gemini";
|
|
164
172
|
cursor: "cursor";
|
|
165
173
|
cody: "cody";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.types.d.ts","sourceRoot":"","sources":["../../src/common/session.types.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,YAAY,GAAG,KAAK,GAAG,iBAAiB,GAAG,eAAe,GAAG,gBAAgB,CAAC;AAElH;;;GAGG;AACH,MAAM,MAAM,cAAc,G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;IAEZ,QAAQ,CAAC,EAAE,qBAAqB,CAAC;IAEjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,YAAY,CAAC,EAAE,cAAc,CAAC;IAE9B,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AACF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAYO,CAAC;AAE3C,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,CAAC,EAAE;QACR,EAAE,EAAE,MAAM,CAAC;QACX,oGAAoG;QACpG,OAAO,CAAC,EAAE,gBAAgB,CAAC;KAC5B,CAAC;CACH;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAIwC,CAAC;AAErE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAIO,CAAC"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Defines types for the tool consent flow that allows users to select
|
|
5
5
|
* which MCP tools they want to expose to the LLM.
|
|
6
6
|
*/
|
|
7
|
-
import { z } from '@frontmcp/lazy-zod';
|
|
7
|
+
import { internalZ as z } from '@frontmcp/lazy-zod';
|
|
8
8
|
import { consentConfigSchema } from '../options/shared.schemas';
|
|
9
9
|
export { consentConfigSchema };
|
|
10
10
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consent.types.d.ts","sourceRoot":"","sources":["../../src/consent/consent.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"consent.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,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Detects unique auth providers across nested apps and determines
|
|
5
5
|
* if orchestrated mode is required at the parent scope level.
|
|
6
6
|
*/
|
|
7
|
-
import { z } from '@frontmcp/lazy-zod';
|
|
7
|
+
import { internalZ as z } from '@frontmcp/lazy-zod';
|
|
8
8
|
import type { AuthOptions } from '../options/schema';
|
|
9
9
|
export declare const detectedAuthProviderSchema: import("@frontmcp/lazy-zod").ZodObject<{
|
|
10
10
|
id: import("@frontmcp/lazy-zod").ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-provider-detection.d.ts","sourceRoot":"","sources":["../../src/detection/auth-provider-detection.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"auth-provider-detection.d.ts","sourceRoot":"","sources":["../../src/detection/auth-provider-detection.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,SAAS,IAAI,CAAC,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAcrD,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;gCAOrC,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;gCAQ5C,CAAC;AAMH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE5F,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,wCAAwC;IACxC,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAMD,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAiB7D;AAyBD,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,WAAW,GAAG,SAAS,EACnC,IAAI,EAAE,WAAW,EAAE,GAClB,2BAA2B,CA+F7B;AA6BD,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,WAAW,GAAG,SAAS,EAChC,UAAU,EAAE,WAAW,GAAG,SAAS,GAClC,OAAO,CAaT;AAED,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,2BAA2B,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,CAGtG;AAED,wBAAgB,eAAe,CAAC,SAAS,EAAE,2BAA2B,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,CAGpG"}
|
|
@@ -114,6 +114,12 @@ export declare class InMemoryStoreRequiredError extends AuthInternalError {
|
|
|
114
114
|
export declare class OrchestratorJwksNotAvailableError extends AuthInternalError {
|
|
115
115
|
constructor();
|
|
116
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* Thrown when `auth.secureStore` names a backing that cannot be used, instead of keeping the secrets in memory.
|
|
119
|
+
*/
|
|
120
|
+
export declare class SecureStoreConfigError extends AuthInternalError {
|
|
121
|
+
constructor(message: string);
|
|
122
|
+
}
|
|
117
123
|
/**
|
|
118
124
|
* Thrown when invalid input is provided to an auth operation.
|
|
119
125
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-internal.errors.d.ts","sourceRoot":"","sources":["../../src/errors/auth-internal.errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D;;GAEG;AACH,qBAAa,4BAA6B,SAAQ,iBAAiB;;CAIlE;AAED;;GAEG;AACH,qBAAa,cAAe,SAAQ,iBAAiB;IACnD,QAAQ,CAAC,aAAa,CAAC,EAAE,KAAK,CAAC;gBAE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{ EncryptionContextNotSetError, VaultLoadError, VaultNotFoundError, TokenNotAvailableError, TokenStoreRequiredError, NoProviderIdError, TokenLeakDetectedError, JwtSecretRequiredError, JwtSecretWeakError, SessionSecretRequiredError, CredentialProviderAlreadyRegisteredError, AuthProvidersNotConfiguredError, OrchestratedAuthNotAvailableError, EncryptionKeyNotConfiguredError, SessionIdEmptyError, ElicitationSecretRequiredError, ScopeDeniedError, InMemoryStoreRequiredError, OrchestratorJwksNotAvailableError, AuthInvalidInputError, CredentialStorageError, AuthFlowError, } from './auth-internal.errors';
|
|
2
|
+
export { EncryptionContextNotSetError, VaultLoadError, VaultNotFoundError, TokenNotAvailableError, TokenStoreRequiredError, NoProviderIdError, TokenLeakDetectedError, JwtSecretRequiredError, JwtSecretWeakError, SessionSecretRequiredError, CredentialProviderAlreadyRegisteredError, AuthProvidersNotConfiguredError, OrchestratedAuthNotAvailableError, EncryptionKeyNotConfiguredError, SessionIdEmptyError, ElicitationSecretRequiredError, ScopeDeniedError, InMemoryStoreRequiredError, OrchestratorJwksNotAvailableError, SecureStoreConfigError, AuthInvalidInputError, CredentialStorageError, AuthFlowError, } from './auth-internal.errors';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/errors/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EACL,4BAA4B,EAC5B,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EACtB,sBAAsB,EACtB,kBAAkB,EAClB,0BAA0B,EAC1B,wCAAwC,EACxC,+BAA+B,EAC/B,iCAAiC,EACjC,+BAA+B,EAC/B,mBAAmB,EACnB,8BAA8B,EAC9B,gBAAgB,EAChB,0BAA0B,EAC1B,iCAAiC,EACjC,qBAAqB,EACrB,sBAAsB,EACtB,aAAa,GACd,MAAM,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EACL,4BAA4B,EAC5B,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EACtB,sBAAsB,EACtB,kBAAkB,EAClB,0BAA0B,EAC1B,wCAAwC,EACxC,+BAA+B,EAC/B,iCAAiC,EACjC,+BAA+B,EAC/B,mBAAmB,EACnB,8BAA8B,EAC9B,gBAAgB,EAChB,0BAA0B,EAC1B,iCAAiC,EACjC,sBAAsB,EACtB,qBAAqB,EACrB,sBAAsB,EACtB,aAAa,GACd,MAAM,wBAAwB,CAAC"}
|