Skip to content

Agentero v0.10.0

Choose a tag to compare

@github-actions github-actions released this 10 Sep 10:16
· 966 commits to main since this release

概要

本次发布引入官方安装包可用的内置模型服务:翻译走 Hunyuan-MT、Embedding 与 PDF 正文 OCR 可零配置使用,密钥仅编译进 Host、不经 IPC、不落盘。界面侧全面对齐 Apple 风格材质与动效,论文库滚动时压缩顶栏,Agent 输入框支持内联 @ / $skill / /command 芯片与矮窗口紧凑模式。PDF 划词把「加入对话」挪到选区角标、批注轨可悬停直接编辑,并修复 Windows 启动/诊断黑窗闪烁、Antigravity 登录引导、侧栏空白与多图合并等问题。

新功能

  • 内置模型服务: 官方安装包可编译进 agentero 内置提供方;翻译走专用 Hunyuan-MT 模板(自动分句、不套 [[n]] 批协议),Embedding 与 PDF 正文 OCR 同样零配置。密钥只存在于 Host(option_env!),不经 IPC、不写入 settings.json;Settings / 引导在可用性查询就绪后才默认选中,无密钥构建则隐藏或禁用该项。(d50228f5、50dfa67b、3f089832、a50ef860、5080349b、a68340f2、849befec、b9cfb969 by @qychen2001)
  • Agent 内联上下文芯片: @ 提及、$skill 与 /command 以行内芯片插入输入框;块级上下文芯片收进输入区旁,上方保留短标签条,悬停展开说明。(0696564f、b2b98c25、93e97f43、4e971317、5e5935f3 by @Phil-Fan)
  • PDF 划词角标与批注轨: 「加入对话」移出悬浮工具栏,改在选区右下角以文字胶囊显示(仅 Agent 面板打开或独立窗口时出现);Ask 按钮改用已配置的 PDF Ask Agent 图标。右侧批注芯片悬停即可展开编辑,空内容离开后收回,指针按下时在选区被清除前创建高亮。(8dc60ebe、f01faeec、5c61a43a、4d2b336e、1c88d754 by @Phil-Fan)
  • 矮窗口紧凑输入框: 主窗口高度低于 600px 时 Agent 轨道强制进入紧凑模式,输入区随内容收缩,待发送队列浮在上方且不遮挡单行输入。(00c7baae、357f4212、43d8adea、409a22bd、b530c039 by @Phil-Fan)
  • 消息代码块交互: Agent 回复中的代码围栏改用与表格一致的 PlainCodeBlock(悬停复制/下载、无外层卡片),并显示语言标签;Mermaid 仍走默认图示路径。(ad8c069b、656143f9 by @Phil-Fan)
  • 论文标题内联公式: 论文标题中的 TeX 数学片段以内联公式渲染,不再整段当纯文本。(a0a23724 by @Phil-Fan)
  • 论文库滚动压缩顶栏: 论文库向下滚动时粘性顶栏压缩,搜索与操作区淡出;停止滚动约 450ms 后淡入恢复,隐藏瞬间完成以避免拖影。(c6cf6eaf、bc023c43、e64dd7c8、728ef2c2 by @Phil-Fan)

改进

  • 壳层与设置的材质动效: 主壳与 System Settings 对齐 Apple Design——侧栏材质与滑动高亮、分组 inset 卡片、字重与字号层级、按压缩反馈,并尊重降低透明度 / 减少动态效果;默认色板改用系统灰。(f2681bad、60b0db18、b8f0c16b、cc294cdb、f9188899、c4a919ae by @Phil-Fan)
  • PDF 浮动层与侧栏精简: 划词菜单与翻译卡片材质/字号对齐壳层;整页翻译页签移到左缘并缩小;选区翻译卡片默认开在左侧;Paper Info 顶栏扁平化并做高度折叠动画。(f01faeec、461fc2b5、36b9f73b、2e75dca4、01008f60 by @Phil-Fan)
  • 启动时软探测目录 Agent: 应用启动时对目录内 Agent 做软探测,减少首次打开聊天才发现不可用的情况。(d23c73fe by @Phil-Fan)

