legacyfeatureconfig

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const CanonicalID = "interleaved-thinking"

CanonicalID is the feature identifier in plugins.features for interleaved-thinking.

View Source
const KeepwarmCanonicalID = "keepwarm"

KeepwarmCanonicalID is the feature identifier in plugins.features for keepwarm.

Variables

This section is empty.

Functions

func NormalizeNode

func NormalizeNode(root *yaml.Node) error

NormalizeNode mutates the given YAML root AST in-place, converting any legacy top-level 'interleaved:' or 'prompt_cache:' mapping into a canonical 'plugins.features' entry. If both are present, a conflict error is returned.

func NormalizeYAML

func NormalizeYAML(raw []byte) ([]byte, error)

NormalizeYAML takes raw YAML configuration bytes and normalizes any legacy top-level 'interleaved:' or 'prompt_cache:' configuration into canonical 'plugins.features' entries. If both legacy and canonical entries exist, a deterministic conflict error is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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