feat: split group and direct context enhancement

This commit is contained in:
xmanrui 2026-09-01 02:06:22 +08:00
parent 38096d1589
commit 75ebaebf2e
21 changed files with 1423 additions and 873 deletions

View file

@ -1556,7 +1556,8 @@ for (const scenario of [
let settingsReads = 0;
let nextMessageId = 500;
const configFor = ([directEnabled, groupEnabled], guidance) => ({
directEnabled, groupEnabled, fields: ['channel', 'botId'], guidance,
group: { enabled: groupEnabled, fields: ['channel', 'botId'], guidance },
direct: { enabled: directEnabled, fields: ['channel', 'botId'], guidance },
});
let config = configFor(scenario.before, 'before cursor write');
const update = (id, kind) => ({