Versions in this module Expand all Collapse all v0 v0.1.0 Jun 6, 2026 Changes in this version + const DefaultBackupKeep + func BackupFile(home, path string) (string, error) + func CollectPointers(m map[string]any, prefix string) []string + func IsKeyMerge(strategy string) bool + func OrphanFiles(s *state.Targets, userHome, agent string, scope adapter.Scope, project string, ...) []string + func PruneBackups(home string, keep int) error + func PruneStaleState(s *state.Targets, userHome, agent string, scope adapter.Scope, project string, ...) + func RecordOpsState(s *state.Targets, userHome, agent string, scope adapter.Scope, project string, ...) error + type AgentResult struct + Ops []adapter.FileOp + Skips []adapter.Skip + type CollisionReport struct + Agent string + BackupTo string + Path string + Pointer string + func Apply(p RenderPlan, reg *adapter.Registry, st *state.Targets, home string, ...) ([]CollisionReport, map[string]bool, map[string]bool, error) + func PreviewApply(p RenderPlan, reg *adapter.Registry, st *state.Targets, home string, ...) (reports []CollisionReport, unchanged, wouldChange map[string]bool, err error) + func (r CollisionReport) String() string + type PluginRow struct + Agent string + Commands int + Coverage string + Disabled bool + MCP int + Plugin string + Skips int + type RenderPlan struct + PerAgent map[string]AgentResult + func Plan(r secrets.Resolved, reg *adapter.Registry, agents []string, ...) (RenderPlan, error) + func (p RenderPlan) Total() int + type TranslationReport struct + Rows []PluginRow + func BuildReport(c source.Canonical, plan RenderPlan, agents []string) TranslationReport + func (r TranslationReport) PrintJSON(w io.Writer) error + func (r TranslationReport) PrintText(w io.Writer) + func (r TranslationReport) PrintTextStyled(w io.Writer, p *ui.Printer) + type Writer struct + func NewPreviewWriter(st *state.Targets, home, userHome string, scope adapter.Scope, ...) *Writer + func NewWriter(st *state.Targets, home, userHome string, scope adapter.Scope, ...) *Writer + func (w *Writer) Delete(op adapter.FileOp) error + func (w *Writer) Reports() []CollisionReport + func (w *Writer) Unchanged() map[string]bool + func (w *Writer) WouldChange() map[string]bool + func (w *Writer) Write(op adapter.FileOp, finalBytes []byte) error + func (w *Writer) Wrote() map[string]bool