Skip to content

Tool runner

Tool runner.

Classes:

Name Description
ToolRunner

Helper class to manage external tool execution with fallbacks.

ToolRunner

Helper class to manage external tool execution with fallbacks.

Methods:

Name Description
execute

Execute a system command and exit on failure.

run_with_uv

Attempt to run a tool via 'uv run', falling back to direct execution.

execute staticmethod

execute(cmd: Sequence[str]) -> None

Execute a system command and exit on failure.

run_with_uv classmethod

run_with_uv(tool: str, args: list[str]) -> None

Attempt to run a tool via 'uv run', falling back to direct execution.