engram

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscoverDBPath

func DiscoverDBPath() (string, error)

DiscoverDBPath locates the Engram SQLite database. It prioritizes ENGRAM_DB_PATH env var, then defaults to ~/.engram/observations.db.

Types

type SQLiteMemoryProvider

type SQLiteMemoryProvider struct {
	// contains filtered or unexported fields
}

*

  • ⚔️ HAKAISHIN SQLITE ADAPTER (WAVE 7)

func NewSQLiteMemoryProvider

func NewSQLiteMemoryProvider(dbPath string) *SQLiteMemoryProvider

func (*SQLiteMemoryProvider) GetRecentObservations

func (p *SQLiteMemoryProvider) GetRecentObservations(ctx context.Context, project string, hours int) ([]memory.Observation, error)

func (*SQLiteMemoryProvider) SaveObservation

func (p *SQLiteMemoryProvider) SaveObservation(ctx context.Context, project string, mem memory.DistilledMemory) error

func (*SQLiteMemoryProvider) SaveSummary

func (p *SQLiteMemoryProvider) SaveSummary(ctx context.Context, project string, summary memory.Summary) error

func (*SQLiteMemoryProvider) SearchInsights

func (p *SQLiteMemoryProvider) SearchInsights(ctx context.Context, query string, limit int) ([]types.MemoryInsight, error)

func (*SQLiteMemoryProvider) WithSymbolSearcher

func (p *SQLiteMemoryProvider) WithSymbolSearcher(fn func(ctx context.Context, query string) ([]types.Symbol, error)) *SQLiteMemoryProvider

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL