Kang a673d26b56 refactor(core): split provider wire formats out of ai.rs
Move everything that knows what a provider's HTTP surface looks like
into ai/providers.rs: the five endpoint URL builders, the five request
body builders, the seven response and SSE chunk parsers, their six
extraction helpers and their nine tests.

The request and response shapes, the streaming semantics and the error
mapping are unchanged.
2026-07-26 17:54:26 +08:00
Languages
TypeScript 51.2%
Rust 47%
JavaScript 0.7%
CSS 0.5%
PowerShell 0.3%
Other 0.2%