Documentation
¶
Index ¶
- Constants
- func EnsurePaths(paths Paths) error
- func EnsurePathsWith(paths Paths, mkdirAll func(string, os.FileMode) error) error
- func Load() (Config, Paths, error)
- func LoadWith(resolve func() (Paths, error), ensure func(Paths) error, ...) (Config, Paths, error)
- func NormalizeReasoningBudgetMode(value string) (string, error)
- func ResolveReasoningBudgetMode(value string) string
- func Save(paths Paths, cfg Config) error
- func SaveWith(paths Paths, cfg Config, ensure func(Paths) error, ...) error
- type Advanced
- type Config
- type Paths
- type UpdateCheck
Constants ¶
View Source
const ( ReasoningBudgetStandard = "standard" ReasoningBudgetAgent = "agent" ReasoningBudgetAggressive = "aggressive" )
Variables ¶
This section is empty.
Functions ¶
func EnsurePaths ¶
func EnsurePathsWith ¶
Types ¶
type Advanced ¶ added in v0.4.0
type Advanced struct {
AggressivePrepareRewrites bool `json:"aggressive_prepare_rewrites"`
NoisePrefiltering bool `json:"noise_prefiltering"`
AdaptiveBudgets bool `json:"adaptive_budgets"`
EarlyCaptureStop bool `json:"early_capture_stop"`
SemanticCompaction bool `json:"semantic_compaction"`
CompressionContract bool `json:"compression_contract"`
CompactArtifactRefs bool `json:"compact_artifact_refs"`
}
type Config ¶
type Config struct {
TeeOnFailure bool `json:"tee_on_failure"`
MaxPreviewLines int `json:"max_preview_lines"`
MaxMatchGroups int `json:"max_match_groups"`
ReasoningBudgetMode string `json:"reasoning_budget_mode"`
Advanced Advanced `json:"advanced"`
UpdateCheck UpdateCheck `json:"update_check"`
ProjectRules rules.File `json:"-"`
}
type Paths ¶
type Paths struct {
ConfigDir string
ConfigFile string
DataDir string
HistoryFile string
TeeDir string
ProjectDir string
ProjectRuleFile string
}
func ResolvePaths ¶
type UpdateCheck ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.