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

@ -98,6 +98,14 @@ test('QQ runtime sends a proactive connection test to the explicit owner fallbac
target: { scope: 'c2c', targetId: 'owner-openid' },
text: 'connection-test',
}]);
await runtime.sendProactiveText({
kind: 'group',
route: { groupOpenId: 'group-openid' },
}, 'proactive-test');
assert.deepEqual(bot.sent[1], {
target: { scope: 'group', targetId: 'group-openid' },
text: 'proactive-test',
});
await runtime.stop();
});