mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-24 07:01:49 +00:00
refactor: remove generated plugin sdk facades
This commit is contained in:
@@ -1175,11 +1175,9 @@ authoring plugins:
|
||||
OpenClaw is not yet serving a runtime snapshot.
|
||||
- Generic shared primitives remain the preferred public SDK contract. A small
|
||||
reserved compatibility set of bundled channel-branded helper seams still
|
||||
exists, including `plugin-sdk/whatsapp-surface` for narrow WhatsApp
|
||||
auth/account, directory-config, group-policy, outbound-target, and web-media
|
||||
helper exports. Treat those as bundled-maintenance/compatibility seams, not
|
||||
new third-party import targets; new cross-channel contracts should still land
|
||||
on generic `plugin-sdk/*` subpaths or the plugin-local `api.js` /
|
||||
exists. Treat those as bundled-maintenance/compatibility seams, not new
|
||||
third-party import targets; new cross-channel contracts should still land on
|
||||
generic `plugin-sdk/*` subpaths or the plugin-local `api.js` /
|
||||
`runtime-api.js` barrels.
|
||||
|
||||
Compatibility note:
|
||||
|
||||
@@ -494,11 +494,10 @@ Write colocated tests in `src/channel.test.ts`:
|
||||
</CardGroup>
|
||||
|
||||
<Note>
|
||||
Reserved bundled-helper seams such as `plugin-sdk/whatsapp-surface` still
|
||||
exist for bundled-plugin maintenance and compatibility. They are not the
|
||||
recommended pattern for new channel plugins; prefer the generic channel/setup/
|
||||
reply/runtime subpaths from the common SDK surface unless you are maintaining
|
||||
that bundled plugin family directly.
|
||||
Some bundled helper seams still exist for bundled-plugin maintenance and
|
||||
compatibility. They are not the recommended pattern for new channel plugins;
|
||||
prefer the generic channel/setup/reply/runtime subpaths from the common SDK
|
||||
surface unless you are maintaining that bundled plugin family directly.
|
||||
</Note>
|
||||
|
||||
## Next steps
|
||||
|
||||
Reference in New Issue
Block a user