Skip to content

wisp-science v0.19.0

Choose a tag to compare

@github-actions github-actions released this 21 Jul 01:27

wisp-science v0.19.0

这是继 v0.18.0 之后的功能版本,重点将多 Agent 从固定模板升级为动态、可审查、可持久化且受权限约束的执行系统。主 Agent 现在可以按任务临时组建团队,在 Native 或 ACP 后端上并行执行、后台交付、有限嵌套,并在干净 Git 项目中隔离写入。同时,子 Agent 会话和模型选择都正式绑定到所属对话,避免工作区历史与其他会话受到干扰。

下载

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

见下方 Assets。

新增功能

动态临时 Agent

  • 按目标动态拆分任务:主 Agent 可通过 delegate_tasks 创建最多八个临时任务,声明依赖、能力、Specialist、执行后端、预算、隔离需求和结构化输出,不再依赖固定团队模板。
  • 可审查的 v2 计划:Agents 面板展示提案与实际解析后的模型、执行器、工具、项目范围、预算和审批原因;编辑会重新解析权限,批准后执行快照保持不可变。
  • Native 与 ACP 统一执行:Native 是默认执行器,可使用受限的项目读写和 Run Manager;已配置且可用的 ACP profile 可作为显式替代,但任务语义不再与 Codex、Claude 或命令名称绑定。
  • 动态科研资源授权:按任务能力精确授予项目 Skills、MCP 连接、Python/R runtime、ExecutionContext、视觉模型和 Run 控制工具;Specialist 只会进一步收窄权限。
  • 依赖与失败隔离:独立任务最多两个并发运行;依赖任务仅在直接依赖成功后启动,一个分支失败只阻塞其后代,不影响无关分支。

后台、嵌套与隔离执行

  • 持久化后台交付:后台任务会立即返回 workflow handle,完成后将结果准确投递一次到所属对话;可选择让空闲的父 Agent 自动继续综合,应用重启后也不会重复投递。
  • 有限嵌套委派:获批任务可再创建一层临时 Agent,最大深度为二;全局任务数、并发、token、工具调用、成本和超时预算会跨层级统一约束。
  • Git worktree 写入隔离:干净 Git 项目中的写任务可在独立 worktree 并行执行,成功后冲突检查并 cherry-pick;失败、取消或冲突时主工作区保持不变,补丁作为 Artifact 保留。
  • 结果与产物可追溯:结构化结果、完整输出、usage、backend session、子会话、文件清单和产物引用持久化;项目内输出会在临时 worktree 清理前保存为耐久 Artifact。

会话级 Agent 与模型体验

  • 子 Agent 不再污染会话列表:子 Agent 会话绑定到发起它的父会话,不出现在侧栏、主页最近会话或全局会话搜索中;仅从当前对话的 Agents 面板查看或通过 Take over 打开。
  • Agents 面板按当前会话切换:切换对话会同步切换对应的 workflow 列表,其他对话中的 Agent 仍可在后台继续运行。
  • 模型按会话绑定:Composer 中切换模型只影响当前对话,其他会话保持原模型;Settings 中的 active profile 只作为新会话默认值。
  • 空会话切换不再提示:第一次对话尚无消息时可直接切换模型;已有消息时继续显示上下文失效确认。

桌面交互与环境

  • WSL 计算环境可见可选:计算环境菜单列出已安装的 WSL 发行版,并可按会话勾选。
  • 在文件管理器中打开:工作区文件和 Artifact 的右键菜单可直接在系统文件管理器中定位。
  • 上传上限提高到 100MB:同步更新上传限制与过大文件错误提示。
  • 结构化行右键更可靠:右键文件等结构化行时不再被文本选区菜单劫持,并新增复制文件名。
  • Agent 控件更精简:Inline 模式隐藏无意义的 auto-resume 选项,多任务草稿使用紧凑的任务移除控件。

兼容性与升级说明

  • 可直接覆盖安装 v0.18.0;项目、会话、模型、连接、ExecutionContext 和 Agent workflow 数据会继续保留。
  • 新增的 workflow 投递与 Agent lineage 数据由 SQLite 启动迁移自动、幂等地创建,无需手动执行 SQL。
  • 旧版固定模板计划不会迁移或删除,但不再出现在 Agents 面板,也不能继续批准、重试或执行。
  • Delegation 对新会话仍默认关闭,必须在对应会话中主动开启;升级不会自动扩大 Agent 权限。
  • 子 Agent 会话从顶层历史中隐藏,但不会丢失,可从所属对话的 Agents 面板查看完整结果或接管。
  • 已有会话若保存了不存在的模型 profile,会暂时使用 Settings 默认模型,直到用户在该会话中明确切换。

已知限制

  • 嵌套委派最大深度为二,单个根 workflow 最多八个任务、两个并发子 Agent。
  • worktree 隔离仅对已安装 Git 且工作区干净的项目开放;非 Git 或 dirty 项目仍可串行写入,但不能请求隔离。
  • 后台完成会持久化并准确投递一次,但应用退出时仍在运行的外部子进程会在恢复时标记为失败,需要用户重试。
  • Windows 安装包仍未签名,可能触发 SmartScreen。
  • 需自备模型与第三方科研服务的 API Key;对应费用、配额与可用性由用户及服务商负责。

测试与交付

  • Rust workspace 测试、Rust 1.88 / stable、WASM UI 编译、格式检查和 Playwright 桌面 UI 回归测试通过。
  • 新增覆盖动态计划契约、权限解析、Native/ACP 执行、后台投递、嵌套预算、worktree 合并与清理、子会话隐藏和会话模型隔离。
  • v0.18.0..v0.19.0 包含 29 个非合并提交,涉及 65 个文件、22029 行新增与 3025 行删除。
  • 推送 v0.19.0 标签后,GitHub Actions 会构建 macOS Apple Silicon / Intel DMG 与 Windows MSI / NSIS,并附加到本 Release。

反馈

欢迎在 GitHub Issues 反馈问题。涉及 Agent 委派时,请附上 workflow/task 状态、执行后端、能力与审批信息,以及脱敏后的错误;涉及隔离执行时,请同时说明 Git 工作区是否干净。API key、token、密码、SSH 私钥和未脱敏科研数据请勿上传。


English: wisp-science v0.19.0 replaces fixed Agent teams with dynamic, reviewable, persisted delegation. The main Agent can create capability-scoped Native or ACP workers, run dependency-aware tasks inline or in the background, delegate one bounded nested level, and isolate parallel writers in Git worktrees. Child conversations and model choices are now scoped to their owning conversation.

What's Changed

  • Create up to eight temporary tasks with dependencies, capabilities, optional Specialists, executor choices, budgets, isolation, and structured output contracts.
  • Review and edit resolved v2 plans before approval; execute immutable snapshots with exact tools, resources, project scope, and limits.
  • Run scientific tasks through restricted Native workers or explicit ACP profiles, with capability-based Skills, MCP, Python/R, vision, ExecutionContext, and Run Manager access.
  • Deliver background results durably and exactly once, with optional parent auto-resume, restart recovery, and persisted full-result lookup.
  • Allow one bounded nested delegation level with root-wide task, concurrency, token, tool-call, cost, timeout, and cancellation limits.
  • Isolate parallel Git writers in temporary worktrees, conflict-check and cherry-pick successful commits, and preserve rejected patches and child artifacts.
  • Keep child Agent conversations out of the sidebar, home recents, and session search while retaining access from the owning conversation's Agents panel.
  • Bind model selection to each conversation; empty conversations switch immediately, while populated conversations retain the confirmation prompt.
  • Add selectable WSL environments, Reveal in File Manager, a 100MB upload limit, reliable structured-row context menus, and smaller Agent controls.

Compatibility: Installs over v0.18.0 in place. SQLite migrations are automatic and idempotent. Legacy fixed-template plans remain stored but are hidden and inert. Delegation remains opt-in per conversation.

Full Changelog: v0.18.0...v0.19.0