fix(opencode): serialize config bun installs (#17342)

This commit is contained in:
Shoubhit Dash
2026-03-13 17:58:00 +05:30
committed by GitHub
parent f4804dac85
commit d4ae13f2a0
2 changed files with 37 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ import { Account } from "@/account"
import { ConfigPaths } from "./paths"
import { Filesystem } from "@/util/filesystem"
import { Process } from "@/util/process"
import { Lock } from "@/util/lock"
export namespace Config {
const ModelId = z.string().meta({ $ref: "https://models.dev/model-schema.json#/$defs/Model" })
@@ -289,6 +290,7 @@ export namespace Config {
// Install any additional dependencies defined in the package.json
// This allows local plugins and custom tools to use external packages
using _ = await Lock.write("bun-install")
await BunProc.run(
[
"install",