vibesurf 0.1.29__py3-none-any.whl → 0.1.30__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 vibesurf might be problematic. Click here for more details.
- vibe_surf/_version.py +2 -2
- vibe_surf/agents/vibe_surf_agent.py +2 -0
- vibe_surf/tools/browser_use_tools.py +21 -5
- {vibesurf-0.1.29.dist-info → vibesurf-0.1.30.dist-info}/METADATA +2 -2
- {vibesurf-0.1.29.dist-info → vibesurf-0.1.30.dist-info}/RECORD +9 -9
- {vibesurf-0.1.29.dist-info → vibesurf-0.1.30.dist-info}/WHEEL +0 -0
- {vibesurf-0.1.29.dist-info → vibesurf-0.1.30.dist-info}/entry_points.txt +0 -0
- {vibesurf-0.1.29.dist-info → vibesurf-0.1.30.dist-info}/licenses/LICENSE +0 -0
- {vibesurf-0.1.29.dist-info → vibesurf-0.1.30.dist-info}/top_level.txt +0 -0
vibe_surf/_version.py
CHANGED
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '0.1.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 1,
|
|
31
|
+
__version__ = version = '0.1.30'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 1, 30)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
|
@@ -501,6 +501,8 @@ async def _vibesurf_agent_node_impl(state: VibeSurfState) -> VibeSurfState:
|
|
|
501
501
|
return state
|
|
502
502
|
|
|
503
503
|
except Exception as e:
|
|
504
|
+
import traceback
|
|
505
|
+
traceback.print_exc()
|
|
504
506
|
logger.error(f"❌ VibeSurf agent failed: {e}")
|
|
505
507
|
state.final_response = f"Task execution failed: {str(e)}"
|
|
506
508
|
state.is_complete = True
|
|
@@ -29,7 +29,7 @@ from browser_use.tools.views import (
|
|
|
29
29
|
InputTextAction,
|
|
30
30
|
NoParamsAction,
|
|
31
31
|
ScrollAction,
|
|
32
|
-
|
|
32
|
+
SearchAction,
|
|
33
33
|
SelectDropdownOptionAction,
|
|
34
34
|
SendKeysAction,
|
|
35
35
|
StructuredOutputAction,
|
|
@@ -370,11 +370,27 @@ class BrowserUseTools(Tools, VibeSurfTools):
|
|
|
370
370
|
# =======================
|
|
371
371
|
|
|
372
372
|
@self.registry.action(
|
|
373
|
-
'Search the query
|
|
374
|
-
param_model=
|
|
373
|
+
'Search the query using the specified search engine. Defaults to DuckDuckGo (recommended) to avoid reCAPTCHA. Options: duckduckgo, google, bing. Query should be concrete and not vague or super long.',
|
|
374
|
+
param_model=SearchAction,
|
|
375
375
|
)
|
|
376
|
-
async def
|
|
377
|
-
|
|
376
|
+
async def search(params: SearchAction, browser_session: AgentBrowserSession):
|
|
377
|
+
import urllib.parse
|
|
378
|
+
|
|
379
|
+
# Encode query for URL safety
|
|
380
|
+
encoded_query = urllib.parse.quote_plus(params.query)
|
|
381
|
+
|
|
382
|
+
# Build search URL based on search engine
|
|
383
|
+
search_engines = {
|
|
384
|
+
'duckduckgo': f'https://duckduckgo.com/?q={encoded_query}',
|
|
385
|
+
'google': f'https://www.google.com/search?q={encoded_query}&udm=14',
|
|
386
|
+
'bing': f'https://www.bing.com/search?q={encoded_query}',
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
if params.search_engine.lower() not in search_engines:
|
|
390
|
+
return ActionResult(
|
|
391
|
+
error=f'Unsupported search engine: {params.search_engine}. Options: duckduckgo, google, bing')
|
|
392
|
+
|
|
393
|
+
search_url = search_engines[params.search_engine.lower()]
|
|
378
394
|
|
|
379
395
|
try:
|
|
380
396
|
# Use AgentBrowserSession's direct navigation method
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vibesurf
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.30
|
|
4
4
|
Summary: VibeSurf: A powerful browser assistant for vibe surfing
|
|
5
5
|
Author: Shao Warm
|
|
6
6
|
License: Apache-2.0
|
|
@@ -37,7 +37,7 @@ Requires-Dist: aiosqlite>=0.21.0
|
|
|
37
37
|
Requires-Dist: rich>=13.0.0
|
|
38
38
|
Requires-Dist: greenlet>=3.2.4
|
|
39
39
|
Requires-Dist: getmac>=0.9.5
|
|
40
|
-
Requires-Dist: browser-use==0.7.
|
|
40
|
+
Requires-Dist: browser-use==0.7.10
|
|
41
41
|
Requires-Dist: markdown-pdf>=1.9
|
|
42
42
|
Requires-Dist: nanoid>=2.0.0
|
|
43
43
|
Requires-Dist: markdownify>=1.2.0
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
vibe_surf/__init__.py,sha256=WtduuMFGauMD_9dpk4fnRnLTAP6ka9Lfu0feAFNzLfo,339
|
|
2
|
-
vibe_surf/_version.py,sha256=
|
|
2
|
+
vibe_surf/_version.py,sha256=7uECrVBrQp8oMpQ9kKw-f_5Paethxw3N6f1GMwAYpRg,706
|
|
3
3
|
vibe_surf/cli.py,sha256=KAmUBsXfS-NkMp3ITxzNXwtFeKVmXJUDZiWqLcIC0BI,16690
|
|
4
4
|
vibe_surf/common.py,sha256=_WWMxen5wFwzUjEShn3yDVC1OBFUiJ6Vccadi6tuG6w,1215
|
|
5
5
|
vibe_surf/logger.py,sha256=k53MFA96QX6t9OfcOf1Zws8PP0OOqjVJfhUD3Do9lKw,3043
|
|
6
6
|
vibe_surf/agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
vibe_surf/agents/browser_use_agent.py,sha256=jeUYV7yk6vyycw6liju_597GdjB3CW_B2wEhn2F0ekk,45957
|
|
8
8
|
vibe_surf/agents/report_writer_agent.py,sha256=pCF2k6VLyO-sSviGBqqIyVD3SLqaZtSqiW3kvNfPY1I,20967
|
|
9
|
-
vibe_surf/agents/vibe_surf_agent.py,sha256=
|
|
9
|
+
vibe_surf/agents/vibe_surf_agent.py,sha256=VoybehPeO4lymN6524eOkHIezFIp6ZabWSE_e5CbyZM,74217
|
|
10
10
|
vibe_surf/agents/views.py,sha256=yHjNJloa-aofVTGyuRy08tBYP_Y3XLqt1DUWOUmHRng,4825
|
|
11
11
|
vibe_surf/agents/prompts/__init__.py,sha256=l4ieA0D8kLJthyNN85FKLNe4ExBa3stY3l-aImLDRD0,36
|
|
12
12
|
vibe_surf/agents/prompts/report_writer_prompt.py,sha256=sZE8MUT1CDLmRzbnbEQzAvTwJjpITgh2Q8g1_eXmkzE,4454
|
|
@@ -87,7 +87,7 @@ vibe_surf/chrome_extension/styles/variables.css,sha256=enjyhsa0PeU3b-3uiXa-VkV-1
|
|
|
87
87
|
vibe_surf/llm/__init__.py,sha256=_vDVPo6STf343p1SgMQrF5023hicAx0g83pK2Gbk4Ek,601
|
|
88
88
|
vibe_surf/llm/openai_compatible.py,sha256=i0a5OLaL6QIlacVyctOG09vKr3KOi8T8Izp1v7xkD5I,16112
|
|
89
89
|
vibe_surf/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
90
|
-
vibe_surf/tools/browser_use_tools.py,sha256=
|
|
90
|
+
vibe_surf/tools/browser_use_tools.py,sha256=2bfttOq_pxNNVIc_NHinQzXMvMW6oTZNYFr4pvGNQYg,32313
|
|
91
91
|
vibe_surf/tools/file_system.py,sha256=Tw_6J5QjCahQ3fd26CXziF1zPvRxhYM0889oK4bDhlU,19304
|
|
92
92
|
vibe_surf/tools/finance_tools.py,sha256=E8rmblp57e_cp0tFbdZ7BY3_upNlk4Whk0bYc_SFCJE,27284
|
|
93
93
|
vibe_surf/tools/mcp_client.py,sha256=OeCoTgyx4MoY7JxXndK6pGHIoyFOhf5r7XCbx25y1Ec,2446
|
|
@@ -109,9 +109,9 @@ vibe_surf/tools/website_api/xhs/helpers.py,sha256=Dq2RyYKClBQ2ha2yEfpS1mtZswx0z9
|
|
|
109
109
|
vibe_surf/tools/website_api/youtube/__init__.py,sha256=QWmZWSqo1O6XtaWP-SuL3HrBLYINjEWEyOy-KCytGDw,1145
|
|
110
110
|
vibe_surf/tools/website_api/youtube/client.py,sha256=GgrAvv_DWbnLHW59PnOXEHeO05s9_Abaakk-JzJ_UTc,48887
|
|
111
111
|
vibe_surf/tools/website_api/youtube/helpers.py,sha256=GPgqfNirLYjIpk1OObvoXd2Ktq-ahKOOKHO2WwQVXCw,12931
|
|
112
|
-
vibesurf-0.1.
|
|
113
|
-
vibesurf-0.1.
|
|
114
|
-
vibesurf-0.1.
|
|
115
|
-
vibesurf-0.1.
|
|
116
|
-
vibesurf-0.1.
|
|
117
|
-
vibesurf-0.1.
|
|
112
|
+
vibesurf-0.1.30.dist-info/licenses/LICENSE,sha256=vRmTjOYvD8RLiSGYYmFHnveYNswtO1uvSk1sd-Eu7sg,2037
|
|
113
|
+
vibesurf-0.1.30.dist-info/METADATA,sha256=xdV2DIBCvPG9Kz55mit2KhoRK5aaP8nxMVAapBRPXvA,6110
|
|
114
|
+
vibesurf-0.1.30.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
115
|
+
vibesurf-0.1.30.dist-info/entry_points.txt,sha256=UxqpvMocL-PR33S6vLF2OmXn-kVzM-DneMeZeHcPMM8,48
|
|
116
|
+
vibesurf-0.1.30.dist-info/top_level.txt,sha256=VPZGHqSb6EEqcJ4ZX6bHIuWfon5f6HXl3c7BYpbRqnY,10
|
|
117
|
+
vibesurf-0.1.30.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|