(sessionID: string)
| 86 | ) |
| 87 | |
| 88 | export function assertNotBusy(sessionID: string) { |
| 89 | const match = state()[sessionID] |
| 90 | if (match) throw new Session.BusyError(sessionID) |
| 91 | } |
| 92 | |
| 93 | export const PromptInput = z.object({ |
| 94 | sessionID: Identifier.schema("session"), |