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 Read ¶
func Read(archive []byte, expected Metadata) ([]agentbundle.File, error)
Read validates the full archive before exposing any files for installation.
func ValidateManifest ¶
ValidateManifest accepts portable descriptive metadata, not native activation controls.
Types ¶
type Metadata ¶
type Metadata struct {
Type string `json:"type"`
Name string `json:"name"`
Description string `json:"description"`
}
func Inspect ¶
Inspect obtains portable metadata from an uploaded bundle, then applies the same complete archive validation used for environment installation.
func InspectManifest ¶
InspectManifest shares the portable parser with Runtime directory discovery.