chore: generate

This commit is contained in:
opencode-agent[bot] 2026-05-01 00:03:55 +00:00
parent 96f4da1e1d
commit 1b76bec0e2
2 changed files with 7 additions and 6 deletions

View file

@ -67,8 +67,11 @@ function eventResponse(bus: Bus.Interface) {
export const eventHandlers = HttpApiBuilder.group(EventApi, "event", (handlers) =>
Effect.gen(function* () {
const bus = yield* Bus.Service
return handlers.handleRaw("subscribe", Effect.fn("EventHttpApi.subscribe")(function* () {
return eventResponse(bus)
}))
return handlers.handleRaw(
"subscribe",
Effect.fn("EventHttpApi.subscribe")(function* () {
return eventResponse(bus)
}),
)
}),
)

View file

@ -113,9 +113,7 @@ const instanceApiRoutes = HttpApiBuilder.layer(InstanceHttpApi).pipe(
]),
)
const rawInstanceRoutes = Layer.mergeAll(ptyConnectRoute).pipe(
Layer.provide(instanceRouterLayer),
)
const rawInstanceRoutes = Layer.mergeAll(ptyConnectRoute).pipe(Layer.provide(instanceRouterLayer))
const instanceRoutes = Layer.mergeAll(rawInstanceRoutes, instanceApiRoutes).pipe(
Layer.provide([
authorizationLayer.pipe(Layer.provide(ServerAuthConfig.defaultLayer)),