mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-14 22:53:21 +00:00
feat(simulation): add named drive instances (#35648)
This commit is contained in:
parent
04b673432c
commit
fcb1d4b418
12 changed files with 199 additions and 173 deletions
|
|
@ -205,9 +205,9 @@ export const run = Effect.fn("Tui.run")(function* (input: TuiInput) {
|
|||
},
|
||||
} satisfies CliRendererConfig
|
||||
|
||||
if (!!process.env.OPENCODE_SIMULATION) {
|
||||
const { Simulation } = await import("@opencode-ai/simulation/frontend")
|
||||
return Simulation.createSimulation(options)
|
||||
if (process.env.OPENCODE_DRIVE) {
|
||||
const { Drive } = await import("@opencode-ai/simulation/frontend")
|
||||
return Drive.create(options)
|
||||
}
|
||||
|
||||
return createCliRenderer(options)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue