from __future__ import annotations

from app.core.agent.processes.base import AgentProcess, ProcessResult
from app.core.agent.runtime.execution_context import RuntimeExecutionContext


class ProcessRunner:
    async def run(self, context: RuntimeExecutionContext, process: AgentProcess) -> ProcessResult:
        return await process.run(context)
