@@ -1222,7 +1222,11 @@ ${E.dim}No previous sessions found for this project yet.${E.reset}
12221222 content_json = excluded.content_json,
12231223 updated_at = excluded.updated_at,
12241224 updated_at_epoch = excluded.updated_at_epoch
1225- ` ) . run ( "global" , "user" , n , t , s , t , s ) } insertFeedbackObservation ( e , t ) { let s = new Date ( ) . toISOString ( ) , n = Date . now ( ) ; this . db . prepare ( `
1225+ ` ) . run ( "global" , "user" , n , t , s , t , s ) } ensureAutoMemorySession ( ) { this . db . prepare ( `
1226+ INSERT OR IGNORE INTO sdk_sessions
1227+ (content_session_id, memory_session_id, project, user_prompt, started_at, started_at_epoch, status)
1228+ VALUES ('auto-memory', 'auto-memory', 'system', 'Auto-imported memory files', datetime('now'), ?, 'completed')
1229+ ` ) . run ( Date . now ( ) ) } insertFeedbackObservation ( e , t ) { this . ensureAutoMemorySession ( ) ; let s = new Date ( ) . toISOString ( ) , n = Date . now ( ) ; this . db . prepare ( `
12261230 INSERT INTO observations
12271231 (memory_session_id, project, type, title, subtitle, facts, narrative, concepts,
12281232 files_read, files_modified, prompt_number, discovery_tokens, content_hash,
0 commit comments