Repository navigation
Agentero v0.11.5
概要
本次发布围绕翻译、PDF 批注与 Agent 接入三块:重新加入 CNKI 免费翻译引擎(含按句分块、断线重试与通行 Cookie 处理),并让内置翻译也显示探针状态;PDF 批注卡操作改为边缘标签、批注评论支持 Markdown,带标记 PDF 导出明显提速;Agent 侧在缺少 npm 时提供一键安装 Node.js,登录命令改用绝对路径。同时修好版面解析的设置引导、坚果云 WebDAV、Grok 断线重发、Excalidraw 粘贴图片等问题。
新功能
- CNKI 免费翻译引擎: 把 CNKI 翻译(词典)重新接回为免费引擎,按句分块、AES 加密请求并缓存 token,新增断线重试与通行 Cookie 处理,批量翻译不再中途成片失败。(#664, 44d84c14 by @Phil-Fan)
- 一键安装 Node.js: Agent 安装/更新依赖 npm;当系统缺少 npm 时,失败提示直接提供「安装 Node.js」入口,并通过后台任务显示进度、支持取消,Windows 下安装后无需重启即可识别。(67c4d7e1 by @Phil-Fan)
- CLI 导入本地 PDF:
agentero import pdf <file>...支持批量导入本地 PDF,执行 LiteParse 探测、Zotero 识别与 DOI/arXiv 元数据解析后按规范 ID 归档,并可指定目标目录或跳过识别。(#644 by @bet4it) - 低频配置提醒: 首次进入时,对「本地 ONNX 版面分析占用内存/CPU」和「网络代理」等需要配置的功能弹出右上角提醒,可一键跳转到对应设置并选择「不再提醒」。(#658, b69578a8 by @Phil-Fan)
- 翻译卡钉住: 翻译卡可用 Esc、点击外部或关闭按钮收起;需要回顾的译文可钉在原文旁,通过页边标记再次打开,取消钉住后关闭即丢弃。(#667, #680 by @qup1010)
- 学术检索 BYOK: Semantic Scholar、PubMed、OpenAlex 支持通过环境变量配置可选凭据,默认行为不变,仍走免费端点。(#649, #651 by @dengfeng-0908)
- 批注评论 Markdown: 高亮与视觉批注的评论在 PDF 批注卡和笔记嵌入中按 Markdown 渲染,长评论保持可滚动。(#661, #662 by @Kokeip)
改进
- 版面解析设置引导: 把「OpenAI 兼容」折叠进「其他提供商」并提示优先使用 Paddle / MinerU;解析或版面分析失败时,提示可直接跳转到分析设置。(#656, f736dc0a, acc8fb2a by @Phil-Fan)
- 带标记 PDF 导出提速: 替换 EmbedPDF 保存路径中逐字节拷贝 WASM 堆的循环为一次性切片拷贝,多兆文档导出明显加快,并在完成时给出成功提示。(#595, 69efc507 by @Phil-Fan)
- 批注卡操作改为边缘标签: 批注卡操作改为垂直边缘标签,操作栏移出滚动区域,不再遮挡正文或因滚动被裁剪。(3812e96a, da760eae by @Phil-Fan)
- 内置翻译探针: 内置(agentero)翻译在默认服务下拉中也会发送一次真实请求显示探针状态,网关不可用时明确显示失败。(#647, aa825196 by @Phil-Fan)
修复
- 坚果云 WebDAV: 支持坚果云帐号根地址
https://dav.jianguoyun.com/dav/,并校验探测写入,避免连接测试通过而首次同步才报 404。(#681, 973fce12 by @qychen2001) - Grok 断线重发: 会话连接在 prompt 送达前断开时丢弃该进程并用
session/load重发同一 prompt,避免上下文丢失。(#675, 1fba75fe by @ffy6511) - 空批注失焦取消: 点击图片产生的空批注在失焦、点击外部或 Esc 时取消,不再残留草稿与选区。(#673, 0f36b304 by @ffy6511)
- 含空格的 PDF 引用: 打开路径含空格的 PDF 引用链接时正确解码并跳转。(#665, 5720c936 by @ffy6511)
- 划词复制交互: 复制后按钮变为对勾并保留选区,不再因弹出提示打断连续划词。(#648, e6ca1506 by @ffy6511)
- 批注编辑器快捷键: PDF 批注输入框内 Ctrl/Cmd+B 与 Ctrl/Cmd+I 正常加粗、斜体,不再误触文件栏切换。(#669 by @Kokeip)
- 选区批注输入框: 固定的选区作为批注摘要统一展示,不再作为隐藏 chip 混入输入框遮挡占位符。(#660 by @Kokeip)
- Library 列拖拽: 拖动 Library 列头不再被误判为文件路径拖拽而分裂工作区。(#646, 79045950 by @Phil-Fan)
- 紧凑 Figures 面板: 紧凑面板下重新提供 bbox 叠加层开关,并让提醒提示按行堆叠、操作按钮不再挤压长文案。(#653, 1e5a33aa, b331339e by @Phil-Fan)
- Excalidraw 粘贴图片: 支持把剪贴板图片粘贴进 Excalidraw 并随文件保存,同时把文件树剪贴板快捷键限制在文件树表面。(#682, 598a88a9, ef292f1d by @Phil-Fan)
- Agent 登录命令: 登录终端按合并后的 PATH 将可执行文件解析为绝对路径,修复
bash -lc读不到 zsh 配置导致的 command not found;并移除内置 Claude/Codex ACP 的冗余探测行。(#686, 3dcb669b, f57313b3 by @Phil-Fan)
Summary
This release centers on translation, PDF annotations, and Agent integration. The CNKI free translation engine returns with sentence chunking, retry-on-drop, and clearance-cookie handling, and the built-in translator now shows a live probe. PDF annotation cards moved their actions to an edge tab and render comments as Markdown, while annotated PDF export is markedly faster. On the Agent side, a missing npm now offers a one-click Node.js install and login resolves commands to absolute paths. Layout-analysis settings guidance, Nutstore WebDAV, Grok reconnect replay, and Excalidraw image paste are fixed as well.
Features
- CNKI free engine: The CNKI (dictionary) translator is back as a free engine with sentence chunking, AES-encrypted requests, and a cached token. Dropped connections retry and the clearance cookie is carried, so batch translations no longer fail partway. (#664, 44d84c14 by @Phil-Fan)
- One-click Node.js install: Agent install/update runs npm-based chains. When npm is absent, the failure toast now offers an "Install Node.js" action that runs as a cancellable background task with progress, and Windows picks it up without an app restart. (67c4d7e1 by @Phil-Fan)
- CLI local PDF import:
agentero import pdf <file>...imports one or more local PDFs, running the LiteParse probe, the Zotero recognizer, and DOI/arXiv metadata resolution before filing under a canonical ID, with options for a target folder or to skip recognition. (#644 by @bet4it) - Low-frequency config reminders: On first entry, features that need configuration — such as local ONNX layout analysis (memory/CPU) and the network proxy — raise a top-right reminder with an actionable jump to settings and a "don't remind again" choice. (#658, b69578a8 by @Phil-Fan)
- Pinned translation cards: Translation cards dismiss via Esc, an outside click, or the close button; keepable translations can be pinned beside the source and reopened from a margin mark, and unpinning discards only after closing. (#667, #680 by @qup1010)
- Scholar BYOK: Semantic Scholar, PubMed, and OpenAlex accept optional credentials via environment variables, with the default free endpoint behavior unchanged. (#649, #651 by @dengfeng-0908)
- Markdown annotation comments: Highlight and visual annotation comments render as Markdown in PDF comment cards and note embeds, and long comments stay scrollable. (#661, #662 by @Kokeip)
Improvements
- Layout-analysis settings guidance: OpenAI-compatible is collapsed under "Other providers" with a hint to prefer Paddle / MinerU, and analysis/parse failures offer a direct jump to the analysis settings. (#656, f736dc0a, acc8fb2a by @Phil-Fan)
- Faster annotated PDF export: The byte-by-byte WASM heap copy in EmbedPDF's save path is replaced with a single slice copy, so multi-megabyte exports finish much faster and confirm with a success toast. (#595, 69efc507 by @Phil-Fan)
- Annotation card edge tab: Comment card actions move to a vertical edge tab and out of the scroll container, no longer covering the body or being clipped while scrolling. (3812e96a, da760eae by @Phil-Fan)
- Built-in translator probe: The built-in (agentero) translator now sends one real request to show a probe status in the default-service dropdown, surfacing a dead gateway as a failure. (#647, aa825196 by @Phil-Fan)
Fixes
- Nutstore WebDAV: Nutstore's account root
https://dav.jianguoyun.com/dav/is supported and probe writes are verified, so a passing connection test no longer precedes a 404 on the first sync. (#681, 973fce12 by @qychen2001) - Grok reconnect replay: If a warm connection dies before the prompt is delivered, the process is dropped and the same prompt is resent via
session/load, so context is not lost. (#675, 1fba75fe by @ffy6511) - Empty annotation on blur: An empty visual annotation draft is cancelled on blur, outside click, or Esc instead of lingering with its selection. (#673, 0f36b304 by @ffy6511)
- PDF citations with spaces: Percent-encoded vault hrefs are decoded so PDF citation links whose paths contain spaces open correctly. (#665, 5720c936 by @ffy6511)
- Copy interaction: Copying from the selection toolbar shows a check and keeps the selection, no longer interrupting consecutive selections with a toast. (#648, e6ca1506 by @ffy6511)
- Annotation editor shortcuts: Ctrl/Cmd+B and Ctrl/Cmd+I format text inside PDF annotation inputs instead of triggering the global file-tree shortcut. (#669 by @Kokeip)
- Selection annotation composer: Pinned selections are shown by the annotation summary rather than as hidden chips overlapping the composer placeholder. (#660 by @Kokeip)
- Library column drag: Dragging a Library column header is no longer mistaken for a file-path drag that split the workspace. (#646, 79045950 by @Phil-Fan)
- Compact Figures panel: The bbox overlay toggle is reachable again in the compact panel, and reminder toasts stack their actions below long descriptions. (#653, 1e5a33aa, b331339e by @Phil-Fan)
- Excalidraw image paste: Clipboard images can be pasted into Excalidraw and are persisted with the file, and file-tree clipboard shortcuts are scoped to the file tree. (#682, 598a88a9, ef292f1d by @Phil-Fan)
- Agent login command: The login terminal resolves the executable to an absolute path against the merged PATH, fixing command-not-found from
bash -lcskipping zsh config; the redundant bundled Claude/Codex ACP probe row was also removed. (#686, 3dcb669b, f57313b3 by @Phil-Fan)
Full Changelog: v0.11.4...v0.11.5