Skip to content

Releases: origin652/zotero-assistant

v0.1.4

Choose a tag to compare

@origin652 origin652 released this 25 Jun 08:40

修复

代码审查发现的 15 个 medium+ bug

Critical

  • web_fetch 使用未定义的 this.truncateText(应为局部解构变量)导致功能失效
  • handleModelResponse 在审批/失败时丢弃剩余 tool_calls,违反 API 协议并级联崩溃任务
  • bootstrap.ts 漏加载 assistant-i18n.js,编译产物启动即崩

High

  • toolUpdateMetadata 字段部分写入无回滚
  • 库切换后不重注入上下文,模型在旧库上下文里操作新库
  • audit/timeout 超时后泄漏未观测 promise 与定时器
  • set_preference 对两个压缩类 pref 缺范围校验
  • callModelWithRetries 对 4xx 零退避重试

Medium

  • toolCreateParentItem 双 saveTx 崩溃留孤儿父项(改为单事务)
  • metadata 缓存命中也算轮配额
  • annotationItemsForAttachment 全库兜底性能悬崖
  • toolFinishTask 的 lastToolFailure 拒绝缺 validationError,自阻塞
  • showMessage 动态文本过 uiText 误翻译
  • 偏好面板 MutationObserver 监听主窗口
  • runTaskLoopInBackground 重入守卫误暂停正常恢复

拖动 bug

  • 拖动聊天面板标题栏时主窗口跟着移动:两个拖动 handler 补 event.stopPropagation()

Full Changelog: v0.1.2...v0.1.4

v0.1.3

Choose a tag to compare

@origin652 origin652 released this 20 Jun 14:38

Changes

  • Add lookup_metadata_candidates for read-only bibliographic metadata lookup from Zotero items, attachments, ISBN, DOI, arXiv, PMID, or title queries.
  • Add create_item for approved creation of new top-level Zotero bibliographic items from selected metadata candidates.
  • Add task-local metadata lookup caching, candidate confidence/conflict reporting, and text-probe approval behavior.
  • Add configurable Semantic Scholar and PubMed metadata sources.
  • Improve ISBN lookup with Open Library Books API and ISBN-10/ISBN-13 equivalence matching.
  • Add citation export and declarative batch plan tools from the local commits included in this release.

Validation

  • npm run check
  • npm run build

v0.1.2

Choose a tag to compare

@origin652 origin652 released this 19 Jun 09:24

Changes

  • Add runtime Chinese/English UI language support with Auto, zh-CN, and en-US preferences.
  • Localize the settings page, chat window, sidebar, approval cards, logs, buttons, and common errors.
  • Make user-visible model replies, clarification questions, review reasons, and final summaries follow the selected UI language by default.
  • Include the new i18n bundle in plugin startup, build packaging, and syntax checks.

Validation

  • npm run check
  • npm run build

v0.1.1

Choose a tag to compare

@origin652 origin652 released this 19 Jun 05:55

Changes

  • Fix missing or placeholder final chat responses by rejecting incomplete finish_task summaries.
  • Improve AI review context so recent user instructions are considered during risk review.
  • Include collection parent information in collection creation review summaries.
  • Flush visible chat progress after tool batches and handle empty assistant turns more clearly.

Assets

  • zotero-assistant.xpi
  • updates.json

v0.1.0

Choose a tag to compare

@origin652 origin652 released this 18 Jun 14:00

Initial public release of Zotero Assistant for Zotero 9. Includes assistant chat UI improvements, structured reasoning display, and current-reader page support for PDF and EPUB.