Files
ProxyPilot/internal/runtime/executor
RCD f9ab1071e1 feat(claude): add native request cloaking support
Add request cloaking feature for non-Claude-Code clients to disguise
API requests as originating from the official Claude Code CLI.

Features:
- CloakConfig struct with mode (auto/always/never), strict-mode, and
  sensitive-words options
- System prompt injection (prepend or replace with Claude Code identity)
- Fake user ID generation matching Claude Code format
- Sensitive word obfuscation using zero-width space insertion
- Configurable via claude-api-key.cloak or auth attributes

Ported from upstream commit 00280b6f.
2026-01-20 12:13:29 +07:00
..