initial agent setup

This commit is contained in:
Kujtim Hoxha 2025-03-23 22:25:31 +01:00
commit e7258e38ae
29 changed files with 2206 additions and 108 deletions

View file

@ -9,10 +9,14 @@ import (
)
type Querier interface {
// sqlfluff:dialect:sqlite
CreateMessage(ctx context.Context, arg CreateMessageParams) (Message, error)
CreateSession(ctx context.Context, arg CreateSessionParams) (Session, error)
DeleteMessage(ctx context.Context, id string) error
DeleteSession(ctx context.Context, id string) error
DeleteSessionMessages(ctx context.Context, sessionID string) error
GetMessage(ctx context.Context, id string) (Message, error)
GetSessionByID(ctx context.Context, id string) (Session, error)
ListMessagesBySession(ctx context.Context, sessionID string) ([]Message, error)
ListSessions(ctx context.Context) ([]Session, error)
UpdateSession(ctx context.Context, arg UpdateSessionParams) (Session, error)
}