@elizaos/plugin-web-search 0.1.7-alpha.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.
package/package.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "@elizaos/plugin-web-search",
3
+ "version": "0.1.7-alpha.1",
4
+ "main": "dist/index.js",
5
+ "type": "module",
6
+ "types": "dist/index.d.ts",
7
+ "dependencies": {
8
+ "@elizaos/core": "workspace:*",
9
+ "tsup": "8.3.5"
10
+ },
11
+ "scripts": {
12
+ "build": "tsup --format esm --dts",
13
+ "dev": "tsup --format esm --dts --watch"
14
+ },
15
+ "peerDependencies": {
16
+ "whatwg-url": "7.1.0"
17
+ }
18
+ }
package/tsup.config.ts ADDED
@@ -0,0 +1,21 @@
1
+ import { defineConfig } from "tsup";
2
+
3
+ export default defineConfig({
4
+ entry: ["src/index.ts"],
5
+ outDir: "dist",
6
+ sourcemap: true,
7
+ clean: true,
8
+ format: ["esm"], // Ensure you're targeting CommonJS
9
+ external: [
10
+ "dotenv", // Externalize dotenv to prevent bundling
11
+ "fs", // Externalize fs to use Node.js built-in module
12
+ "path", // Externalize other built-ins if necessary
13
+ "@reflink/reflink",
14
+ "@node-llama-cpp",
15
+ "https",
16
+ "http",
17
+ "agentkeepalive",
18
+ "zod",
19
+ // Add other modules you want to externalize
20
+ ],
21
+ });