@@ -7,7 +7,6 @@ import { AppNodeBuilder } from "@opencode-ai/core/effect/app-node-builder"
77import { Bus } from "@opencode-ai/core/bus"
88import { EventLogger } from "@opencode-ai/core/event-logger"
99import { FileSystemSearch } from "@opencode-ai/core/filesystem/search"
10- import { Observability } from "@opencode-ai/util/observability"
1110import { Credential } from "@opencode-ai/core/credential"
1211import { Config } from "@opencode-ai/core/config"
1312import { Command } from "@opencode-ai/core/command"
@@ -131,13 +130,6 @@ function makeRoutes<AuthError, AuthServices>(
131130 } ) ,
132131 )
133132 : AppNodeBuilder . build ( applicationServices , replacements )
134- const observability = Observability . layer ( {
135- ...options . observability ,
136- client : options . app ?. name ,
137- version : options . app ?. version ,
138- channel : options . app ?. channel ,
139- } )
140-
141133 return serviceLayer . pipe (
142134 Layer . flatMap ( ( context ) => {
143135 const services = Layer . succeedContext ( context )
@@ -161,6 +153,5 @@ function makeRoutes<AuthError, AuthServices>(
161153 )
162154 return Layer . merge ( api , V1Migration . layer . pipe ( Layer . provide ( services ) ) )
163155 } ) ,
164- Layer . provide ( observability ) ,
165156 )
166157}
0 commit comments