HanaAgent 1.5.48-beta
包含自 v1.5.7-beta 以来的更新。
Features · 新功能与改进
记忆与闲聊
- 更充足的记忆容量:扩大今日、近期、长期记忆及个人事实的整理容量,让助手能保留更丰富的信息,减少因篇幅限制而过度压缩细节。每日深度整理的记忆正文容量也随之增加。这不代表模型上下文窗口扩大,也不保证所有细节都会被记住。
- 闲聊独立模型:在闲聊设置中为闲聊单独选择模型,也可以继续跟随助手的主模型。
- 闲聊显示助手身份:顶部新增当前助手的头像和名称,更容易辨认正在与谁交谈。
- 主动问候更了解近期活动:闲聊助手被唤醒时,能够区分“没有在闲聊中发消息”和“正在其他会话中工作”,减少不合时宜的问候。同一助手的其他会话可能提供活动摘要,其他助手的活动提供时间、标题等概况,不等同于自动读取所有会话全文。
扩展市场与卡片
- 表情包市场:扩展市场新增表情包分类,可浏览市场源提供的表情包。表情包支持携带简介,打包工具也支持将表情包制作成市场发布包。
- 从角色创建助手:在已安装角色的市场详情中创建助手,并在确认时选择是否导入角色记忆。
- 天气卡地点处理改进:中文地名使用中文地点索引查询;没有指定地点时,尝试使用设备时区对应的城市。时区城市不一定是实际所在地,明确指定城市会更准确。
- 内置卡片改进:完善笔记、待办、番茄钟、天气等卡片的语言适配指引,帮助助手按当前对话语言制作卡片;提高钢琴卡模板的播放音量。
Code、模型与界面
- Code 默认字体调整:未设置代码字体时,默认使用系统等宽字体;已有明确选择保持不变,仍可在设置中选择其他字体。
- Code 欢迎页简化:移除 Code 欢迎页上的记忆开关。这是入口展示调整,不会删除已有记忆。
- 模型费用提示:切换辅助模型时,增加相关后台模型调用与记忆维护的费用确认;取消后不保存新选择。
- 图片上下文优化:按需缩放和压缩发送给模型的图片,控制大图的传输和处理负担。模型看到的图片可能经过缩放或有损压缩。
- 中文信息流名称调整:「报纸」更名为「日报」。
Bug Fixes · 问题修复
聊天、会话与闲聊
- 过程说明不再被过度折叠:经典和沉静视图中,助手在思考、调用工具期间写出的简短文字保留在正文;思考和工具步骤仍可折叠查看。
- 会话列表更稳定:改进大量会话的发现和分页处理,分别处理置顶、分组和最近会话,减少运行状态变化对翻页的干扰,并减少重复查询会话状态。
- 新会话思考程度正确跟随助手:切换助手和模型时,新会话使用对应设置;迟到的旧请求不会覆盖新助手的设置或用户后续手动选择。
- 空会话显示正确身份:重新打开已保存但尚无消息的会话时,欢迎页显示该会话所属助手及记忆状态,不再误用新会话草稿的状态。
- 错误提示保留到能够读完:模型无响应、服务商报错等会话错误不再定时消失,可手动关闭,也会在下一轮开始生成时清除。
- 闲聊恢复自动跟随:阅读位置接近底部时,新消息以及图片、表情加载造成的高度变化会继续跟随;主动向上阅读时保留用户的滚动控制。
- 闲聊发送后可继续输入:异步发送完成后恢复输入焦点;发送失败时保留草稿,用户已转向其他控件时不抢焦点。
- 语音转写重试更可靠:同一音频重复或并发转写时,旧操作的结果不会覆盖较新的操作。
- 消息来源更准确:改进连续插话、重试及不同入口消息的来源绑定,减少消息来源错配。
网页、预览、卡片与输入
- 网页跟随来源会话:从聊天正文、工具详情或过程区域打开链接时,保留来源会话归属,避免网页落入碰巧获得焦点的其他会话。
- 点击网页更快得到反馈:先显示网页预览,再等待网络加载完成,不必一直等到页面加载后才出现。
- 后台网页与窗口恢复更可靠:改善网页在后台及窗口隐藏、恢复期间的页面保留,减少不同页面之间的干扰。
- 恢复工作区阅读位置:返回工作区时恢复已保存的预览阅读位置,并兼容旧格式的位置记录。
- 图片适配尺寸下也能拖动:鼠标和触控笔不必先放大图片即可平移;触屏在适配尺寸下仍保留切图手势。
- 修复日报展开图片布局:展开推荐内容时,图片按所属条目的宽度正确显示。
- 修复钉住卡片后的加载:聊天卡片钉入卡片库后,重新打开时正确读取迁移后的卡片及资源。
- 修复右键粘贴图片目标:图片粘贴到实际操作的输入框,不再误入其他输入框。
- 修复黑板聊天标题编辑:标题及重命名输入框不再被窗口拖动区域拦截。
- 修正布局细节:恢复置顶子对话和带行内操作菜单项的间距,修正工作室文件夹移除按钮的尺寸和对齐。
工具、权限与项目工作
- 自动审核拒绝转为用户确认:自动审核未放行的操作会交给用户决定,而不是直接结束审批。询问不等于授权,未取得必要确认时不会执行。
- 统一命令沙箱与额外授权的处理:明确区分沙箱内执行和经审核的沙箱外执行。额外授权不等于获得管理员权限,受保护操作仍受限制。
- 子代理继承父会话审批模式:只读会话不能通过子代理获得写入权限,其他审批模式也按父会话要求执行。
- 后台终端结果归属修复:子代理终端结果留在所属子代理中,不再误投递给父会话;父会话明确等待该终端时仍可收到结果。无法自动解决的任务记录冲突不再反复报告,也不会为了消除提示覆盖已有记录。
- 复杂工具调用结果更可靠:改善 Codemode 的结构化结果和错误处理,嵌套工具被拒绝时不会由外层调用误报成功;轻量工具模式也保留 Codemode。
- 关联工作树继承项目指令:Git worktree 能读取主工作树的项目指令,并继续应用子目录指令;工作树根目录存在自己的指令文件时优先使用本地文件。
- 隐藏工作树中的技能可见:修复位于隐藏目录中的工作树无法正确显示项目技能的问题。
数据与服务兼容
- Windows 保存更稳健:会话文件被其他程序短暂占用时进行有限重试,减少因此中断保存的情况;持续失败仍会报错并保留原文件。
- 推理用量统计修正:识别更多模型返回的推理 token 字段,减少思考用量漏记;这不会改变服务商的实际计费。
- 图片格式兼容改进:正确识别图片实际格式,接受末尾附带额外数据的完整 JPEG、PNG;真正截断或损坏的图片仍会被拒绝。这不是图片元数据清理功能。
- 巡检读取不再改写原始日志:读取最近记录时保留较早历史和用户自行添加的内容。
- 升级数据保护改进:迁移前的保护检查点同时保存相关目录内容及必要的关联文件,减少恢复时遗漏数据的风险;这不等同于完整用户数据备份。
- Magpie 网关会话关联:在适用配置下向 Magpie 网关提供会话关联标识,帮助网关保持同一会话的请求关联。该标识不是会话标题,实际缓存收益取决于网关支持。
升级提示
- 旧版回退限制:本次升级将本地数据版本从 2 提升到 3。升级完成后,v1.5.7-beta 等仍使用旧数据版本的程序不能直接打开同一份数据。不要通过覆盖安装旧版强行回退;建议升级前另行备份重要数据。
- 推荐完整安装包升级:提供 macOS ARM64、Windows x64、Linux x64 安装包及 Beta OTA,不含手机版。完整安装包包含 OTA 无法替换的桌面应用部分。
- 审批与联网:自动审核可能显示更多确认。macOS/Linux 开启命令沙箱时,默认命令执行禁止联网;需要联网的命令可申请额外授权,经审核后在沙箱外执行。Windows 使用不同的隔离机制,不保证相同的网络隔离行为。
- 模型费用:记忆容量增加、后台记忆整理及独立闲聊模型可能增加模型用量,费用按所选服务商规则计算。
- 跨会话活动概况:闲聊主动唤醒可能包含其他会话的近期活动信息;这不表示跨会话访问权限被自动扩大。
HanaAgent 1.5.48-beta — English
Includes changes since v1.5.7-beta.
Features
Memory and Casual Chat
- More room for memory: Increased the budgets for today’s memory, recent summaries, long-term memory and personal facts, as well as daily deep consolidation. This reduces pressure to compress useful details. It does not expand the model’s context window or guarantee that every detail is retained.
- Separate casual-chat model: Choose a dedicated model in Casual Chat settings, or continue following your assistant’s main model.
- Visible assistant identity: Casual Chat now shows the current assistant’s avatar and name in its header.
- Better-informed proactive greetings: On wake-up, the assistant can distinguish inactivity in Casual Chat from activity in other conversations. Other conversations with the same assistant may contribute summaries; activity involving other assistants contributes information such as times and titles, not automatic access to their full transcripts.
Market and Cards
- Sticker packs in the market: Browse a dedicated sticker-pack category. Packs can include descriptions, and the packaging tool supports preparing them for market distribution.
- Create assistants from roles: Create an assistant from an installed role’s market detail page, with an explicit choice about importing role memories.
- Improved weather locations: Chinese place names use a Chinese location index. Without a specified location, the card tries the city associated with the device’s time zone. This may not be your actual location; specifying a city is more accurate.
- Built-in card improvements: Improved language-adaptation guidance for notes, to-do lists, timers and weather cards, and increased the piano template’s playback volume.
Code, Models and Interface
- System monospace by default in Code: Applies when no code font has been selected. Existing explicit choices remain unchanged.
- Simpler Code welcome screen: Removed its memory toggle. This does not delete existing memories.
- Model cost confirmation: Selecting a different utility model now asks for confirmation of relevant background model and memory-maintenance costs. Cancelling leaves the selection unchanged.
- Image context optimization: Resize and compress images sent to models when needed. Images seen by the model may be downscaled or use lossy compression.
- Chinese feed label: Renamed “报纸” to “日报”. The English label remains “Paper”.
Bug Fixes
Conversations and Casual Chat
- Keep process commentary readable: Short assistant messages written between reasoning and tool calls remain in the conversation body in both classic and quiet views. Reasoning and tool steps can still be folded.
- More stable conversation lists: Improved discovery and pagination for large lists, with separate handling of pinned, grouped and recent conversations. Status updates interfere less with pagination, and redundant status lookups are reduced.
- Correct thinking level for new conversations: Settings follow the selected assistant and model. Late responses no longer overwrite a newer assistant selection or a subsequent manual choice.
- Correct empty-conversation welcome state: Saved empty conversations show their own assistant and memory state instead of a new draft’s state.
- Persistent session errors: Model and provider errors remain visible until dismissed or the next generation starts, rather than disappearing on a timer.
- Restored automatic following: Casual Chat follows new messages and image or sticker layout changes when you are near the bottom, while yielding control when you scroll up.
- Restore focus after sending: Continue typing after an asynchronous send. Failed sends preserve the draft, and focus is not stolen from another control.
- More reliable transcription retries: Older transcription operations cannot overwrite a newer operation on the same audio.
- More accurate message origins: Improved source attribution for interjections, retries and messages arriving through different entry points.
Web Pages, Previews, Cards and Input
- Keep links with their source conversation: Links opened from messages, tool details and process rows retain their originating conversation rather than following unrelated focus.
- Show web previews sooner: The preview can appear while the page is still loading.
- More reliable background pages: Improved page retention across backgrounding and window hide/restore operations.
- Restore reading positions: Returning to a workspace restores saved preview positions, including older position records.
- Drag images at fit size: Mouse and pen users can pan without zooming first. Touch gestures at fit size remain available for switching images.
- Correct expanded Paper image sizing: Recommendation images fit their containing items.
- Reopen pinned cards correctly: Cards pinned from chat load their relocated content and assets correctly.
- Paste images into the intended composer: Context-menu paste no longer targets another input.
- Rename chalkboard chats reliably: Titles and rename fields are no longer intercepted by the window drag region.
- Layout corrections: Fixed gaps in pinned sub-conversations and menus with inline actions, plus folder-remove button sizing and alignment.
Tools, Permissions and Project Work
- Review refusals request user confirmation: Actions declined by automatic review are presented to the user instead of ending the approval flow. Asking is not authorization; actions requiring confirmation do not run without it.
- Consistent sandbox execution: Distinguished sandboxed execution from reviewed execution outside the sandbox. Additional authorization does not imply administrator privileges, and protected operations remain restricted.
- Subagents inherit approval mode: A read-only parent cannot obtain write access through a subagent. Other approval modes also follow the parent’s requirements.
- Correct background terminal ownership: Subagent terminal results stay with their owner unless the parent explicitly waits for them. Persistent task-record conflicts are reported once rather than repeatedly, without overwriting existing records.
- More reliable complex tool calls: Improved Codemode’s structured results and errors. A denied nested call is not reported as successful by its wrapper. Codemode also remains available in light tool mode.
- Project instructions in linked worktrees: Linked Git worktrees inherit main-worktree instructions and apply subdirectory instructions. A local root instruction file takes precedence.
- Skills in hidden worktrees: Project skills are correctly listed when a worktree resides inside a hidden directory.
Data and Provider Compatibility
- More resilient Windows saves: Brief file-sharing conflicts receive bounded retries. Persistent failures are still reported, with the original file preserved.
- Correct reasoning usage accounting: Recognize additional reasoning-token fields. This does not change provider billing.
- Improved image compatibility: Detect actual image formats and accept complete JPEG/PNG files with trailing data, while rejecting genuinely truncated or damaged files. This is not metadata removal.
- Preserve patrol logs: Reading recent entries no longer rewrites the original log or removes older history and user-added content.
- Improved migration checkpoints: Include relevant directory contents and companion files to reduce omissions during recovery. These checkpoints are not a complete backup of all user data.
- Magpie session association: Where applicable, send a session association identifier to the Magpie gateway. It is not the conversation title; any cache benefit depends on gateway support.
Upgrade Notes
- Downgrade restriction: This update advances local data from version 2 to version 3. Older readers, including v1.5.7-beta, cannot directly open the upgraded data. Do not force a downgrade by installing an older application over it. Back up important data before upgrading.
- Full installer recommended: Installers cover macOS ARM64, Windows x64 and Linux x64, alongside Beta OTA. Mobile installers are not included. A full installer updates desktop components that OTA cannot replace.
- Approval and networking: Automatic review may show more prompts. With command sandboxing enabled on macOS/Linux, default command execution blocks networking. Commands can request authorization for reviewed execution outside the sandbox. Windows uses a different isolation mechanism and does not guarantee equivalent network isolation.
- Model costs: Larger memory budgets, background memory maintenance and a separate casual-chat model may increase usage. Provider billing rules apply.
- Cross-conversation activity: Proactive Casual Chat may receive recent activity information from other conversations. This does not automatically expand conversation-access permissions.
下载说明 / Download note
请使用本页桌面安装包。GitHub 自动生成的 “Source code” 压缩包对应公开仓库历史代码,并非本次安装包源码。
Use the attached desktop installers. GitHub-generated “Source code” archives contain the historical public repository snapshot, not the source for these binaries.