refactor(opencode): bind instance bootstrap node (#34502)
This commit is contained in:
@@ -16,7 +16,7 @@ import { LayerNode } from "@opencode-ai/core/effect/layer-node"
|
||||
const noopBootstrap = Layer.succeed(InstanceBootstrap.Service, InstanceBootstrap.Service.of({ run: Effect.void }))
|
||||
const env = AppNodeBuilder.build(
|
||||
LayerNode.group([Permission.node, EventV2Bridge.node, CrossSpawnSpawner.node, InstanceStore.node]),
|
||||
[[InstanceBootstrap.node, noopBootstrap]],
|
||||
[[InstanceStore.bootstrapNode, noopBootstrap]],
|
||||
)
|
||||
const it = testEffect(env)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user