feat: add stable proactive delivery

This commit is contained in:
xmanrui 2026-08-30 11:24:53 +08:00
parent 410cb822d7
commit 31792d7bc8
88 changed files with 6427 additions and 488 deletions

View file

@ -56,6 +56,7 @@ test('Host update initialization failure leaves all channel activations availabl
const channels = ['Feishu', 'Weixin', 'Dingtalk', 'Wecom', 'Qq', 'Slack', 'Telegram', 'Discord', 'Whatsapp', 'Office'];
const internals = Object.fromEntries(channels.map((channel) => [`apply${channel}`, async () => calls.push(channel)]));
internals.installUpdateRpc = () => { throw new Error('updater unavailable'); };
internals.installDeliveryRpc = () => {};
const errors = [];
await createImHostPlugin(internals).apply({
connection: { rpc: {} }, logger: { error: (...args) => errors.push(args) },