Make WhatsApp member presets follow channel mapping by default.
Some checks failed
CI / Test, build, and verify package (push) Has been cancelled

Empty member/group Agent Preset now resolves to the bot workspace mapping (not Host global); settings label is Follow channel mapping, and /new createSession carries that mapping explicitly.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-16 23:11:33 +08:00
parent f1d85d2985
commit bcbe85fdb1
10 changed files with 182 additions and 131 deletions

View file

@ -224,7 +224,7 @@ function AgentPresetSelect({
'aria-label': ariaLabel,
onChange: (event) => onChange(event.target.value || ''),
},
h('option', { value: '' }, '跟随全局'),
h('option', { value: '' }, localizeText('跟随频道映射')),
...items.map((item) => h('option', {
key: item.id,
value: item.id,

View file

@ -14,6 +14,7 @@ const EN = Object.freeze({
'渠道用户': 'Channel user',
"(不可用)": " (unavailable)",
"群 Agent Preset": "Group Agent Preset",
"跟随频道映射": "Follow channel mapping",
"跟随全局": "Follow global",
"—": "—",
"来源": "Source",