entari-plugin-hyw 3.2.105__py3-none-any.whl → 3.2.106__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of entari-plugin-hyw might be problematic. Click here for more details.
- entari_plugin_hyw/__init__.py +97 -1
- entari_plugin_hyw/assets/libs/tailwind.css +1 -1
- entari_plugin_hyw/assets/package-lock.json +953 -0
- entari_plugin_hyw/assets/package.json +16 -0
- entari_plugin_hyw/assets/tailwind.config.js +1 -1
- entari_plugin_hyw/assets/tailwind.input.css +8 -8
- entari_plugin_hyw/assets/template.html.bak +157 -0
- entari_plugin_hyw/assets/template.j2 +259 -0
- entari_plugin_hyw/core/pipeline.py +41 -17
- entari_plugin_hyw/core/render.py +232 -681
- entari_plugin_hyw/core/render.py.bak +926 -0
- entari_plugin_hyw/utils/prompts.py +5 -4
- {entari_plugin_hyw-3.2.105.dist-info → entari_plugin_hyw-3.2.106.dist-info}/METADATA +2 -1
- {entari_plugin_hyw-3.2.105.dist-info → entari_plugin_hyw-3.2.106.dist-info}/RECORD +16 -11
- {entari_plugin_hyw-3.2.105.dist-info → entari_plugin_hyw-3.2.106.dist-info}/WHEEL +0 -0
- {entari_plugin_hyw-3.2.105.dist-info → entari_plugin_hyw-3.2.106.dist-info}/top_level.txt +0 -0
|
@@ -60,7 +60,7 @@ AGENT_SYSTEM_PROMPT_SEARCH_ADD = """
|
|
|
60
60
|
|
|
61
61
|
[最终回复]
|
|
62
62
|
- 图片: 如果本次回答适合配图, 对搜索到的图片, 选择 1-3 张合适的尽量类型、来源、不同、主题契合的图片, 美观分布嵌入正文 ``.
|
|
63
|
-
-
|
|
63
|
+
- 搜索引用: 在正文中使用 `[数字id]` 如 `[1]` 标注来源, 并在文末通过 `references` 代码块列出.
|
|
64
64
|
- 你需要在最终回复底部添加 `references` 代码块.
|
|
65
65
|
|
|
66
66
|
```references
|
|
@@ -77,13 +77,14 @@ AGENT_SYSTEM_PROMPT_MCP_ADD = """
|
|
|
77
77
|
> 积极使用工具完成任务,工具优先于文本回复。
|
|
78
78
|
|
|
79
79
|
[最终回复格式]
|
|
80
|
-
|
|
80
|
+
- 工具引用: 在正文中使用 `[字母id]` 如 `[a]` 标注来源, 并在文末通过 `mcp` 代码块列出.
|
|
81
|
+
- 底部添加 `mcp` 代码块列出工具调用流程:
|
|
81
82
|
- 格式: `[图标] 工具名称` + 文本描述
|
|
82
83
|
- 图标: navigate, snapshot, click, type, code, wait, default
|
|
83
84
|
|
|
84
85
|
```mcp
|
|
85
|
-
[code] browser_run_code
|
|
86
|
-
|
|
86
|
+
1. [code] browser_run_code: 执行JavaScript计算
|
|
87
|
+
2. [navigate] navigate: 导航到xxx网站
|
|
87
88
|
```
|
|
88
89
|
"""
|
|
89
90
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: entari_plugin_hyw
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.106
|
|
4
4
|
Summary: Use large language models to interpret chat messages
|
|
5
5
|
Author-email: kumoSleeping <zjr2992@outlook.com>
|
|
6
6
|
License: MIT
|
|
@@ -23,6 +23,7 @@ Requires-Dist: httpx
|
|
|
23
23
|
Requires-Dist: markdown>=3.10
|
|
24
24
|
Requires-Dist: trafilatura>=2.0.0
|
|
25
25
|
Requires-Dist: playwright>=1.56.0
|
|
26
|
+
Requires-Dist: jinja2>=3.0
|
|
26
27
|
Provides-Extra: playwright
|
|
27
28
|
Requires-Dist: playwright>=1.56.0; extra == "playwright"
|
|
28
29
|
Requires-Dist: trafilatura>=2.0.0; extra == "playwright"
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
entari_plugin_hyw/__init__.py,sha256=
|
|
2
|
-
entari_plugin_hyw/assets/
|
|
3
|
-
entari_plugin_hyw/assets/
|
|
1
|
+
entari_plugin_hyw/__init__.py,sha256=qRk1hp5HTb4gUPOalYXJScjWZtFKlv2SKEOWar-c4AI,35164
|
|
2
|
+
entari_plugin_hyw/assets/package-lock.json,sha256=TIrLM-wLWZTrp3LKfzhEVuduhvBJmI93NdQEKYLW2W0,33172
|
|
3
|
+
entari_plugin_hyw/assets/package.json,sha256=Y4H8JGtp3nv2WUtI20tXoXWddR-dwwKJhqQVLercpiw,306
|
|
4
|
+
entari_plugin_hyw/assets/tailwind.config.js,sha256=S8I9X8hI8IaQRczWK9hTW-zl4oVpAXw5ykeksrzHjpU,382
|
|
5
|
+
entari_plugin_hyw/assets/tailwind.input.css,sha256=QEZD-647GQfZeRYQdBx17RLUk6mKnZkDEwj7haTQzew,4735
|
|
4
6
|
entari_plugin_hyw/assets/template.html,sha256=xPgOKlhKzz2p2_1nn5y44XwD37UqkW2uwHn4HpaGtCU,5646
|
|
7
|
+
entari_plugin_hyw/assets/template.html.bak,sha256=xPgOKlhKzz2p2_1nn5y44XwD37UqkW2uwHn4HpaGtCU,5646
|
|
8
|
+
entari_plugin_hyw/assets/template.j2,sha256=z-3X68wlncMkUYpHYsD4W7csmQIzWwVRamztDkQ6gpo,14329
|
|
5
9
|
entari_plugin_hyw/assets/icon/anthropic.svg,sha256=ASsy1ypo3osNc3n-B0R81tk_dIFsVgg7qQORrd5T2kA,558
|
|
6
10
|
entari_plugin_hyw/assets/icon/deepseek.png,sha256=KWWAr9aeYMc6I07U_1qo7zcXO6e7-kfd9S2XjQumnf4,25338
|
|
7
11
|
entari_plugin_hyw/assets/icon/gemini.svg,sha256=H74CoVmx5opcCtr3Ay3M09dpqL9cd9Whkx-M6an3t7s,599
|
|
@@ -22,21 +26,22 @@ entari_plugin_hyw/assets/libs/highlight.js,sha256=g3pvpbDHNrUrveKythkPMF2j_J7UFo
|
|
|
22
26
|
entari_plugin_hyw/assets/libs/katex-auto-render.js,sha256=nLjaz8CGwpZsnsS6VPSi3EO3y-KzPOwaJ0PYhsf7R6c,3478
|
|
23
27
|
entari_plugin_hyw/assets/libs/katex.css,sha256=UF1fgpAiu3tPJN_uCqEUHNe7pnr-QR0SQDNfgglgtcM,23196
|
|
24
28
|
entari_plugin_hyw/assets/libs/katex.js,sha256=3ISyluw-iE3gkxWPdg_Z1Ftser5YtTgVV_ThOPRqWK4,277038
|
|
25
|
-
entari_plugin_hyw/assets/libs/tailwind.css,sha256=
|
|
29
|
+
entari_plugin_hyw/assets/libs/tailwind.css,sha256=Vxv_ByyehWd0I7CJ74ZgnwNmgBVU_dRUZ9FqB-FqPDY,18886
|
|
26
30
|
entari_plugin_hyw/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
31
|
entari_plugin_hyw/core/config.py,sha256=LUP1LY0U9xfF_rzV2HxnNfJnfi929RNUZeFgbFFsyd4,1620
|
|
28
32
|
entari_plugin_hyw/core/history.py,sha256=vqp7itwR5-KaqC4Ftmq6GOz7OM9GsiFJnSN9JJ2P6L4,5894
|
|
29
33
|
entari_plugin_hyw/core/hyw.py,sha256=QwLB2YpUnzbVCWXcJF0uUeDAjxd4LWMzm9EjB9T1G1g,1671
|
|
30
|
-
entari_plugin_hyw/core/pipeline.py,sha256=
|
|
31
|
-
entari_plugin_hyw/core/render.py,sha256=
|
|
34
|
+
entari_plugin_hyw/core/pipeline.py,sha256=nV07UxzCXLLvAYDzcxgoYTxbxcHzD-_Ym4ZluvM82xg,38673
|
|
35
|
+
entari_plugin_hyw/core/render.py,sha256=hTLF-sQMCEUmiaoTRlklZnbmEu0tV6jYecEcHyA5KrY,24036
|
|
36
|
+
entari_plugin_hyw/core/render.py.bak,sha256=qMd6Tk0p6ItqGmErR6dkWRwCuKQYXINc7KRxnP-mb_s,48768
|
|
32
37
|
entari_plugin_hyw/utils/__init__.py,sha256=2JEC3lqFoa8FgR1kUjNUbwSph23YSOxbCaqYSgFomxs,128
|
|
33
38
|
entari_plugin_hyw/utils/browser.py,sha256=Szr7oIx8My9Qnh8_bQsEm7o3iUZYk9Gamtz7kvwTNyg,2086
|
|
34
39
|
entari_plugin_hyw/utils/mcp_playwright.py,sha256=WB8LPrmfMotfX6C-4h2WxEKXypnSzQ4-poNS-lTNe7c,4680
|
|
35
40
|
entari_plugin_hyw/utils/misc.py,sha256=_7iHVYj_mJ6OGq6FU1s_cFeS1Ao-neBjZYd6eI2p95U,3482
|
|
36
41
|
entari_plugin_hyw/utils/playwright_tool.py,sha256=eSIfur64U8Z5rN0UlZK8qg3vJrGgZZHjhyIId1jSHzs,1507
|
|
37
|
-
entari_plugin_hyw/utils/prompts.py,sha256=
|
|
42
|
+
entari_plugin_hyw/utils/prompts.py,sha256=uRFuPuDl6Eg_mi-GNc8ZP5OaCvNK6EvluODoqeJc0AM,3114
|
|
38
43
|
entari_plugin_hyw/utils/search.py,sha256=v9lW18V8rAGneejAiqJ4hCiCy7mIjkRCmR4UuiBqRxY,8048
|
|
39
|
-
entari_plugin_hyw-3.2.
|
|
40
|
-
entari_plugin_hyw-3.2.
|
|
41
|
-
entari_plugin_hyw-3.2.
|
|
42
|
-
entari_plugin_hyw-3.2.
|
|
44
|
+
entari_plugin_hyw-3.2.106.dist-info/METADATA,sha256=zMlOAgFYcZke5jz4vD3gFctDAiyHnv3SftQamzZS648,4697
|
|
45
|
+
entari_plugin_hyw-3.2.106.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
46
|
+
entari_plugin_hyw-3.2.106.dist-info/top_level.txt,sha256=TIDsn6XPs6KA5e3ezsE65JoXsy03ejDdrB41I4SPjmo,18
|
|
47
|
+
entari_plugin_hyw-3.2.106.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|