Versions in this module Expand all Collapse all v0 v0.0.5 Apr 10, 2026 v0.0.4 Apr 10, 2026 v0.0.3 Apr 10, 2026 Changes in this version + type CachedIssue struct + Author string + Body string + CreatedAt time.Time + FetchedAt time.Time + ID string + Labels string + Repo string + Source string + Status string + Title string + URL string + type DB struct + func Open(dir string) (*DB, error) + func OpenPath(dbPath string) (*DB, error) + func (db *DB) BeginTx() error + func (db *DB) CacheIssues(repo string, issues []CachedIssue) error + func (db *DB) ClaimTask(id, agentID string) error + func (db *DB) ClearIssueCache() error + func (db *DB) Close() error + func (db *DB) CommitTx() error + func (db *DB) CreateTask(title, description, repo string) (string, error) + func (db *DB) DeleteByFile(repo, file string) error + func (db *DB) GetAllEmbeddings() ([]EmbeddingRecord, error) + func (db *DB) GetCacheAge(repos []string) time.Duration + func (db *DB) GetCachedIssues(repo string) ([]CachedIssue, error) + func (db *DB) GetIndexState(filePath string) (IndexState, error) + func (db *DB) GetTask(id string) (*Task, error) + func (db *DB) ListTasks(status, agentID, repo string) ([]Task, error) + func (db *DB) Path() string + func (db *DB) RollbackTx() error + func (db *DB) SetIndexState(filePath, checksum string, mtimeNs, fileSize int64) error + func (db *DB) StoreEmbedding(repo, file string, chunkIndex, lineStart, lineEnd int, contentHash string, ...) error + func (db *DB) UpdateTaskStatus(id, status string) error + type EmbeddingRecord struct + ChunkIndex int + ContentHash string + Embedding []byte + File string + ID int64 + LineEnd int + LineStart int + Repo string + type IndexState struct + Checksum string + FileSize int64 + MtimeNs int64 + type Task struct + AgentID string + ClaimedAt *time.Time + CompletedAt *time.Time + CreatedAt time.Time + Description string + ID string + Metadata string + ParentID string + Repo string + Status string + Title string