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

Function isDeprecatedPlugin

packages/opencode/src/plugin/shared.ts:12–14  ·  view source on GitHub ↗
(spec: string)

Source from the content-addressed store, hash-verified

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

Callers 1

planFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected