Versions in this module Expand all Collapse all v0 v0.1.0 Dec 3, 2026 Changes in this version + const ContractName + const ContractVersion + const MaxWireTensorBytes + const Protocol + var ContractRef = plugin.ContractRef + func PackageExecutable(options ExecutablePackage) (packagekit.Manifest, error) + func RegisterProvider(registry *author.Registry, provider domain.Provider, ...) (*plugin.Descriptor, error) + func ServeCurrentExecutable(ctx context.Context, id, version string, provider domain.Provider, ...) error + func ServeStdio(ctx context.Context, id plugin.Identity, provider domain.Provider, ...) error + type Client struct + func NewClient(caller author.Caller) *Client + func NewProcessClient(process ProcessCaller) *Client + func (c *Client) Infer(ctx context.Context, request InferRequest) (InferResponse, error) + type ExecutablePackage struct + Arch string + Binary string + ID string + OS string + OutputDir string + Version string + type InferRequest struct + Inputs []domain.Tensor + Reference string + Root string + func (r InferRequest) Validate() error + type InferResponse struct + Outputs []domain.Tensor + func (r InferResponse) Validate() error + type ProcessCaller interface + Call func(context.Context, string, any, any) error