Documentation
¶
Overview ¶
Package elements registers the production standard-library element descriptors and in-process factories. Provider and application plugins add their own entries without modifying this package or the graph compiler.
Index ¶
- func AssemblyCatalog() (graphassembly.Catalog, error)
- func Catalog() (*resolve.Catalog, error)
- func FactoryRegistrations() ([]graphruntime.FactoryRegistration, error)
- func RegisterDescriptors(catalog *resolve.Catalog) error
- func RegisterFactories(registry *graphruntime.Registry) error
- func RuntimeRegistry() (*graphruntime.Registry, error)
- type AssemblyInventory
- type ConfigSchemaCatalog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssemblyCatalog ¶
func AssemblyCatalog() (graphassembly.Catalog, error)
AssemblyCatalog returns the complete built-in executable catalog used by a graph-native production launcher: every standard in-process element factory plus graph/runtime's mount-scoped clock, sequence, and secret-access coeffects. Provider plugins compose their own dependencies and secret providers onto this value before Discovery and graph-scoped Select.
func FactoryRegistrations ¶
func FactoryRegistrations() ([]graphruntime.FactoryRegistration, error)
FactoryRegistrations returns the deterministic exact in-process profiles for the complete standard element library. Provider plugins may clone and enrich a selected profile with deployment-resolved capabilities before using it for config discovery and graph assembly.
func RegisterDescriptors ¶
func RegisterFactories ¶
func RegisterFactories(registry *graphruntime.Registry) error
func RuntimeRegistry ¶
func RuntimeRegistry() (*graphruntime.Registry, error)
Types ¶
type AssemblyInventory ¶
type AssemblyInventory struct {
Implementations []string `json:"implementations"`
RuntimeDependencies []string `json:"runtime_dependencies"`
ExternalRequiredDependencies []string `json:"external_required_dependencies"`
ExternalOptionalDependencies []string `json:"external_optional_dependencies"`
ConfigSchemas []string `json:"config_schemas"`
UnresolvedConfigSchemas []string `json:"unresolved_config_schemas,omitempty"`
}
AssemblyInventory is the deterministic build-time surface of the standard library. External dependencies and genuinely unknown config schemas are explicit plugin gaps: AssemblyCatalog does not fabricate implementations for them.
func Inventory ¶
func Inventory() (AssemblyInventory, error)
Inventory derives the complete standard descriptor/plugin boundary. It is safe for startup diagnostics and contains no service handles, values, credentials, provider locators, or other private deployment state.
type ConfigSchemaCatalog ¶
type ConfigSchemaCatalog struct {
// contains filtered or unexported fields
}
ConfigSchemaCatalog is the immutable standard-library values contract. It contains configuration structure only: provider deployments may add factories and services, but cannot reinterpret the built-in element configuration accepted by a frozen descriptor.
func StandardConfigSchemaCatalog ¶
func StandardConfigSchemaCatalog() (*ConfigSchemaCatalog, error)
StandardConfigSchemaCatalog constructs the complete, self-contained Draft 2020-12 schema catalog for standard element descriptors. JSON Schema checks every representable shape and bound during config.Plan creation; the exact Factory.ConfigValidator is deliberately run again by runtime.PreparePlan for semantic constraints such as one configured byte limit bounding another.
func (*ConfigSchemaCatalog) References ¶
func (catalog *ConfigSchemaCatalog) References() []string
References returns the exact deterministic config-schema inventory.
func (*ConfigSchemaCatalog) ResolveConfigSchema ¶
func (catalog *ConfigSchemaCatalog) ResolveConfigSchema( ctx context.Context, reference string, ) (graphschema.ResolvedSchema, error)
ResolveConfigSchema implements graph/schema.Resolver without filesystem or network fallback. Unknown plugin contracts remain unknown and therefore fail config.Plan's RequireResolved deployment gate.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package acoustic exposes acoustic admission and endpoint ownership as independently composable graph elements.
|
Package acoustic exposes acoustic admission and endpoint ownership as independently composable graph elements. |
|
Package action exposes graph-native, independently rewritable authority and tool-execution elements over the repository's proven action, computer-use, and trajectory contracts.
|
Package action exposes graph-native, independently rewritable authority and tool-execution elements over the repository's proven action, computer-use, and trajectory contracts. |
|
Package cognition implements graph-native model execution over the repository's provider-neutral continuation API.
|
Package cognition implements graph-native model execution over the repository's provider-neutral continuation API. |
|
Package compatbinding mounts the existing binding.Runtime behind one coarse graph element.
|
Package compatbinding mounts the existing binding.Runtime behind one coarse graph element. |
|
Package flow implements the standard, typed connector elements used to make branching, arbitration, dropping, and protocol transformations explicit in an OpenRealtime graph.
|
Package flow implements the standard, typed connector elements used to make branching, arbitration, dropping, and protocol transformations explicit in an OpenRealtime graph. |
|
Package ingress normalizes authenticated external content into typed graph observations and explicit retained-media requests.
|
Package ingress normalizes authenticated external content into typed graph observations and explicit retained-media requests. |
|
Package interaction contains graph-native composition policy between model preparation and externally visible action.
|
Package interaction contains graph-native composition policy between model preparation and externally visible action. |
|
internal
|
|
|
factoryprofile
Package factoryprofile constructs the exact in-process runtime profiles published by standard element packages.
|
Package factoryprofile constructs the exact in-process runtime profiles published by standard element packages. |
|
liveidentity
Package liveidentity validates and reports exact runtime/provider identities for graph-native elements.
|
Package liveidentity validates and reports exact runtime/provider identities for graph-native elements. |
|
Package media contains graph-native retained-media and attachment-resolution elements.
|
Package media contains graph-native retained-media and attachment-resolution elements. |
|
Package model implements a graph-native process/remote model boundary.
|
Package model implements a graph-native process/remote model boundary. |
|
Package perception implements graph-native perception elements over the repository's stable provider APIs.
|
Package perception implements graph-native perception elements over the repository's stable provider APIs. |
|
Package policy contains graph-native control policies that translate typed observations and state into explicit activation decisions.
|
Package policy contains graph-native control policies that translate typed observations and state into explicit activation decisions. |
|
Package speech implements graph-native speech synthesis and playback elements.
|
Package speech implements graph-native speech synthesis and playback elements. |
|
Package state contains graph-native state and memory elements.
|
Package state contains graph-native state and memory elements. |
|
Package video provides graph-native ingress and observation-cadence policy for camera, screen, and general video sources.
|
Package video provides graph-native ingress and observation-cadence policy for camera, screen, and general video sources. |