Documentation
¶
Overview ¶
Package tool holds the registry of actions the agent may take. Every tool declares a capability class so the policy layer can gate whole categories without knowing individual tools.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Class ¶
type Class string
Class is what a tool is allowed to touch, from the policy engine's point of view. One class per tool, the strongest thing it does.
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry is an ordered set of tools. The zero value and the nil pointer are both empty, usable registries.
func NewRegistry ¶
NewRegistry builds a registry from tools, keeping order.
Click to show internal directories.
Click to hide internal directories.