openhands.runtime.impl.action_execution.action_execution_client
ActionExecutionClient Objects
class ActionExecutionClient(Runtime)
Base class for runtimes that interact with the action execution server.
This class contains shared logic between DockerRuntime and RemoteRuntime for interacting with the HTTP server defined in action_execution_server.py.
list_files
def list_files(path: str | None = None) -> list[str]
List files in the sandbox.
If path is None, list files in the sandbox's initial working directory (e.g., /workspace).
copy_from
def copy_from(path: str) -> Path
Zip all files in the sandbox and return as a stream of bytes.