{% extends "base.html" %} {% block title %}{{ i18n.text("web-inbox-ai-memory") }}{% endblock %} {% block content %} {% if project != "" %}{% endif %}

{{ i18n.text("web-keep-work-moving") }}

{{ i18n.text("web-agent-inbox") }}

{% if project != "" %}{{ i18n.text("web-viewing-mailbox") }} {{ workspace }} / {{ project }}{% else %}{{ i18n.text("web-create-a-project-to-start-exchanging-messages-with-agents") }}{% endif %}

{{ i18n.text("web-new-message") }}
{% if warning != "" %}{% endif %}

{{ i18n.text("web-waiting-for-agents") }}

{% if pending_total > 0 %}

{{ pending_total }} {{ i18n.text("web-queued") }} · {% if pending_projects == 1 %}{{ i18n.text("web-1-project") }}{% else %}{{ pending_projects }} {{ i18n.text("web-projects-inbox") }}{% endif %}{{ i18n.text("web-opening-a-mailbox-does-not-collect-its-messages") }}

{% else %}

{{ i18n.text("web-no-messages-waiting-for-agents-in-projects-you-can-access") }}

{% endif %}
{% if inbox && editing_count > 0 %}

{{ i18n.count("web-held-count", editing_count) }} {{ i18n.count("web-held-instructions", editing_count) }} {{ i18n.count("web-held-show", editing_count) }}

{% endif %} {% if rows.is_empty() %}

{{ i18n.text("web-a-little-breathing-room") }}

{% if state != "" %}{{ i18n.text("web-no-messages-match-this-state-in-the-selected-mailbox") }}{% else if inbox %}{{ i18n.text("web-no-messages-received-by-this-project-yet") }}{% else %}{{ i18n.text("web-no-messages-sent-from-this-project-yet") }}{% endif %}

{{ i18n.text("web-choose-an-agent-and-leave-a-clear-request-for-its-next-inbox-check") }}

{% else %}
{% for row in rows %}
{{ row.subject }}{{ row.from }} → {{ row.to }}{{ row.agent }} · {{ row.when }}{{ row.state_label }}

{{ row.id }}

{{ row.body }}

{% if row.state == "claimed" %}

{{ i18n.text("web-collected-by-an-agent-this-is-not-confirmation-that-the-request-has-been-completed") }}

{% endif %}{% if inbox && !needs_write_token %}{% if row.state == "pending" %}
{% else if row.state == "editing" %}

{{ i18n.text("web-held-while-it-is-edited-agents-cannot-collect-it-until-it-is-saved-or-discarded") }}

{% endif %}{% endif %}
{% endfor %}
{% endif %}
{% endblock %}