(flags: RuntimeFlags.Info)
| 63 | |
| 64 | // Built-in plugins that are directly imported (not installed from npm) |
| 65 | function internalPlugins(flags: RuntimeFlags.Info): PluginInstance[] { |
| 66 | return [ |
| 67 | // Temporary rollout: pre-release builds use WebSockets by default; releases require explicit opt-in. |
| 68 | (input) => |
| 69 | CodexAuthPlugin(input, { |
| 70 | experimentalWebSockets: experimentalWebSocketsEnabled({ enabled: flags.experimentalWebSockets }), |
| 71 | }), |
| 72 | CopilotAuthPlugin, |
| 73 | GitlabAuthPlugin, |
| 74 | PoeAuthPlugin, |
| 75 | CloudflareWorkersAuthPlugin, |
| 76 | CloudflareAIGatewayAuthPlugin, |
| 77 | AzureAuthPlugin, |
| 78 | DigitalOceanAuthPlugin, |
| 79 | SnowflakeCortexAuthPlugin, |
| 80 | XaiAuthPlugin, |
| 81 | ] |
| 82 | } |
| 83 | |
| 84 | function isServerPlugin(value: unknown): value is PluginInstance { |
| 85 | return typeof value === "function" |
no test coverage detected