Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServeOpenLinkerManifest ¶
func ServeOpenLinkerManifest(cfg *config.Config) echo.HandlerFunc
ServeOpenLinkerManifest returns an Echo handler for /.well-known/openlinker.json.
Types ¶
type ManifestAuth ¶
type ManifestAuth struct {
UserTokenHeader string `json:"user_token_header"`
UserTokenType string `json:"user_token_type"`
UserTokenPurposes []string `json:"user_token_purposes"`
AgentTokenHeader string `json:"agent_token_header"`
AgentTokenType string `json:"agent_token_type"`
AgentTokenPurposes []string `json:"agent_token_purposes"`
APIScopes []string `json:"api_scopes"`
AgentScopes []string `json:"agent_scopes"`
}
type ManifestBaseURLs ¶
type ManifestDocs ¶
type ManifestProtocols ¶
type ManifestStates ¶
type ManifestTools ¶
type ManifestWorkflowStatus ¶
type OpenLinkerManifest ¶
type OpenLinkerManifest struct {
Name string `json:"name"`
Version string `json:"version"`
Environment string `json:"environment,omitempty"`
BaseURLs ManifestBaseURLs `json:"base_urls"`
Docs ManifestDocs `json:"docs"`
Tools ManifestTools `json:"tools"`
Protocols ManifestProtocols `json:"protocols"`
Auth ManifestAuth `json:"auth"`
TokenScopes map[string]string `json:"token_scopes"`
Policies map[string]string `json:"policies"`
States ManifestStates `json:"states"`
Workflows ManifestWorkflowStatus `json:"workflows"`
}
OpenLinkerManifest is the public, machine-readable entrypoint for agents and external clients that want to discover stable OpenLinker docs and tools.
func NewManifest ¶
func NewManifest(cfg *config.Config) OpenLinkerManifest
NewManifest builds the public discovery manifest. It intentionally contains no per-user secrets, no private endpoint URLs, and no deployment internals.
Click to show internal directories.
Click to hide internal directories.