Documentation
¶
Overview ¶
Package agentskill validates inert Skill bundles without native loading rules.
Index ¶
Constants ¶
const ( MaxArchiveBytes = agentbundle.MaxArchiveBytes MaxExpandedBytes = agentbundle.MaxExpandedBytes MaxFiles = agentbundle.MaxFiles )
Variables ¶
var ErrInvalid = errors.New("invalid or unsupported Skill bundle")
Functions ¶
func Inspect ¶
func Inspect(archive []byte) (proto.SkillMetadata, error)
Inspect obtains portable metadata from an uploaded bundle, then applies the same complete archive validation used for environment installation.
func InspectManifest ¶
func InspectManifest(body []byte) (proto.SkillMetadata, error)
InspectManifest shares the portable parser with Runtime directory discovery.
func Read ¶
func Read(archive []byte, expected proto.SkillMetadata) ([]agentbundle.File, error)
Read validates the full archive before exposing any files for installation.
func ValidateManifest ¶
func ValidateManifest(body []byte, expected proto.SkillMetadata) error
ValidateManifest accepts portable descriptive metadata, not native activation controls.
Types ¶
This section is empty.