@melaya/runner 1.0.52 → 1.0.53

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.
Files changed (2) hide show
  1. package/dist/pythonEnv.js +13 -0
  2. package/package.json +1 -1
package/dist/pythonEnv.js CHANGED
@@ -92,6 +92,19 @@ const PIP_DEPS = [
92
92
  // `scrapling install` to download Chromium — best-effort run below
93
93
  // (failure non-fatal: AsyncFetcher fast-path still works without it).
94
94
  "scrapling[fetchers]",
95
+ // beautifulsoup4 + lxml — HTML parser used by _search_ddg_html in
96
+ // shared.tools.core to scrape DDG's HTML search results page (the
97
+ // primary, non-rate-limited path). Without these, every web_search
98
+ // call raises ModuleNotFoundError, falls through to DDGS, and if
99
+ // DDGS is also down or rate-limited, the tool surfaces an error
100
+ // STRING that small local models (qwen3-vl-8b et al) read as
101
+ // data and hallucinate URLs around. Scrapling's [fetchers] extra
102
+ // does NOT pull bs4 (it brings curl_cffi+playwright), so pin
103
+ // explicitly. Tokano's run d38e09f747134084 hit this — Copywriter
104
+ // invented theinformation.com + nature.com URLs because every
105
+ // search returned 'Search error: ModuleNotFoundError bs4'.
106
+ "beautifulsoup4",
107
+ "lxml",
95
108
  // Telethon — Telegram MTProto user-mode client. Used by
96
109
  // shared.tools.telegram_user_tools. The bot-API path in
97
110
  // shared.tools.messaging.py uses plain HTTP and needs no extra dep.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melaya/runner",
3
- "version": "1.0.52",
3
+ "version": "1.0.53",
4
4
  "description": "Run Melaya AI pipelines locally with your own LM Studio or Ollama models",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,