Versions in this module Expand all Collapse all v0 v0.1.0 Apr 3, 2026 Changes in this version + func BuildFullSystemPrompt(cfg SystemPromptConfig, tools []provider.ToolDef) string + func BuildSystemContext(cfg SystemPromptConfig) string + func BuildSystemPrompt(tools []provider.ToolDef, projectInstructions string) string + func BuildUserContext(cfg SystemPromptConfig) string + func FormatMemoryForPrompt(files []MemoryFileInfo, projectDir string) string + func GetGitStatus(workDir string) string + func IsGitRepo(workDir string) bool + type MemoryFileInfo struct + Content string + Path string + Type MemoryType + func DiscoverMemoryFiles(projectDir, homeDir string) []MemoryFileInfo + type MemoryType string + const MemoryTypeAutoMem + const MemoryTypeLocal + const MemoryTypeManaged + const MemoryTypeProject + const MemoryTypeUser + type SystemPromptConfig struct + HomeDir string + MaxContext int + Model string + PermMode string + Provider string + ToolCount int + Version string + WorkDir string