修复

  • Windows 启动/诊断黑窗闪烁: 发布版 GUI 进程在启动采集设备型号与 Settings → Doctor 探测时未带 CREATE_NO_WINDOW,会弹出可见控制台;现对 reg query 与诊断子进程统一隐藏控制台,功能与采集结果不变。(#494 by @Zhou1317fe5)
  • Antigravity 登录与会话恢复: 将 auth-required 映射为可操作的登录文案,失败 Toast 提供「登录」并打开带 --login 的系统终端;登录命令按合并后的 Agent PATH 解析。提示失败若含「File not found」则在同一 ACP 连接上用新会话重试一次。同时加固异构机器上的 invoke 拒绝标记与前缀错误解析。(97cff57d、377f891e、#492 by @JiaheChen2002)
  • 多栏图与图注合并: 图注合并改为锚定在图注附近的连通 panel 组,避免通栏图注吞掉整段竖直带、窄不可读图注抢走已有标题下的 panel;并恢复被模型误标为正文的图注候选。(e459a16d、#223 by @qychen2001)
  • 入库布局抢跑: 魔棒入库在本地 PDF 尚未落盘时不再入队版面分析;分析器在文件仍缺失时软跳过,避免任务面板出现「No local PDF」。(20f0826c by @Phil-Fan)
  • 侧栏文件树空白: 去掉逐行 translateY 合成层,并在视口尺寸变化时重同步虚拟列表滚动偏移,避免 WKWebView 下打开论文或刷新树后左侧栏空白直到滚动。(2102df10 by @Phil-Fan)
  • 划词工具栏随滚动贴合: 视口滚动与缩放时重算悬浮菜单与「加入对话」胶囊的屏幕锚点;选区离开视口时菜单贴边并降低透明度。拖选期间抑制引用预览,选区结束后仍可悬停 citation / crossref。(b03d1728、ad45b412、732802be by @Phil-Fan)
  • macOS 主窗口最小尺寸: 配置合并后恢复主窗口最小宽高,避免被错误压到过小。(e13f84d3 by @Phil-Fan)
  • Cmd+A 选中壳层文案: 快捷键全选不再把侧栏与壳层标签一并选中。(32a1eb50 by @Phil-Fan)
  • 翻译错误码直出: 仅将已知 Host 标记映射给用户,避免把 io / json / sqlite 等内部 code 原文抛进 Toast。(533a3801 by @qychen2001)

Summary

This release ships an official built-in model provider for zero-config translation (Hunyuan-MT), embedding, and PDF body OCR—the key is compiled into the Host only, never crosses IPC, and never lands in settings. The UI picks up Apple-style materials and motion, a compacting library header on scroll, and an Agent composer with inline @ / $skill / /command chips plus a short-window compact mode. PDF selection moves Add to chat to a corner pill and lets the annotate rail expand on hover. Fixes cover Windows console flashes on startup and Doctor probes, actionable Antigravity sign-in, sidebar blanking, multi-panel figure merge, and several selection-chrome glitches.

Features

  • Built-in model provider: Official installers can compile in the agentero provider—translation uses a dedicated Hunyuan-MT template (segmented requests, no [[n]] batch protocol), and embedding plus PDF body OCR work with zero user credentials. The key stays Host-only (option_env!), never crosses IPC, and never reaches settings.json; Settings / onboarding select it only after availability resolves, and unkeyed builds hide or disable the option. (d50228f5, 50dfa67b, 3f089832, a50ef860, 5080349b, a68340f2, 849befec, b9cfb969 by @qychen2001)
  • Inline Agent context chips: @ mentions, $skill, and /command insert as inline composer chips; block-level context chips live beside the input with a short-label strip above that expands on hover. (0696564f, b2b98c25, 93e97f43, 4e971317, 5e5935f3 by @Phil-Fan)
  • PDF selection corner pill and annotate rail: Add to chat leaves the floating toolbar for a text pill at the selection's bottom-right (shown only when the Agent rail is open or Agent is in its own window); Ask uses the configured PDF Ask agent icon. The right-rail annotate chip expands for in-place edit on hover, collapses when left empty, and creates the highlight on pointerdown before EmbedPDF clears the selection. (8dc60ebe, f01faeec, 5c61a43a, 4d2b336e, 1c88d754 by @Phil-Fan)
  • Compact composer on short windows: When the main window is under 600px tall the Agent rail forces compact mode; the input hugs content and the waiting-send queue floats above without clipping the single-line field. (00c7baae, 357f4212, 43d8adea, 409a22bd, b530c039 by @Phil-Fan)
  • Code-block interaction in chat: Agent message fences use PlainCodeBlock aligned with table chrome (hover copy/download, no outer card) and show a language label; Mermaid stays on the default diagram path. (ad8c069b, 656143f9 by @Phil-Fan)
  • Inline TeX in paper titles: TeX math fragments in paper titles render as inline formulas instead of raw text. (a0a23724 by @Phil-Fan)
  • Compacting library header on scroll: Scrolling the paper library compresses the sticky header and fades search/actions; after ~450ms idle they fade back in, with instant hide to avoid trails. (c6cf6eaf, bc023c43, e64dd7c8, 728ef2c2 by @Phil-Fan)

Improvements

  • Shell and Settings materials: Main shell and System Settings follow Apple Design—sidebar material with sliding highlight, inset grouped cards, type hierarchy, press feedback, and reduced-transparency / reduced-motion affordances; the default palette retunes to system gray. (f2681bad, 60b0db18, b8f0c16b, cc294cdb, f9188899, c4a919ae by @Phil-Fan)
  • PDF floating chrome and Paper Info: Selection menus and translate cards match shell materials/type; the page-translate tab moves to the left edge and shrinks; selection translate opens on the left by default; Paper Info flattens its header and animates collapse height. (f01faeec, 461fc2b5, 36b9f73b, 2e75dca4, 01008f60 by @Phil-Fan)
  • Soft-probe catalog agents at startup: Catalog Agents are soft-probed when the app launches so unavailability shows up before the first chat open. (d23c73fe by @Phil-Fan)

Fixes

  • Windows console flashes on startup and Doctor: The GUI release lacked CREATE_NO_WINDOW for the startup device-model reg query and Settings → Doctor probes, so visible consoles appeared; both paths now hide the console without changing command content or collected results. (#494 by @Zhou1317fe5)
  • Antigravity sign-in and session recovery: auth-required maps to actionable sign-in copy with a Toast action that opens a system terminal at <command> --login, resolving the login command against the merged Agent PATH. Prompt failures containing "File not found" retry once with a fresh session on the same ACP connection. Invoke rejections and prefixed error strings are hardened for heterogeneous machines. (97cff57d, 377f891e, #492 by @JiaheChen2002)
  • Multi-panel figure merge near captions: Caption merge anchors connected panel groups near the caption so full-width captions no longer swallow the whole vertical band and narrow unreadable captions no longer steal panels from known titles; confidently mislabeled body-text captions are recovered. (e459a16d, #223 by @qychen2001)
  • Import layout race: Magic-wand import no longer enqueues layout analysis before the local PDF exists; the analyzer soft-skips when the file is still missing so the task panel does not fail with "No local PDF". (20f0826c by @Phil-Fan)
  • Blank vault file tree: Drop per-row translateY compositor layers and resync the virtualizer scroll offset on viewport resize so WKWebView does not leave the left rail unpainted after opening papers or refreshing the tree. (2102df10 by @Phil-Fan)
  • Selection chrome sticks while scrolling: Recompute floating menu and Add-to-chat pill anchors on viewport scroll and zoom; dim and clamp the chrome when the selection leaves the viewport. Citation previews stay suppressed only during drag-select, then hover works again after the selection ends. (b03d1728, ad45b412, 732802be by @Phil-Fan)
  • macOS main window min size: Restore the main window minimum size after config merge so it is not crushed too small. (e13f84d3 by @Phil-Fan)
  • Cmd+A selecting chrome labels: Select-all no longer highlights sidebar and shell labels along with editor content. (32a1eb50 by @Phil-Fan)
  • Raw translate error codes: Only known Host markers are surfaced to users, so internal codes such as io / json / sqlite no longer appear verbatim in toasts. (533a3801 by @qychen2001)

Full Changelog: v0.9.7...v0.10.0