merge: integrate origin/master (v0.5.50) into gitea/new_feature
- Resolve conflicts in chatCore handlers: keep apiKey/streamErrorPatterns
from the details-filters feature, adopt origin's stripContinuityFields,
customToolNames, cache-inclusive usage accounting, and Responses-API
SSE→JSON conversion
- Adopt origin's provider usage handlers (codebuddy-intl, qoder creds)
and modality detection (audio/video inputs)
- Keep requestDetails apiKey column (schema v2) + masked key persistence
Co-authored-by: CommandCodeBot <noreply@commandcode.ai>