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 { Config } from "../config"
import { mapValues, mergeDeep, omit, pickBy, sortBy } from "remeda"
import { NoSuchModelError, type Provider as SDK } from "ai"
import { Log } from "../util"
import { Npm } from "../npm"
import { Npm } from "@opencode-ai/core/npm"
import { Hash } from "@opencode-ai/core/util/hash"
import { Plugin } from "../plugin"
import { type LanguageModelV3 } from "@ai-sdk/provider"