Skip to content

A local plugin for image-heavy chats in Codex, Claude Code and other agents: earlier images stop going out with every message, and the model fetches the one it needs by its ID, also after compaction.

docs(v0.8): 关卡 4 在 Codex 上通过:压缩后靠特征行选对近景

chipfightere480191906b9
diff --git a/docs/v0.8/plan.md b/docs/v0.8/plan.md
index a744603..f79b822 100644
--- a/docs/v0.8/plan.md
+++ b/docs/v0.8/plan.md
@@ -112,6 +112,12 @@
- Codex 用 app-server 的 `thread/compact/start` 压缩,压缩后之前的图还在请求里,以占位的形式出现;
- Claude 按 v0.5 的做法补在摘要后面;
- 两边的占位里都带着特征行。
+ - Codex(2026-10-19,`local/v08/gate4-codex.ts`,推理强度 low):用户的案例,6 组全部选对。开头上传同一个角色的半身中景,中间两张无关的色块图,再上传脸部近景并说"这张最好";用 `thread/compact/start` 压缩一次,再问"做五官参考用哪张"。
+ - 压缩后的请求里 4 张图都还在,都是带特征行的占位,近景那张还带着"评价:第 3 轮'这张最好'"。
+ - 6 组都答近景那张,都没调工具,理由是"正面脸部特写"和"你说过这张最好"。再问压缩前那两张色块图,也都靠特征答对了。
+ - luna 英文没记下"this one is the best"(第三次漏记评价),但靠特征行里的"脸部近景"照样选对了。
+ - 跑第一次时,经本机代理去上游的一个请求 20 分钟没有回应,同一时间 app-server 自己连 chatgpt.com 也失败了。这是网络的问题,重跑通过。
+ - Claude 还没测:要有人在测试会话里打 `/compact`。
## 4. 做法