Skip to content

wisp-science v0.23.0

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Jul 00:16

wisp-science v0.23.0

这是继 v0.22.0 之后的功能与稳定性版本,重点让外部 Agent 会话、研究代码与长对话都更容易回到 Wisp 中继续使用。现在可从本机、WSL 或已配置 SSH context 导入 Codex CLI 和 Claude Code 会话;导入支持预览、缓存、增量更新和幂等处理。Library 中收藏的代码拥有不可变版本历史,Artifact 的 provenance 代码可编辑后放入 composer 复跑;对话新增可跳转的目录,同时改善模型 API 代理配置和多窗口通知行为。

下载

  • macOS(.dmg,已签名 + 公证):区分 Apple Silicon(aarch64)与 Intel(x86_64),请下载对应架构。
  • Windows 安装包(MSI / NSIS):尚未签名,可能触发 SmartScreen,可选择「仍要运行」。

见下方 Assets。

新增功能

导入外部 Agent 会话

  • 导入 Codex CLI 与 Claude Code 会话:通过 Edit 菜单或 Ctrl/Cmd+P 命令面板,将本机、WSL 或已配置 SSH server 上的 Codex ~/.codex/sessions、Claude ~/.claude/projects 历史导入当前项目。
  • 预览与增量同步:导入面板按来源列出工作目录、消息数、最近活动时间,并可预览最初若干轮对话;已导入会话在源文件增长后显示“更新”,只会快进仍未在 Wisp 中继续编辑的会话。
  • 快速、安全地发现记录:来源元数据按 app/source 缓存;重新打开或切换来源不必完整扫描,Refresh 只重读大小或修改时间变化的文件。远端发现仅传输小型元数据前缀,实际导入时才读取选中的完整记录。
  • 保留可读对话:Codex 导入会过滤环境包装、AGENTS.md 前言、工具调用和 reasoning 条目;Claude 会过滤元数据行,同时保留文本、tool-use 调用与结果。新导入会话归入 codexclaude 分组。

研究代码与对话导航

  • 收藏代码的不可变版本历史:编辑 Library 中已收藏的代码会追加新版本,不会改写原始快照;详情页可切换、复制和编辑不同版本,文本摘录仍保持原文以锚定高亮。
  • 从 Artifact provenance 复跑:Artifact 的 Code 标签支持编辑记录的源代码,并将带语言标记的复跑请求插入 composer,供用户审阅和发送;原 execution log 与已有 artifact 继续保持不可变。
  • 对话目录:长会话可显示由用户消息构成的目录,点击即可加载并定位对应轮次,当前轮次会醒目显示。
  • 模型 API 代理设置:Settings → General 可留空以沿用系统代理,填入 none 强制直连,或设置 HTTP(S)/SOCKS5 代理 URL;保存后对下一次模型请求生效,非法 URL 会被拒绝。

修复内容

  • 多窗口任务通知:任务完成、失败或等待确认时,只有拥有该会话的项目窗口会发送通知并在重新激活时跳转,避免其他窗口被错误抢走。
  • 中文输入后的 Enter 发送:WKWebView 在 IME 确认后错误标记的独立 Enter 现在可正常发送;紧邻 composition 结束的确认 Enter 仍不会误发送。
  • 更有用的 API 错误提示:余额不足、上下文超限、图片参数不兼容、模型名称或 API key 配置错误等会显示本地化的下一步建议。
  • 会话与选择器细节:继续对话会清除过期的发送失败提示;ACP Agent 已选中时不再同时高亮旧 HTTP 模型;MCP Apps 会报告真实应用版本且只声明已实现的 inline 显示模式。
  • UTF-8 安全导入:扫描外部会话时保持字符边界,避免多字节文本被截断损坏。

兼容性与升级说明

  • 可直接覆盖安装 v0.22.0;项目、会话、模型、连接、ExecutionContext、Run、插件和 Agent workflow 数据会继续保留。
  • 外部会话导入和缓存所需的 SQLite 表会通过幂等迁移自动创建,无需手工执行 SQL;导入只在当前项目中新建或快进普通 Wisp session,不会更改原始 Codex/Claude 文件。
  • 留空的代理设置保持现有系统/环境变量行为;只有显式填写 none 才会忽略环境代理。
  • 代码编辑不会覆盖已收藏的快照或 artifact provenance;每次复跑生成新的执行与 artifact 记录。

已知限制

  • ACP 传输仍仅支持本地 stdio;外部会话导入只是读取与复制历史,不会把已导入的普通 Wisp session 重新绑定到 Codex 或 Claude 运行时。
  • 导入面板一次最多列出最近 500 个会话,分页每页 25 个;预览仅展示受限的前几轮内容。
  • Windows 安装包仍未签名,可能触发 SmartScreen。
  • 需自备模型与第三方科研服务的 API Key;对应费用、配额与可用性由用户及服务商负责。

测试与交付

  • v0.22.0..v0.23.0 包含 16 个非合并提交,涉及 43 个文件;主要新增了外部会话导入/缓存、代码版本历史、provenance 复跑和对话目录,另有 6 项稳定性修复。
  • 新增和更新覆盖 Codex/Claude 导入、缓存与幂等更新、对话目录、Library 版本历史、Artifact 复跑、代理设置,以及多窗口通知和 IME 发送回归。
  • 推送 v0.23.0 标签后,GitHub Actions 会构建 macOS Apple Silicon / Intel DMG 与 Windows MSI / NSIS,并附加到本 Release。

反馈

欢迎在 GitHub Issues 反馈问题。会话导入问题请说明来源类型(本机、WSL 或 SSH)、CLI 类型、脱敏后的路径结构与复现步骤。API key、token、密码、Cookie、SSH 私钥和未脱敏科研数据请勿上传。


English: wisp-science v0.23.0 makes it much easier to continue external Agent work and research code in Wisp. Import Codex CLI and Claude Code conversations from local, WSL, or configured SSH contexts with previews, caching, and idempotent incremental updates. Starred Library code now has immutable version history, Artifact provenance can be edited into a reviewed rerun request, and long conversations have a navigable outline.

What's Changed

  • Import Codex CLI and Claude Code transcripts into the active project from local, WSL, or configured SSH sources; list metadata, preview turns, and update an existing untouched import when its source grows.
  • Cache discovery metadata per app/source, refresh only changed files, and defer full remote transcript reads until the user chooses Import.
  • Keep imported conversations readable by removing Codex context plumbing and reasoning records, while retaining Claude text and tool-use/results; group fresh imports by source CLI.
  • Save each edit of a starred Library code item as a new immutable version and browse, copy, or edit any version from its detail modal.
  • Edit an Artifact's recorded provenance code and insert a language-marked rerun request into the composer without overwriting the original log or artifact.
  • Navigate long conversations through a persistent user-turn outline, and configure model API traffic to inherit the system proxy, force direct connections with none, or use an HTTP(S)/SOCKS5 proxy URL.
  • Prevent task completion notifications in one project window from redirecting unrelated windows, restore Enter-to-send after a WebKit IME confirmation, preserve UTF-8 session-scan boundaries, and add actionable provider API error guidance.
  • Keep HTTP model selection accurate for ACP sessions and report the real application version plus inline-only display support to MCP Apps.

Compatibility: Installs over v0.22.0 in place. New external-session import/cache tables are created automatically through idempotent migrations. Imports copy history into ordinary Wisp sessions and never modify the original Codex or Claude files; they do not bind the imported session back to an ACP runtime. Empty proxy configuration keeps current system/environment behavior, while none explicitly bypasses it.

Full Changelog: v0.22.0...v0.23.0