Skip to content

Stop paying the multimodal tax. Your AI agent keeps every image it has seen but only sends the ones it needs: lighter chats, no endless reconnecting, no starting over. Works with Codex, Claude Code, Cline, Gemini CLI, OpenCode, WorkBuddy and more. Install once, forget it.

fix(claude): 面板显示"改写被拒、改发原始请求"的提示

chipfightera03404555d7e
diff --git a/plugin/src/panel.html b/plugin/src/panel.html
index 18966ed..0299fa8 100644
--- a/plugin/src/panel.html
+++ b/plugin/src/panel.html
@@ -32,6 +32,8 @@
v0.3 (user 2026-10-06): an automatic selection switch at the end of the footer. While it is on, a tick pins an image
(sent every turn; kept apart from the manual ticks), the others are left out unless the model fetches them, the bar
lists what the model fetched in the latest turn instead of what it asked for, and those rows say so.
+ v0.4: under Claude Code, when Anthropic refused the rewritten history under its thinking and the engine sent the
+ original request, the panel says so as for any request it could not rewrite.
-->
<style>
/* Fallbacks follow Codex's own widget palette; inside Codex its theme variables (MCP Apps host styles) win. */
@@ -358,6 +360,7 @@
"reason.integer": "请求里有超大整数,改写会改变它的值",
"reason.index": "读取这个任务的记录失败",
"reason.other": "改写时出错",
+ "reason.thinking": "这个账号不接受改过的对话历史(思考记录的校验),引擎改发了原始请求",
"chooser.title": "刚刚开始了好几个任务,这个面板要显示哪一个?",
"chooser.untitled": "新任务",
"footer.hint": "勾选的图片会随下一条消息发给模型",
@@ -467,6 +470,7 @@
"reason.integer": "the request holds an integer too large to rewrite safely",
"reason.index": "this task's records could not be read",
"reason.other": "an error occurred while rewriting",
+ "reason.thinking": "this account does not accept edited conversation history (the thinking check), so the engine sent the original request",
"chooser.title": "Several tasks just started. Which one should this panel show?",
"chooser.untitled": "New task",
"footer.hint": "Checked images go to the model with the next message",
@@ -1208,6 +1212,7 @@
if (S.data?.engineRunning === false && S.data?.setup?.usesEngine !== false) nodes.push(notice("warn", t("notice.engineDown")));
const sendNotice = S.data?.send?.notice;
if (sendNotice?.kind === "skipped") nodes.push(notice("error", t("notice.skipped", { time: timeOf(sendNotice.at), reason: t(MESSAGES[lang][`reason.${sendNotice.reason}`] ? `reason.${sendNotice.reason}` : "reason.other") })));
+ if (sendNotice?.kind === "fallback") nodes.push(notice("error", t("notice.skipped", { time: timeOf(sendNotice.at), reason: t("reason.thinking") })));
if (sendNotice?.kind === "websocket") nodes.push(notice("warn", t("notice.websocket")));
const list = images();
if (S.data && !list.length) nodes.push(emptyState);