From 4f6270347707e2a28b45bf2955c77f1274ce39f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=AE=8F=E5=87=AF?= Date: Wed, 24 Jun 2026 18:09:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1):=20?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=AC=AC=E5=85=AD=E4=B8=AA=20HTML=20?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=20no.6=EF=BC=88=E5=8F=AA=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - no.6.html(266KB)复制进 templates/no6/;数据用 `const DATA = {…}`(= 前有空格), 当前引擎正则要求 const DATA=,不匹配,故先注册为 convertible=False 只展示 - 前端下拉/参考列表自动出现 no.6 - 测试覆盖 no.6 存在/只展示/文件可读 Co-Authored-By: Claude Opus 4.8 (1M context) --- .../runtime/scheduler/template_fill.py | 9 + .../runtime/scheduler/templates/no6/no6.html | 326 ++++++++++++++++++ 2 files changed, 335 insertions(+) create mode 100644 offline-backend-20260512/backend/packages/harness/deerflow/runtime/scheduler/templates/no6/no6.html diff --git a/offline-backend-20260512/backend/packages/harness/deerflow/runtime/scheduler/template_fill.py b/offline-backend-20260512/backend/packages/harness/deerflow/runtime/scheduler/template_fill.py index f8199e88..dc1d4be6 100644 --- a/offline-backend-20260512/backend/packages/harness/deerflow/runtime/scheduler/template_fill.py +++ b/offline-backend-20260512/backend/packages/harness/deerflow/runtime/scheduler/template_fill.py @@ -166,6 +166,15 @@ TEMPLATES: tuple[TemplateSpec, ...] = ( # 故暂注册为只展示;接转换需扩展行注入正则。 convertible=False, ), + TemplateSpec( + id="no6", + name="no.6", + description="", + file="no6/no6.html", + # 数据用 `const DATA = {…}`(= 前有空格,当前引擎正则要求 const DATA=),不匹配, + # 故暂注册为只展示;接转换需放宽行注入正则。 + convertible=False, + ), ) _TEMPLATES_BY_ID: dict[str, TemplateSpec] = {t.id: t for t in TEMPLATES} diff --git a/offline-backend-20260512/backend/packages/harness/deerflow/runtime/scheduler/templates/no6/no6.html b/offline-backend-20260512/backend/packages/harness/deerflow/runtime/scheduler/templates/no6/no6.html new file mode 100644 index 00000000..b451565a --- /dev/null +++ b/offline-backend-20260512/backend/packages/harness/deerflow/runtime/scheduler/templates/no6/no6.html @@ -0,0 +1,326 @@ + + + + + +台湾后备力量与全社会防卫韧性专题库 v2 + + + +
+
+
公开资料专题库 · v2 综合重构版
+

台湾后备力量与全社会防卫韧性专题库

+
本版根据最新栏目思路重新生成:不新增栏目12,而是将“军种官科、装备类别、晋任制度、教召权益、退辅福利、制度短板”全部补充进「军方后备体系」栏目,形成更完整的军方后备主体数据库。
+
仅展示公开资料不展示营区坐标、集结点、动员路线不展示具体装备数量与仓储位置不展示个人资料
+
+
+
+
+
+ + + + + +
+
+ +
+

+
+
+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file