{% if constraints.host %}
Host: {{ constraints.host }}{% if constraints.user %} · as {{ constraints.user }}{% endif %}
{% endif %} {% if constraints.shopping_session %}

Shop for 20 minutes on this connection, for this agent and session. Browse menus, inspect orders and cards, and prepare carts. Each purchase requires a separate approval of the priced order.

{% endif %} {% if constraints.checkout and not checkout_shown %}{% with checkout=constraints.checkout %}{% include "_checkout.html" %}{% endwith %}{% endif %} {% if constraints.shopping and not constraints.shopping_session %}
Shopping access · browsing and cart preparation only
{% endif %} {% if constraints.server %}
Server: {{ constraints.server }}{% if constraints.tool %} · {{ constraints.tool }}{% endif %}
{% endif %} {% if constraints.command %}
$ {{ constraints.command }}
{% endif %} {% if constraints.to_path %}
Output {{ 'appended to' if constraints.append else 'written to' }} {{ constraints.to_host }} {{ constraints.to_path }}{% if constraints.to_user %} as {{ constraints.to_user }}{% endif %} · not returned to the agent
{% endif %} {% if constraints.sha256 %}
Write {{ constraints.path }} · {{ constraints.bytes }} bytes · sha256 {{ constraints.sha256[:16] }}…
{% elif constraints.path %}
Read {{ constraints.path }}
{% endif %} {% if 'arguments' in constraints %}
{{ constraints.arguments | redact | tojson(indent=2) }}
{% endif %}