(
secretKey: string,
options: { readonly activeToolkitSlug?: string; readonly allowLocalNetwork?: boolean } = {},
)
| 18 | // --------------------------------------------------------------------------- |
| 19 | |
| 20 | export const makeCloudflarePlugins = ( |
| 21 | secretKey: string, |
| 22 | options: { readonly activeToolkitSlug?: string; readonly allowLocalNetwork?: boolean } = {}, |
| 23 | ) => |
| 24 | [ |
| 25 | openApiHttpPlugin(), |
| 26 | googleHttpPlugin(), |
| 27 | microsoftHttpPlugin({ allowUnsafeUrlOverrides: options.allowLocalNetwork === true }), |
| 28 | mcpHttpPlugin({ dangerouslyAllowStdioMCP: false }), |
| 29 | graphqlHttpPlugin(), |
| 30 | toolkitsPlugin({ activeToolkitSlug: options.activeToolkitSlug }), |
| 31 | encryptedSecretsPlugin({ key: secretKey }), |
| 32 | ] as const; |
| 33 | |
| 34 | export type CloudflarePlugins = ReturnType<typeof makeCloudflarePlugins>; |
no outgoing calls
no test coverage detected