agentmeta

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(cat *catalog.Catalog, f File) error

func ChangedConfirmations

func ChangedConfirmations(base, next map[string]*bool) map[string]bool

func Confirmations

func Confirmations(f File) map[string]*bool

Types

type Entry

type Entry struct {
	Operation    string   `yaml:"operation"`
	SideEffect   *string  `yaml:"side_effect"`
	Confirmation *bool    `yaml:"confirmation"`
	Permissions  []string `yaml:"permissions"`
	Idempotency  *string  `yaml:"idempotency"`
	Retry        *string  `yaml:"retry"`
	Exposure     *string  `yaml:"exposure"`
}

Nil pointers leave the derived value.

type File

type File struct {
	Operations []Entry `yaml:"operations"`
}

func Load

func Load(path string) (File, error)

Jump to

Keyboard shortcuts

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