Skip to content

1.0.25

Latest

Choose a tag to compare

@deskwand deskwand released this 05 Aug 13:18

🎉 1.0.25

中文

✨ 新功能

  • Slash 菜单统一召回排序:命令、插件命令和技能现在共享同一套"近期使用"排序(上限 10 → 20),"全部"标签合并为按召回度排序的扁平列表,类型通过图标/徽标区分;插件命令被选中时也会记录召回度。
  • 超长会话历史分页:22k+ 条消息(约 30MB)的超长会话不再卡死——历史加载改为分页进行,打开和滚动都更流畅,同时修复了用户消息稀疏分布下的分页正确性问题。
  • 工具摘要归类增强ls/find 纳入聊天过程摘要分组——ls 新增文件浏览片段(文件夹图标),find 并入现有搜索组;并添加覆盖守卫测试,确保每个内置工具都有归类。
  • 模型搜索框智能隐藏:模型列表能完整放下时,自动隐藏搜索框,界面更清爽。
  • 侧边栏导航优化:Apps/自动化入口移入滚动区域,长列表不再被截断。

🐛 修复

  • Goal 循环稳定性:goal 工具(get_goal/update_goal/goal_complete)改为全局常驻,模型请求失败时不再因工具消失导致目标卡死,同时保住提示词缓存不被反复失效;跨应用重启也能恢复 goal 状态;到达上限后恢复时从第 1 轮重新计数并给出提示。
  • OAuth 刷新与 auth.json 锁竞争:移除应用层每小时 OAuth 刷新(原来是 240 倍的过度刷新),令牌生命周期完全交给 pi-ai 上游;auth.json 读取改为无锁设计(原子写保证完整读)。
  • 子代理工具与插件加载:修复内联扩展(pi-subagents、deskwand-tools)和打包的 pi 插件在集成场景下工具不暴露的问题。
  • 侧边栏后台运行指示:后台子代理执行时显示运行中指示器,不再需要切换视图确认。
  • 全局焦点样式:抑制浏览器默认 focus outline,界面更统一。

🎨 样式

  • 侧边栏精简:移除导航项的 accent 竖条装饰。

♻️ 重构

  • 清理死代码:移除废弃的 artifacts IPC、ollama i18n 键和 SettingsSchedule。

📝 文档

  • 重写 AGENTS.md 为面向 Agent 的协作最佳实践;新增设计文档/实现计划存储约定。

🔧 工程

  • 修复测试环境变量污染与 electron mock 漂移,更新漂移断言;版本号更新至 1.0.25

English

✨ New Features

  • Unified slash-menu recency sorting: Commands, plugin commands, and skills now share one recency ranking (cap raised from 10 to 20). The "All" tab is merged into a single flat list ordered by recency, with types distinguished by icon/badge; plugin command selections are now recorded too.
  • Paginated history for long sessions: Sessions with 22k+ messages (~30MB) no longer freeze — history loading is now paginated for smooth opens and scrolling, and paging correctness around sparse user-message distributions is fixed.
  • Better tool grouping in process summaries: ls/find are now classified into chat process-summary groups — ls gets a file-browse fragment (folder icon), find joins the existing search group; a coverage guard test ensures every built-in tool is classified.
  • Smart model search box: The model search box now hides automatically when the list fits, keeping the UI clean.
  • Sidebar navigation improvements: Apps/Automation entries moved into the scroll area so long lists are no longer clipped.

🐛 Bug Fixes

  • Goal loop stability: Goal tools (get_goal/update_goal/goal_complete) are now globally resident — a failed model request no longer removes the tools and strands the goal, and the prompt cache is preserved instead of invalidated on every goal start/end. Goal state also survives app restarts, and resuming at the cap restarts counting at turn 1 with a notice.
  • OAuth refresh & auth.json lock contention: Removed the app-layer hourly OAuth refresh (a 240x over-refresh that amplified lock contention); token lifecycle is fully delegated to pi-ai. auth.json reads are now lock-free (atomic temp+rename writes guarantee complete reads).
  • Subagent tools & plugin loading: Fixed tool exposure for inline extensions (pi-subagents, deskwand-tools) and packaged pi plugins in deep-integration scenarios.
  • Sidebar running indicator: Background subagents now show a running indicator in the sidebar.
  • Global focus styles: Browser default focus outlines suppressed app-wide for a cleaner look.

🎨 Style

  • Sidebar polish: Removed the accent quote bar from nav items.

♻️ Refactoring

  • Dead code removal: Dropped obsolete artifacts IPC, ollama i18n keys, and SettingsSchedule.

📝 Documentation

  • Rewrote AGENTS.md with agent-focused collaboration best practices; documented the design-doc/implementation-plan storage convention.

🔧 Engineering

  • Fixed test env pollution and electron mock drift, updated drifted assertions; version bumped to 1.0.25.