@openclaw/duckduckgo-plugin 2026.8.1-beta.2 → 2026.9.1-beta.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.
|
@@ -1,6 +1,32 @@
|
|
|
1
|
-
import { t as createDuckDuckGoWebSearchProviderBase } from "./ddg-search-provider.shared-B2Y6U1WN.js";
|
|
2
1
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
3
2
|
import { readPositiveIntegerParam, readStringParam } from "openclaw/plugin-sdk/param-readers";
|
|
3
|
+
import { createWebSearchProviderContractFields } from "openclaw/plugin-sdk/provider-web-search-contract";
|
|
4
|
+
//#region extensions/duckduckgo/src/ddg-search-provider.shared.ts
|
|
5
|
+
const DUCKDUCKGO_ONBOARDING_SCOPES = ["text-inference"];
|
|
6
|
+
function createDuckDuckGoWebSearchProviderBase() {
|
|
7
|
+
return {
|
|
8
|
+
id: "duckduckgo",
|
|
9
|
+
label: "DuckDuckGo Search (experimental)",
|
|
10
|
+
hint: "Free web search fallback with no API key required",
|
|
11
|
+
onboardingScopes: [...DUCKDUCKGO_ONBOARDING_SCOPES],
|
|
12
|
+
requiresCredential: false,
|
|
13
|
+
envVars: [],
|
|
14
|
+
placeholder: "(no key needed)",
|
|
15
|
+
signupUrl: "https://duckduckgo.com/",
|
|
16
|
+
docsUrl: "https://docs.openclaw.ai/tools/web",
|
|
17
|
+
autoDetectOrder: 100,
|
|
18
|
+
credentialPath: "",
|
|
19
|
+
...createWebSearchProviderContractFields({
|
|
20
|
+
credentialPath: "",
|
|
21
|
+
searchCredential: {
|
|
22
|
+
type: "scoped",
|
|
23
|
+
scopeId: "duckduckgo"
|
|
24
|
+
},
|
|
25
|
+
selectionPluginId: "duckduckgo"
|
|
26
|
+
})
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
4
30
|
//#region extensions/duckduckgo/src/ddg-search-provider.ts
|
|
5
31
|
const loadDuckDuckGoClientModule = createLazyRuntimeModule(() => import("./ddg-client-CdJu902j.js"));
|
|
6
32
|
const DuckDuckGoSearchSchema = {
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createDuckDuckGoWebSearchProvider } from "./ddg-search-provider-
|
|
1
|
+
import { t as createDuckDuckGoWebSearchProvider } from "./ddg-search-provider-CkGpni4N.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,10 +1,3 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
|
|
3
|
-
function createDuckDuckGoWebSearchProvider() {
|
|
4
|
-
return {
|
|
5
|
-
...createDuckDuckGoWebSearchProviderBase(),
|
|
6
|
-
createTool: () => null
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
//#endregion
|
|
1
|
+
import { t as createDuckDuckGoWebSearchProvider } from "./ddg-search-provider-CkGpni4N.js";
|
|
2
|
+
import "./web-search-provider.js";
|
|
10
3
|
export { createDuckDuckGoWebSearchProvider };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createDuckDuckGoWebSearchProvider } from "./ddg-search-provider-
|
|
1
|
+
import { t as createDuckDuckGoWebSearchProvider } from "./ddg-search-provider-CkGpni4N.js";
|
|
2
2
|
export { createDuckDuckGoWebSearchProvider };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/duckduckgo-plugin",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.9.1-beta.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.
|
|
21
|
+
"pluginApi": ">=2026.9.1-beta.1"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.
|
|
24
|
+
"openclawVersion": "2026.9.1-beta.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.
|
|
41
|
+
"openclaw": ">=2026.9.1-beta.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependenciesMeta": {
|
|
44
44
|
"openclaw": {
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { createWebSearchProviderContractFields } from "openclaw/plugin-sdk/provider-web-search-contract";
|
|
2
|
-
//#region extensions/duckduckgo/src/ddg-search-provider.shared.ts
|
|
3
|
-
const DUCKDUCKGO_ONBOARDING_SCOPES = ["text-inference"];
|
|
4
|
-
function createDuckDuckGoWebSearchProviderBase() {
|
|
5
|
-
return {
|
|
6
|
-
id: "duckduckgo",
|
|
7
|
-
label: "DuckDuckGo Search (experimental)",
|
|
8
|
-
hint: "Free web search fallback with no API key required",
|
|
9
|
-
onboardingScopes: [...DUCKDUCKGO_ONBOARDING_SCOPES],
|
|
10
|
-
requiresCredential: false,
|
|
11
|
-
envVars: [],
|
|
12
|
-
placeholder: "(no key needed)",
|
|
13
|
-
signupUrl: "https://duckduckgo.com/",
|
|
14
|
-
docsUrl: "https://docs.openclaw.ai/tools/web",
|
|
15
|
-
autoDetectOrder: 100,
|
|
16
|
-
credentialPath: "",
|
|
17
|
-
...createWebSearchProviderContractFields({
|
|
18
|
-
credentialPath: "",
|
|
19
|
-
searchCredential: {
|
|
20
|
-
type: "scoped",
|
|
21
|
-
scopeId: "duckduckgo"
|
|
22
|
-
},
|
|
23
|
-
selectionPluginId: "duckduckgo"
|
|
24
|
-
})
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
//#endregion
|
|
28
|
-
export { createDuckDuckGoWebSearchProviderBase as t };
|