@sentry/junior-plugin-api 0.319.0 → 0.321.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/dist/index.d.ts +10 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5150,11 +5150,21 @@ export interface PluginMcpOAuthClientConfig {
|
|
|
5150
5150
|
/** Space-delimited scope requested instead of the scopes the MCP server advertises. */
|
|
5151
5151
|
scope?: string;
|
|
5152
5152
|
}
|
|
5153
|
+
/** Guardian settings for one MCP server. */
|
|
5154
|
+
export interface PluginMcpGuardianConfig {
|
|
5155
|
+
/**
|
|
5156
|
+
* Exact remote tool names whose calls skip review because they have no
|
|
5157
|
+
* effect. Every other tool is reviewed, also one the server renames.
|
|
5158
|
+
*/
|
|
5159
|
+
skipReview?: string[];
|
|
5160
|
+
}
|
|
5153
5161
|
export interface PluginMcpConfig {
|
|
5154
5162
|
/** Provider tools exposed directly to the model. */
|
|
5155
5163
|
allowedTools?: string[];
|
|
5156
5164
|
/** Bot auth: sign short-lived JWT assertions instead of per-actor OAuth. */
|
|
5157
5165
|
auth?: PluginMcpAuthConfig;
|
|
5166
|
+
/** How Guardian treats this server's tools. */
|
|
5167
|
+
guardian?: PluginMcpGuardianConfig;
|
|
5158
5168
|
/** Request headers. Values may use `${NAME}` refs to declared env vars; Junior resolves them at connect time. */
|
|
5159
5169
|
headers?: Record<string, string>;
|
|
5160
5170
|
/** Per-actor OAuth with a pre-registered client instead of dynamic client registration. */
|