feat: improve browser stability, typewriter effect, and mobile UI by bobleer · Pull Request #194 · GCWing/BitFun

Browser fixes:
- Add URL validation and connectivity check before navigation
- Handle wry WKWebView URL() nil bug with catch_unwind
- Expand allowed webview URL patterns in capabilities

Bash tool improvements:
- Extract noninteractive_env() helper to prevent interactive prompts
- Disable git pager, terminal prompt, and editor globally

Flow chat enhancements:
- Add useTypewriter hook for smooth content streaming
- Improve ModelThinkingDisplay auto-collapse behavior
- Show thinking count in explore region summaries
- Simplify VirtualMessageList scroll policy (processing-only auto-scroll)

Input sanitization:
- Strip zero-width and control characters from RichTextInput
- Prevent insertion of invisible content via onBeforeInput handler

Mobile UI:
- Update Pro mode icon to match design
- Add assistant mode color theming for session panels

i18n:
- Add thinkingCount translation key
Remove isAtBottomRef guard so auto-scroll always engages while
processing, and hide ScrollToLatestBar during processing to avoid
flicker.

Made-with: Cursor

@bobleer bobleer deleted the feat/browser-stability-typewriter branch

March 22, 2026 09:08