Files
CLIProxyAPI/internal/runtime/executor/helps
Luis Pater 6876a2eb41 fix(claude): treat cli-bg x-app header as native claude code client
- Accept both cli and cli-bg in the native X-App header check so Claude Code background sessions preserve their native request identity instead of receiving the pinned device profile rewrite.
- Add unit and executor regression tests verifying native detection and passthrough for X-App: cli-bg across messages, streaming, count_tokens, and measured helper requests.

Closes: #7412
Co-authored-by: Dylan <1990016@gmail.com>
Co-authored-by: lzt404 <2596933790@qq.com>
2026-11-10 19:33:26 +08:00
..