core: move npm service to core package for shared dependency management

This commit is contained in:
Dax Raad
2026-04-25 14:36:15 -04:00
parent 1e98167b0e
commit f5dce6d960
18 changed files with 42 additions and 81 deletions

View File

@@ -4,7 +4,7 @@ import npa from "npm-package-arg"
import semver from "semver"
import { Filesystem } from "@/util"
import { isRecord } from "@/util/record"
import { Npm } from "@/npm"
import { Npm } from "@opencode-ai/core/npm"
// Old npm package names for plugins that are now built-in
export const DEPRECATED_PLUGIN_PACKAGES = ["opencode-openai-codex-auth", "opencode-copilot-auth"]