openclaw/docs/plugins/sdk-migration
Peter Steinberger 0d530ea5b0
refactor(plugin-sdk)!: retire unused command-auth, discord, and telegram-account facades (#163366)
Retire the public plugin-sdk/command-auth, plugin-sdk/discord, and plugin-sdk/telegram-account subpaths early, with the Plugin SDK owner's approval (2026-10-02). No bundled runtime imports them. No official external plugin at latest or extended-stable imports them either, and the only older @openclaw/discord releases that did (2026.3.7-3.13, 2026.5.2) already import subpaths main removed earlier.

Remove the modules, package exports, entrypoint inventory, compat registrations, and obsolete tests. Move the three surviving contract tests to their focused SDK subpaths. Drop 15 internal exports orphaned by the retirement and the dead isCommandMessage and resolveDualTextControlCommandGate wrappers. Shrink the SDK surface budgets by exactly 3 entrypoints, 128 exports, 79 callable exports, and 128 deprecated exports.

Breaking change for third-party plugins that import these paths: use channel-ingress-runtime, command-auth-native, command-status, or models-provider-runtime, as described in docs/plugins/sdk-migration/import-paths.md and the removal timeline.

Landed over inherited main reds only (Codex model/list sequence tests from #163320, the memory-host-sdk boundary test fixed by 2516be90f1).
2026-10-02 02:09:07 -07:00
..
compatibility-policy.md refactor(sessions): move memory inventory reads into history worker (#163234) 2026-10-02 03:26:28 -05:00
how-to-migrate.md refactor(plugin-sdk)!: retire deprecated compatibility facades (#162333) 2026-10-01 04:12:01 -07:00
import-paths.md refactor(plugin-sdk)!: retire unused command-auth, discord, and telegram-account facades (#163366) 2026-10-02 02:09:07 -07:00
removal-timeline.md refactor(plugin-sdk)!: retire unused command-auth, discord, and telegram-account facades (#163366) 2026-10-02 02:09:07 -07:00
removed-surfaces.md refactor(plugin-sdk)!: retire unused command-auth, discord, and telegram-account facades (#163366) 2026-10-02 02:09:07 -07:00
talk.md