Versions in this module Expand all Collapse all v0 v0.1.1 Oct 27, 2026 v0.1.0 Oct 27, 2026 Changes in this version + func CallersOf(root, defFile, symbol string) ([]string, error) + func CollectMemory(ctx context.Context, root string, cfg config.Config, query string) (memory.Recalled, error) + func ImportsOf(root, file string) ([]string, error) + func PrimarySymbolOf(root, file string) string + func SetEmbedderFactory(f func(config.SemanticIndexConfig) (embedder.Embedder, error)) func(config.SemanticIndexConfig) (embedder.Embedder, error) + func SetMemoryEmbedderFactory(f func(config.MemoryConfig) (embedder.Embedder, error)) func(config.MemoryConfig) (embedder.Embedder, error) + type ContextProfile int + const ProfileCompact + const ProfileFull + type ProjectContext struct + AlwaysInclude map[string]string + Files []string + IsBrownfield bool + Memory memory.Recalled + ProgrammingLanguage string + ProjectType string + RecentCommits []string + SourceFiles map[string]string + TreeStructure string + UnstagedDiff string + func Collect(root string, cfg config.Config) (ProjectContext, error) + func (p ProjectContext) SemanticSearch(ctx context.Context, query string, k int) ([]string, error) + func (p ProjectContext) SemanticSearchSymbols(ctx context.Context, query string, k int) (map[string][]string, error) + func (p ProjectContext) SystemPromptFragment(profile ...ContextProfile) string + type SourceEntry struct + Content string + Truncated bool