Subscriptions ยท {{ project }}

{{ subs | length }} subscription{{ '' if subs | length == 1 else 's' }}
{% if subs %}
{% for sub in subs %} {% endfor %}
Agent Source Filter Enabled Created
{{ sub.agent }} {{ sub.source }} {% if sub.filter %} {{ sub.filter | tojson }} {% else %} match all {% endif %} {{ sub.created_at | time_span }}
{% else %}

No subscriptions in {{ project }} yet

Subscriptions land here when an agent in this project registers one:

run(
    handle,
    agent="my-agent",
    project="{{ project }}",
    subscriptions=[
        {"source": "linear", "filter": {"data.team.key": "DEVOPS"}},
    ],
)

Restart the agent and it reconciles the hub's registration to match.

{% endif %}