Versions in this module Expand all Collapse all v0 v0.1.1 May 1, 2026 Changes in this version + func FindTemplate(all []types.Template, query string) *types.Template + func LoadTemplates(dir string) ([]types.Template, error) + func ParseInto(raw string, v any) error + func Play(enabled bool, event SoundEvent) + type Agent struct + Brief string + Debug bool + History []types.Turn + MaxTurns int + O *OllamaClient + Template types.Template + Title string + func (a *Agent) Finalize(ctx context.Context) (types.AgentResponse, error) + func (a *Agent) NextTurn(ctx context.Context, turn int) (types.AgentResponse, error) + type GitHub struct + Repo string + func NewGitHub(repo string) *GitHub + func (g *GitHub) AssignMe(ctx context.Context, number int) error + func (g *GitHub) CheckAuth(ctx context.Context) error + func (g *GitHub) Close(ctx context.Context, number int) error + func (g *GitHub) Comment(ctx context.Context, number int, body string) error + func (g *GitHub) Comments(ctx context.Context, number int) ([]types.Comment, error) + func (g *GitHub) Create(ctx context.Context, draft types.Draft) (string, error) + func (g *GitHub) EditIssue(ctx context.Context, number int, title, body string) error + func (g *GitHub) List(ctx context.Context, state string, limit int) ([]types.Issue, error) + func (g *GitHub) Reopen(ctx context.Context, number int) error + func (g *GitHub) Unassign(ctx context.Context, number, _unused int) error + func (g *GitHub) View(ctx context.Context, number int) (*types.Issue, error) + type OllamaClient struct + HTTP *http.Client + Host string + Model string + Timeout time.Duration + func NewOllama(host, model string, timeout time.Duration) *OllamaClient + func (c *OllamaClient) GenerateJSON(ctx context.Context, prompt string) (string, error) + func (c *OllamaClient) Ping(ctx context.Context) error + func (c *OllamaClient) StreamCmd(ctx context.Context, prompt string, send func(tea.Msg)) tea.Cmd + type SoundEvent int + const SoundDone + const SoundError + const SoundTick + type StreamDoneMsg struct + Full string + type StreamErrMsg struct + Err error + type TokenMsg struct + Chunk string