web-search-plus-plugin 1.3.3 → 1.3.5

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/index.ts CHANGED
@@ -1,4 +1,3 @@
1
- import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
2
1
  import { Type } from "@sinclair/typebox";
3
2
  import { spawn } from "child_process";
4
3
  import fs from "fs";
@@ -83,12 +82,7 @@ function runPython(
83
82
  const PLUGIN_DIR = getPluginDir();
84
83
  const scriptPath = path.join(PLUGIN_DIR, "scripts", "search.py");
85
84
 
86
- export default definePluginEntry({
87
- id: "web-search-plus-plugin",
88
- name: "Web Search Plus",
89
- description:
90
- "Multi-provider web search (Serper/Google, Tavily, Querit/Multilingual AI Search, Exa/Neural+Deep, Perplexity, You.com, SearXNG) with intelligent auto-routing",
91
- register(api) {
85
+ export default function (api: any) {
92
86
  // Bridge OpenClaw config fields to env vars expected by search.py
93
87
  const configEnv: Record<string, string> = {};
94
88
  const pluginConfig: Record<string, string> = (api.pluginConfig ?? {}) as Record<string, string>;
@@ -246,5 +240,4 @@ export default definePluginEntry({
246
240
  },
247
241
  { optional: true },
248
242
  );
249
- },
250
- });
243
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "web-search-plus-plugin",
3
3
  "name": "Web Search Plus",
4
- "version": "1.3.3",
4
+ "version": "1.3.5",
5
5
  "description": "Multi-provider web search (Serper/Google, Tavily, Querit/Multilingual AI Search, Exa/Neural+Deep, Perplexity, You.com, SearXNG) with intelligent auto-routing",
6
6
  "configSchema": {
7
7
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-search-plus-plugin",
3
- "version": "1.3.3",
3
+ "version": "1.3.5",
4
4
  "description": "OpenClaw plugin: multi-provider web search (Serper/Google, Tavily, Querit/Multilingual AI Search, Exa/Neural+Deep, Perplexity, You.com, SearXNG) with intelligent auto-routing",
5
5
  "type": "module",
6
6
  "main": "index.ts",
@@ -16,6 +16,9 @@
16
16
  "LICENSE"
17
17
  ],
18
18
  "keywords": ["openclaw", "plugin", "search", "serper", "tavily", "querit", "exa", "exa-deep", "perplexity", "you", "searxng", "web-search", "auto-routing"],
19
+ "dependencies": {
20
+ "@sinclair/typebox": "^0.34.0"
21
+ },
19
22
  "peerDependencies": {
20
23
  "openclaw": ">=2026.3.22"
21
24
  },