From c0af23aefeed0388f8114ac63f2e4eed89fdd56c 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 17:51:12 +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=E4=BA=94=E4=B8=AA=20HTML=20?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=20no.5=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.5.html(174KB)复制进 templates/no5/;数据用 `let DATA = {…}`(let+空格,非 const DATA= 行),当前引擎行注入正则不匹配,故先注册为 convertible=False 只展示 - 前端下拉/参考列表自动出现 no.5 - 测试覆盖 no.5 存在/只展示/文件可读 Co-Authored-By: Claude Opus 4.8 (1M context) --- .../runtime/scheduler/template_fill.py | 9 ++ .../runtime/scheduler/templates/no5/no5.html | 100 ++++++++++++++++++ 2 files changed, 109 insertions(+) create mode 100644 offline-backend-20260512/backend/packages/harness/deerflow/runtime/scheduler/templates/no5/no5.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 3f2f3a7c..f8199e88 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 @@ -157,6 +157,15 @@ TEMPLATES: tuple[TemplateSpec, ...] = ( # 当前引擎只支持 const VAR= 行注入,故暂注册为只展示;接转换需扩展元素注入。 convertible=False, ), + TemplateSpec( + id="no5", + name="no.5", + description="", + file="no5/no5.html", + # 数据用 `let DATA = {…}`(let + 空格,非 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/no5/no5.html b/offline-backend-20260512/backend/packages/harness/deerflow/runtime/scheduler/templates/no5/no5.html new file mode 100644 index 00000000..55ce2dd0 --- /dev/null +++ b/offline-backend-20260512/backend/packages/harness/deerflow/runtime/scheduler/templates/no5/no5.html @@ -0,0 +1,100 @@ + + + + + +台湾公务员群体知识数据展示系统 v2 + + + +
+
公

台湾公务员群体知识数据展示系统

基础画像 · 政策法规 · 研究成果 · 近月议题 · 动态监测

+ +
+
单文件离线原型 v2 · 中文字段与富详情版数据用途:公共治理研究与政策分析;不用于针对个体或群体的操纵性应用
+
+ + + + \ No newline at end of file