Versions in this module Expand all Collapse all v1 v1.1.0 Dec 26, 2025 v1.0.0 Dec 26, 2025 Changes in this version + var ErrContextTooLarge = errors.New("context too large") + func Artifact(ctx context.Context) *artifact.Manager + func GetRunner(ctx context.Context) git.CommandRunner + func Git(ctx context.Context) *git.Context + func LLM(ctx context.Context) claude.Client + func MustArtifact(ctx context.Context) *artifact.Manager + func MustGit(ctx context.Context) *git.Context + func MustLLM(ctx context.Context) claude.Client + func MustPR(ctx context.Context) pr.Provider + func MustPrompt(ctx context.Context) *prompt.Loader + func MustTranscript(ctx context.Context) transcript.Manager + func PR(ctx context.Context) pr.Provider + func Prompt(ctx context.Context) *prompt.Loader + func Runner(ctx context.Context) git.CommandRunner + func Transcript(ctx context.Context) transcript.Manager + func WithArtifact(ctx context.Context, mgr *artifact.Manager) context.Context + func WithGit(ctx context.Context, gitCtx *git.Context) context.Context + func WithLLM(ctx context.Context, client claude.Client) context.Context + func WithPR(ctx context.Context, provider pr.Provider) context.Context + func WithPrompt(ctx context.Context, loader *prompt.Loader) context.Context + func WithRunner(ctx context.Context, runner git.CommandRunner) context.Context + func WithTranscript(ctx context.Context, mgr transcript.Manager) context.Context + type Config struct + BaseDir string + LLMModel string + LLMWorkdir string + PromptDir string + RepoPath string + type ContextBuilder struct + func NewContextBuilder(workDir string) *ContextBuilder + func (b *ContextBuilder) AddContent(path string, content []byte) + func (b *ContextBuilder) AddFile(path string) error + func (b *ContextBuilder) AddGlob(pattern string) error + func (b *ContextBuilder) Build() (string, error) + func (b *ContextBuilder) Clear() + func (b *ContextBuilder) FileCount() int + func (b *ContextBuilder) TotalSize() int64 + func (b *ContextBuilder) WithLimits(limits ContextLimits) *ContextBuilder + type ContextLimits struct + MaxFileCount int + MaxFileSize int64 + MaxTotalSize int64 + func DefaultContextLimits() ContextLimits + type FileSelector struct + func NewFileSelector(workDir string) *FileSelector + func (s *FileSelector) Exclude(patterns ...string) *FileSelector + func (s *FileSelector) Include(patterns ...string) *FileSelector + func (s *FileSelector) Select() ([]string, error) + type Services struct + Artifacts *artifact.Manager + Git *git.Context + LLM claude.Client + Notifier notify.Notifier + Prompts *prompt.Loader + Runner git.CommandRunner + Transcripts transcript.Manager + func NewServices(cfg Config) (*Services, error) + func (s *Services) InjectAll(ctx context.Context) context.Context