Repository navigation
refactor: remove expired plugin compatibility surfaces - #111451
Conversation
31cf553 to
750e378
Compare
|
Merged via squash.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 750e378c41
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "SYNOLOGY_NAS_HOST", | ||
| "SYNOLOGY_ALLOWED_USER_IDS", | ||
| "SYNOLOGY_RATE_LIMIT", | ||
| "OPENCLAW_BOT_NAME" |
There was a problem hiding this comment.
Require complete credential sets in configured-state metadata
The new configuredState.env.anyOf treats every listed variable as independently sufficient, so an installed Synology plugin is considered configured when only OPENCLAW_BOT_NAME, SYNOLOGY_RATE_LIMIT, or an allowlist is set. The package-state checker accepts any one value (src/channels/plugins/package-state-probes.ts:203-212), and isChannelConfigured returns before consulting the owner implementation (src/config/channel-configured.ts:21-27), even though Synology requires both a token and incoming URL (extensions/synology-chat/src/setup-surface.ts:108-110); this can incorrectly auto-enable an unusable plugin. Encode the required credential pair with allOf and exclude optional settings; the same mismatch should be corrected in the newly added Line, Feishu, QQ Bot, Teams, SMS, Nextcloud Talk, and Zalo metadata.
Useful? React with 👍 / 👎.
What Problem This Solves
OpenClaw still shipped hundreds of deprecated plugin SDK exports, aliases, shims, and package subpaths whose registry removal windows close by 2026-07-30. Carrying those retired surfaces into the next release would preserve dead compatibility paths, widen the supported SDK contract, and keep obsolete guard and baseline budget.
Why This Change Was Made
This performs the explicitly maintainer-approved early July removal sweep from the compatibility registry: 230 eligible records become removed with release notes, internal callers move to canonical owner surfaces, and all co-owned package, entrypoint, path-mapping, packing, guard, baseline, and documentation artifacts are removed or lowered together.
Six date-eligible records remain removal-pending because shipped public contracts still have live dependents: the agent media payload, media understanding, memory host core, plugin config runtime, tool plugin public demotions, and the agent harness SDK alias. Later August and September windows are unchanged.
User Impact
Plugin authors using surfaces in the approved July sweep must use the registry-named canonical replacements. Bundled plugins continue to resolve 152 implementation-only facades through the private-local SDK boundary while their runtime JavaScript remains packaged for bundled builds. Shipped public contracts with known live callers remain available.
Evidence
removeAfteron or before 2026-07-30; 230 removed, 6 removal-pending, 0 removed records without release notes.[email protected]to the packed candidate: config survived, doctor removed legacy plugin dependency debris, and gateway health/readiness/status all passed. A separately npm-packed third-party plugin installed into the packed candidate and completed a real OpenAI agent turn through its plugin tool. Inspectable Testbox run: https://github.com/openclaw/openclaw/actions/runs/29695277555 (its workflow conclusion reflects external lease cleanup after the wrapper emitted a successful timing result).oxfmtpassed on all touched format-eligible files, including the rebase-conflict files.git diff --checkpassed on the final head.READY FOR /prepare-pr.