(spec: string)
| 10 | export const DEPRECATED_PLUGIN_PACKAGES = ["opencode-openai-codex-auth", "opencode-copilot-auth"] |
| 11 | |
| 12 | export function isDeprecatedPlugin(spec: string) { |
| 13 | return DEPRECATED_PLUGIN_PACKAGES.some((pkg) => spec.includes(pkg)) |
| 14 | } |
| 15 | |
| 16 | function parse(spec: string) { |
| 17 | try { |