feat(id): brand WorkspaceID through Drizzle and Zod schemas (#16964)
This commit is contained in:
parent
f1c3a44190
commit
16a6d6feba
49 changed files with 205 additions and 157 deletions
|
|
@ -2,7 +2,7 @@ import { Tool } from "./tool"
|
|||
import DESCRIPTION from "./task.txt"
|
||||
import z from "zod"
|
||||
import { Session } from "../session"
|
||||
import { SessionID } from "../session/schema"
|
||||
import { SessionID, MessageID } from "../session/schema"
|
||||
import { MessageV2 } from "../session/message-v2"
|
||||
import { Identifier } from "../id/id"
|
||||
import { Agent } from "../agent/agent"
|
||||
|
|
@ -117,7 +117,7 @@ export const TaskTool = Tool.define("task", async (ctx) => {
|
|||
},
|
||||
})
|
||||
|
||||
const messageID = Identifier.ascending("message")
|
||||
const messageID = MessageID.ascending()
|
||||
|
||||
function cancel() {
|
||||
SessionPrompt.cancel(session.id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue