refactor(opencode): bind instance bootstrap node (#34502)

This commit is contained in:
James Long
2026-06-29 16:35:10 -04:00
committed by GitHub
parent af6075ea45
commit 4c0a372047
26 changed files with 82 additions and 57 deletions
@@ -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)