Skip to main content

Crate vibe_graph_core

Crate vibe_graph_core 

Source
Expand description

Core domain types shared across the entire Vibe-Graph workspace.

Structs§

CellState
Captures the state of an individual cell in the LLM cellular automaton.
ChangeIndicatorState
State for animating change indicators.
Constitution
Canonical definition of governing rules in effect for a graph.
DegreeSampler
A sampler that counts each node’s direct neighbors (degree centrality). Demonstrates the pattern and is useful as a lightweight structural signal.
EdgeId
Identifier for edges within the SourceCodeGraph.
GitChangeSnapshot
Snapshot of git changes for an entire repository.
GitFileChange
Represents a single file change detected in git.
GraphEdge
Represents connections between graph nodes.
GraphNode
Captures metadata for a node in the graph.
MetadataSampler
A sampler that extracts metadata from nodes as-is, useful for exposing node properties (language, extension, has_tests) into the annotation pipeline without transformation.
NeighborRef
A neighbor node together with the edge that connects it.
NoOpSampler
A sampler that produces no artifacts — useful as a pipeline placeholder and for testing.
NodeId
Identifier for nodes within the SourceCodeGraph.
SampleArtifact
Typed output produced by a sampler for one node.
SampleContext
Local context provided to a Sampler during computation.
SampleResult
Collected output of a full sampling pass.
SamplerError
Errors that can occur during sampling.
SamplerPipeline
Chains multiple samplers so each one’s output enriches the annotations available to the next.
Snapshot
Represents a snapshot of the entire system ready to be fossilized in Git.
SourceCodeGraph
Aggregate graph describing the full software project topology.
SourceCodeGraphBuilder
Builder for constructing a SourceCodeGraph from project data.
SourceReference
A detected reference from one source to another.
Vibe
Represents an explicitly declared vibe (intent/spec/decision) attached to graph regions.

Enums§

GitChangeKind
Type of change detected for a file in git.
GraphNodeKind
Enumerates the kinds of nodes that can populate the SourceCodeGraph.
LayoutStrategy
Strategies for mapping a logical graph to a filesystem hierarchy.
NodeSelector
Determines which nodes a sampler should operate on.
ReferenceKind
Types of references detected between source files.

Traits§

Sampler
The core sampling primitive.

Functions§

detect_lean_references
Detect references in Lean 4 source code.
detect_python_references
Detect references in Python source code.
detect_references
Detect references based on file extension.
detect_rust_references
Detect references in Rust source code.
detect_ts_references
Detect references in TypeScript/JavaScript source code.

Type Aliases§

AnnotationMap
Per-node annotation map produced and consumed by Sampler stages.
StatePayload
Generic payload that cells in the automaton can store.