refactor: migrate bundled plugins to message lifecycle

This commit is contained in:
Peter Steinberger
2026-05-06 01:40:53 +01:00
parent 2ead1502c9
commit 05eda57b3c
223 changed files with 8568 additions and 1354 deletions

View File

@@ -48,6 +48,14 @@ function normalizeIMessageTestHandle(raw: string): string {
const defaultIMessageOutbound: ChannelOutboundAdapter = {
deliveryMode: "direct",
deliveryCapabilities: {
durableFinal: {
text: true,
media: true,
replyTo: true,
messageSendingHooks: true,
},
},
sendText: async ({ to, text, accountId, replyToId, deps, cfg }) => {
const sendIMessage = resolveOutboundSendDep<
(