ensure @opencode-ai/plugin exists only on first run

This commit is contained in:
Dax Raad
2026-01-04 10:23:19 -05:00
parent 555a5ccb59
commit 97977f6ad4
2 changed files with 5 additions and 6 deletions

View File

@@ -212,11 +212,6 @@ export namespace Worktree {
throw new StartCommandFailedError({ message: errorText(ran) || "Worktree start command failed" })
}
const opencodeDir = path.join(info.directory, ".opencode")
if (await Bun.file(opencodeDir).exists()) {
await Config.installDependencies(info.directory)
}
return info
})
}