[go: up one dir, main page]

Crate mockforge_world_state

Crate mockforge_world_state 

Source
Expand description

Pillars: [Reality][DevX]

World State Engine - Unified visualization of all MockForge state systems

This crate provides a unified “world state” that aggregates and visualizes all state systems in MockForge, including personas, lifecycle, reality, time, multi-protocol state, behavior trees, generative schemas, recorded data, and AI modifiers. Think of it as a “miniature game engine for your backend.”

§Features

  • Unified State Aggregation: Collects state from all MockForge subsystems
  • Graph Visualization: Represents state as nodes and edges for visualization
  • Real-time Updates: Streams state changes in real-time
  • Time Travel: View state at any point in time
  • Query Interface: Flexible querying of state with filters
  • Export Capabilities: Export state in various formats (JSON, GraphML, DOT)

Re-exports§

pub use engine::WorldStateEngine;
pub use model::StateEdge;
pub use model::StateLayer;
pub use model::StateNode;
pub use model::WorldStateSnapshot;
pub use query::WorldStateQuery;

Modules§

aggregators
State Aggregators - Collect state from various MockForge subsystems
engine
World State Engine - Central coordinator for unified world state
model
World State Model - Core data structures for representing unified state
query
World State Query - Flexible querying of world state