@openclaw/searxng-plugin 2026.10.10 → 2026.11.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.
- package/dist/.setup/{searxng-client-DGsXJRDa.mjs → searxng-client-DHycwhcy.mjs} +4 -2
- package/dist/.setup/{searxng-search-provider-B1vbBHq8.mjs → searxng-search-provider-G09qHDjp.mjs} +3 -2
- package/dist/index.js +3 -2
- package/dist/web-search-provider.js +2 -1
- package/package.json +4 -4
- package/dist/.source-module-urls/5269b191e9602ca2d2f21224255368aa26997632a9c699e6d428543dc4d20cec.json +0 -1
|
@@ -4,7 +4,7 @@ import { assertHttpUrlTargetsPrivateNetwork, isBlockedHostnameOrIp, isPrivateIpA
|
|
|
4
4
|
import { asOptionalObjectRecord, asOptionalRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
import { normalizeSecretInput } from "openclaw/plugin-sdk/secret-input";
|
|
6
6
|
import { resolveReadOnlyEnvSecretRef } from "openclaw/plugin-sdk/secret-ref-readonly";
|
|
7
|
-
|
|
7
|
+
//#region extensions/searxng/src/config.ts
|
|
8
8
|
const SEARXNG_BASE_URL_ENV_VAR = "SEARXNG_BASE_URL";
|
|
9
9
|
const SEARXNG_BASE_URL_PATH = "plugins.entries.searxng.config.webSearch.baseUrl";
|
|
10
10
|
function normalizeBaseUrl(value) {
|
|
@@ -32,7 +32,8 @@ function resolveSearxngCategories(config) {
|
|
|
32
32
|
function resolveSearxngLanguage(config) {
|
|
33
33
|
return normalizeOptionalString(resolveSearxngWebSearchConfig(config)?.language);
|
|
34
34
|
}
|
|
35
|
-
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region extensions/searxng/src/searxng-client.ts
|
|
36
37
|
const DEFAULT_TIMEOUT_SECONDS = 20;
|
|
37
38
|
const MAX_RESPONSE_BYTES = 1e6;
|
|
38
39
|
const SEARXNG_SEARCH_CACHE = /* @__PURE__ */ new Map();
|
|
@@ -198,4 +199,5 @@ async function runSearxngSearch(params) {
|
|
|
198
199
|
return payload;
|
|
199
200
|
}
|
|
200
201
|
const testing = { SEARXNG_SEARCH_CACHE };
|
|
202
|
+
//#endregion
|
|
201
203
|
export { runSearxngSearch, testing };
|
package/dist/.setup/{searxng-search-provider-B1vbBHq8.mjs → searxng-search-provider-G09qHDjp.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
2
2
|
import { readPositiveIntegerParam, readStringParam } from "openclaw/plugin-sdk/param-readers";
|
|
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-DHycwhcy.mjs"));
|
|
7
7
|
const SearxngSearchSchema = {
|
|
8
8
|
type: "object",
|
|
9
9
|
properties: {
|
|
@@ -74,4 +74,5 @@ function createSearxngWebSearchProvider() {
|
|
|
74
74
|
})
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
|
+
//#endregion
|
|
77
78
|
export { createSearxngWebSearchProvider as t };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as createSearxngWebSearchProvider } from "./.setup/searxng-search-provider-
|
|
1
|
+
import { t as createSearxngWebSearchProvider } from "./.setup/searxng-search-provider-G09qHDjp.mjs";
|
|
2
2
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
3
|
-
|
|
3
|
+
//#region extensions/searxng/index.ts
|
|
4
4
|
var searxng_default = definePluginEntry({
|
|
5
5
|
id: "searxng",
|
|
6
6
|
name: "SearXNG Plugin",
|
|
@@ -9,4 +9,5 @@ var searxng_default = definePluginEntry({
|
|
|
9
9
|
api.registerWebSearchProvider(createSearxngWebSearchProvider());
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
+
//#endregion
|
|
12
13
|
export { searxng_default as default };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { t as createSearxngWebSearchProvider } from "./.setup/searxng-search-provider-G09qHDjp.mjs";
|
|
2
|
+
export { createSearxngWebSearchProvider };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/searxng-plugin",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.11.2",
|
|
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.
|
|
18
|
+
"pluginApi": ">=2026.11.2"
|
|
19
19
|
},
|
|
20
20
|
"build": {
|
|
21
|
-
"openclawVersion": "2026.
|
|
21
|
+
"openclawVersion": "2026.11.2",
|
|
22
22
|
"bundledDist": false
|
|
23
23
|
},
|
|
24
24
|
"release": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"assets/activity.svg"
|
|
42
42
|
],
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"openclaw": ">=2026.
|
|
44
|
+
"openclaw": ">=2026.11.2"
|
|
45
45
|
},
|
|
46
46
|
"peerDependenciesMeta": {
|
|
47
47
|
"openclaw": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"entries":[{"output":"index.js","source":"extensions/searxng/index.ts"},{"output":"web-search-provider.js","source":"extensions/searxng/web-search-provider.ts"}],"chunks":[{"output":".setup/searxng-client-DGsXJRDa.mjs","sha256":"9f923ad7de033df2064be3b2c6afa11e1379d45f84a2e86d3d7e6bd7aa4881bb","facadeSource":"extensions/searxng/src/searxng-client.ts","sources":["extensions/searxng/src/config.ts","extensions/searxng/src/searxng-client.ts"]},{"output":".setup/searxng-search-provider-B1vbBHq8.mjs","sha256":"2c2295ec29e9d7692dc4ae93dd58fdf4d507aab555748815171721bae1bb1b35","facadeSource":null,"sources":["extensions/searxng/src/searxng-search-provider.ts"]},{"output":"index.js","sha256":"5269a238200bc317b6ab1f03a5a7d122ba19ef0fa9e07b3bfa2440711b1d7327","facadeSource":"extensions/searxng/index.ts","sources":["extensions/searxng/index.ts"]},{"output":"web-search-provider.js","sha256":"aedd073865c53255835349abbf474e1c0b593c4eae6001fb5e7a9c0abaf174e6","facadeSource":"extensions/searxng/web-search-provider.ts","sources":[]}],"unrenderedSources":["extensions/searxng/web-search-provider.ts"]}
|