{"modulePath":"github.com/MiniMax-AI/OpenAgentCore","version":"v0.0.14","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package agentplugin\n\nPackage agentplugin validates the supported inert Agents API Plugin format.\n\n## Variables\n\n```go\nvar ErrInvalid = errors.New(\"invalid or unsupported Plugin bundle\")\n```\n\n## Functions\n\n```go\nfunc ValidHTTPHeaders(headers map[string]string) bool\n```\nValidHTTPHeaders reports whether every MCP header has a valid HTTP name and value, with names unique ignoring case.\n\n## Types\n\n```go\ntype Bundle struct {\n\tMetadata proto.PluginMetadata\n\tFiles    []agentbundle.File\n\tSkills   []Skill\n\tMCP      []proto.PluginMCPServer\n}\n```\n\n```go\nfunc Inspect(files []agentbundle.File) (Bundle, error)\n```\nInspect consumes files already bounded and rooted by the archive reader or Runtime snapshotter. It never executes or imports the native Plugin manifest.\n\n```go\nfunc Read(archive []byte, expected proto.PluginMetadata) (Bundle, error)\n```\nRead validates the archive and its declared identity without native loading.\n\n```go\ntype Skill struct {\n\tMetadata     proto.SkillMetadata `json:\"metadata\"`\n\tRelativeRoot string              `json:\"relative_root\"`\n}\n```\nSkill identifies a validated root inside its preserved Plugin package.\n\n","path":"github.com/MiniMax-AI/OpenAgentCore/internal/agentplugin","name":"agentplugin","synopsis":"Package agentplugin validates the supported inert Agents API Plugin format.","isRedistributable":true}
