fix(core): relocate moved project checkouts
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
This commit is contained in:
parent
71c3a7c8f2
commit
6f4934ef43
3 changed files with 174 additions and 5 deletions
|
|
@ -14,6 +14,7 @@ import { SessionSchema } from "./schema"
|
|||
import { SessionContextEpochTable } from "./sql"
|
||||
|
||||
type DatabaseService = Database.Interface["db"]
|
||||
type Transaction = Parameters<Parameters<DatabaseService["transaction"]>[0]>[0]
|
||||
|
||||
interface Prepared {
|
||||
readonly baseline: string
|
||||
|
|
@ -109,7 +110,7 @@ const find = Effect.fn("SessionContextEpoch.find")(function* (db: DatabaseServic
|
|||
})
|
||||
|
||||
export const reset = Effect.fn("SessionContextEpoch.reset")(function* (
|
||||
db: DatabaseService,
|
||||
db: DatabaseService | Transaction,
|
||||
sessionID: SessionSchema.ID,
|
||||
) {
|
||||
yield* db
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue