MCPcopy Index your code
hub / github.com/anomalyco/opencode / internalPlugins

Function internalPlugins

packages/opencode/src/plugin/index.ts:65–82  ·  view source on GitHub ↗
(flags: RuntimeFlags.Info)

Source from the content-addressed store, hash-verified

63
64// Built-in plugins that are directly imported (not installed from npm)
65function 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
84function isServerPlugin(value: unknown): value is PluginInstance {
85 return typeof value === "function"

Callers 1

index.tsFile · 0.85

Calls 2

CodexAuthPluginFunction · 0.90

Tested by

no test coverage detected