@openclaw/duckduckgo-plugin 2026.9.1-beta.1 → 2026.9.1

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.
@@ -91,7 +91,7 @@ async function runDuckDuckGoSearch(params) {
91
91
  const region = params.region ?? resolveDdgRegion(params.config);
92
92
  const safeSearch = params.safeSearch === "strict" || params.safeSearch === "moderate" || params.safeSearch === "off" ? params.safeSearch : resolveDdgSafeSearch(params.config);
93
93
  const timeoutSeconds = resolveTimeoutSeconds(params.timeoutSeconds, DEFAULT_TIMEOUT_SECONDS);
94
- const cacheTtlMs = resolveCacheTtlMs(params.cacheTtlMinutes, DEFAULT_CACHE_TTL_MINUTES);
94
+ const cacheTtlMs = resolveCacheTtlMs(params.cacheTtlMinutes ?? params.config?.tools?.web?.search?.cacheTtlMinutes, DEFAULT_CACHE_TTL_MINUTES);
95
95
  const cacheKey = normalizeCacheKey(JSON.stringify({
96
96
  provider: "duckduckgo",
97
97
  query: params.query,
@@ -99,7 +99,7 @@ async function runDuckDuckGoSearch(params) {
99
99
  region: region ?? "",
100
100
  safeSearch
101
101
  }));
102
- const cached = readCache(DDG_SEARCH_CACHE, cacheKey);
102
+ const cached = readCache(DDG_SEARCH_CACHE, cacheKey, cacheTtlMs);
103
103
  if (cached) return {
104
104
  ...cached.value,
105
105
  cached: true
@@ -28,7 +28,7 @@ function createDuckDuckGoWebSearchProviderBase() {
28
28
  }
29
29
  //#endregion
30
30
  //#region extensions/duckduckgo/src/ddg-search-provider.ts
31
- const loadDuckDuckGoClientModule = createLazyRuntimeModule(() => import("./ddg-client-CdJu902j.js"));
31
+ const loadDuckDuckGoClientModule = createLazyRuntimeModule(() => import("./ddg-client-CbFlWxF7.js"));
32
32
  const DuckDuckGoSearchSchema = {
33
33
  type: "object",
34
34
  properties: {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as createDuckDuckGoWebSearchProvider } from "./ddg-search-provider-CkGpni4N.js";
1
+ import { t as createDuckDuckGoWebSearchProvider } from "./ddg-search-provider-Crb75sqq.js";
2
2
  import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
3
3
  //#region extensions/duckduckgo/index.ts
4
4
  var duckduckgo_default = definePluginEntry({
@@ -1,3 +1,3 @@
1
- import { t as createDuckDuckGoWebSearchProvider } from "./ddg-search-provider-CkGpni4N.js";
1
+ import { t as createDuckDuckGoWebSearchProvider } from "./ddg-search-provider-Crb75sqq.js";
2
2
  import "./web-search-provider.js";
3
3
  export { createDuckDuckGoWebSearchProvider };
@@ -1,2 +1,2 @@
1
- import { t as createDuckDuckGoWebSearchProvider } from "./ddg-search-provider-CkGpni4N.js";
1
+ import { t as createDuckDuckGoWebSearchProvider } from "./ddg-search-provider-Crb75sqq.js";
2
2
  export { createDuckDuckGoWebSearchProvider };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/duckduckgo-plugin",
3
- "version": "2026.9.1-beta.1",
3
+ "version": "2026.9.1",
4
4
  "description": "OpenClaw DuckDuckGo plugin.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,10 +18,10 @@
18
18
  "minHostVersion": ">=2026.7.2"
19
19
  },
20
20
  "compat": {
21
- "pluginApi": ">=2026.9.1-beta.1"
21
+ "pluginApi": ">=2026.9.1"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.9.1-beta.1",
24
+ "openclawVersion": "2026.9.1",
25
25
  "bundledDist": false
26
26
  },
27
27
  "release": {
@@ -38,7 +38,7 @@
38
38
  "README.md"
39
39
  ],
40
40
  "peerDependencies": {
41
- "openclaw": ">=2026.9.1-beta.1"
41
+ "openclaw": ">=2026.9.1"
42
42
  },
43
43
  "peerDependenciesMeta": {
44
44
  "openclaw": {