refactor(core): move v1 schemas into core (#30473)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { describe, expect, test } from "bun:test"
|
||||
import { SessionLegacy } from "@opencode-ai/core/session/legacy"
|
||||
import { SessionV1 } from "@opencode-ai/core/v1/session"
|
||||
import path from "path"
|
||||
import { Effect, FileSystem, Layer } from "effect"
|
||||
import { FetchHttpClient } from "effect/unstable/http"
|
||||
@@ -63,7 +63,7 @@ const tmpWithFiles = (files: Record<string, string>) =>
|
||||
return dir
|
||||
})
|
||||
|
||||
function loaded(filepath: string): SessionLegacy.WithParts[] {
|
||||
function loaded(filepath: string): SessionV1.WithParts[] {
|
||||
const sessionID = SessionID.make("session-loaded-1")
|
||||
const messageID = MessageID.make("msg_message-loaded-1")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user