{% extends "base.html" %} {# Fleet terminal: SSH into fleet devices from the browser. The PC holds each shell (fleet_terminal.py); this page long-polls its output and posts keys over /api/fleet/term/* -- the same routes the phone app uses. #} {% block title %}Terminal{% endblock %} {% block page_id %}terminal{% endblock %} {% block head %} {% endblock %} {% block content %} {% if missing %}

Terminal

This build of AidaIDE does not have the fleet terminal service yet, so the terminal cannot open here. The desktop's terminal works as before.
{% else %}

Terminal

The PC signs in to the device and holds the shell, so a session keeps running if this page closes. Sessions end after 30 idle minutes. In the terminal, Tab goes to the shell; F6 moves out of it.
{% endif %} {% endblock %} {% block scripts %} {% if not missing %} {# xterm.js is vendored (static/vendor/xterm, MIT) so the terminal works with no internet. #} {% endif %} {% endblock %}