catalogembed

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: Apache-2.0 Imports: 14 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package catalogembed composes manifest YAML into the SDK catalog embed schema. Server-module only — imports app/* and writes sdk/catalog/catalog.json.

Index

Constants

This section is empty.

Variables

View Source
var SDKAdapters = map[string]struct{}{
	"openai":           {},
	"openai_responses": {},
	"anthropic":        {},
	"gemini":           {},
}

SDKAdapters is the adapter-name set the public SDK client supports today.

Functions

func Compose

func Compose(docs []manifest.Document, generatedAt time.Time) (*sdkcatalog.Catalog, error)

Compose loads manifest documents into a catalog snapshot and flattens it to the SDK embed schema. Cross-refs resolve via minted ids (no Postgres).

func MarshalJSON

func MarshalJSON(c *sdkcatalog.Catalog) ([]byte, error)

MarshalJSON encodes c deterministically (sorted hosts and bindings).

func ValidateAdapters

func ValidateAdapters(c *sdkcatalog.Catalog) error

ValidateAdapters returns an error if any binding uses an adapter name outside SDKAdapters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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