mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-13 15:41:50 +00:00
feat(id): brand SessionID through Drizzle and Zod schemas (#16953)
This commit is contained in:
parent
4e73473119
commit
cb67465675
44 changed files with 226 additions and 158 deletions
|
|
@ -2,11 +2,12 @@ import { describe, test, expect } from "bun:test"
|
|||
import path from "path"
|
||||
import { Instance } from "../../src/project/instance"
|
||||
import { WebFetchTool } from "../../src/tool/webfetch"
|
||||
import { SessionID } from "../../src/session/schema"
|
||||
|
||||
const projectRoot = path.join(__dirname, "../..")
|
||||
|
||||
const ctx = {
|
||||
sessionID: "test",
|
||||
sessionID: SessionID.make("ses_test"),
|
||||
messageID: "",
|
||||
callID: "",
|
||||
agent: "build",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue