maintenance

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	SkillID              = "guiho-s-runx"
	PromptID             = "guiho-i-runx"
	ManagedStart         = "<!-- BEGIN RUNX — DO NOT EDIT THIS SECTION -->"
	ManagedEnd           = "<!-- END RUNX -->"
	MojibakeManagedStart = "<!-- BEGIN RUNX \u00e2\u20ac\u201d DO NOT EDIT THIS SECTION -->"
	LegacyManagedStart   = "<!-- BEGIN RUNX AGENT INSTRUCTIONS -->"
	LegacyManagedEnd     = "<!-- END RUNX AGENT INSTRUCTIONS -->"
)

Variables

This section is empty.

Functions

func DefaultInstructionBlock

func DefaultInstructionBlock() string

func EnsureDirectory

func EnsureDirectory(path string) error

func GlobalRunXDirectory

func GlobalRunXDirectory() string

func HomeDirectory

func HomeDirectory() string

func NearestAgentsPath

func NearestAgentsPath(cwd string) string

func PathExists

func PathExists(path string) bool

func ReadTextIfExists

func ReadTextIfExists(path string) (string, error)

func RemoveKnownManagedBlocks

func RemoveKnownManagedBlocks(existing string, includeLeadingWhitespace bool) string

func RemovePath

func RemovePath(path string) error

func ReplaceManagedBlock

func ReplaceManagedBlock(existing string, newBlock string) string

func SkillDirectories

func SkillDirectories(homeDir string) []string

func SpawnAgentMaintenanceWorker

func SpawnAgentMaintenanceWorker(execPath string, cwd string) error

func WriteTextFile

func WriteTextFile(path string, content string) error

func WriteTextFileAtomic

func WriteTextFileAtomic(path string, content string) error

Types

type MaintenanceResult

type MaintenanceResult struct {
	Skills       []string `json:"skills"`
	Instructions []string `json:"instructions"`
}

func MaintainAgentIntegration

func MaintainAgentIntegration(cwd string, homeDir string, embeddedSkill string) (*MaintenanceResult, error)

Jump to

Keyboard shortcuts

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