Repository navigation
feat(plugins): externalize DuckDuckGo search - #116740
Conversation
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: needs maintainer review before merge. Reviewed July 31, 2026, 6:41 AM ET / 10:41 UTC. ClawSweeper reviewWhat this changesThis PR externalizes the optional DuckDuckGo web-search plugin from the core distribution into the official Merge readinessKeep this PR open for maintainer review. The architecture matches OpenClaw’s lean-core/plugin direction, and the patch carries the existing DuckDuckGo descriptor into the official external catalog, but merging the core exclusion needs an explicit release-order guarantee that the external npm/ClawHub package is already available before any release omits the bundled artifact. Priority: P2 Review scores
Verification
How this fits togetherDuckDuckGo is a keyless web-search provider implemented as an OpenClaw plugin. Plugin discovery and upgrade relocation use the official external catalog and persisted plugin registry so a formerly bundled enabled plugin can be reinstalled from an external package after an OpenClaw update. flowchart LR
A[Bundled DuckDuckGo plugin] --> B[Persisted plugin registry]
B --> C[Upgrade location bridge]
D[Official external catalog] --> C
C --> E[External package install]
E --> F[DuckDuckGo web-search provider]
F --> G[Agent web search]
Decision needed
Why: The code intentionally removes the bundled runtime while the PR discussion defers live package proof until publication; only maintainers can choose the release sequencing and acceptable operational safeguard. Before merge
Agent review detailsSecurityNone. PR surfaceSource 0, Tests +37, Docs +18, Config +21, Other +40. Total +116 across 11 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Publish and verify the official DuckDuckGo package first, then release the core exclusion only with a fresh-install proof and an enabled bundled-to-external upgrade proof that preserve the plugin id, configuration, and keyless provider selection. Do we have a high-confidence way to reproduce the issue? Not applicable as a conventional bug reproduction: this PR changes distribution ownership. The relevant observable paths are a fresh external install and an upgrade from a previously enabled bundled installation, neither of which has published-package real-behavior proof in the supplied discussion. Is this the best way to solve the issue? Unclear pending the release decision. Externalizing this optional provider fits the repository’s plugin direction, but the best implementation outcome requires published-package availability and both fresh-install and enabled-upgrade proof before the bundled artifact disappears from a release. AGENTS.md: unclear because the file could not be read completely. Codex review notes: model internal, reasoning high; reviewed against 27fa5a8950f1. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
|
ClawSweeper rank-up move disposition:
Maintainer decision: approve external ownership and require the external package to be published before the core release containing the DuckDuckGo exclusion. These are optional rank-up moves, not merge blockers. |
3b61eb1 to
ce93398
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
ce93398 to
960c82c
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
ClawSweeper rank-up dispositions for reviewed head
Maintainer decision: accept the external plugin ownership boundary with those publication and release-promotion gates. |
|
Merged via squash.
|
* origin/main: (23 commits) fix(agents): preserve resumed turns after stale terminal events (#116777) fix(browser): preserve tab-bound browser authorization (#116778) fix(doctor): correct SQLite-backed automation warnings (#116769) fix(release): skip unavailable Buzz QA runner (#116753) feat(plugins): externalize DuckDuckGo search (#116740) refactor(reply): simplify task-owned typing refresh (#116770) fix(chat): explain chat-only model limits feat(models): expose tool support to clients docs(skill): require independent proof before issue closure fix(skills): allow autonomous sweep sync (#116755) fix(irc): recognize punctuation in nickname mentions (#116758) fix(plugins): require explicit source external startup (#116759) fix(whatsapp): keep sends running when typing presence fails (#116739) fix(cli): reject dangling config path escapes (#116738) fix(qa): authenticate summaries and bound native scenario commands (#116748) fix(bedrock): reject truncated streams and preserve audio results (#116743) docs(skill): isolate autonomous issue sweep worktrees fix(ci): retire Kova runtime deps coverage (#116760) chore(i18n): refresh native locales (#116640) fix(ollama): resolve web search secret refs (#104829) ...
# Conflicts: # docs/plugins/plugin-inventory.md # extensions/duckduckgo/package.json # src/cli/plugins-location-bridges.test.ts # src/plugins/official-external-plugin-catalog.test.ts
* origin/main: (23 commits) fix(agents): preserve resumed turns after stale terminal events (openclaw#116777) fix(browser): preserve tab-bound browser authorization (openclaw#116778) fix(doctor): correct SQLite-backed automation warnings (openclaw#116769) fix(release): skip unavailable Buzz QA runner (openclaw#116753) feat(plugins): externalize DuckDuckGo search (openclaw#116740) refactor(reply): simplify task-owned typing refresh (openclaw#116770) fix(chat): explain chat-only model limits feat(models): expose tool support to clients docs(skill): require independent proof before issue closure fix(skills): allow autonomous sweep sync (openclaw#116755) fix(irc): recognize punctuation in nickname mentions (openclaw#116758) fix(plugins): require explicit source external startup (openclaw#116759) fix(whatsapp): keep sends running when typing presence fails (openclaw#116739) fix(cli): reject dangling config path escapes (openclaw#116738) fix(qa): authenticate summaries and bound native scenario commands (openclaw#116748) fix(bedrock): reject truncated streams and preserve audio results (openclaw#116743) docs(skill): isolate autonomous issue sweep worktrees fix(ci): retire Kova runtime deps coverage (openclaw#116760) chore(i18n): refresh native locales (openclaw#116640) fix(ollama): resolve web search secret refs (openclaw#104829) ...
* origin/release/2026.7.2: feat(plugins): externalize DuckDuckGo search (openclaw#116740) # Conflicts: # docs/plugins/plugin-inventory.md # extensions/duckduckgo/package.json # src/cli/plugins-location-bridges.test.ts # src/plugins/official-external-plugin-catalog.test.ts
…#141478) * fix(update): restore untracked official plugins from the core release cohort Keep update admission and Doctor repair on the selected stable core version when formerly bundled official plugins have no install record. Preserve existing selectors and capability policy. Add DuckDuckGo published-upgrade and standalone Doctor coverage for bundled and already-missing states. Related: #135002, #116740 * test(update): recognize missing optional plugin warnings * test(update): isolate plugin repair proof and satisfy helper lint * test(update): preserve beta tag selection in doctor fixture * chore(ci): register plugin doctor survivor entrypoint
…openclaw#141478) * fix(update): restore untracked official plugins from the core release cohort Keep update admission and Doctor repair on the selected stable core version when formerly bundled official plugins have no install record. Preserve existing selectors and capability policy. Add DuckDuckGo published-upgrade and standalone Doctor coverage for bundled and already-missing states. Related: openclaw#135002, openclaw#116740 * test(update): recognize missing optional plugin warnings * test(update): isolate plugin repair proof and satisfy helper lint * test(update): preserve beta tag selection in doctor fixture * chore(ci): register plugin doctor survivor entrypoint
What Problem This Solves
DuckDuckGo web search is optional, but its plugin currently ships inside every core OpenClaw package. Operators who never use this keyless experimental provider still receive its runtime, while plugin installation and release ownership remain split between bundled and external paths.
Why This Change Was Made
This makes
@openclaw/duckduckgo-pluginan official external package distributed through npm and ClawHub. The official catalog preserves the existing keyless web-search descriptor and setup metadata, while the generic bundled-to-external update bridge migrates enabled installations using the persisted plugin registry.The core package now excludes DuckDuckGo artifacts. Package metadata, generated inventory, plugin reference docs, and setup instructions all describe the on-demand install route.
AI-assisted: yes.
User Impact
New users install DuckDuckGo only when they choose it:
Existing users who had the bundled plugin enabled retain the same plugin id, configuration, explicit-selection behavior, and keyless credential contract during an OpenClaw update.
Evidence
plugin-npm-release-checkandplugin-clawhub-release-checkaccept@openclaw/[email protected].oxfmt, JSON parsing, andgit diff --checkpassed.3b61eb139346dbce9418cc70c5de6462e2b65160.