webpeel 0.21.46 → 0.21.47

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.
@@ -199,7 +199,13 @@ export function createResearchRouter() {
199
199
  }
200
200
  catch (proxyErr) {
201
201
  console.warn('[research] Hetzner proxy failed, falling back to local:', proxyErr.message);
202
- // Fall through to local research pipeline
202
+ // Return the proxy error directly instead of falling back to broken local path
203
+ res.json({
204
+ success: false,
205
+ error: { type: 'proxy_error', message: `Research worker unavailable: ${proxyErr.message}` },
206
+ requestId: req.requestId,
207
+ });
208
+ return;
203
209
  }
204
210
  }
205
211
  // ── Parse & validate body ─────────────────────────────────────────────
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webpeel",
3
- "version": "0.21.46",
3
+ "version": "0.21.47",
4
4
  "description": "Fast web fetcher for AI agents - stealth mode, crawl mode, page actions, structured extraction, PDF parsing, smart escalation from simple HTTP to headless browser",
5
5
  "author": "Jake Liu",
6
6
  "license": "AGPL-3.0-only",