mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-10 16:51:13 +00:00
docs(plugin-sdk): refresh seam cleanup docs
This commit is contained in:
@@ -196,6 +196,12 @@ We do not publish separate `plugin-sdk/*-action-runtime` subpaths, and bundled
|
||||
plugins should import their own local runtime code directly from their
|
||||
extension-owned modules.
|
||||
|
||||
The same boundary applies to provider-named SDK seams in general: core should
|
||||
not import `openclaw/plugin-sdk/slack`, `.../discord`, `.../signal`,
|
||||
`.../whatsapp`, or other channel-specific convenience barrels. If core needs a
|
||||
behavior, either consume the bundled plugin's own `api.ts` / `runtime-api.ts`
|
||||
barrel or promote the need into a narrow generic capability in the shared SDK.
|
||||
|
||||
For polls specifically, there are two execution paths:
|
||||
|
||||
- `outbound.sendPoll` is the shared baseline for channels that fit the common
|
||||
|
||||
Reference in New Issue
Block a user