Documentation
¶
Overview ¶
Package agentadapter adapts host-approved skillkit activations to the goagent SkillProvider contract. It never registers or executes tools.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingResolver = errors.New("skill activation resolver is required") ErrMissingActivation = errors.New("skill activation is required") )
Functions ¶
This section is empty.
Types ¶
type ActivationResolver ¶
type ActivationResolver func(context.Context, agentcore.RunRequest) (*skillkit.Activation, error)
ActivationResolver resolves the host-selected activation for one agent run. The host remains responsible for deriving its tool policy from that same activation before it creates the run-scoped tool registry.
type Provider ¶
type Provider struct {
Resolve ActivationResolver
}
Provider maps an already authorized activation to model-facing skills.
Click to show internal directories.
Click to hide internal directories.