Skip to content

Releases

v0.6.4 — 论文选文评论快捷键 / PDF Selection Comment Shortcuts

Choose a tag to compare

@kongbai55 kongbai55 released this 25 Oct 11:34

调整 PDF 选文评论框的键盘操作:

  • Enter:确认添加注释到对话。
  • Shift+Enter:插入换行。
  • 中文输入法确认选词时不会误添加注释。
  • 防止长按 Enter 或重复确认导致重复添加。

更新:安装 zotero-codex-reader-0.6.4.xpi,重启 Zotero 后生效。

Updated keyboard shortcuts in the PDF selection comment box:

  • Enter confirms and adds the annotation to the conversation.
  • Shift+Enter inserts a newline.
  • Confirming text during IME composition does not accidentally add an annotation.
  • Holding Enter or confirming repeatedly no longer creates duplicate annotations.

Update: Install zotero-codex-reader-0.6.4.xpi and restart Zotero.

v0.6.3 — 修复长文件名附件导入失败 / Fix Long Attachment Filename Errors

Choose a tag to compare

@kongbai55 kongbai55 released this 25 Oct 11:23

修复 Windows 下添加长文件名附件时,因完整保存路径过长而出现 NS_ERROR_FILE_NOT_FOUND、导致附件无法添加的问题。

  • 附件副本使用短文件名保存,界面和对话仍保留原文件名。
  • 保留文件扩展名和内容,同名附件独立保存,避免互相覆盖。
  • 写入前检查完整路径;Zotero 配置目录本身过长时,显示明确提示。

**更新:**从 Zotero 插件管理器安装 zotero-codex-reader-0.6.3.xpi,重启 Zotero 后,重新添加此前失败的附件。

Fixed an issue on Windows where adding an attachment with a long filename could exceed the supported destination path length, causing NS_ERROR_FILE_NOT_FOUND and preventing the attachment from being added.

  • Attachment copies now use short filenames while preserving the original names in the interface and conversations.
  • File extensions and contents are preserved. Attachments with identical names are stored separately to prevent overwrites.
  • The complete destination path is checked before writing, with a clear message if the Zotero profile path itself is too long.

Update: Install zotero-codex-reader-0.6.3.xpi through Zotero’s plugin manager, restart Zotero, and add any previously failed attachments again.

v0.6.2 — 注释、回复选文与文件拖放修复 / Annotation, Reply Selection and File Drop Fixes

Choose a tag to compare

@kongbai55 kongbai55 released this 23 Oct 09:37

本次更新修复了注释编辑、回复文字选择和文件拖放中的交互问题。

  • 修复注释编辑:在 PDF 选文评论中按 Backspace、Delete 或方向键,不再触发阅读器快捷键或关闭注释界面。
  • 支持回复选文追问:可以选中 Codex 回复,点击「添加到对话」,附加评论并发送追问。支持跨格式、跨段选文及编号高亮。
  • 保留正在选择的文字:其他回复更新时,不再打断已有选区。
  • 改进注释浮窗:显示引用原文,并根据实际高度定位,避免内容被裁切。
  • 修复文件拖放:拖入 PDF、EPUB、HTML 等文件时,不再自动切回 Zotero 文献库;放入 Codex 面板后添加为聊天附件,保持当前论文打开。

升级方式: 安装 zotero-codex-reader-0.6.1.xpi 后,完整重启 Zotero。


This release fixes interaction issues with annotation editing, reply text selection and file attachments.

  • Fixed comment editing: Backspace, Delete and arrow keys in PDF excerpt comments no longer trigger reader shortcuts or unexpectedly close the annotation interface.
  • Reply selection for follow-ups: Select text in a Codex reply and choose Add to conversation to attach a comment and ask a follow-up question. Formatted and multi-paragraph selections support numbered highlights.
  • Preserved text selections: Updates to other replies no longer interrupt an existing selection.
  • Improved annotation popups: The editor displays the quoted excerpt and adjusts its position to avoid clipping.
  • Fixed file drops: Dragging PDF, EPUB or HTML files toward the Codex panel no longer switches Zotero to the library. Dropped files become chat attachments while the current paper stays open.

