{% extends "base.html" %} {% block title %}源管理 · aether{% endblock %} {% block content %} {% if request.query_params.ok == "added_inferred" %} {% endif %} {% if sources %} {% for s in sources %} {% endfor %}
领域 tier 状态 agent articles fetched 最后抓取 操作
{{ s.name }}
{{ s.id }}
{{ s.domain }} {{ s.tier }} {% if s.enabled %}enabled {% else %}disabled{% endif %} {{ s.agent_status }} {{ s.article_count }} {{ s.fetched_count }} / {{ s.article_count }} {% if s.article_count > 0 and s.fetched_count == s.article_count %}all {% elif s.fetched_count == 0 %}none {% else %}partial{% endif %} {% if s.last_fetched_at %}{{ s.last_fetched_at.strftime('%m-%d %H:%M') }} {% else %}—{% endif %} {% if s.last_fetch_status and s.last_fetch_status != 'ok' %}
⚠ {{ s.last_fetch_status[:40] }}{% if s.last_fetch_status|length > 40 %}…{% endif %}
{% endif %}
看文章 {% if s.enabled %} 🔄 抓取 {% else %} {% endif %} ✏️ 编辑
源配置在 blocks/sources/basic/sources.yaml(git 维护)+ sources 表(运行时状态)。 点"🔄 抓取"可立即触发一次抓取并指定时间窗。
{% else %}

数据库里还没有源。

先跑 python -m blocks.sources.basic.subgraph seed 进去,或点上方"添加源"手动添加。

➕ 添加源

{% endif %} {% endblock %}