Spaces:
Running on Zero
Running on Zero
File size: 1,080 Bytes
d72231c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | """NEMOCITY deterministic city engine.
The engine owns ALL facts ("her" pattern): city state, the 4-event surface,
placement geometry, traffic facts, moderation, the serialized petition queue,
and the prompt summary. The LLM only interprets petitions into tiny JSON —
it never owns state and never outputs coordinates.
"""
from .city import CityState
from .genesis import GENESIS_FEATURES, genesis_features, genesis_world
from .moderation import Moderator, Verdict
from .queue_worker import (
AlreadyPending,
QueueError,
QueueFull,
QueueWorker,
TrafficSmooth,
)
from .summary import summarize
from .tools import TOOL_NAMES, resolve_kind, sanitize_name, validate_call
from .world import Feature, World
__all__ = [
"CityState",
"GENESIS_FEATURES",
"genesis_features",
"genesis_world",
"Moderator",
"Verdict",
"AlreadyPending",
"QueueError",
"QueueFull",
"QueueWorker",
"TrafficSmooth",
"summarize",
"TOOL_NAMES",
"resolve_kind",
"sanitize_name",
"validate_call",
"Feature",
"World",
]
|