config

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package config implements agent-factory config command behavior.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandFactoryConfig

func ExpandFactoryConfig(cfg FactoryConfigExpandConfig) error

ExpandFactoryConfig writes a split factory directory layout from a canonical factory.json file. The target directory is the input file's parent directory, or the provided directory when cfg.Path points at a directory.

func FlattenFactoryConfig

func FlattenFactoryConfig(cfg FactoryConfigFlattenConfig) error

FlattenFactoryConfig writes the canonical single-file factory config for a factory directory or an existing factory.json payload.

Types

type FactoryConfigExpandConfig

type FactoryConfigExpandConfig struct {
	Path        string
	Verbose     bool
	Debug       bool
	Output      io.Writer
	Diagnostics io.Writer
}

FactoryConfigExpandConfig holds parameters for the config expand command.

type FactoryConfigFlattenConfig

type FactoryConfigFlattenConfig struct {
	Path        string
	Verbose     bool
	Debug       bool
	Output      io.Writer
	Diagnostics io.Writer
}

FactoryConfigFlattenConfig holds parameters for the config flatten command.

Jump to

Keyboard shortcuts

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