{% extends "base.html" %}{% block title %}{{ t("app.title") }}{% endblock %} {% block wrap_class %}wide{% endblock %} {% block body %}

{{ t("app.title") }}

{{ t("app.your_address") }}
{{ me }}
{{ t("app.fingerprint") }}
{{ fingerprint }}
{{ t("link.title") }}
{{ t("app.link_hint") }}
{% if pending %}

{{ t("app.decide") }}

{{ t("app.pairing_hint") }}

{% for req in pending %}

{{ req.requester }} {{ t("app.fingerprint") }}: {{ req.requester_fingerprint or "?" }}

{% if req.note %}

{{ t("app.note") }}: {{ req.note }}

{% endif %}

{{ t("app.limit_hint") }}

{% endfor %} {% endif %}

{{ t("app.my_sessions") }}

{{ t("app.my_sessions_hint") }}

{% if sessions %}
{% for s in sessions %} {% endfor %}
{{ t("app.sessions") }}{{ t("app.state") }} {{ t("app.who_may_write") }}{{ t("app.your_address") }}
{{ s.session }} {% if s.label %}
{{ s.label }}{% endif %}
{{ t("app.online") if s.online else t("app.offline") }} {% if not s.online and s.ago %}
{{ t("app.last_seen") }} {{ s.ago }}{% endif %}
{% for r in s.readers %} {{ r.peer }}{% if r.trusted %} {{ t("app.trusted_on") }}{% endif %}
{% endfor %} {% if not s.readers %}{{ t("app.nobody_outside") }}{% endif %}
{{ s.endpoint }}
{% else %}

{{ t("app.no_sessions") }}

{% endif %}

{{ t("app.contacts") }}

{% if contacts %}
{% for c in contacts %} {% endfor %}
{{ t("app.peer") }}{{ t("app.direction") }}{{ t("app.rights") }} {{ t("app.sessions") }}{{ t("app.trusted") }}{{ t("app.expires") }}
{{ c.peer }} {{ c.direction }} {{ c.rights | join(", ") }} {% for ep in c.endpoints %} {{ ep.session }}{% if ep.label %} ({{ ep.label }}){% endif %}{% if ep.online %} {% endif %}
{% endfor %} {% if not c.endpoints %}{{ t("app.no_endpoints") }}{% endif %}
{% if c.direction == "inbound" %}
{% else %}—{% endif %}
{{ c.expires_at[:10] if c.expires_at else t("app.no_expiry") }} {% if c.grant_id %}
{% endif %}
{% else %}

{{ t("app.no_contacts") }}

{% endif %} {% if sent %}

{{ t("app.sent_title") }}

{{ t("app.sent_hint") }}

{% for req in sent %} {% endfor %}
{{ t("app.sent_to") }}{{ t("app.note") }}
{{ req.target }} {{ req.note or "" }} {{ t("app.sent_waiting") }}
{% endif %}

{{ t("app.ask_access") }}

{{ t("app.target_hint") }}

{{ t("app.connect") }}

{{ t("app.connect_hint") }}

claude mcp add --scope user --transport http aim {{ mcp_url }}

{{ t("app.connect_then") }} {{ t("app.guide") }}

{% if has_email %}
{% endif %}
{% endblock %}