entari-plugin-hyw 0.3.5__py3-none-any.whl → 4.0.0rc14__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/Untitled-1 +1865 -0
- entari_plugin_hyw/__init__.py +979 -116
- entari_plugin_hyw/filters.py +83 -0
- entari_plugin_hyw/history.py +251 -0
- entari_plugin_hyw/misc.py +214 -0
- entari_plugin_hyw/search_cache.py +154 -0
- entari_plugin_hyw-4.0.0rc14.dist-info/METADATA +118 -0
- entari_plugin_hyw-4.0.0rc14.dist-info/RECORD +72 -0
- {entari_plugin_hyw-0.3.5.dist-info → entari_plugin_hyw-4.0.0rc14.dist-info}/WHEEL +1 -1
- {entari_plugin_hyw-0.3.5.dist-info → entari_plugin_hyw-4.0.0rc14.dist-info}/top_level.txt +1 -0
- hyw_core/__init__.py +94 -0
- hyw_core/agent.py +768 -0
- hyw_core/browser_control/__init__.py +63 -0
- hyw_core/browser_control/assets/card-dist/index.html +425 -0
- hyw_core/browser_control/assets/card-dist/logos/anthropic.svg +1 -0
- hyw_core/browser_control/assets/card-dist/logos/cerebras.svg +9 -0
- hyw_core/browser_control/assets/card-dist/logos/deepseek.png +0 -0
- hyw_core/browser_control/assets/card-dist/logos/gemini.svg +1 -0
- hyw_core/browser_control/assets/card-dist/logos/google.svg +1 -0
- hyw_core/browser_control/assets/card-dist/logos/grok.png +0 -0
- hyw_core/browser_control/assets/card-dist/logos/huggingface.png +0 -0
- hyw_core/browser_control/assets/card-dist/logos/microsoft.svg +15 -0
- hyw_core/browser_control/assets/card-dist/logos/minimax.png +0 -0
- hyw_core/browser_control/assets/card-dist/logos/mistral.png +0 -0
- hyw_core/browser_control/assets/card-dist/logos/nvida.png +0 -0
- hyw_core/browser_control/assets/card-dist/logos/openai.svg +1 -0
- hyw_core/browser_control/assets/card-dist/logos/openrouter.png +0 -0
- hyw_core/browser_control/assets/card-dist/logos/perplexity.svg +24 -0
- hyw_core/browser_control/assets/card-dist/logos/qwen.png +0 -0
- hyw_core/browser_control/assets/card-dist/logos/xai.png +0 -0
- hyw_core/browser_control/assets/card-dist/logos/xiaomi.png +0 -0
- hyw_core/browser_control/assets/card-dist/logos/zai.png +0 -0
- hyw_core/browser_control/assets/card-dist/vite.svg +1 -0
- hyw_core/browser_control/assets/index.html +5691 -0
- hyw_core/browser_control/assets/logos/anthropic.svg +1 -0
- hyw_core/browser_control/assets/logos/cerebras.svg +9 -0
- hyw_core/browser_control/assets/logos/deepseek.png +0 -0
- hyw_core/browser_control/assets/logos/gemini.svg +1 -0
- hyw_core/browser_control/assets/logos/google.svg +1 -0
- hyw_core/browser_control/assets/logos/grok.png +0 -0
- hyw_core/browser_control/assets/logos/huggingface.png +0 -0
- hyw_core/browser_control/assets/logos/microsoft.svg +15 -0
- hyw_core/browser_control/assets/logos/minimax.png +0 -0
- hyw_core/browser_control/assets/logos/mistral.png +0 -0
- hyw_core/browser_control/assets/logos/nvida.png +0 -0
- hyw_core/browser_control/assets/logos/openai.svg +1 -0
- hyw_core/browser_control/assets/logos/openrouter.png +0 -0
- hyw_core/browser_control/assets/logos/perplexity.svg +24 -0
- hyw_core/browser_control/assets/logos/qwen.png +0 -0
- hyw_core/browser_control/assets/logos/xai.png +0 -0
- hyw_core/browser_control/assets/logos/xiaomi.png +0 -0
- hyw_core/browser_control/assets/logos/zai.png +0 -0
- hyw_core/browser_control/engines/__init__.py +15 -0
- hyw_core/browser_control/engines/base.py +13 -0
- hyw_core/browser_control/engines/default.py +166 -0
- hyw_core/browser_control/engines/duckduckgo.py +171 -0
- hyw_core/browser_control/landing.html +172 -0
- hyw_core/browser_control/manager.py +173 -0
- hyw_core/browser_control/renderer.py +446 -0
- hyw_core/browser_control/service.py +940 -0
- hyw_core/config.py +154 -0
- hyw_core/core.py +462 -0
- hyw_core/crawling/__init__.py +18 -0
- hyw_core/crawling/completeness.py +437 -0
- hyw_core/crawling/models.py +88 -0
- hyw_core/definitions.py +104 -0
- hyw_core/image_cache.py +274 -0
- hyw_core/pipeline.py +502 -0
- hyw_core/search.py +171 -0
- hyw_core/stages/__init__.py +21 -0
- hyw_core/stages/base.py +95 -0
- hyw_core/stages/summary.py +191 -0
- entari_plugin_hyw/agent.py +0 -419
- entari_plugin_hyw/compressor.py +0 -59
- entari_plugin_hyw/tools.py +0 -236
- entari_plugin_hyw/vision.py +0 -35
- entari_plugin_hyw-0.3.5.dist-info/METADATA +0 -112
- entari_plugin_hyw-0.3.5.dist-info/RECORD +0 -9
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"""
|
|
2
|
+
hyw_core.browser_control - Browser automation and rendering
|
|
3
|
+
|
|
4
|
+
This subpackage provides:
|
|
5
|
+
- BrowserManager: Shared browser instance management
|
|
6
|
+
- PageService: Page fetching and screenshot capabilities
|
|
7
|
+
- RenderService: Vue-based card rendering
|
|
8
|
+
- Search engines: DuckDuckGo adapter
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
from .manager import (
|
|
12
|
+
SharedBrowserManager,
|
|
13
|
+
get_shared_browser_manager,
|
|
14
|
+
close_shared_browser,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
from .service import (
|
|
18
|
+
ScreenshotService,
|
|
19
|
+
get_screenshot_service,
|
|
20
|
+
close_screenshot_service,
|
|
21
|
+
prestart_browser,
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
from .renderer import (
|
|
25
|
+
ContentRenderer,
|
|
26
|
+
get_content_renderer,
|
|
27
|
+
set_global_renderer,
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
from .engines.base import SearchEngine
|
|
31
|
+
from .engines.duckduckgo import DuckDuckGoEngine
|
|
32
|
+
from .engines.default import DefaultEngine
|
|
33
|
+
|
|
34
|
+
# Aliases for cleaner API
|
|
35
|
+
BrowserManager = SharedBrowserManager
|
|
36
|
+
PageService = ScreenshotService
|
|
37
|
+
RenderService = ContentRenderer
|
|
38
|
+
|
|
39
|
+
__all__ = [
|
|
40
|
+
# Browser Management
|
|
41
|
+
"BrowserManager",
|
|
42
|
+
"SharedBrowserManager",
|
|
43
|
+
"get_shared_browser_manager",
|
|
44
|
+
"close_shared_browser",
|
|
45
|
+
|
|
46
|
+
# Page Service
|
|
47
|
+
"PageService",
|
|
48
|
+
"ScreenshotService",
|
|
49
|
+
"get_screenshot_service",
|
|
50
|
+
"close_screenshot_service",
|
|
51
|
+
"prestart_browser",
|
|
52
|
+
|
|
53
|
+
# Render Service
|
|
54
|
+
"RenderService",
|
|
55
|
+
"ContentRenderer",
|
|
56
|
+
"get_content_renderer",
|
|
57
|
+
"set_global_renderer",
|
|
58
|
+
|
|
59
|
+
# Search Engines
|
|
60
|
+
"SearchEngine",
|
|
61
|
+
"DuckDuckGoEngine",
|
|
62
|
+
"DefaultEngine",
|
|
63
|
+
]
|