The shared schema and contract library for Grimreach.
See also: Grimreach Design & Architecture
- Defines public API surface for external agents
- Exposes deterministic endpoints for client and census
- Enforces contract boundaries and serialization
- Contains no simulation or rendering
Provides the common language (Types, Models, Messages, Protocols) spoken by all other components. It represents the "Contract" of the system. Any change here propagates to Server, Client, and Census.
Protocol: Constants for message types.Message: Generic message envelope.WorldState: Snapshot of the world.Entity/Player: Core data models.
- No simulation logic
- No network transport implementation
- No rendering
lib/: Dart source files.protocol.dartmessages.dartworld_state.dartentity.dartplayer.dart
This is a pure Dart package. It should have no dependencies on Flutter or dart:io if possible (though dart:convert is essential). Used as a local path dependency.