engram

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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