schemas

package
v0.4.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Plugin = Schema{
	// contains filtered or unexported fields
}

Plugin is the embedded schema handle for PLUGIN.yaml.

View Source
var WorkflowDelegationBundle = Schema{
	// contains filtered or unexported fields
}

WorkflowDelegationBundle is the embedded schema handle for .agents/active/delegation-bundles/<delegation-id>.yaml.

Functions

func AgentsRCSchemaJSON added in v0.4.0

func AgentsRCSchemaJSON() []byte

AgentsRCSchemaJSON returns the canonical AgentsRC (.agentsrc.json) JSON schema bytes. It is exported so command code can validate against the single canonical schema without copying the file (go:embed cannot reach a sibling directory).

func Validate

func Validate(schema Schema, jsonBytes []byte) error

Validate checks jsonBytes against the supplied schema handle.

Types

type Schema

type Schema struct {
	// contains filtered or unexported fields
}

Schema is a lightweight embedded schema handle used by repo-local manifest loaders. The data is embedded so callers can keep schema documentation and validation logic in one place without a runtime dependency on an external compiler.

Jump to

Keyboard shortcuts

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