Versions in this module Expand all Collapse all v0 v0.0.4 Aug 3, 2025 Changes in this version + type ModeProcessor struct + func NewModeProcessor(base *BaseProcessor) *ModeProcessor + func (p *ModeProcessor) GetOutputPath(agent agent.Agent, outputPath string) string + func (p *ModeProcessor) Process(inputs []string, cfg *OutputConfig) (*TaskResult, error) + type ProcessorStrategy interface + FormatMany func(a agent.Agent, items []T) (string, error) + FormatOne func(a agent.Agent, item T) (string, error) + GetContent func(item T) string + Parse func(absPath string, raw []byte) (T, error) + SetContent func(item T, content string) T v0.0.3 Jul 21, 2025 Changes in this version type ProcessedFile + AgentName string v0.0.2 Jul 20, 2025 Changes in this version + func IsDirectory(path string) bool + func RemoveFileExtension(path string) string + type BaseProcessor struct + func NewBaseProcessor(fs util.FileSystem, logger *zap.Logger, absInputRoot string, ...) *BaseProcessor + type CommandProcessor struct + func NewCommandProcessor(base *BaseProcessor) *CommandProcessor + func (p *CommandProcessor) GetOutputPath(agent agent.Agent, outputPath string) string + func (p *CommandProcessor) Process(inputs []string, cfg *OutputConfig) (*TaskResult, error) + type FSAdapter struct + func NewFSAdapter(fs util.FileSystem) *FSAdapter + func (a *FSAdapter) Exists(path string) bool + func (a *FSAdapter) Glob(patterns []string) ([]string, error) + func (a *FSAdapter) Read(path string) ([]byte, error) + func (a *FSAdapter) ResolvePath(path string) string + type Manager struct + func NewManager(cfgPath string, logger *zap.Logger, output log.OutputWriter) (*Manager, error) + func (m *Manager) Apply(projects []string, dryRun, force bool) error + type MemoryProcessor struct + func NewMemoryProcessor(base *BaseProcessor) *MemoryProcessor + func (p *MemoryProcessor) GetOutputPath(agent agent.Agent, outputPath string) string + func (p *MemoryProcessor) Process(inputs []string, cfg *OutputConfig) (*TaskResult, error) + type OutputConfig struct + Agent agent.Agent + AgentName string + IsDirectory bool + RelPath string + type Pipeline struct + AbsInputRoot string + AbsOutputDirs []string + DryRun bool + Force bool + Task config.Task + UserScope bool + func NewPipeline(task config.Task, absInputRoot string, outputDirs []string, userScope bool, ...) (*Pipeline, error) + func (p *Pipeline) Execute() error + type ProcessedFile struct + Content string + type TaskProcessor interface + GetOutputPath func(agent agent.Agent, outputPath string) string + Process func(inputs []string, cfg *OutputConfig) (*TaskResult, error) + type TaskResult struct + Files []ProcessedFile