agentcatalog

package
v0.26.0-alpha1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package agentcatalog holds the server-side rules for an agent config source.

The manifest validates its own shape, in apiclient/types, where the UI can apply the same rules before submitting. What lives here is the part that depends on how this server is running rather than on the data: a repository on the local filesystem is a reasonable source when a developer is iterating on a catalog, and is not one anywhere else. That is Obot's policy, not a property of the manifest, so a client has no business knowing it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(manifest types.AgentCatalogManifest, allowLocalRepos bool) error

Validate applies the manifest's own rules, additionally accepting a repository on the local filesystem when allowLocalRepos is set -- which callers must derive from Obot's development mode.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL