(input: { enabled: boolean; channel?: string })
| 58 | export class Service extends Context.Service<Service, Interface>()("@opencode/Plugin") {} |
| 59 | |
| 60 | export function experimentalWebSocketsEnabled(input: { enabled: boolean; channel?: string }) { |
| 61 | return input.enabled || ["local", "dev", "beta"].includes(input.channel ?? InstallationChannel) |
| 62 | } |
| 63 | |
| 64 | // Built-in plugins that are directly imported (not installed from npm) |
| 65 | function internalPlugins(flags: RuntimeFlags.Info): PluginInstance[] { |
no outgoing calls
no test coverage detected