Skip to content

MuseLab v2.2.0 — 运行状态、长会话浏览与 Agent 自主记忆

Latest

Choose a tag to compare

@hesorchen hesorchen released this 24 Nov 12:23
d3f9d86

MuseLab v2.2.0 把会话运行状态、长会话浏览和设置界面重新梳理了一遍,并加入 Agent 自主记忆工具。自 v2.1.0 起共 94 个提交,没有不兼容变更。

新增

  • Agent 自主记忆:Agent 可直接调用 search / evidence / write / update / delete 管理长期记忆,并新增 recall_mode 控制召回方式(#300)。
  • 设置重做:统一的行式布局,保存状态清晰可见;可单独选择 Agent 工具派生子 Agent 使用的模型(#344、#310)。
  • 会话与标签页:预览页和会话标签页支持一键「关闭其他 / 关闭全部」(#355);浏览器前进 / 后退可在会话间切换(#343);每个工作区保留自己的窗格布局(#309)。
  • 长会话浏览:记住每个会话的阅读位置,滚到顶部自动加载更早的历史(#325)。
  • 引用与排队:选中文字可在光标处插入引用,单条消息引用数量不限(#307、#311);带附件的排队消息也支持「尽快调整」(#297);正在取消的排队消息显示为忙碌且不可操作(#327)。
  • 后台任务与模型:后台任务留在原会话里继续,不再分叉出新会话(#317);同一会话可原地切换模型,有生效的定时任务时会拒绝切换(#293)。
  • 界面:顶栏拆分为原生 Cron、定时任务和后台任务三个入口(#294、#296);任务中心滚动时直接显示更多行(#326);消息去掉头像,正文使用整行宽度(#340)。

性能

  • KaTeX 和代码高亮按需加载;活动流 SSE 正常时不再轮询摘要(#354)。
  • 子 Agent 时间线只刷新摘要,展开时再加载正文;子 Agent 历史重载不再阻塞后端(#346、#338)。
  • 超大文件根目录在空闲时对部分对账做退避(#353)。
  • 减少主进程长时间占用 GIL 的操作;回合启动时上下文探测与 git 基线并行进行(#304、#303)。
  • 记忆只读连接启用页缓存与 mmap;表格预览提速(#286、#275)。

修复

  • 运行状态:一个进行中的回合只显示一个「运行中」状态栏,状态唯一来源是主循环;运行中的子 Agent、已结束的后台任务和 CLI 自身的反应不再误占或误放回合(#331–#336、#339、#351、#358)。
  • 上下文与压缩:上下文用量显示准确,不再把估算窗口当成实测值;手动压缩可以停止;中途自动压缩后完整回答仍归入本轮(#308、#312、#313、#352、#287)。
  • 历史加载:冷启动加载失败时自动重试,移除「会话加载失败」横幅,读完早期内容可回到正在运行的末尾(#337、#342、#349)。
  • 移动端:手机上的回合状态栏保持单行;上下文明细弹窗放大,无需滚动(#352、#356、#357)。
  • 数据安全:并发更新时不再丢失设置、MCP 配置、定时任务、会话和推送订阅;修复终端恢复、附件和事件流生命周期等问题(#266–#283)。

升级

升级前请阅读升级说明并备份数据。


MuseLab v2.2.0 reworks session run status, long-session navigation, and Settings, and adds Agent-autonomous memory tools. It includes 94 commits since v2.1.0, with no breaking changes.

  • New: Agent memory tools with recall_mode (#300); Settings redesign and a subagent model choice (#344, #310); close-others / close-all for preview and session tabs (#355); browser Back/Forward between sessions (#343); per-workspace pane layout (#309); remembered reading position with automatic loading of earlier history (#325); inline quotes at the caret, with no limit on how many (#307, #311); background tasks that stay in their session (#317); in-place model switching (#293).
  • Performance: on-demand KaTeX/hljs loading and SSE-gated polling (#354); lighter subagent timelines (#346, #338); idle reconcile backoff on large roots (#353); fewer GIL hogs on the main process (#304).
  • Fixes: exactly one live Running footer per turn, driven by the main loop (#331–#336, #339, #358); an accurate context meter and a stoppable manual compact (#308, #352); history load retries (#342); a one-row phone footer (#357); no lost updates under concurrent writes (#266–#283).

Read the Upgrade guide and back up your data before updating.