Something went wrong. Try again.
fork of prime agent with changes i want but are not upstreamable probqbly (and some fixes)
Something went wrong. Try again.
693 B · 41 lines
Python
at main
123456789101112131415161718192021222324252627282930313233343536373839404142"""Backwards-compatible alias for the ssh skill.
This module is now `ssh`."""
from __future__ import annotations
import sysfrom typing import Any
import ssh as _ssh_modulefrom ssh import ( Connection, SSHControlError, SSHTimeoutError, close, control_path_for, run, ssh,)
__all__ = [ "Connection", "SSHControlError", "SSHTimeoutError", "close", "control_path_for", "run", "ssh", "ssh_control",]
ssh_control = ssh
class _SSHControlModule(type(sys)): async def __call__(self, *args: Any, **kwargs: Any) -> Any: return await _ssh_module.ssh(*args, **kwargs)
sys.modules[__name__].__class__ = _SSHControlModule