@openclaw/searxng-plugin 2026.10.10-beta.4 → 2026.10.10
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-DHycwhcy.mjs → searxng-client-DGsXJRDa.mjs} +2 -4
- package/dist/.setup/{searxng-search-provider-G09qHDjp.mjs → searxng-search-provider-B1vbBHq8.mjs} +2 -3
- package/dist/.source-module-urls/5269b191e9602ca2d2f21224255368aa26997632a9c699e6d428543dc4d20cec.json +1 -1
- package/dist/index.js +2 -3
- package/dist/web-search-provider.js +1 -1
- package/package.json +4 -4
|
@@ -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
|
+
// 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,8 +32,7 @@ function resolveSearxngCategories(config) {
|
|
|
32
32
|
function resolveSearxngLanguage(config) {
|
|
33
33
|
return normalizeOptionalString(resolveSearxngWebSearchConfig(config)?.language);
|
|
34
34
|
}
|
|
35
|
-
|
|
36
|
-
//#region extensions/searxng/src/searxng-client.ts
|
|
35
|
+
// extensions/searxng/src/searxng-client.ts
|
|
37
36
|
const DEFAULT_TIMEOUT_SECONDS = 20;
|
|
38
37
|
const MAX_RESPONSE_BYTES = 1e6;
|
|
39
38
|
const SEARXNG_SEARCH_CACHE = /* @__PURE__ */ new Map();
|
|
@@ -199,5 +198,4 @@ async function runSearxngSearch(params) {
|
|
|
199
198
|
return payload;
|
|
200
199
|
}
|
|
201
200
|
const testing = { SEARXNG_SEARCH_CACHE };
|
|
202
|
-
//#endregion
|
|
203
201
|
export { runSearxngSearch, testing };
|
package/dist/.setup/{searxng-search-provider-G09qHDjp.mjs → searxng-search-provider-B1vbBHq8.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
|
+
// 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-DGsXJRDa.mjs"));
|
|
7
7
|
const SearxngSearchSchema = {
|
|
8
8
|
type: "object",
|
|
9
9
|
properties: {
|
|
@@ -74,5 +74,4 @@ function createSearxngWebSearchProvider() {
|
|
|
74
74
|
})
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
|
-
//#endregion
|
|
78
77
|
export { createSearxngWebSearchProvider as t };
|
|
@@ -1 +1 @@
|
|
|
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-
|
|
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"]}
|
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-B1vbBHq8.mjs";
|
|
2
2
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
3
|
-
|
|
3
|
+
// extensions/searxng/index.ts
|
|
4
4
|
var searxng_default = definePluginEntry({
|
|
5
5
|
id: "searxng",
|
|
6
6
|
name: "SearXNG Plugin",
|
|
@@ -9,5 +9,4 @@ var searxng_default = definePluginEntry({
|
|
|
9
9
|
api.registerWebSearchProvider(createSearxngWebSearchProvider());
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
//#endregion
|
|
13
12
|
export { searxng_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as createSearxngWebSearchProvider } from "./.setup/searxng-search-provider-
|
|
1
|
+
export { t as createSearxngWebSearchProvider } from "./.setup/searxng-search-provider-B1vbBHq8.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/searxng-plugin",
|
|
3
|
-
"version": "2026.10.10
|
|
3
|
+
"version": "2026.10.10",
|
|
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.10.10
|
|
18
|
+
"pluginApi": ">=2026.10.10"
|
|
19
19
|
},
|
|
20
20
|
"build": {
|
|
21
|
-
"openclawVersion": "2026.10.10
|
|
21
|
+
"openclawVersion": "2026.10.10",
|
|
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.10.10
|
|
44
|
+
"openclaw": ">=2026.10.10"
|
|
45
45
|
},
|
|
46
46
|
"peerDependenciesMeta": {
|
|
47
47
|
"openclaw": {
|