brief

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Config, repoRoot string) *Generator

func (*Generator) Generate

func (g *Generator) Generate(opts Options) (Output, error)

type Options

type Options struct {
	Task      string
	Files     []string
	Diff      bool
	MaxTokens int
}

type Output

type Output struct {
	Project  string                `json:"project,omitempty"`
	RepoRoot string                `json:"repo_root"`
	Task     string                `json:"task,omitempty"`
	Files    []string              `json:"files,omitempty"`
	Diff     bool                  `json:"diff,omitempty"`
	Context  contextpkg.JSONOutput `json:"context"`
	Plan     *planpkg.Output       `json:"plan,omitempty"`
	Markdown string                `json:"markdown"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL