fix(filter): improve force mute keyword triggers#119
Conversation
Support private mute by keyword, group mute by @/quote or nick_name with keyword, refresh filter preset cache on update, and block all collect paths while muted.
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughForce-mute documentation and preset caching were updated, keyword-based mute activation was expanded, and message triggering and collection now stop early when sessions are muted. ChangesForce-mute and message collection
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
mute_keyword时触发闭嘴mute_keyword,并且 @/引用角色或包含角色昵称preset_updated刷新 filter 预设缓存triggerMessage/triggerCollect等旁路唤醒isForceMute配置说明Review follow-up
This supersedes #118 and addresses its review comments:
pullHistory()andacquireResponseLock()Validation
tsc --noEmitsrc/plugins/filter.tsandsrc/service/message.tsgit diff --checkManual test plan
@机器人 + 关键词:进入闭嘴状态角色昵称 + 关键词:进入闭嘴状态mute_keyword后无需重启即可生效Summary by CodeRabbit
Bug Fixes
Documentation
mute_keywordpreset keyword in private and group messages.