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.

chore(release): 版本号改为 0.8.1,CHANGELOG 写上 0.8.1

chipfighter701970a460f3
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
index d559e71..9ff73f7 100644
--- a/.claude-plugin/plugin.json
+++ b/.claude-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "codex-attachment-manager",
"displayName": "Context Attachment Manager",
- "version": "0.8.0",
+ "version": "0.8.1",
"description": "Choose which images from a Claude Code session's history go out with the next message. Unchecked images become short placeholders; the session and the conversation stay the same.",
"author": {
"name": "chipfighter"
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 84e9530..fbcdece 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -37,7 +37,7 @@ body:
id: plugin
attributes:
label: 插件版本 / Plugin version
- placeholder: "0.8.0"
+ placeholder: "0.8.1"
- type: textarea
id: what
attributes:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 90518a2..3da9d5d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,18 @@
When a version is released, its section here becomes the GitHub release notes.
+## [0.8.1] - 2026-10-21
+
+A fix for the panel's filters.
+
+### Fixes
+
+- The filters take at most two rows. In a long task where the model named many scenes, the filter buttons filled most of the panel and left a small strip for the thumbnails. The ones that don't fit now fold into *N more* at the end of the second row, which shows them all. The filter you picked always stays in view, and picking one from the full list folds them again.
+
+### Notes
+
+- Checked in the panel's development page with a synthetic task of 28 scenes, in Chinese and English, light and dark, and down to a 260-pixel-wide panel. Not yet checked in Codex or Claude Desktop with a real task.
+
## [0.8.0] - 2026-10-20
The model keeps notes on your images, and the panel finds them by what you remember.
diff --git a/plugin/.codex-plugin/plugin.json b/plugin/.codex-plugin/plugin.json
index f0cb082..7477f34 100644
--- a/plugin/.codex-plugin/plugin.json
+++ b/plugin/.codex-plugin/plugin.json
@@ -1,6 +1,6 @@
{
"name": "codex-attachment-manager",
- "version": "0.8.0",
+ "version": "0.8.1",
"description": "Choose which images from a Codex task's history go out with the next message. Unchecked images become short placeholders; the task and the conversation stay the same.",
"author": {
"name": "chipfighter"
diff --git a/plugin/src/panel.html b/plugin/src/panel.html
index fad03a7..a9adfaa 100644
--- a/plugin/src/panel.html
+++ b/plugin/src/panel.html
@@ -1435,7 +1435,7 @@
// ---- start: handshake, then Codex sends its own cam_panel result; poll so new images show up ----
if (window.matchMedia?.("(prefers-color-scheme: dark)").matches) document.documentElement.dataset.theme = "dark";
applyLanguage();
- request("ui/initialize", { protocolVersion: "2026-01-26", appInfo: { name: "codex-attachment-manager", version: "0.8.0" }, appCapabilities: {} })
+ request("ui/initialize", { protocolVersion: "2026-01-26", appInfo: { name: "codex-attachment-manager", version: "0.8.1" }, appCapabilities: {} })
.then((init) => { applyHost(init?.hostContext); post({ method: "ui/notifications/initialized", params: {} }); reportFrame(); })
.catch(() => {})
.finally(() => setTimeout(() => { if (!S.data) refresh(); }, 1200));
diff --git a/plugin/src/plugin-server.ts b/plugin/src/plugin-server.ts
index 54d5d9b..0c723e1 100644
--- a/plugin/src/plugin-server.ts
+++ b/plugin/src/plugin-server.ts
@@ -116,7 +116,7 @@ const icon = (theme: "light" | "dark", color: string) => ({
src: `data:image/svg+xml;base64,${Buffer.from(ICON_SVG.replace("currentColor", color)).toString("base64")}`,
mimeType: "image/svg+xml", sizes: ["any"], theme,
});
-export const serverInfo = (lang: Lang) => ({ name: "codex-attachment-manager", title: say(lang, "server.title"), version: "0.8.0", icons: [icon("light", "#5d5d5d"), icon("dark", "#cdcdcd")] });
+export const serverInfo = (lang: Lang) => ({ name: "codex-attachment-manager", title: say(lang, "server.title"), version: "0.8.1", icons: [icon("light", "#5d5d5d"), icon("dark", "#cdcdcd")] });
export function readResource(uri: string): Json {
if (uri !== PANEL_URI) throw new Error(`unknown resource ${uri}`);