Releases: koabula/zotero-margin
Release list
Margin 0.3.1 — Long responses and continuation
Fixes the “response too long” interruption caused by counting SSE protocol overhead against the old 2 MB limit.
- Separate limits for visible text, tool data, individual events, and total transfer.
- Independent 60-second idle and 10-minute total request timeouts.
- Preserve partial answers and identify model limits, network interruptions, and plugin protection limits.
- Continue generating appends to the latest interrupted answer with its original model, question, and sources. Unsent drafts are preserved. Continuation only reads the document; it cannot repeat navigation or note-saving actions.
- Updated English and Chinese documentation.
Validation: typecheck and 46 tests passed. In native Zotero 10.0.1, a 3,540,057-byte mock SSE response displayed its complete 10,000-character answer. Native continuation retained the answer node, draft, and citations; deliberately unoffered write/navigation calls were rejected. Tests used local mock models, not a real LLM. See the validation record.
Install margin-0.3.1.xpi through Zotero → Tools → Plugins → Install Add-on From File. One XPI contains both English and Chinese. Existing settings and conversations are retained; updates remain manual.
SHA-256 (margin-0.3.1.xpi):
0d731d2f680e3a7dfa6bd27b22c33a0f5cb14ecb3bd577f1b70a63ddad66490b
中文:修复“响应过长”导致的过早截断,优化超时并增加“继续生成”。续写使用原模型,保留部分回答、原问题、引用和未发送草稿,仅可查阅原文,不会重复跳页或保存笔记。仍采用单包双语、手动安装与更新。
Margin 0.3.0 — English support and history layout fix
Margin 0.3.0 adds English and Simplified Chinese to one universal XPI, fixes overlapping conversation history entries, and provides linked English/Chinese documentation.
- Language: follow Zotero automatically, or switch in settings without API configuration. Drafts, models, conversations, and streaming selections are preserved.
- History: content-sized rows, two-line titles with full hover text, and wrapping localized dates/message counts.
- Documentation: English README and development guide, with matching Chinese versions.
Download margin-0.3.0.xpi and install it through Zotero → Tools → Plugins → Install Add-on From File. Updates remain manual. Targets Zotero 10.0.x; native validation used Windows / Zotero 10.0.1.
Validation: typecheck and 37 tests passed, plus isolated native layout, clipboard, language restart, reader, and model-routing checks. Model tests used a local mock service, not a real LLM. Physical input checks were not repeated because the desktop input helper was unavailable. See the validation record for exact scope and limits.
SHA-256 (margin-0.3.0.xpi):
6b181f79920a2a9fa858412d9dfa4482cd56307f52b4048d39e0b9601a8cfcbe
中文:单包支持中英文,默认跟随 Zotero,也可在插件设置顶部独立切换。修复历史条目文字重叠,提供英文首页与中文说明。安装新 XPI 可保留原有设置、密钥、草稿及历史;仍采用手动更新。
Margin 0.2.0 · 页伴
Margin · 页伴 0.2.0:Zotero 内的 AI 阅读助手。
安装
下载下方 Assets 中的 margin-0.2.0.xpi,在 Zotero 的“工具 → 插件 → 从文件安装插件”中选择该文件。支持 Zotero 10.0.x;升级保留原有配置、密钥和对话。使用前需自行配置兼容 Chat Completions 与工具调用的模型 API。
功能
- 全高自适应侧栏与 Mono Light 界面。
- 原文问答、可点击引用、页码定位和笔记草稿。
- 拖选与右键复制,流式回答保护文字选区。
- 获取模型列表、手动添加、多选、默认模型和按对话切换。
验证
32 项自动化测试通过。原生布局、复制、模型请求及文献切换已在 Windows / Zotero 10.0.1 的独立测试配置中验证。模型协议测试使用本机模拟服务,未调用真实 LLM,不代表所有服务商的兼容性或模型阅读质量。
完整说明见仓库 README 和 VALIDATION.md。当前采用手动更新。
SHA-256 校验值见随附的 margin-0.2.0.sha256。