{# Global progress bar — polled every 2s by HTMX. Hidden by default;
the partial injects content (or stays empty) on each poll. #}
{% if request.query_params.error %}
错误:{{ request.query_params.error }}
{% endif %}
{% block content %}{% endblock %}
{# Persistent right-rail agents panel. Self-polls every 2s. Lives in
the grid's `panel` area when `body.has-agents-panel` is on. #}
{# Agents panel toggle: persisted across page loads via localStorage.
Class on drives the grid layout in style.css. #}
{% block extra_scripts %}{% endblock %}