refactor(desktop): rewrite Doubao adapter around page-based capture
Replaces the stale API-client flow with a CDP-driven page session that bootstraps the chat UI, captures streaming responses, and extracts the answer from both the network log and the DOM. Adds mojibake repair for UTF-8-over-latin1 encoding drift returned by the site, picks the higher quality source/DOM answer, and tightens source/citation extraction. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in: