Expand description
This file is part of App Instance Detector, an Autonomo AI, FZCO, Project. autonomo-file-copy is a component of Autonomo AI Programming Agent.
Copyright © 2025 Autonomo AI, FZCO Author: Theodore R. Smith theodore.smith@autonomo.codes GPG Fingerprint: 6CAC F838 454C 8912 8AA2 26DB 89DC D8F1 3BB9 33B3 https://www.phpexperts.pro/ https://www.autonomo.codes/ https://github.com/AutonomoDev/autonomo
This file is proprietary. All rights are reserved.
Functions§
- find_
all_ instances - Finds all running instances by checking ports sequentially and sending a customizable handshake request. Returns a vector of tuples, where each tuple contains the port and the string response received from the running instance.
- find_
next_ available_ port - Finds the next available port starting from
base_portby checking sequentially. - is_
port_ in_ use - Checks if a port is in use by attempting to connect to it. This function uses a short, fixed timeout.
- send_
handshake_ request - Sends a customizable handshake request to a given port and returns the response.
- start_
handshake_ server - Starts a background handshake server on the given port.