mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-12-01 06:32:54 +08:00
- Resolve CanonicalSessionIDMetadataKey and pass original request payloads and metadata to session.ExtractSessionInfo in antigravityReasoningReplayClientSessionKey so body subagent, task, thread, conversation, Codex multi-agent, and LCP identities stay isolated while preserving existing Claude Code, execution-session, prompt-cache, and session namespace priorities. - Prevent plain metadata.user_id values from overriding execution sessions and skip reasoning replay when fork indicators appear without an identifiable child session ID. - Add regression tests covering parallel subagents, body session fields, LCP canonical sessions, Codex multi-agent headers, priority invariants, and unidentified forks. Closes: #7839