(id: string, parentID?: string)
| 4 | import { createServerSession } from "./server-session" |
| 5 | |
| 6 | const session = (id: string, parentID?: string): Session => ({ |
| 7 | id, |
| 8 | slug: id, |
| 9 | projectID: "project", |
| 10 | directory: "/repo", |
| 11 | title: id, |
| 12 | version: "1", |
| 13 | parentID, |
| 14 | time: { created: 1, updated: 1 }, |
| 15 | }) |
| 16 | |
| 17 | type UserMessage = Extract<Message, { role: "user" }> |
| 18 | type TextPart = Extract<Part, { type: "text" }> |
no outgoing calls
no test coverage detected