43 lines
1.3 KiB
Python
43 lines
1.3 KiB
Python
"""
|
|
Local CDSL engine copied into the product repository.
|
|
|
|
The package exposes the CDSL-only rebuild API used by the backend Agent.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from .llm_compiler import compile_cdsl
|
|
from .llm_engine import run_engine_plan
|
|
from .rebuild import compare_with_gold, compile_cdsl_to_pack, run_cdsl_only, run_engine, run_rebuild
|
|
from .semantic_validation import validate_semantic_cdsl
|
|
from .sketch_solver import CORE_SHAPE_GENERATORS, resolve_all_sketches, resolve_required_sketches
|
|
from .runtime import ALL_ATOMIC_IDS, EXECUTORS, RuntimeExecutionError, analyze_cdsl, rebuild_cdsl
|
|
|
|
# The package-level runtime contract is the session executor registry. The
|
|
# older llm_engine dispatcher remains available only for legacy engine packs.
|
|
SUPPORTED_ATOMIC_IDS = ALL_ATOMIC_IDS
|
|
SHAPE_GENERATORS = CORE_SHAPE_GENERATORS
|
|
|
|
__all__ = [
|
|
"compile_cdsl",
|
|
"compile_cdsl_to_pack",
|
|
"run_engine_plan",
|
|
"run_engine",
|
|
"run_cdsl_only",
|
|
"run_rebuild",
|
|
"compare_with_gold",
|
|
"resolve_all_sketches",
|
|
"resolve_required_sketches",
|
|
"CORE_SHAPE_GENERATORS",
|
|
"SHAPE_GENERATORS",
|
|
"SUPPORTED_ATOMIC_IDS",
|
|
"validate_semantic_cdsl",
|
|
"ALL_ATOMIC_IDS",
|
|
"EXECUTORS",
|
|
"rebuild_cdsl",
|
|
"analyze_cdsl",
|
|
"RuntimeExecutionError",
|
|
]
|
|
|
|
__version__ = "1.0.0"
|