MCPcopy Create free account
hub / github.com/IgorWarzocha/howcode / deleteChatThread

Function deleteChatThread

desktop/chat-state-db.ts:103–108  ·  view source on GitHub ↗
(sessionPath: string)

Source from the content-addressed store, hash-verified

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

Callers 1

deletePersistedThreadFunction · 0.90

Calls 4

getThreadStateDatabaseFunction · 0.90
ensureChatStateSchemaFunction · 0.85
runMethod · 0.80
prepareMethod · 0.80

Tested by

no test coverage detected