fix: add suppressTyping option for system/internal messages (#27395)#27540
fix: add suppressTyping option for system/internal messages (#27395)#27540Sid-Qin wants to merge 1 commit intoopenclaw:mainfrom
Conversation
Allow callers to suppress typing indicators for cron results, subagent reports and exec completions so the bot does not appear perpetually typing when only internal processing is happening. Made-with: Cursor
Greptile SummaryAdds infrastructure for suppressing typing indicators on system/internal messages by introducing a new
The implementation is clean, backward compatible, and follows existing patterns (mirrors the Confidence Score: 5/5
Last reviewed commit: f240bbb |
|
Superseded by main commit 37a138c. Closed as part of a single integrated typing-policy landing. The final merged implementation includes policy-level suppression ( Resolved issues in the unified landing:
Thank you; this PR’s suppression-direction informed the final merged shape. |
Summary
suppressTypingoption toGetReplyOptionsthat forces typing mode to"never". Wired throughresolveTypingModealongside the existingisHeartbeatsuppression path.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
Callers (channel monitors, cron runners) can pass
suppressTyping: trueto prevent typing indicators for system messages.Security Impact (required)
Evidence
npx vitest run src/auto-reply/reply/reply-utils.test.ts— 28 tests pass (1 new suppressTyping test)npx tsc --noEmit— cleanHuman Verification (required)
Compatibility / Migration
Failure Recovery (if this breaks)
Risks and Mitigations
None — opt-in only