config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReasonYAMLInvalid             = appconfig.ReasonYAMLInvalid
	ReasonSizeInvalid             = appconfig.ReasonSizeInvalid
	ReasonCredentialKeyDetected   = appconfig.ReasonCredentialKeyDetected
	ReasonCredentialValueDetected = appconfig.ReasonCredentialValueDetected
)
View Source
const (
	ConfigVersion            = appconfig.ConfigVersion
	DefaultKimiModel         = appconfig.DefaultKimiModel
	DefaultAGYPermissionMode = appconfig.DefaultAGYPermissionMode
	ConfigRelativePath       = appconfig.ConfigRelativePath
	MaximumConfigBytes       = appconfig.MaximumConfigBytes
	ProjectKindNonUI         = appconfig.ProjectKindNonUI
	ProjectKindUI            = appconfig.ProjectKindUI
	DefaultArtistBriefPath   = appconfig.DefaultArtistBriefPath
)

Variables

View Source
var DefaultArtistDesignSpecGlobs = append([]string(nil), appconfig.DefaultArtistDesignSpecGlobs...)

Functions

func DefaultKimiDataHome

func DefaultKimiDataHome(nativeHome string) string

func EncodeCanonical

func EncodeCanonical(config Config) ([]byte, error)

EncodeCanonical emits the one stable operator-local representation.

func RunTotalOutputCapBytes

func RunTotalOutputCapBytes(config Config) (int64, error)

Types

type AGYProviderConfig

type AGYProviderConfig = appconfig.AGYProviderConfig

type AdmissionError

type AdmissionError = appconfig.AdmissionError

func AsAdmissionError

func AsAdmissionError(err error) (*AdmissionError, bool)

type ArtistInputsConfig

type ArtistInputsConfig = appconfig.ArtistInputsConfig

type CIConfig

type CIConfig = appconfig.CIConfig

type Config

type Config = appconfig.Config

func Decode

func Decode(data []byte) (Config, error)

Decode admits the sole local configuration. Defaults are expanded in the returned typed value while EncodeCanonical omits defaulted optional fields.

type EvidenceConfig

type EvidenceConfig = appconfig.EvidenceConfig

type ExecutionConfig

type ExecutionConfig = appconfig.ExecutionConfig

type KimiProviderConfig

type KimiProviderConfig = appconfig.KimiProviderConfig

type LocalConfigObservation

type LocalConfigObservation struct{}

func (LocalConfigObservation) ConfigIdentity

func (LocalConfigObservation) ConfigIdentity() (uint64, uint64, uint32, uint32, uint64, int64)

func (LocalConfigObservation) Present

func (LocalConfigObservation) Present() bool

func (LocalConfigObservation) PrivateDirectoryIdentity

func (LocalConfigObservation) PrivateDirectoryIdentity() (uint64, uint64)

func (LocalConfigObservation) Proof

func (LocalConfigObservation) RootIdentity

func (LocalConfigObservation) RootIdentity() (uint64, uint64, uint32, uint32)

func (LocalConfigObservation) SHA256

func (LocalConfigObservation) SHA256() string

type LocalConfigSource

type LocalConfigSource struct{}

func NewLocalConfigSource

func NewLocalConfigSource(ports.AnchoredRoot, bool) (*LocalConfigSource, error)

func (*LocalConfigSource) DirectoryIdentity

func (*LocalConfigSource) DirectoryIdentity() (ports.ConfigDirectoryIdentity, error)

func (*LocalConfigSource) Observation

func (*LocalConfigSource) Present

func (*LocalConfigSource) Present() bool

func (*LocalConfigSource) Proof

func (*LocalConfigSource) Read

func (*LocalConfigSource) Revalidate

func (*LocalConfigSource) Revalidate() error

type NativeUserConfig

type NativeUserConfig = appconfig.NativeUserConfig

type ProjectConfig

type ProjectConfig = appconfig.ProjectConfig

type ProvidersConfig

type ProvidersConfig = appconfig.ProvidersConfig

type ReasonCode

type ReasonCode = appconfig.ReasonCode

type RepairConfig

type RepairConfig = appconfig.RepairConfig

type ResourcesConfig

type ResourcesConfig = appconfig.ResourcesConfig

type ReviewConfig

type ReviewConfig = appconfig.ReviewConfig

type RoleConfig

type RoleConfig = appconfig.RoleConfig

type RolesConfig

type RolesConfig = appconfig.RolesConfig

func CanonicalRolesConfig

func CanonicalRolesConfig(families []string) (RolesConfig, error)

func CanonicalRolesConfigForSelection

func CanonicalRolesConfigForSelection(families, roles []string) (RolesConfig, error)

func CanonicalRolesConfigForUI

func CanonicalRolesConfigForUI(families []string) (RolesConfig, error)

type SourceFactory

type SourceFactory struct{}

func (SourceFactory) OpenConfigSource

func (SourceFactory) OpenConfigSource(root ports.AnchoredRoot, allowAbsent bool) (ports.ConfigSource, error)

type ValidationConfig

type ValidationConfig = appconfig.ValidationConfig

type YAMLCodec

type YAMLCodec struct{}

YAMLCodec implements the application-owned configuration codec port.

func (YAMLCodec) Decode

func (YAMLCodec) Decode(data []byte) (Config, error)

func (YAMLCodec) EncodeCanonical

func (YAMLCodec) EncodeCanonical(config Config) ([]byte, error)

type ZCodeProviderConfig

type ZCodeProviderConfig = appconfig.ZCodeProviderConfig

Jump to

Keyboard shortcuts

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