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.
TypeScript ai-agentsclaude-codeclaude-code-plugincodexcodex-plugincontext-managementdeveloper-toolsimage-generationmcpmultimodal
docs(v0.6): 记下闲置后重新打开的实测
chipfighter4e08533fdb96
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 1e6e28e..5112612 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -15,6 +15,7 @@ Auto-select on by default, and the panel opens by itself in Claude Desktop.### Notes+- Tested on Windows in Claude Desktop with Claude Code 2.1.295 and Claude Haiku 5.5: new sessions started with Auto-select on; the panel opened by itself once the model had read images; closed in the session, it stayed closed; closed by Claude Desktop after the session had been left for 30 minutes, it opened again with the next message. In Codex, new tasks started with Auto-select on with GPT-6 Sol, Luna and Astra.- With Auto-select on, the model can fetch several images at once. Asked about two images it had not described, GPT-6 Sol, Luna and Astra in Codex and Claude Haiku 5.5 in Claude Desktop each fetched both in one call. GPT-6 Luna then misread a small digit in one of them, as in 0.3; pin images whose details matter, or use a larger model.- The plugin tells your close from Claude Desktop's by time: a panel gone within 30 minutes of the session's last turn was closed by you. If you close it more than 25 minutes into a pause, it may open again with your next message.diff --git a/docs/v0.6/plan.md b/docs/v0.6/plan.mdindex dcf789c..143ead3 100644--- a/docs/v0.6/plan.md+++ b/docs/v0.6/plan.md@@ -52,6 +52,7 @@- 用户关掉:让会话的模型用浏览器工具关掉面板标签页(和用户点关掉一样)。那一轮开始时面板还在,结束时不在了,插件记下“用户关的”(插件存储 `closedPanels`);下一轮开始和结束都没有再打开。- 停顿时的检查:一轮结束 25 分钟后检查了一次,面板还在,没有误记。- 发现桌面版的闲置计时只在用户不看这个会话时走:用户离开会话时重新开始计时,看着时不关。所以桌面版最早在一轮结束 30 分钟后关,判断规则不变。+ - 桌面版关掉的:用户 17:29:31 离开会话,桌面版 17:59:31 断开它的自带浏览器,进程照常。18:59 再发一条消息:这一轮开始时插件看到面板不在、距上一轮结束已超过 30 分钟,按桌面版关的算,没有记成用户关的,15 秒后面板重新打开。这时 `tabs_context` 的说明是 “isn't open yet”,和从没打开过的一样;用户关掉最后一个标签页后是 “is not open.”。插件没用这些文字判断,只记在这里。## 6. 验收