refactor(opencode): remove core service layer exports (#34518)

This commit is contained in:
James Long
2026-06-29 23:32:16 -04:00
committed by GitHub
parent cb932a041c
commit fd4a570130
22 changed files with 22 additions and 95 deletions
+1 -3
View File
@@ -61,7 +61,7 @@ export interface Interface {
export class Service extends Context.Service<Service, Interface>()("@opencode/Question") {}
export const layer = Layer.effect(
const layer = Layer.effect(
Service,
Effect.gen(function* () {
const events = yield* EventV2Bridge.Service
@@ -156,8 +156,6 @@ export const layer = Layer.effect(
}),
)
export const defaultLayer = layer.pipe(Layer.provide(EventV2Bridge.defaultLayer))
export const node = LayerNode.make({ service: Service, layer: layer, deps: [EventV2Bridge.node] })
export * as Question from "."