@zuplo/runtime 6.72.3 → 6.72.8
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/out/esm/{chunk-423FXHUV.js → chunk-HKSZ4V6H.js} +124 -124
- package/out/esm/chunk-HKSZ4V6H.js.map +1 -0
- package/out/esm/index.js +1 -1
- package/out/esm/index.js.map +1 -1
- package/out/esm/mcp-gateway/index.js +1 -1
- package/out/esm/mcp-gateway/index.js.map +1 -1
- package/out/types/index.d.ts +417 -141
- package/out/types/mcp-gateway/index.d.ts +9 -9
- package/package.json +1 -1
- package/out/esm/chunk-423FXHUV.js.map +0 -1
- /package/out/esm/{chunk-423FXHUV.js.LEGAL.txt → chunk-HKSZ4V6H.js.LEGAL.txt} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Optional per-caller access control. Defaults to mode 'allPublic' (no access control). Set mode to 'rolesAndGroups' to match the caller's role/group claims against each capability's markup (
|
|
4
|
+
* Optional per-caller access control. Defaults to mode 'allPublic' (no access control). Set mode to 'rolesAndGroups' to match the caller's role/group claims against each capability's markup (a capability with no roles/groups/public markup is available to no one), or 'function' to delegate to a custom resolver.
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
declare interface AccessControl {
|
|
@@ -128,9 +128,9 @@ declare interface BuildRouteConfiguration {
|
|
|
128
128
|
* `roles`/`groups`, each allowing a dot-path such as `realm_access.roles`).
|
|
129
129
|
* `request.user.data` is populated by whichever auth policy ran (JWT claims,
|
|
130
130
|
* API-key metadata, etc.). A capability marked `public: true` is allowed for
|
|
131
|
-
* everyone; otherwise the caller must match any listed role or group.
|
|
132
|
-
*
|
|
133
|
-
* nothing is
|
|
131
|
+
* everyone; otherwise the caller must match any listed role or group. A
|
|
132
|
+
* capability with no roles/groups/public markup is available to no one until
|
|
133
|
+
* it is classified, so nothing is ever exposed by omission.
|
|
134
134
|
*
|
|
135
135
|
* @public
|
|
136
136
|
*/
|
|
@@ -3501,10 +3501,6 @@ export declare interface McpTokenExchangeInboundPolicyOptions {
|
|
|
3501
3501
|
* Optional human-readable summary of the upstream, shown on the consent page.
|
|
3502
3502
|
*/
|
|
3503
3503
|
summary?: string;
|
|
3504
|
-
/**
|
|
3505
|
-
* Optional override for the upstream's OAuth protected-resource metadata URL. Defaults from the route handler's rewritePattern.
|
|
3506
|
-
*/
|
|
3507
|
-
protectedResourceMetadataUrl?: string;
|
|
3508
3504
|
/**
|
|
3509
3505
|
* Authentication mode. `user-oauth` performs per-user OAuth federation; `shared-oauth` uses a gateway-wide OAuth grant; `id-jag` exchanges the caller's identity assertion at the configured IdP for an ID-JAG (Identity Assertion JWT Authorization Grant, also known as Cross-App Access / XAA), then redeems it at the upstream Resource Authorization Server for an upstream access token.
|
|
3510
3506
|
*/
|
|
@@ -3513,6 +3509,10 @@ export declare interface McpTokenExchangeInboundPolicyOptions {
|
|
|
3513
3509
|
* OAuth scopes to request from the upstream (for OAuth modes).
|
|
3514
3510
|
*/
|
|
3515
3511
|
scopes?: string[];
|
|
3512
|
+
/**
|
|
3513
|
+
* Optional override for the upstream's OAuth protected-resource metadata URL. Defaults from the route handler's rewritePattern.
|
|
3514
|
+
*/
|
|
3515
|
+
protectedResourceMetadataUrl?: string;
|
|
3516
3516
|
/**
|
|
3517
3517
|
* Delimiter used to join scopes in the OAuth authorization request. Defaults to a single space.
|
|
3518
3518
|
*/
|
|
@@ -4541,7 +4541,7 @@ declare interface PromptProjection {
|
|
|
4541
4541
|
}
|
|
4542
4542
|
|
|
4543
4543
|
/**
|
|
4544
|
-
* Access control: mark this capability as available to all callers. In mode 'rolesAndGroups'
|
|
4544
|
+
* Access control: mark this capability as available to all callers. In mode 'rolesAndGroups' a capability with no roles/groups/public markup is available to no one until it is classified, so nothing is ever exposed by omission. Combining public: true with roles/groups is a configuration error.
|
|
4545
4545
|
* @public
|
|
4546
4546
|
*/
|
|
4547
4547
|
declare type Public = boolean;
|