← Files ValidatedWorldARCHIVED FILE

skills/validated-world/scripts/validated_world.py

538 Bytes · Nov 24, 2026 · 01:08 UTC

↓ Download file

"""Launch the application bundled with this skill distribution."""

from pathlib import Path
import sys


def _engine_root() -> Path:
    for parent in Path(__file__).resolve().parents:
        candidate = parent / "src"
        if (candidate / "validated_world" / "__main__.py").is_file():
            return candidate
    raise SystemExit("error: bundled src/validated_world engine was not found")


sys.path.insert(0, str(_engine_root()))

from validated_world.cli import main


if __name__ == "__main__":
    raise SystemExit(main())

SHA-256: 5996249f4c4d20523542d3444019e0217f6db7da7ec0392ded6a7477a0b4c992