Versions in this module Expand all Collapse all v0 v0.6.3 May 3, 2026 Changes in this version + var AvailableModels = []Model + func BuildInstructions(data prompt.SectionData) string + func ModelName(id string) string + func ReadProjectInstructions(wd string) string + type Agent struct + Bridge *bridge.Bridge + LSP *lsp.Manager + MCP *mcp.Manager + MemoryPath string + PlanMode bool + Rewind *rewind.Manager + Root *os.Root + RootPath string + ScratchPath string + Skills []skill.Skill + func New(workDir string, ui UI) (*Agent, error) + func (a *Agent) Close() + func (a *Agent) InitMCP(ctx context.Context) error + func (a *Agent) InstructionsData() prompt.SectionData + func (a *Agent) IsGitRepo() bool + func (a *Agent) MemoryContent() string + func (a *Agent) RestartRewind() + func (a *Agent) SyncProjectMode() + func (a *Agent) WaitWarmUp() + func (a *Agent) WarmUp() + type Model struct + ID string + Name string + type UI interface + Ask func(ctx context.Context, message string) (string, error) + Confirm func(ctx context.Context, message string) (bool, error) + StatusUpdate func(status string)