fix: switch consumers to service imports to break bundle cycles (#18438)

This commit is contained in:
Kit Langton
2026-03-20 16:55:46 -04:00
committed by GitHub
parent 3f249aba6d
commit 214a6c6cf1
15 changed files with 20 additions and 19 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import z from "zod"
import { NamedError } from "@opencode-ai/util/error"
import { APICallError, convertToModelMessages, LoadAPIKeyError, type ModelMessage, type UIMessage } from "ai"
import { LSP } from "../lsp"
import { Snapshot } from "@/snapshot"
import { Snapshot } from "@/snapshot/service"
import { fn } from "@/util/fn"
import { Database, NotFoundError, and, desc, eq, inArray, lt, or } from "@/storage/db"
import { MessageTable, PartTable, SessionTable } from "./session.sql"