@lostgradient/mcp 0.2.5 → 0.2.6
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/{chunk-qxwd8est.js → chunk-5444sx3n.js} +1 -1
- package/dist/{chunk-88nhf6xt.js → chunk-r9atew6b.js} +1 -1
- package/dist/{chunk-en76akaq.js → chunk-tkn6m6az.js} +1 -1
- package/dist/{chunk-wsnfttyg.js → chunk-zrrf78wj.js} +1 -1
- package/dist/http/index.js +4 -4
- package/dist/index.js +2 -2
- package/dist/oauth/client-metadata-documents.js +1 -1
- package/dist/oauth/index.js +2 -2
- package/dist/sveltekit-mount.js +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -328,7 +328,7 @@ var clientMetadataDocumentSchema = z.object({
|
|
|
328
328
|
client_id: z.string().url(),
|
|
329
329
|
client_name: z.string().min(1).max(oauthMaxClientNameLength).refine(isValidClientName, "client_name must not contain control or confusable characters"),
|
|
330
330
|
redirect_uris: z.array(z.string().url().max(oauthMaxRedirectUriLength)).min(1, "At least one redirect URI is required").max(oauthMaxRedirectUriCount).refine((uris) => uris.every(isValidRedirectUri), "Redirect URIs must use HTTPS (or http://localhost for development)"),
|
|
331
|
-
grant_types: z.array(z.
|
|
331
|
+
grant_types: z.array(z.string().min(1).max(256).regex(/^[\x21-\x7e]+$/)).max(oauthMaxGrantTypeCount).default(["authorization_code", "refresh_token"]),
|
|
332
332
|
response_types: z.array(z.enum(["code"])).max(oauthMaxResponseTypeCount).default(["code"]),
|
|
333
333
|
token_endpoint_auth_method: z.literal("none").default("none"),
|
|
334
334
|
application_type: z.enum(applicationTypes).optional()
|
package/dist/http/index.js
CHANGED
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
createMcpServer,
|
|
7
7
|
hasValidLocalhostRebindingHeaders,
|
|
8
8
|
isLoopbackHostname
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-5444sx3n.js";
|
|
10
10
|
import"../chunk-taxyscge.js";
|
|
11
|
-
import"../chunk-
|
|
11
|
+
import"../chunk-zrrf78wj.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveOauthNetworkIdentity
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import"../chunk-
|
|
14
|
+
} from "../chunk-tkn6m6az.js";
|
|
15
|
+
import"../chunk-r9atew6b.js";
|
|
16
16
|
import"../chunk-3ek3knfm.js";
|
|
17
17
|
import {
|
|
18
18
|
getSupportedScopes
|
package/dist/index.js
CHANGED
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
readRequestSender,
|
|
12
12
|
readSessionIdentifier,
|
|
13
13
|
stringifyUnknown
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5444sx3n.js";
|
|
15
15
|
import {
|
|
16
16
|
metricsCollector
|
|
17
17
|
} from "./chunk-taxyscge.js";
|
|
18
18
|
import {
|
|
19
19
|
PACKAGE_VERSION
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-zrrf78wj.js";
|
|
21
21
|
import {
|
|
22
22
|
getSupportedScopes,
|
|
23
23
|
hasRegisteredUiExtensionResource
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
isClientIdMetadataDocumentUrl,
|
|
6
6
|
resetDnsLookupConcurrencyLimiterForTests,
|
|
7
7
|
safeFetchPublicHttpsUrl
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-r9atew6b.js";
|
|
9
9
|
import"../chunk-k6fm3cmk.js";
|
|
10
10
|
import"../chunk-3rr24vhh.js";
|
|
11
11
|
import"../chunk-xcf742mf.js";
|
package/dist/oauth/index.js
CHANGED
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
safeFetchPublicHttpsUrl,
|
|
28
28
|
stripPort,
|
|
29
29
|
withDeadline
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-tkn6m6az.js";
|
|
31
31
|
import {
|
|
32
32
|
constantTimeEquals
|
|
33
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-r9atew6b.js";
|
|
34
34
|
import"../chunk-3ek3knfm.js";
|
|
35
35
|
import"../chunk-rxnyn7tf.js";
|
|
36
36
|
import"../chunk-k6fm3cmk.js";
|
package/dist/sveltekit-mount.js
CHANGED
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
handleOauthRevokePost,
|
|
10
10
|
handleOauthTokenPost,
|
|
11
11
|
oauthCorsHeaders
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-tkn6m6az.js";
|
|
13
13
|
import {
|
|
14
14
|
isValidCidr
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-r9atew6b.js";
|
|
16
16
|
import"./chunk-3ek3knfm.js";
|
|
17
17
|
import {
|
|
18
18
|
getSupportedScopes
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lostgradient/mcp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "A Model Context Protocol server engine: registries, scope vocabularies, and an OAuth-ready request boundary.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Steve Kinney <hello@stevekinney.net>",
|