pi-web-providers 3.4.0 โ†’ 3.5.1

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 (3) hide show
  1. package/README.md +32 -22
  2. package/dist/index.js +780 -162
  3. package/package.json +22 -22
package/README.md CHANGED
@@ -317,10 +317,12 @@ scope, or account ID is usually wrong.
317
317
  - SDK: `exa-js`
318
318
  - Supports `web_search`, `web_contents`, `web_answer`, and `web_research`
319
319
  - `web_research` is exposed through pi's async research workflow
320
- - Neural, keyword, hybrid, and deep-research search modes
320
+ - Neural, keyword, hybrid, and deep-search search modes
321
321
  - Inline text-content extraction on search results
322
- - Exposes search options such as `category`, `type`, date filters,
323
- `includeDomains`, `excludeDomains`, `userLocation`, and `contents`
322
+ - Exposes search options such as `category`, `type`, crawl and publish date
323
+ filters, `includeDomains`, `excludeDomains`, `includeText`, `excludeText`,
324
+ `userLocation`, `additionalQueries`, `systemPrompt`, and richer `contents`
325
+ controls such as `livecrawl`, `maxAgeHours`, `subpages`, and `extras`
324
326
  - Persisted Exa defaults are scoped under `providers.exa.options.search`
325
327
  - `web_contents`, `web_answer`, and `web_research` currently use fixed provider behavior with no extra per-call provider options
326
328
 
@@ -337,11 +339,15 @@ scope, or account ID is usually wrong.
337
339
  set `options.url` in the `web_answer` call or
338
340
  `providers.firecrawl.options.answer.url` as a default
339
341
  - Exposes search options such as `lang`, `country`, `sources`, `categories`,
340
- `location`, `timeout`, and `scrapeOptions`
342
+ domain filters, `tbs`, `location`, `timeout`, and `scrapeOptions`
341
343
  - Exposes contents options such as `formats`, `onlyMainContent`, `includeTags`,
342
- `excludeTags`, `waitFor`, `headers`, `location`, `mobile`, and `proxy`
344
+ `excludeTags`, `waitFor`, `timeout`, `headers`, `location`, `mobile`,
345
+ `proxy`, `fastMode`, `blockAds`, `removeBase64Images`, `redactPII`, and
346
+ cache controls
343
347
  - Exposes answer options `url`, `onlyMainContent`, `includeTags`,
344
- `excludeTags`, `waitFor`, `headers`, `location`, `mobile`, and `proxy`
348
+ `excludeTags`, `waitFor`, `timeout`, `headers`, `location`, `mobile`,
349
+ `proxy`, `fastMode`, `blockAds`, `removeBase64Images`, `redactPII`, and
350
+ cache controls
345
351
  - Firecrawl charges 5 credits per page for the `question` format
346
352
  - Optional `baseUrl` overrides are supported for self-hosted Firecrawl
347
353
  instances, proxies, and testing. API keys are required for Firecrawl Cloud,
@@ -426,10 +432,12 @@ Minimal config:
426
432
  - Supports `web_search`, `web_answer`, and `web_research`
427
433
  - Uses the Responses API for structured web search, grounded answers, and
428
434
  deep-research runs
429
- - Always enables OpenAI's built-in `web_search_preview` tool for search,
430
- answer, and research calls
431
- - Exposes `model` and `instructions` for `web_search` and `web_answer`
432
- - Exposes `model`, `instructions`, and `max_tool_calls` for `web_research`
435
+ - Enables OpenAI's built-in `web_search` tool for search, answer, and research
436
+ calls
437
+ - Exposes `model`, `instructions`, `searchContextSize`, `allowedDomains`, and
438
+ `userLocation` for `web_search` and `web_answer`
439
+ - Exposes `model`, `instructions`, `max_tool_calls`, `searchContextSize`,
440
+ `allowedDomains`, and `userLocation` for `web_research`
433
441
  - Good fit when you want official OpenAI web-grounded search, answers, and deep
434
442
  research behind pi's managed tool abstractions
435
443
 
@@ -496,7 +504,7 @@ call.
496
504
  <summary><strong>Parallel</strong></summary>
497
505
 
498
506
  - SDK: `parallel-web`
499
- - Agentic and one-shot search modes
507
+ - Search modes `advanced`, `basic`, and `turbo`
500
508
  - Page content extraction with excerpt and full-content toggles
501
509
  - Exposes search option `mode`
502
510
  - Exposes contents options `excerpts` and `full_content`
@@ -562,12 +570,20 @@ Minimal config:
562
570
  - Supports `web_search`, `web_contents`, `web_answer`, and `web_research`
563
571
  - `web_research` is exposed through pi's async research workflow
564
572
  - Web, proprietary, and news search types
565
- - Exposes search options `searchType`, `responseLength`, and `countryCode`
566
- - Exposes answer and research options `responseLength` and `countryCode`
573
+ - Exposes search options such as `searchType`, `responseLength`,
574
+ `countryCode`, source filters, `sourceBiases`, date filters,
575
+ `historicalCache`, `fastMode`, `urlOnly`, and `instructions`
576
+ - Exposes contents options such as `summary`, `extractEffort`,
577
+ `responseLength`, `maxPriceDollars`, `screenshot`, date filters, and
578
+ `historicalCache`
579
+ - Exposes answer options such as `structuredOutput`, `systemInstructions`,
580
+ `searchType`, `dataMaxPrice`, source filters, date filters, `countryCode`,
581
+ and `fastMode`
582
+ - Exposes research options such as `mode`, `outputFormats`, `search`,
583
+ and `tools`
567
584
  - Persisted Valyu defaults are scoped under `providers.valyu.options.search`,
568
- `providers.valyu.options.answer`, and `providers.valyu.options.research`
569
- - `web_contents` currently uses fixed provider behavior with no extra per-call
570
- provider options
585
+ `providers.valyu.options.contents`, `providers.valyu.options.answer`, and
586
+ `providers.valyu.options.research`
571
587
 
572
588
  </details>
573
589
 
@@ -668,12 +684,6 @@ providers unless overridden in a provider's own `settings` block:
668
684
  | `retryDelayMs` | `2000` | Initial delay before retrying |
669
685
  | `researchTimeoutMs` | `1800000` | Maximum total time for an async `web_research` job (30 min) |
670
686
 
671
- ## ๐Ÿงน Uninstall
672
-
673
- ```sh
674
- pi remove npm:pi-web-providers
675
- ```
676
-
677
687
  ## ๐Ÿ“„ License
678
688
 
679
689
  [MIT](LICENSE)