@openclaw/searxng-plugin 2026.7.2-beta.5 → 2026.7.2-beta.7
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/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createSearxngWebSearchProvider } from "./searxng-search-provider-
|
|
1
|
+
import { t as createSearxngWebSearchProvider } from "./searxng-search-provider-B47sPRhS.js";
|
|
2
2
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
3
3
|
//#region extensions/searxng/index.ts
|
|
4
4
|
var searxng_default = definePluginEntry({
|
|
@@ -57,7 +57,8 @@ function normalizeSearxngResult(value) {
|
|
|
57
57
|
}
|
|
58
58
|
function buildSearxngSearchUrl(params) {
|
|
59
59
|
const url = new URL(params.baseUrl);
|
|
60
|
-
|
|
60
|
+
const basePathname = url.pathname.replace(/\/+$/u, "");
|
|
61
|
+
url.pathname = basePathname.endsWith("/search") ? basePathname : `${basePathname}/search`;
|
|
61
62
|
url.search = "";
|
|
62
63
|
url.searchParams.set("q", params.query);
|
|
63
64
|
url.searchParams.set("format", "json");
|
|
@@ -3,7 +3,7 @@ import { readPositiveIntegerParam, readStringParam } from "openclaw/plugin-sdk/p
|
|
|
3
3
|
import { createWebSearchProviderContractFields } from "openclaw/plugin-sdk/provider-web-search-contract";
|
|
4
4
|
//#region extensions/searxng/src/searxng-search-provider.ts
|
|
5
5
|
const SEARXNG_CREDENTIAL_PATH = "plugins.entries.searxng.config.webSearch.baseUrl";
|
|
6
|
-
const loadSearxngClientModule = createLazyRuntimeModule(() => import("./searxng-client-
|
|
6
|
+
const loadSearxngClientModule = createLazyRuntimeModule(() => import("./searxng-client-DI4F_j6f.js"));
|
|
7
7
|
const SearxngSearchSchema = {
|
|
8
8
|
type: "object",
|
|
9
9
|
properties: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createSearxngWebSearchProvider } from "./searxng-search-provider-
|
|
1
|
+
import { t as createSearxngWebSearchProvider } from "./searxng-search-provider-B47sPRhS.js";
|
|
2
2
|
export { createSearxngWebSearchProvider };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/searxng-plugin",
|
|
3
|
-
"version": "2026.7.2-beta.
|
|
3
|
+
"version": "2026.7.2-beta.7",
|
|
4
4
|
"description": "OpenClaw SearXNG plugin",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"openclaw": {
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"allowInvalidConfigRecovery": true
|
|
16
16
|
},
|
|
17
17
|
"compat": {
|
|
18
|
-
"pluginApi": ">=2026.7.2-beta.
|
|
18
|
+
"pluginApi": ">=2026.7.2-beta.7"
|
|
19
19
|
},
|
|
20
20
|
"build": {
|
|
21
|
-
"openclawVersion": "2026.7.2-beta.
|
|
21
|
+
"openclawVersion": "2026.7.2-beta.7",
|
|
22
22
|
"bundledDist": false
|
|
23
23
|
},
|
|
24
24
|
"release": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"README.md"
|
|
40
40
|
],
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"openclaw": ">=2026.7.2-beta.
|
|
42
|
+
"openclaw": ">=2026.7.2-beta.7"
|
|
43
43
|
},
|
|
44
44
|
"peerDependenciesMeta": {
|
|
45
45
|
"openclaw": {
|