eyre
baf078fdb7
feat: 提升 Codex 行为模拟保真度(仅加法式改进)
- ForceCodexCLI 兜底 User-Agent 补全为完整结构 {originator}/{ver} ({OS} {ver}; {arch}) {terminal},
与真实 codex_cli_rs UA 对齐,避免被上游指纹识别为非官方客户端
- 合成路径默认 instructions 改用内嵌的真实 Codex base prompt(openai.DefaultInstructions,
"You are Codex, based on GPT-5..."),替换通用占位符;transform 与 hotpath 两处统一走
defaultCodexSynthInstructions()
- /responses→chat 转换补全 SSE 事件 reasoning_text.delta 与 custom_tool_call_input.delta
(流式 ResponsesEventToChatChunks 与缓冲 BufferedResponseAccumulator 两条路径),
并将 custom_tool_call item 一并注册以正确映射工具索引
- OAuth /responses 请求带 reasoning 时补齐 include:["reasoning.encrypted_content"],
幂等且加法式,不改动已有 include
保持旧稳定版兼容:不改动现有可工作的请求头(session_id/conversation_id/originator/
OpenAI-Beta 维持原样)。client_metadata(installation-id) 属最新版特征,会与旧稳定版
头指纹混搭冲突,本次未加。
2026-06-06 00:44:49 +08:00
..
2026-05-29 09:56:48 +08:00
2026-06-06 00:44:49 +08:00
2026-05-29 09:56:48 +08:00
2026-06-05 18:12:33 +08:00
2026-02-28 15:01:20 +08:00
2026-05-20 09:28:46 +08:00
2026-05-20 09:28:46 +08:00
2026-02-05 20:17:53 +08:00
2026-03-19 23:48:37 +08:00
2026-04-29 22:11:45 +08:00
2026-02-28 15:01:20 +08:00
2026-04-14 17:35:27 +08:00
2026-03-28 00:55:55 +08:00
2026-05-27 23:55:34 +08:00
2026-05-14 11:46:24 +08:00
2026-04-09 18:14:28 +08:00
2026-03-02 16:04:20 +08:00
2026-03-02 16:04:20 +08:00
2026-03-16 20:22:10 +08:00
2026-01-04 19:28:20 +08:00
2026-05-26 10:49:20 +08:00
2026-05-11 17:27:04 +08:00
2026-05-20 15:48:38 +08:00
2026-04-14 12:19:44 +08:00