reimplement agent,provider and add file history

This commit is contained in:
Kujtim Hoxha
2025-04-21 13:42:00 +02:00
parent 76b4065f17
commit bbfa60c787
73 changed files with 3741 additions and 4025 deletions
+3 -1
View File
@@ -6,7 +6,9 @@ WHERE id = ? LIMIT 1;
-- name: GetFileByPathAndSession :one
SELECT *
FROM files
WHERE path = ? AND session_id = ? LIMIT 1;
WHERE path = ? AND session_id = ?
ORDER BY created_at DESC
LIMIT 1;
-- name: ListFilesBySession :many
SELECT *