(sessionPath: string)
| 101 | } |
| 102 | |
| 103 | export function deleteChatThread(sessionPath: string) { |
| 104 | ensureChatStateSchema() |
| 105 | getThreadStateDatabase() |
| 106 | .prepare('DELETE FROM chat_threads WHERE session_path = ?') |
| 107 | .run(sessionPath) |
| 108 | } |
| 109 | |
| 110 | export function upsertChatThread(options: { |
| 111 | sessionPath: string |
no test coverage detected