Documentation
¶
Overview ¶
Package graph elaborates frontend-neutral topology into immutable Graph IR.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Diagnostic ¶
type Diagnostic struct {
Code string `json:"code" yaml:"code"`
Path string `json:"path,omitempty" yaml:"path,omitempty"`
Span syntax.Span `json:"span" yaml:"span"`
Message string `json:"message" yaml:"message"`
Notes []string `json:"notes,omitempty" yaml:"notes,omitempty"`
}
Diagnostic is a stable, source-mapped compiler finding.
func (Diagnostic) Error ¶
func (diagnostic Diagnostic) Error() string
type Errors ¶
type Errors struct {
Diagnostics []Diagnostic
}
Errors is returned only when elaboration cannot produce a sound graph. It can carry several independent diagnostics from one compile.
type FileLoader ¶
type FileLoader struct{}
FileLoader resolves local imports relative to the importing topology.
type Options ¶
type Options struct {
Catalog *resolve.Catalog
Lock resolve.Lock
ResolutionMode resolve.Mode
Revision uint64
ChannelDepth map[string]int
Loader SourceLoader
// contains filtered or unexported fields
}
Options controls pure elaboration. ChannelDepth contains exceptional, positive overrides keyed by explicit or endpoint-derived edge identity.
type SourceLoader ¶
SourceLoader resolves a graph-library import without running code or acquiring resources. The returned file must retain its actual source path.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package assembly is the graph-native production boundary between an immutable config plan and the executable plugins selected for that plan.
|
Package assembly is the graph-native production boundary between an immutable config plan and the executable plugins selected for that plan. |
|
Package binding adapts one existing binding.Binding into a coarse graph element.
|
Package binding adapts one existing binding.Binding into a coarse graph element. |
|
adaptivevideo
Package adaptivevideo adapts the stable Realtime video and observation operations to the typed boundaries exported by a graph-native adaptive video composition.
|
Package adaptivevideo adapts the stable Realtime video and observation operations to the typed boundaries exported by a graph-native adaptive video composition. |
|
realtimecu
Package realtimecu adapts the stable OpenAI Realtime-compatible session surface to the locked graph-native Realtime-CU authority graph.
|
Package realtimecu adapts the stable OpenAI Realtime-compatible session surface to the locked graph-native Realtime-CU authority graph. |
|
scenarioconversation
Package scenarioconversation adapts the stable OpenAI Realtime-compatible session surface to a locked, fine-grained conversational graph.
|
Package scenarioconversation adapts the stable OpenAI Realtime-compatible session surface to a locked, fine-grained conversational graph. |
|
Package catalog publishes immutable graph-plan metadata for discovery.
|
Package catalog publishes immutable graph-plan metadata for discovery. |
|
Package config compiles the separate graph topology, resolution lock, values, channel, deployment, and secret-catalog artifacts into one immutable launch plan.
|
Package config compiles the separate graph topology, resolution lock, values, channel, deployment, and secret-catalog artifacts into one immutable launch plan. |
|
Package deployment owns the separate, non-secret deployment-binding artifact.
|
Package deployment owns the separate, non-secret deployment-binding artifact. |
|
Package editor provides a pure, graph-aware language-service core for canonical .ortg topology source.
|
Package editor provides a pure, graph-aware language-service core for canonical .ortg topology source. |
|
Package evidence defines the separate, non-executable manifest that binds empirical benchmark profiles to exact plans, elements, implementations, hardware, and load definitions.
|
Package evidence defines the separate, non-executable manifest that binds empirical benchmark profiles to exact plans, elements, implementations, hardware, and load definitions. |
|
Package inspect derives static and live inspection models and generated diagrams from the exact immutable Graph IR mounted by the runtime.
|
Package inspect derives static and live inspection models and generated diagrams from the exact immutable Graph IR mounted by the runtime. |
|
Package ir defines the immutable, language-neutral graph representation consumed by runtime and inspection tooling.
|
Package ir defines the immutable, language-neutral graph representation consumed by runtime and inspection tooling. |
|
Package launch composes exact graph configuration artifacts and a broad, resource-free plugin catalog into a graph-native Realtime session provider.
|
Package launch composes exact graph configuration artifacts and a broad, resource-free plugin catalog into a graph-native Realtime session provider. |
|
profile
Package profile resolves a strict, immutable deployment profile through an explicitly installed graph-application plugin.
|
Package profile resolves a strict, immutable deployment profile through an explicitly installed graph-application plugin. |
|
Package manifest implements the strict normalized YAML/JSON graph frontend.
|
Package manifest implements the strict normalized YAML/JSON graph frontend. |
|
Package resolve pins symbolic element references to immutable descriptors.
|
Package resolve pins symbolic element references to immutable descriptors. |
|
Package runtime mounts and executes immutable OpenRealtime Graph IR.
|
Package runtime mounts and executes immutable OpenRealtime Graph IR. |
|
Package schema derives a strict JSON Schema for the values artifact of one frozen graph.
|
Package schema derives a strict JSON Schema for the values artifact of one frozen graph. |
|
Package sdk provides an optional pure Go frontend for generated graphs and repository tests.
|
Package sdk provides an optional pure Go frontend for generated graphs and repository tests. |
|
Package secret resolves secret:// references at mount time without placing credential values in topology, Graph IR, diagrams, or evidence artifacts.
|
Package secret resolves secret:// references at mount time without placing credential values in topology, Graph IR, diagrams, or evidence artifacts. |
|
Package syntax parses and formats the compact OpenRealtime graph language.
|
Package syntax parses and formats the compact OpenRealtime graph language. |
|
Package validate provides graph-wide mechanical checks and named lint profiles over immutable Graph IR.
|
Package validate provides graph-wide mechanical checks and named lint profiles over immutable Graph IR. |
|
Package values owns the separate, schema-addressed element-values artifact.
|
Package values owns the separate, schema-addressed element-values artifact. |