wisp-science v0.18.0
wisp-science v0.18.0
这是继 v0.17.1 之后的功能版本,围绕「上下文透明度」和「会话组织」两条主线:让发送给模型的上下文可被查看和精简,让侧栏会话更好组织和监控,并补齐 ACP Agent 删除、侧边聊天滚动等交互细节。
下载
- macOS(.dmg,已签名 + 公证):区分 Apple Silicon(aarch64)与 Intel(x86_64),请下载对应架构。
- Windows 安装包(MSI / NSIS):尚未签名,可能触发 SmartScreen,可选择「仍要运行」。
见下方 Assets。
新增功能
上下文透明度
- 导出调试请求:新增只读的「导出调试请求」会话操作,序列化真正发送给模型的完整请求——系统提示(message[0])+ 全部消息历史 + 运行时注入 + 工具 schema,并按段落给出字符/token 统计、provider/model 和总量。Token 估算复用上下文压缩所用的同一估算器,让你直观看到内置系统提示有多大、上传文件是否被内联进请求(#357)。
- MCP 工具与技能渐进披露:系统提示按需渐进披露 MCP 工具与技能,而不是一次性把全部塞进上下文,降低基础 token 占用。
- 项目级会话读取器:新增 project reader,Agent 可以跨整个项目读取历史会话,为跨会话的检索与分析提供基础。
会话组织与监控
- 会话排序与分组菜单:侧栏新增「Sessions」标题栏与调整菜单,支持按 None / Groups / Date 分组、按 Newest / Name 排序;均在已加载会话上客户端生效并写入 localStorage,无后端或表结构变更。
- 「文件夹」更名为「分组」:将会话侧的 folder 概念在所有用户可见文案中统一改为 group,消除与下方「Files」文件浏览器的歧义(内部标识符与数据表保持不变)。
- 持久化长任务监控:为 runs 增加
progress_json进度字段,长时间运行的任务进度可持久化并在重启后恢复。
交互与设置
- 自定义发送 / 换行快捷键:可在设置中自定义「发送」与「换行」的键位组合。
- 侧栏更新提示 + 变更日志:启动时静默检查 GitHub Releases,有新版时在侧栏左下角显示提示卡片而非弹窗;点击后打开渲染 changelog 的模态框,并提供「前往下载 / 稍后 / 不再提醒」。「不再提醒更新」为全局开关,与设置 → 通用中的「检查更新」开关保持同步。
修复内容
- ACP Agent 删除需二次确认:ACP Agent 删除此前无确认直接触发
remove_acp_agent,且删除按钮被 ACP 面板样式渲染成带边框的圆形按钮;现改为与模型删除一致的确认流程,恢复无边框的 × 样式。 - 删除确认框内的 Escape 不再误关设置页:删除确认浮层的 Escape 事件此前会冒泡到窗口级 Escape 栈、连带关闭整个设置页,现已限定在对话框范围内。
- 侧边聊天固定到最新消息:修复侧边聊天面板不随新消息滚动到底部的问题。
兼容性与升级说明
- 可直接覆盖安装
v0.17.1;项目、会话、模型、Agent 工作流和连接配置会继续保留。 - 长任务监控新增的
runs.progress_json列会在启动时通过运行时ALTER TABLE ... ADD COLUMN自动补齐,旧数据库无需手动迁移。 - 会话分组、排序偏好保存在本地 localStorage;「文件夹→分组」仅为文案更名,历史分组数据不受影响。
- 侧栏更新提示为默认行为,可在设置 → 通用中通过「检查更新」开关关闭。
测试与交付
- 新增会话分组 e2e 断言、侧边聊天滚动固定、ACP Agent 删除确认弹窗点击、自定义快捷键等 UI 回归覆盖。
- 新增项目会话读取器与 store 层测试(含
progress_json持久化)。 - 发布前通过 Rust workspace 测试、格式检查与 WASM UI 编译。
- 推送
v0.18.0标签后,GitHub Actions 会构建 macOS Apple Silicon / Intel DMG 与 Windows MSI / NSIS,并附加到本 Release。
变更统计
v0.17.1..v0.18.0包含 12 个非合并提交,涉及 47 个文件、4484 行新增与 341 行删除。
English: wisp-science v0.18.0 focuses on context transparency and session organization: export the exact request sent to the model with per-section token breakdown, progressively disclose MCP tools and skills, add a project-wide session reader, sort/group the session sidebar (folders renamed to groups), persist long-run progress, customize send/newline shortcuts, and surface an in-app update prompt with changelog. Fixes ACP agent delete confirmation, Escape scoping in the confirm dialog, and side-chat auto-scroll.
What's Changed
- Export a read-only debug request showing the exact system prompt, message history, runtime injections, and tool schemas, with char/token breakdown per section.
- Progressively disclose MCP tools and skills instead of front-loading them all into context.
- Add a project-wide session reader so agents can read history across the whole project.
- Add a sidebar sort/group menu and rename the "folder" concept to "group"; persist long-run progress via a new
runs.progress_jsoncolumn. - Customize send and newline shortcuts; show an in-app update prompt with changelog and opt-out.
- Fix ACP agent delete (now confirmed), Escape scoping in the confirm dialog, and side-chat pinning to the latest message.
Compatibility: Installs over v0.17.1 in place. The new runs.progress_json column is added automatically at startup; no manual migration is required.
Full Changelog: v0.17.1...v0.18.0