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
@@ -67,8 +67,11 @@ function eventResponse(bus: Bus.Interface) {
export const eventHandlers = HttpApiBuilder.group(EventApi, "event", (handlers) => export const eventHandlers = HttpApiBuilder.group(EventApi, "event", (handlers) =>
Effect.gen(function* () { Effect.gen(function* () {
const bus = yield* Bus.Service const bus = yield* Bus.Service
return handlers.handleRaw("subscribe", Effect.fn("EventHttpApi.subscribe")(function* () { return handlers.handleRaw(
return eventResponse(bus) "subscribe",
})) Effect.fn("EventHttpApi.subscribe")(function* () {
return eventResponse(bus)
}),
)
}), }),
) )
@@ -113,9 +113,7 @@ const instanceApiRoutes = HttpApiBuilder.layer(InstanceHttpApi).pipe(
]), ]),
) )
const rawInstanceRoutes = Layer.mergeAll(ptyConnectRoute).pipe( const rawInstanceRoutes = Layer.mergeAll(ptyConnectRoute).pipe(Layer.provide(instanceRouterLayer))
Layer.provide(instanceRouterLayer),
)
const instanceRoutes = Layer.mergeAll(rawInstanceRoutes, instanceApiRoutes).pipe( const instanceRoutes = Layer.mergeAll(rawInstanceRoutes, instanceApiRoutes).pipe(
Layer.provide([ Layer.provide([
authorizationLayer.pipe(Layer.provide(ServerAuthConfig.defaultLayer)), authorizationLayer.pipe(Layer.provide(ServerAuthConfig.defaultLayer)),