Versions in this module Expand all Collapse all v1 v1.4.0 Oct 20, 2026 Changes in this version + const APIVersion + const CheckpointLogical + const CheckpointNone + const DefaultNamespace + const Kind + const LegacyAPIVersion + const LegacyManifestAPIVersion + const ManifestAPIVersion + const ManifestKind + const MaxAttemptsLimit + const MaxNameLength + const MaxVersionLength + const RuntimeInterfaceV1 + const RuntimeInterfaceV1Alpha1 + func CanonicalizeSpec(raw json.RawMessage) (json.RawMessage, [sha256.Size]byte, error) + func FormatRef(namespace, name, version string) string + func ParseRef(ref string) (namespace, name, version string, err error) + func ValidateName(name string) error + func ValidateNamespace(namespace string) error + func ValidateSpec(raw json.RawMessage) error + func ValidateVersion(version string) error + type Budget struct + CostMicroUSD money.MicroUSD + Tokens int64 + ToolCalls int64 + WallSeconds int64 + type Capabilities struct + ChildAgents []string + Memory []string + MemorySensitivities []string + Models []string + Peers []string + Secrets []string + SpawnTasks bool + ToolVersions []string + Tools []string + type CheckpointPolicy struct + IntervalSeconds int64 + Mode string + SchemaVersion string + type Image struct + Digest string + Ref string + type Lifecycle struct + MaxAttempts int + type Manifest struct + APIVersion string + Kind string + Metadata Metadata + Spec Spec + func DecodeManifest(raw []byte) (Manifest, json.RawMessage, [sha256.Size]byte, error) + func (m *Manifest) NormalizeLegacyIdentifiers() + func (m Manifest) PromoteToV1() (Manifest, error) + func (m Manifest) Ref() string + func (m Manifest) Validate() error + type Metadata struct + Name string + Namespace string + Version string + type ResourceLimits struct + CPUMillis int64 + MemoryMiB int64 + WorkspaceBytes int64 + type RuntimeClassPolicy struct + Allowed []string + Preferred string + type RuntimeTarget struct + Class string + Entrypoint []string + Interface string + RuntimeABI string + type Spec struct + Budget *Budget + Capabilities *Capabilities + Checkpoint *CheckpointPolicy + Image *Image + Lifecycle Lifecycle + Resources *ResourceLimits + RuntimeClassPolicy RuntimeClassPolicy + Runtimes []RuntimeTarget + type ToolGrantSet struct + Capability []string + NameLevel []string + Versioned []string + func PublicationToolGrants(capabilitiesTools, capabilityToolVersions []string) ToolGrantSet + func SplitToolGrants(grants []string) ToolGrantSet