Skip to content

v1.6.0

Choose a tag to compare

@Wasabi2575 Wasabi2575 released this 24 Nov 18:52
· 21 commits to main since this release

中文更新说明

新增功能

  • 零额外 Token 执行复盘摘要(Run Summary):
    • 后端执行器在调度节点时纯本地记录每个节点的起止时间与累计耗时、执行轮次、实际运行模型、备用模型回退(Fallback)、热会话/紫线续接(Continued)、缓存复用(Cached)、条件判决理由与回环逐轮反馈,写入 .run.json(不调任何模型、不注入 systemPrompt.context,严格 0 额外 Token)。
    • 画布左下角在运行产生遥测后自动显示对称的紧凑复盘胶囊(运行中每秒实时跳表),也可随时通过 ⋯ → 📊 执行复盘 打开。
    • 弹窗内置 4 格 KPI(窄侧栏自适应 2×2)、按最慢节点比例绘制的耗时条、点击节点名居中定位、点击 ↗ 直达子代理会话(含 .run.json childId 兜底)以及 一键复制 Markdown 复盘报告,并向后兼容旧版 .run.json。
  • 内置示例模板升级(全功能门面回环):第 5 个内置模板升级为「全功能回环:并行摸底 → 拍板 → 实现 ↺ 门禁 → 终审」,一图涵盖 4 种节点卡片、3 种语义连线、全局与节点 + 参考、受控回环 ↺ ×3 及回环外并行旁路节点(横竖版均自动避让零重叠)。
  • 常态可见 ⏹ 终止 按钮:画布左上角 ● 已启用 旁常驻 ⏹ 终止 按钮(空闲时灰标禁用、运行或待拍板时亮红激活,避免布局跳动)。

工程与体验优化

  • 条件/结构化节点 outputSchema 自动降级重试 & 精准报错:当所选模型或接口不兼容严格 outputSchema 返回 error 时,自动去掉 outputSchema 在同模型以纯 JSON 重试一次并由 parseConditionDecision 兜底解析;同时提取宿主真实报错明细与模型名,消除旧版「未配置备用模型」造成的误诊。
  • npm 安装包体积瘦身 98.9%:package.json "files" 收窄为 docs/*.md(排除 12 MB 演示图片),压缩包体积从 12.05 MB → 150 KB,安装速度大幅提升。
  • CI 静态防回归门禁(npm run check):新增零依赖健康检查脚本,在 CI 中自动校验语法、JSON/Locale 键对等、247 项 I18N 键对等与零死键、109 项样式零死键、本地文档链接、宿主 inject 向后兼容及 npm 打包体积红线。
  • 门面主图全面焕新:更新中英双语主图,完整展示多模型混搭、参考徽标、五色语义连线、受控回环及新工具栏。

English Release Notes

New Features

  • Zero-Token Run Summary (📊 Run summary):
    • The host executor records per-node timings, cumulative durations across retries, run counts, effective model, fallback rescue (Fallback), warm/purple session continuation (Continued), cached reuse (Cached), condition verdicts, and round-by-round loop feedback directly into local .run.json telemetry (zero extra LLM calls, never injected into prompts).
    • A compact bottom-left summary pill appears symmetrically opposite the zoom bar once a run begins (live-ticking while active), and is also available anytime via ⋯ → 📊 Run summary.
    • Includes a responsive KPI bar (4 columns on wide panes, 2×2 on narrow sidebars), proportional duration bars, click-to-focus node centering, direct child-chat jump (↗ with .run.json childId fallback), one-click Copy Markdown export, and graceful fallback for older .run.json files.
  • Upgraded Full-Showcase Loop Starter Template: The 5th starter template now demonstrates all 4 node kinds, all 3 link types (prompt / structured / session-ref), global & per-node + Refs, a controlled ↺ ×3 retry loop, and a parallel bypass node outside the loop (cleanly aligned in both lr and tb).
  • Always-Visible ⏹ Stop Pill: The top-left ⏹ Stop pill beside ● ON stays visible in idle state (muted/disabled) and lights up red when running or paused at a Lead gate, eliminating layout jumps.

Engineering & Packaging Improvements

  • Automatic outputSchema Plain-JSON Fallback & Clear Failure Diagnostics: When a condition or structured node receives a provider error under strict outputSchema, the executor automatically retries once on the same model without outputSchema (parsed via parseConditionDecision), extracts real host error details into results and Run Summary, and removes the misleading "no fallback model configured" wording.
  • 98.9% Smaller npm Tarball: Narrowed package.json "files" to docs/*.md, shrinking the packed tarball from 12.05 MB to 150 KB.
  • Zero-Dependency CI Health Gate (npm run check): Enforces syntax, JSON & locale parity, 247-key I18N parity with zero dead keys, zero unused S.* styles, valid local doc links, backward-compatible dsh.client.inject, and npm tarball hygiene & size budget.
  • Refreshed Hero Screenshots: Updated both English and Chinese README hero banners to showcase the v1.6 canvas.