entari-plugin-hyw 4.0.0rc17__tar.gz → 4.0.0rc19__tar.gz

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.

Files changed (62) hide show
  1. entari_plugin_hyw-4.0.0rc19/PKG-INFO +26 -0
  2. entari_plugin_hyw-4.0.0rc19/entari_plugin_hyw.egg-info/PKG-INFO +26 -0
  3. entari_plugin_hyw-4.0.0rc19/entari_plugin_hyw.egg-info/SOURCES.txt +6 -0
  4. {entari_plugin_hyw-4.0.0rc17/src → entari_plugin_hyw-4.0.0rc19}/entari_plugin_hyw.egg-info/requires.txt +1 -6
  5. entari_plugin_hyw-4.0.0rc19/entari_plugin_hyw.egg-info/top_level.txt +1 -0
  6. {entari_plugin_hyw-4.0.0rc17 → entari_plugin_hyw-4.0.0rc19}/pyproject.toml +9 -14
  7. entari_plugin_hyw-4.0.0rc17/MANIFEST.in +0 -3
  8. entari_plugin_hyw-4.0.0rc17/PKG-INFO +0 -119
  9. entari_plugin_hyw-4.0.0rc17/README.md +0 -87
  10. entari_plugin_hyw-4.0.0rc17/src/entari_plugin_hyw/__init__.py +0 -914
  11. entari_plugin_hyw-4.0.0rc17/src/entari_plugin_hyw/filters.py +0 -83
  12. entari_plugin_hyw-4.0.0rc17/src/entari_plugin_hyw/history.py +0 -251
  13. entari_plugin_hyw-4.0.0rc17/src/entari_plugin_hyw/misc.py +0 -214
  14. entari_plugin_hyw-4.0.0rc17/src/entari_plugin_hyw/search_cache.py +0 -253
  15. entari_plugin_hyw-4.0.0rc17/src/entari_plugin_hyw.egg-info/PKG-INFO +0 -119
  16. entari_plugin_hyw-4.0.0rc17/src/entari_plugin_hyw.egg-info/SOURCES.txt +0 -56
  17. entari_plugin_hyw-4.0.0rc17/src/entari_plugin_hyw.egg-info/top_level.txt +0 -2
  18. entari_plugin_hyw-4.0.0rc17/src/hyw_core/__init__.py +0 -94
  19. entari_plugin_hyw-4.0.0rc17/src/hyw_core/agent.py +0 -876
  20. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/__init__.py +0 -63
  21. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/index.html +0 -429
  22. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/logos/anthropic.svg +0 -1
  23. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/logos/cerebras.svg +0 -9
  24. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/logos/deepseek.png +0 -0
  25. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/logos/gemini.svg +0 -1
  26. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/logos/google.svg +0 -1
  27. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/logos/grok.png +0 -0
  28. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/logos/huggingface.png +0 -0
  29. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/logos/microsoft.svg +0 -15
  30. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/logos/minimax.png +0 -0
  31. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/logos/mistral.png +0 -0
  32. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/logos/nvida.png +0 -0
  33. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/logos/openai.svg +0 -1
  34. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/logos/openrouter.png +0 -0
  35. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/logos/perplexity.svg +0 -24
  36. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/logos/qwen.png +0 -0
  37. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/logos/xai.png +0 -0
  38. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/logos/xiaomi.png +0 -0
  39. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/logos/zai.png +0 -0
  40. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/assets/card-dist/vite.svg +0 -1
  41. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/engines/__init__.py +0 -15
  42. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/engines/base.py +0 -13
  43. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/engines/default.py +0 -166
  44. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/engines/duckduckgo.py +0 -171
  45. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/landing.html +0 -172
  46. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/manager.py +0 -173
  47. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/renderer.py +0 -446
  48. entari_plugin_hyw-4.0.0rc17/src/hyw_core/browser_control/service.py +0 -1002
  49. entari_plugin_hyw-4.0.0rc17/src/hyw_core/config.py +0 -154
  50. entari_plugin_hyw-4.0.0rc17/src/hyw_core/core.py +0 -454
  51. entari_plugin_hyw-4.0.0rc17/src/hyw_core/crawling/__init__.py +0 -18
  52. entari_plugin_hyw-4.0.0rc17/src/hyw_core/crawling/completeness.py +0 -437
  53. entari_plugin_hyw-4.0.0rc17/src/hyw_core/crawling/models.py +0 -88
  54. entari_plugin_hyw-4.0.0rc17/src/hyw_core/definitions.py +0 -166
  55. entari_plugin_hyw-4.0.0rc17/src/hyw_core/image_cache.py +0 -274
  56. entari_plugin_hyw-4.0.0rc17/src/hyw_core/pipeline.py +0 -502
  57. entari_plugin_hyw-4.0.0rc17/src/hyw_core/search.py +0 -169
  58. entari_plugin_hyw-4.0.0rc17/src/hyw_core/stages/__init__.py +0 -21
  59. entari_plugin_hyw-4.0.0rc17/src/hyw_core/stages/base.py +0 -95
  60. entari_plugin_hyw-4.0.0rc17/src/hyw_core/stages/summary.py +0 -218
  61. {entari_plugin_hyw-4.0.0rc17/src → entari_plugin_hyw-4.0.0rc19}/entari_plugin_hyw.egg-info/dependency_links.txt +0 -0
  62. {entari_plugin_hyw-4.0.0rc17 → entari_plugin_hyw-4.0.0rc19}/setup.cfg +0 -0
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.4
2
+ Name: entari-plugin-hyw
3
+ Version: 4.0.0rc19
4
+ Summary: Entari plugin for HYW - Use large language models to interpret chat messages
5
+ Author-email: kumoSleeping <zjr2992@outlook.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/kumoSleeping/entari-plugin-hyw
8
+ Project-URL: Repository, https://github.com/kumoSleeping/entari-plugin-hyw
9
+ Project-URL: Issue Tracker, https://github.com/kumoSleeping/entari-plugin-hyw/issues
10
+ Keywords: entari,llm,ai,bot,chat
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Requires-Python: <3.13,>=3.10
18
+ Description-Content-Type: text/markdown
19
+ Requires-Dist: hyw-core>=1.0.1
20
+ Requires-Dist: arclet-entari[full]>=0.16.5
21
+ Requires-Dist: markdown>=3.10
22
+ Provides-Extra: dev
23
+ Requires-Dist: entari-plugin-server>=0.5.0; extra == "dev"
24
+ Requires-Dist: satori-python-adapter-onebot11>=0.2.5; extra == "dev"
25
+ Requires-Dist: noneprompt; extra == "dev"
26
+ Requires-Dist: rich; extra == "dev"
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.4
2
+ Name: entari-plugin-hyw
3
+ Version: 4.0.0rc19
4
+ Summary: Entari plugin for HYW - Use large language models to interpret chat messages
5
+ Author-email: kumoSleeping <zjr2992@outlook.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/kumoSleeping/entari-plugin-hyw
8
+ Project-URL: Repository, https://github.com/kumoSleeping/entari-plugin-hyw
9
+ Project-URL: Issue Tracker, https://github.com/kumoSleeping/entari-plugin-hyw/issues
10
+ Keywords: entari,llm,ai,bot,chat
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Requires-Python: <3.13,>=3.10
18
+ Description-Content-Type: text/markdown
19
+ Requires-Dist: hyw-core>=1.0.1
20
+ Requires-Dist: arclet-entari[full]>=0.16.5
21
+ Requires-Dist: markdown>=3.10
22
+ Provides-Extra: dev
23
+ Requires-Dist: entari-plugin-server>=0.5.0; extra == "dev"
24
+ Requires-Dist: satori-python-adapter-onebot11>=0.2.5; extra == "dev"
25
+ Requires-Dist: noneprompt; extra == "dev"
26
+ Requires-Dist: rich; extra == "dev"
@@ -0,0 +1,6 @@
1
+ pyproject.toml
2
+ entari_plugin_hyw.egg-info/PKG-INFO
3
+ entari_plugin_hyw.egg-info/SOURCES.txt
4
+ entari_plugin_hyw.egg-info/dependency_links.txt
5
+ entari_plugin_hyw.egg-info/requires.txt
6
+ entari_plugin_hyw.egg-info/top_level.txt
@@ -1,11 +1,6 @@
1
+ hyw-core>=1.0.1
1
2
  arclet-entari[full]>=0.16.5
