You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tools/plugin.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -920,8 +920,16 @@ Notes:
920
920
Use SDK subpaths instead of the monolithic `openclaw/plugin-sdk` import when
921
921
authoring plugins:
922
922
923
-
-`openclaw/plugin-sdk/core` for generic plugin APIs, provider auth types, and shared helpers such as routing/session utilities and logger-backed runtimes.
924
-
-`openclaw/plugin-sdk/compat` for bundled/internal plugin code that needs broader shared runtime helpers than `core`.
923
+
-`openclaw/plugin-sdk/core` for the smallest generic plugin-facing contract.
924
+
- Domain subpaths such as `openclaw/plugin-sdk/channel-config-helpers`,
925
+
`openclaw/plugin-sdk/channel-config-schema`,
926
+
`openclaw/plugin-sdk/channel-policy`,
927
+
`openclaw/plugin-sdk/reply-history`,
928
+
`openclaw/plugin-sdk/routing`,
929
+
`openclaw/plugin-sdk/runtime-store`, and
930
+
`openclaw/plugin-sdk/directory-runtime` for shared runtime/config helpers.
931
+
-`openclaw/plugin-sdk/compat` remains as a legacy migration surface for older
932
+
external plugins. Bundled plugins should not use it.
925
933
-`openclaw/plugin-sdk/telegram` for Telegram channel plugin types and shared channel-facing helpers. Built-in Telegram implementation internals stay private to the bundled extension.
926
934
-`openclaw/plugin-sdk/discord` for Discord channel plugin types and shared channel-facing helpers. Built-in Discord implementation internals stay private to the bundled extension.
927
935
-`openclaw/plugin-sdk/slack` for Slack channel plugin types and shared channel-facing helpers. Built-in Slack implementation internals stay private to the bundled extension.
@@ -982,8 +990,8 @@ Compatibility note:
982
990
983
991
-`openclaw/plugin-sdk` remains supported for existing external plugins.
984
992
- New and migrated bundled plugins should use channel or extension-specific
985
-
subpaths; use `core`for generic surfaces and `compat` only when broader
986
-
shared helpers are required.
993
+
subpaths; use `core`plus explicit domain subpaths for generic surfaces, and
0 commit comments