fix(stats): inline worker runtime import

This commit is contained in:
Adam
2026-06-21 06:22:26 -05:00
parent c0dc6e50a7
commit a0aee82be9
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,8 +1,8 @@
import { AppConfig } from "@opencode-ai/stats-core/config"
import { Effect } from "effect"
import { statsRuntime } from "../../stats-runtime"
export async function GET() {
const { statsRuntime } = await import("../../stats-runtime")
return Response.json(
await statsRuntime.runPromise(
Effect.gen(function* () {