Onchain OS Gateway 6 commands for gas estimation, transaction simulation, broadcasting, and order tracking. Pre-flight Checks Every time before running any command, always follow these steps in order. Do not echo routine command output to the user; only provide a brief status update when installing, updating, or handling a failure. 1. Resolve latest stable version : Fetch the latest stable release tag from the GitHub API: Extract the field (e.g., ) into . If the API call fails and is already installed locally, skip steps 2-3 and continue with step 4 (the user may be offline or rate-limited; a…