Upgrade: Install zotero-codex-reader-0.6.1.xpi, then fully restart Zotero.

v0.6.0 — 文件与图片附件 / File and Image Attachments

Choose a tag to compare

@kongbai55 kongbai55 released this 23 Oct 06:30

本次更新新增文件和图片附件,支持在 Zotero 阅读面板中直接添加资料并交给 Codex 分析。

新增功能

  • 拖放添加:将文件或图片拖入 Codex 面板。
  • 粘贴上传:在输入框粘贴截图或复制的文件,普通文字粘贴保持不变。
  • 多选文件:点击输入框左下角「+」选择附件。
  • 附件管理:显示文件名称、大小和图片缩略图,支持单独移除。
  • 仅发送附件:无需输入文字即可发送附件。
  • 草稿与重试:发送失败保留附件;本次 Zotero 运行期间,切换论文后返回仍保留待发附件。
  • 历史显示:已发送的附件保留在消息中,继续历史会话时可恢复显示。

文件处理与限制

  • PNG、JPEG、GIF、WebP 作为图片输入发送给支持图片的模型。
  • 文本、Markdown、CSV、代码等文件在本地解码,附带文本合计最多 60,000 字符;截断时提示,并保留完整文件引用。
  • PDF、Word 等其他文件以本地副本提供给 Codex,由其只读工具读取。格式支持取决于本机工具环境。
  • 每条消息最多 10 个附件,单个最多 20 MB,合计最多 50 MB。
  • 添加附件时仅在本地准备,点击发送后才交给 Codex。附件副本不加入 Zotero 文献库;已尝试发送的副本会保留,供后续会话读取。

安装 zotero-codex-reader-0.6.0.xpi 后,请完整重启 Zotero。


This release adds file and image attachments, allowing you to provide materials directly to Codex from Zotero’s reading panel.

New Features

  • Drag and drop: Drop files or images into the Codex panel.
  • Clipboard attachments: Paste screenshots or copied files into the question editor. Ordinary text paste remains unchanged.
  • Multiple file selection: Click + beside the composer to select attachments.
  • Attachment management: View file names, sizes and image thumbnails, with individual removal.
  • Attachment-only messages: Send attachments without entering a question.
  • Drafts and retries: Failed submissions retain attachments for retry. Pending attachments also survive switching papers during the current Zotero session.
  • Conversation history: Sent attachments remain visible in messages and can be restored when continuing a saved conversation.

File Handling and Limits

  • PNG, JPEG, GIF and WebP are sent as image inputs to image-capable models.
  • Text, Markdown, CSV and source files are decoded locally, with up to 60,000 characters included across attachments. Truncation is indicated, and the full file reference remains available.
  • PDFs, Word documents and other files are supplied as local copies for Codex to inspect with read-only tools. Format support depends on the local tool environment.
  • Each message supports up to 10 attachments, 20 MB per file, and 50 MB combined.
  • Adding attachments prepares them locally; they are handed to Codex when you send. Copies stay outside the Zotero library. Copies used in attempted submissions are retained for continued conversations.

Install zotero-codex-reader-0.6.0.xpi, then fully restart Zotero.

v0.5.0 — Project Sync and Conversation Context

Choose a tag to compare

@kongbai55 kongbai55 released this 23 Oct 06:05

本次更新改进了 Zotero 与 Codex 的项目互通,修复项目列表混入临时目录的问题,并接入项目历史对话。

新增与改进

  • 按变化刷新项目:取消每 5 秒轮询,改用文件变化通知,合并连续事件后刷新。打开项目列表或返回 Zotero 时也会补充检查。
  • 支持反向登记项目:在插件中新建或添加项目后,会打开 Codex 接收目录。完成必要的目录授权后,插件自动关联桌面项目;登记完成前显示“等待 Codex 接收”。
  • 接入项目历史对话:选择项目后,自动加载该项目的本地 Codex 对话。点击历史条目会继续原会话,保留已有上下文,不再默认创建分支。
  • 补充近期项目背景:新建项目会话可使用最多 4 个近期本地会话的摘录作为背景,总量不超过 16,000 字符。

