@framers/agentos-ext-web-search 1.3.1 → 1.3.2

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 +16 -13
  2. package/manifest.json +1 -1
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -13,20 +13,23 @@ npm install @framers/agentos-ext-web-search
13
13
  ## Quick Start
14
14
 
15
15
  ```ts
16
- import { ExtensionManager } from '@framers/agentos';
17
- import { createExtensionPack } from '@framers/agentos-ext-web-search';
18
-
19
- const extensionManager = new ExtensionManager();
20
-
21
- extensionManager.register(createExtensionPack({
22
- options: {
23
- // Any one of these is enough; Serper/SerpAPI/Brave are tried in order.
24
- serperApiKey: process.env.SERPER_API_KEY,
25
- serpApiKey: process.env.SERPAPI_API_KEY,
26
- braveApiKey: process.env.BRAVE_API_KEY,
16
+ import { AgentOS } from '@framers/agentos';
17
+
18
+ const agentos = await AgentOS.create({
19
+ extensionManifest: {
20
+ packs: [
21
+ {
22
+ package: '@framers/agentos-ext-web-search',
23
+ options: {
24
+ // Any one of these is enough; Serper/SerpAPI/Brave are tried in order.
25
+ serperApiKey: process.env.SERPER_API_KEY,
26
+ serpApiKey: process.env.SERPAPI_API_KEY,
27
+ braveApiKey: process.env.BRAVE_API_KEY,
28
+ },
29
+ },
30
+ ],
27
31
  },
28
- logger: console,
29
- }));
32
+ });
30
33
  ```
31
34
 
32
35
  ## Environment Variables
package/manifest.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://agentos.sh/schemas/extension-manifest-v1.json",
3
3
  "id": "com.framers.research.web-search",
4
4
  "name": "Web Search Extension",
5
- "version": "1.3.1",
5
+ "version": "1.3.2",
6
6
  "description": "Multi-provider web search with Firecrawl, Tavily, Serper, Brave — RRF fusion, semantic dedup, Cohere/LLM neural reranking, research aggregation, and fact-checking for AgentOS",
7
7
  "author": {
8
8
  "name": "Frame.dev",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@framers/agentos-ext-web-search",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Web search, research aggregation, and fact-checking tools for AgentOS",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -55,7 +55,7 @@
55
55
  "typedoc": "^0.25.13",
56
56
  "typescript": "^5.4.5",
57
57
  "vitest": "^3.2.7",
58
- "@framers/agentos": "^0.13.40"
58
+ "@framers/agentos": "^0.13.47"
59
59
  },
60
60
  "homepage": "https://github.com/framerslab/agentos-extensions/tree/master/registry/curated/research/web-search#readme",
61
61
  "bugs": {