fix: filter rate_limit_event from Claude Remote/Local chat paths (#423)

This commit is contained in:
Junmo Kim
2026-04-09 20:16:34 +08:00
committed by GitHub
parent f1daed80d6
commit 2eae161139
4 changed files with 161 additions and 0 deletions
+4
View File
@@ -39,6 +39,10 @@ export function isClaudeChatVisibleSystemSubtype(subtype: unknown): subtype is s
}
export function isClaudeChatVisibleMessage(message: { type: unknown; subtype?: unknown }): boolean {
if (message.type === 'rate_limit_event') {
return false
}
if (message.type !== 'system') {
return true
}