(
secretKey: string,
options: { readonly activeToolkitSlug?: string; readonly allowLocalNetwork?: boolean } = {},
)
| 24 | // --------------------------------------------------------------------------- |
| 25 | |
| 26 | export const makeCloudflarePlugins = ( |
| 27 | secretKey: string, |
| 28 | options: { readonly activeToolkitSlug?: string; readonly allowLocalNetwork?: boolean } = {}, |
| 29 | ) => |
| 30 | [ |
| 31 | openApiHttpPlugin({ |
| 32 | presets: [...googleCatalog, ...microsoftCatalog], |
| 33 | specFormats: [googleDiscoveryAdapter, microsoftGraphAdapter], |
| 34 | }), |
| 35 | mcpHttpPlugin({ dangerouslyAllowStdioMCP: false }), |
| 36 | graphqlHttpPlugin(), |
| 37 | toolkitsPlugin({ activeToolkitSlug: options.activeToolkitSlug }), |
| 38 | encryptedSecretsPlugin({ key: secretKey }), |
| 39 | ] as const; |
| 40 | |
| 41 | export type CloudflarePlugins = ReturnType<typeof makeCloudflarePlugins>; |
no outgoing calls
no test coverage detected