Documentation
¶
Index ¶
- func AppendMarkedBlock(existing []byte, owner string, body []byte) []byte
- func BeginMarker(owner string) string
- func ClientConfigPaths(home, targetOS string) (map[string]string, error)
- func EndMarker(owner string) string
- func UninstallCodexMCP(home string) error
- func UninstallMarkedBlock(path, owner string) error
- type ApplyResult
- type Change
- type Client
- type Plan
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeginMarker ¶
func UninstallCodexMCP ¶
func UninstallMarkedBlock ¶
Types ¶
type ApplyResult ¶
type ApplyResult struct {
Applied int `json:"applied"`
Skipped int `json:"skipped"`
BackupDirectory string `json:"backupDirectory,omitempty"`
}
func Apply ¶
func Apply(plan Plan) (ApplyResult, error)
type Client ¶
type Client struct {
ID string `json:"id"`
Name string `json:"name"`
Detected bool `json:"detected"`
ConfigPaths []string `json:"configPaths"`
}
func DetectClients ¶
type Plan ¶
type Plan struct {
Home string `json:"home"`
Detected []Client `json:"detected"`
Changes []Change `json:"changes"`
Warnings []string `json:"warnings"`
}
func BuildAllPlan ¶
func BuildCodexMCPPlan ¶
Click to show internal directories.
Click to hide internal directories.