@openclaw/searxng-plugin 2026.9.5 → 2026.9.6

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.
@@ -1,3 +1,4 @@
1
+ import { ProviderHttpError } from "openclaw/plugin-sdk/provider-http";
1
2
  import { DEFAULT_CACHE_TTL_MINUTES, DEFAULT_SEARCH_COUNT, normalizeCacheKey, readCache, readResponseText, resolveCacheTtlMs, resolveSearchCount, resolveSiteName, resolveTimeoutSeconds, withSelfHostedWebSearchEndpoint, withTrustedWebSearchEndpoint, wrapWebContent, writeCache } from "openclaw/plugin-sdk/provider-web-search";
2
3
  import { assertHttpUrlTargetsPrivateNetwork, isBlockedHostnameOrIp, isPrivateIpAddress, resolvePinnedHostnameWithPolicy } from "openclaw/plugin-sdk/ssrf-runtime";
3
4
  import { normalizeSecretInput } from "openclaw/plugin-sdk/secret-input";
@@ -132,7 +133,7 @@ async function fetchSearxngResults(params) {
132
133
  }, async (response) => {
133
134
  if (!response.ok) {
134
135
  const detail = (await readResponseText(response, { maxBytes: 64e3 })).text;
135
- throw new Error(`SearXNG search error (${response.status}): ${detail || response.statusText}`);
136
+ throw new ProviderHttpError(`SearXNG search error (${response.status}): ${detail || response.statusText}`, { status: response.status });
136
137
  }
137
138
  const body = await readResponseText(response, { maxBytes: MAX_RESPONSE_BYTES });
138
139
  if (body.truncated) throw new Error(`SearXNG response incomplete after ${body.bytesRead} bytes.`);
@@ -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-BIItF13t.mjs"));
6
+ const loadSearxngClientModule = createLazyRuntimeModule(() => import("./searxng-client-B611pWxB.mjs"));
7
7
  const SearxngSearchSchema = {
8
8
  type: "object",
9
9
  properties: {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as createSearxngWebSearchProvider } from "./.setup/searxng-search-provider-CrnGJ3Iw.mjs";
1
+ import { t as createSearxngWebSearchProvider } from "./.setup/searxng-search-provider-CqB5Osbj.mjs";
2
2
  import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
3
3
  //#region extensions/searxng/index.ts
4
4
  var searxng_default = definePluginEntry({
@@ -1,2 +1,2 @@
1
- import { t as createSearxngWebSearchProvider } from "./.setup/searxng-search-provider-CrnGJ3Iw.mjs";
1
+ import { t as createSearxngWebSearchProvider } from "./.setup/searxng-search-provider-CqB5Osbj.mjs";
2
2
  export { createSearxngWebSearchProvider };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/searxng-plugin",
3
- "version": "2026.9.5",
3
+ "version": "2026.9.6",
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.9.5"
18
+ "pluginApi": ">=2026.9.6"
19
19
  },
20
20
  "build": {
21
- "openclawVersion": "2026.9.5",
21
+ "openclawVersion": "2026.9.6",
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.9.5"
44
+ "openclaw": ">=2026.9.6"
45
45
  },
46
46
  "peerDependenciesMeta": {
47
47
  "openclaw": {