2
- openai
3
- httpx
4
3
  markdown>=3.10
5
- DrissionPage>=4.1.1.2
6
- trafilatura>=1.6.0
7
- json-repair>=0.55.0
8
- Pillow>=10.0.0
9
4
 
10
5
  [dev]
11
6
  entari-plugin-server>=0.5.0
@@ -3,19 +3,14 @@ requires = ["setuptools>=61.0", "wheel"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
- name = "entari_plugin_hyw"
7
- version = "4.0.0-rc17"
8
- description = "Use large language models to interpret chat messages"
6
+ name = "entari-plugin-hyw"
7
+ version = "4.0.0-rc19"
8
+ description = "Entari plugin for HYW - Use large language models to interpret chat messages"
9
9
  authors = [{name = "kumoSleeping", email = "zjr2992@outlook.com"}]
10
10
  dependencies = [
11
+ "hyw-core>=1.0.1",
11
12
  "arclet-entari[full]>=0.16.5",
12
- "openai",
13
- "httpx",
14
13
  "markdown>=3.10",
15
- "DrissionPage>=4.1.1.2",
16
- "trafilatura>=1.6.0",
17
- "json-repair>=0.55.0",
18
- "Pillow>=10.0.0",
19
14
  ]
20
15
  requires-python = ">=3.10,<3.13"
21
16
  readme = "README.md"
@@ -43,12 +38,12 @@ Homepage = "https://github.com/kumoSleeping/entari-plugin-hyw"
43
38
  Repository = "https://github.com/kumoSleeping/entari-plugin-hyw"
44
39
  "Issue Tracker" = "https://github.com/kumoSleeping/entari-plugin-hyw/issues"
45
40
 
41
+ [tool.uv.sources]
42
+ hyw-core = { workspace = true }
43
+
46
44
  [tool.setuptools]
47
45
  include-package-data = true
48
46
 
49
47
  [tool.setuptools.packages.find]
50
- where = ["src"]
51
- include = ["entari_plugin_hyw*", "hyw_core*"]
52
-
53
- [tool.setuptools.package-data]
54
- "hyw_core.browser_control" = ["assets/**/*", "landing.html"]
48
+ where = ["."]
49
+ include = ["entari_plugin_hyw*"]
@@ -1,3 +0,0 @@
1
- recursive-include src/entari_plugin_hyw *
2
- global-exclude *.pyc
3
- global-exclude __pycache__
@@ -1,119 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: entari_plugin_hyw
3
- Version: 4.0.0rc17
4
- Summary: Use large language models to interpret chat messages
5
- Author-email: kumoSleeping <zjr2992@outlook.com>
6
- License: MIT
7
- Project-URL: Homepage, https://github.com/kumoSleeping/entari-plugin-hyw
8
- Project-URL: Repository, https://github.com/kumoSleeping/entari-plugin-hyw
9
- Project-URL: Issue Tracker, https://github.com/kumoSleeping/entari-plugin-hyw/issues
10
- Keywords: entari,llm,ai,bot,chat
11
- Classifier: Development Status :: 3 - Alpha
12
- Classifier: Intended Audience :: Developers
13
- Classifier: License :: OSI Approved :: MIT License
14
- Classifier: Programming Language :: Python :: 3.10
15
- Classifier: Programming Language :: Python :: 3.11
16
- Classifier: Programming Language :: Python :: 3.12
17
- Requires-Python: <3.13,>=3.10
18
- Description-Content-Type: text/markdown
19
- Requires-Dist: arclet-entari[full]>=0.16.5
20
- Requires-Dist: openai
21
- Requires-Dist: httpx
22
- Requires-Dist: markdown>=3.10
23
- Requires-Dist: DrissionPage>=4.1.1.2
24
- Requires-Dist: trafilatura>=1.6.0
25
- Requires-Dist: json-repair>=0.55.0
26
- Requires-Dist: Pillow>=10.0.0
27
- Provides-Extra: dev
28
- Requires-Dist: entari-plugin-server>=0.5.0; extra == "dev"
29
- Requires-Dist: satori-python-adapter-onebot11>=0.2.5; extra == "dev"
30
- Requires-Dist: noneprompt; extra == "dev"
31
- Requires-Dist: rich; extra == "dev"
32
-
33
- # Entari Plugin HYW
34
-
35
- [![PyPI version](https://badge.fury.io/py/entari-plugin-hyw.svg)](https://badge.fury.io/py/entari-plugin-hyw)
36
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
37
- [![Python Versions](https://img.shields.io/pypi/pyversions/entari-plugin-hyw.svg)](https://pypi.org/project/entari-plugin-hyw/)
38
-
39
- **English** | [简体中文](docs/README_CN.md)
40
-
41
- **Entari Plugin HYW** is an advanced agentic chat plugin for the [Entari](https://github.com/entari-org/entari) framework. It leverages Large Language Models (LLMs) to provide intelligent, context-aware, and multi-modal responses within instant messaging environments (OneBot 11, Satori).
42
-
43
- The plugin implements a three-stage pipeline (**Vision**, **Instruct**, **Agent**) to autonomously decide when to search the web, crawl pages, or analyze images to answer user queries effectively.
44
-
45
- <p align="center">
46
- <img src="docs/demo_mockup.svg" width="800" />
47
- </p>
48
-
49
- ## Features
50
-
51
- - 📖 **Agentic Workflow**
52
- Autonomous decision-making process to search, browse, and reason.
53
-
54
- - 🎑 **Multi-Modal Support**
55
- Native support for image analysis using Vision Language Models (VLMs).
56
-
57
- - 🔍 **Web Search & Crawling**
58
- Integrated **DuckDuckGo** and **Crawl4AI** for real-time information retrieval.
59
-
60
- - 🎨 **Rich Rendering**
61
- Responses are rendered as images containing Markdown, syntax-highlighted code, LaTeX math, and citation badges.
62
-
63
- - 🔌 **Protocol Support**
64
- Deep integration with OneBot 11 and Satori protocols, handling reply context and JSON cards perfectly.
65
-
66
- ## Installation
67
-
68
- ```bash
69
- pip install entari-plugin-hyw
70
- ```
71
-
72
- ## Configuration
73
-
74
- Configure the plugin in your `entari.yml`.
75
-
76
- ### Minimal Configuration
77
-
78
- ```yaml
79
- plugins:
80
- entari_plugin_hyw:
81
- model_name: google/gemini-2.0-flash-exp
82
- api_key: "your-or-api-key-here"
83
- # Rendering Configuration
84
- render_timeout_ms: 6000 # Browser wait timeout
85
- render_image_timeout_ms: 3000 # Image load wait timeout
86
- ```
87
-
88
- ## Usage
89
-
90
- ### Commands
91
-
92
- - **Text Query**
93
- ```text
94
- /q What's the latest news on Rust 1.83?
95
- ```
96
-
97
- - **Image Analysis**
98
- *(Send an image with command, or reply to an image)*
99
- ```text
100
- /q [Image] Explain this error.
101
- ```
102
- - **Quote Query**
103
- ```text
104
- [quote: User Message] /q
105
- ```
106
-
107
- - **Follow-up**
108
- *Reply to the bot's message to continue the conversation.*
109
-
110
- ## Documentation for AI/LLMs
111
-
112
- - [Instruction Guide (English)](docs/README_LLM_EN.md)
113
- - [指导手册 (简体中文)](docs/README_LLM_CN.md)
114
-
115
- ---
116
-
117
- ## License
118
-
119
- This project is licensed under the MIT License.
@@ -1,87 +0,0 @@
1
- # Entari Plugin HYW
2
-
3
- [![PyPI version](https://badge.fury.io/py/entari-plugin-hyw.svg)](https://badge.fury.io/py/entari-plugin-hyw)
4
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
- [![Python Versions](https://img.shields.io/pypi/pyversions/entari-plugin-hyw.svg)](https://pypi.org/project/entari-plugin-hyw/)
6
-
7
- **English** | [简体中文](docs/README_CN.md)
8
-
9
- **Entari Plugin HYW** is an advanced agentic chat plugin for the [Entari](https://github.com/entari-org/entari) framework. It leverages Large Language Models (LLMs) to provide intelligent, context-aware, and multi-modal responses within instant messaging environments (OneBot 11, Satori).
10
-
11
- The plugin implements a three-stage pipeline (**Vision**, **Instruct**, **Agent**) to autonomously decide when to search the web, crawl pages, or analyze images to answer user queries effectively.
12
-
13
- <p align="center">
14
- <img src="docs/demo_mockup.svg" width="800" />
15
- </p>
16
-
17
- ## Features
18
-
19
- - 📖 **Agentic Workflow**
20
- Autonomous decision-making process to search, browse, and reason.
21
-
22
- - 🎑 **Multi-Modal Support**
23
- Native support for image analysis using Vision Language Models (VLMs).
24
-
25
- - 🔍 **Web Search & Crawling**
26
- Integrated **DuckDuckGo** and **Crawl4AI** for real-time information retrieval.
27
-
28
- - 🎨 **Rich Rendering**
29
- Responses are rendered as images containing Markdown, syntax-highlighted code, LaTeX math, and citation badges.
30
-
31
- - 🔌 **Protocol Support**
32
- Deep integration with OneBot 11 and Satori protocols, handling reply context and JSON cards perfectly.
33
-
34
- ## Installation
35
-
36
- ```bash
37
- pip install entari-plugin-hyw
38
- ```
39
-
40
- ## Configuration
41
-
42
- Configure the plugin in your `entari.yml`.
43
-
44
- ### Minimal Configuration
45
-
46
- ```yaml
47
- plugins:
48
- entari_plugin_hyw:
49
- model_name: google/gemini-2.0-flash-exp
50
- api_key: "your-or-api-key-here"
51
- # Rendering Configuration
52
- render_timeout_ms: 6000 # Browser wait timeout
53
- render_image_timeout_ms: 3000 # Image load wait timeout
54
- ```
55
-
56
- ## Usage
57
-
58
- ### Commands
59
-
60
- - **Text Query**
61
- ```text
62
- /q What's the latest news on Rust 1.83?
63
- ```
64
-
65
- - **Image Analysis**
66
- *(Send an image with command, or reply to an image)*
67
- ```text
68
- /q [Image] Explain this error.
69
- ```
70
- - **Quote Query**
71
- ```text
72
- [quote: User Message] /q
73
- ```
74
-
75
- - **Follow-up**
76
- *Reply to the bot's message to continue the conversation.*
77
-
78
- ## Documentation for AI/LLMs
79
-
80
- - [Instruction Guide (English)](docs/README_LLM_EN.md)
81
- - [指导手册 (简体中文)](docs/README_LLM_CN.md)
82
-
83
- ---
84
-
85
- ## License
86
-
87
- This project is licensed under the MIT License.