修复

  • 旧版从聊天历史推断出的临时目录不再混入正常项目列表。
  • 重复项目按真实项目身份合并,测试条目从插件列表排除。
  • 修复继续项目子目录中的历史会话后,上下文可能被新会话替换的问题。
  • ChatGPT 镜像项目的 AGENTS.md 保持只读。

使用说明与限制

  • 反向登记会打开 Codex,但不会自动发送聊天或调用模型。
  • 文件监听使用本机已有的 Node 运行环境;不可用时,会在打开列表或返回 Zotero 时刷新。
  • 本版复用的是本地 Codex 会话及近期项目背景,尚未接入 ChatGPT 云端聊天和账户级长期记忆。
  • 同一会话正在 Codex 中生成回答时,请等待完成后再从插件继续。

**升级方式:**安装 zotero-codex-reader-0.5.0.xpi,然后完整重启 Zotero。

This release improves project integration between Zotero and Codex, cleans up the project picker, and adds access to local project conversations.

New and Improved

  • Event-driven project sync: Replaces five-second polling with file change notifications. Projects also refresh when opening the project list or returning to Zotero.
  • Register projects with Codex: Creating or selecting a local project opens it in Codex. Once Codex accepts the folder, the plugin automatically links the registered project.
  • Project conversation history: Selecting a project loads its local Codex conversations. Opening an entry continues the original conversation.
  • Recent conversation context: New project conversations can include excerpts from up to four recent local conversations, capped at 16,000 characters.

Fixes

  • Removed temporary folders and directories inferred from old conversation history from the project picker.
  • Merged duplicate entries using their Codex project identities.
  • Fixed resumed conversations in project subdirectories unexpectedly being replaced with new conversations.
  • Made mirrored project instructions read-only to prevent accidental edits.

Notes

  • Project registration opens Codex without automatically sending a prompt.
  • File monitoring uses an existing Node.js runtime. If unavailable, projects refresh when opening the list or returning to Zotero.
  • Conversation context comes from local Codex history. Cloud ChatGPT conversations and account-level long-term memory are not included.
  • Wait for an active response to finish before continuing the same conversation in the other application.

Upgrade

Install zotero-codex-reader-0.5.0.xpi, then fully restart Zotero.

v0.4.0 · Annotations, Formatted Replies & Project Memory

Choose a tag to compare

@kongbai55 kongbai55 released this 23 Oct 05:21

This release brings a smoother paper-reading workflow with numbered annotations, Markdown and LaTeX rendering, reasoning effort controls, and shared project guidance.

New Features

  • Reasoning effort controls — Choose reasoning effort alongside the model selector. Available levels update automatically when switching models.
  • Markdown and LaTeX rendering — Replies support headings, emphasis, lists, tables, code blocks, and inline and display equations. Copying preserves the original Markdown. Rendering assets are bundled locally.
  • Multiple text annotations — Select text from a PDF or an assistant reply and choose Add to conversation. Collect numbered excerpts, add comments, edit them, or remove them individually. Sent messages retain their annotations.
  • Projects and shared memory — Create or add local project folders, or import working directories from your 40 most recent Codex conversations. Assign a project to a paper so new and branched conversations use that folder. Edit its AGENTS.md to share project guidance with Codex, with external-change detection before saving.
  • Individual conversation deletion — Delete a historical or current conversation after confirmation. Requires local Codex support for thread/delete and permanently deletes the conversation and its descendants.

Interaction Improvements

  • Enter sends; Shift+Enter inserts a newline. Confirming text through an input method does not accidentally send.
  • Selected reply text supports highlights, numbered markers, and comments. Click annotation cards in the composer to edit them.
  • Adding excerpts or comments does not trigger a model request. Context is submitted only when you send.

Installation & Update

