feat(runner): unify plugin execution across agents and event processors

This commit is contained in:
RockChinQ
2026-09-10 18:04:38 +08:00
parent 8903a40c41
commit f24a7c9bb2
223 changed files with 4091 additions and 3068 deletions
@@ -80,7 +80,7 @@ def configure_handler(connector, runtime_handler):
async def _collect_agent_results(connector, context):
return [
result
async for result in connector.run_agent(
async for result in connector.run_runner(
'qa',
'agent-runner',
'default',
@@ -98,7 +98,7 @@ class TestRunAgent:
class RuntimeHandler:
installation_scope = Mock(side_effect=lambda _binding: nullcontext())
async def run_agent(self, *_args):
async def run_runner(self, *_args):
yield {'type': 'run.completed'}
configure_handler(connector, RuntimeHandler())