(state: InitState)
| 90 | let ignoredUpToId = Number(initState.ignoredUpToId || 0) || 0; |
| 91 | |
| 92 | // Common progress prefix decoration characters (blocks, emoji, zero-width) |
| 93 | const PROGRESS_DECO_RE = /^[\s\u2580-\u259F\u25A0-\u25FF\u2000-\u200F\uFEFF\u3000]+/u; |
| 94 | |
| 95 | const isProgressText = (text?: string | null): boolean => { |
| 96 | if (!text) return false; |
| 97 | // Strip common decorative prefix chars first (blocks, emoji, zero-width, ideographic space) |
| 98 | const stripped = text.replace(PROGRESS_DECO_RE, "").trim(); |
| 99 | return PROGRESS_PREFIXES.some((prefix) => stripped.startsWith(prefix)); |
no outgoing calls
no test coverage detected