In Zotero, open Tools → Plugins / Add-ons → Gear icon → Install Plugin From File, then select zotero-codex-reader-0.4.0.xpi. Restart Zotero after updating.

The plugin continues to reuse your local Codex authentication and configuration. No separate API key is required. Updates currently require manual installation.

Notes

  • Project lists and conversations do not sync bidirectionally in real time with the Codex desktop app. Add the same local folder in both applications to share project guidance.
  • AGENTS.md stores project instructions; it does not automatically record every conversation. Start a new Codex conversation to load updated guidance.
  • Locally validated with Windows x64, Zotero 10.0.6, and Codex CLI 0.163.0. Other platforms and versions have not been tested. Automated checks did not send real model requests; conversation deletion was verified using simulated conversations.

v0.3.0 — UI Improvements & Native Codex Experience

Choose a tag to compare

@kongbai55 kongbai55 released this 22 Oct 17:20

This release focuses on improving the user interface and bringing the Codex Reader experience closer to the official Codex application.

The goal is to make AI-assisted academic reading more intuitive, familiar, and seamlessly integrated into Zotero.

✨ What's Improved

🎨 Refined User Interface

  • Improved the overall sidebar layout and visual design.
  • Refined spacing, typography, and interface consistency.
  • Improved the presentation of conversations and interactive controls.
  • Created a cleaner, more polished reading experience.

💬 A More Familiar Codex Experience

  • Refined the conversation interface to more closely resemble the official Codex application.
  • Improved the organization of chat interactions and conversation controls.
  • Made common actions more intuitive for existing Codex users.
  • Reduced visual friction when switching between Codex and Zotero.

📚 Better Integration with Zotero

  • Improved the usability of Codex Reader within the PDF sidebar.
  • Refined the interaction between paper context and AI conversations.
  • Maintained a lightweight interface designed for academic reading workflows.

🔧 Core Functionality

This release retains the existing Codex integration, including:

  • Reuse of existing Codex CLI authentication and configuration.
  • AI-assisted paper summarization, explanation, and translation.
  • Context-aware conversations using selected or extracted PDF text.
  • Conversation history access and branching.
  • Integration with Zotero notes.

🎯 Release Focus

v0.3.0 is primarily a user experience update, rather than a major change to the underlying AI integration.

It brings Codex Reader one step closer to the familiar Codex interface while preserving the convenience of working directly inside Zotero.

Feedback and contributions are always welcome!

License: MIT

v0.1.0 — Initial Release

Choose a tag to compare

@kongbai55 kongbai55 released this 22 Oct 17:17

The first public release of Codex Reader for Zotero, an open-source plugin that brings Codex-powered academic reading assistance directly into Zotero's PDF reader.

✨ Highlights

  • Native Codex Integration — Connect to your locally installed Codex CLI using existing authentication and configuration, without requiring a separate API key.
  • AI-Assisted Paper Reading — Ask questions, summarize, explain, and translate academic content directly from Zotero.
  • Context-Aware Conversations — Select PDF text or extract document content to provide relevant context.
  • Streaming Responses — Interact with Codex and receive responses in real time.
  • Conversation Management — Maintain conversations for individual papers, copy responses, and save discussions as Zotero notes.
  • Privacy-Conscious Architecture — No developer-hosted backend, advertising, or plugin-operated telemetry.

📦 Installation

  1. Install and authenticate the official Codex CLI.
  2. Download the .xpi package from this release.
  3. In Zotero, navigate to Tools → Plugins / Add-ons → Install Plugin From File.
  4. Open a PDF and access Codex Reader from the right sidebar.

⚠️ Notes

  • Tested on Zotero 10.0.6 (Windows x64) with Codex CLI 0.163.0.
  • PDF images and figures are not yet analyzed.
  • Scanned documents require OCR for text extraction.
  • Content submitted to Codex may be sent to the configured model provider.
  • Automatic plugin updates are not currently supported.

This is an early public release. Feedback, bug reports, and contributions are welcome.

License: MIT