Skip to content

v1.7.0

Choose a tag to compare

@Wasabi2575 Wasabi2575 released this 25 Nov 08:44
· 10 commits to main since this release

中文更新说明

新增功能

  • 画布注释框与独立便签(#15):
    • 零工具栏占位入口:框选节点按 C(或右键「💬 用注释框分组」)一键创建分组注释框;空白处按 C、右键「💬 添加注释」或 Shift+A → 4 创建独立便签(快捷键可在 ⋯ → 快捷键设置 自定义)。
    • 实时几何成员判定:拖动注释标题栏自动连带框内所有节点同步移动,按住 Alt 拖动仅移动注释框;主体区域 pointer-events: none 不阻挡框选和右键划断连线;删除注释框仅删框、保留节点。
    • 窗口式三边 + 四角缩放 & 缩放可读性:支持左/右/底三边及全部四角自由缩放;提供 6 种明暗主题自适应配色、小/中/大 3 档字号、120 / 4000 字数统计,以及画布缩小时标题按内容长度自适应放大(无缝对齐底框且不遮挡框内节点,📝 浮层同步反比例放大)。
    • 自动排版联动 & 全链路持久化:执行自动排版或切换横/竖排时自动围绕原框内节点重套分组框(独立便签原地不动);完整接入 localStorage、撤销/重做、全览居中(fitView)、自定义预设与 JSON 导入导出。
  • AI 感知与语义读写注释:
    • /canvas-sync 与 canvas_inspect 同步并展示注释列表及其当前包裹的 nodeIds;
    • canvas_generate 与 canvas_patch 支持按语义 nodeIds 新增、原地更新(保留手动框尺寸与位置)和删除注释(removeComments),不污染执行 plan 且不消耗子代理执行 Token。

体验优化

  • 节点标题「轻点改名 + 按住拖动」:非入口节点标题统一采用 4px 拖拽阈值——轻点松手进入聚焦改名(带中文输入法防误触),按住拖动可直接移动节点或多选整组,Shift/Ctrl 点标题做多选不再误弹输入框。

English Release Notes

New Features

  • Comment Frames & Standalone Notes (#15):
    • Zero toolbar clutter: Press C with nodes selected (or right-click 💬 Group with comment) to wrap them in a real-time geometric comment frame; press C on blank canvas, right-click 💬 Add comment, or use Shift+A → 4 to create a standalone note (rebindable under ⋯ → ⌨ Shortcuts).
    • Real-time geometric membership: Drag a comment header to move all nodes currently inside together (hold Alt to move only the box); frame body stays click-through (pointer-events: none) so marquee selection and right-drag link cutting work naturally; deleting a comment never deletes nodes inside.
    • Window-style 3-edge + 4-corner resizing & zoomed-out readability: Resize from left/right/bottom edges or any of the 4 corners; customize 6 theme-safe colors, S / M / L font sizes, live 120 / 4000 character counters, and adaptive zoomed-out title scaling (seamlessly aligned to the body frame without overlapping nodes inside; the 📝 style/note popover scales cleanly too).
    • Auto-layout refit & full persistence: Group frames automatically refit around their contained nodes on Auto layout and Horiz / Vert flips (standalone notes stay put); fully persisted in localStorage, Undo/Redo, Fit View, custom presets, and JSON import/export.
  • AI-Aware & AI-Editable Comments:
    • /canvas-sync and canvas_inspect expose comments and their wrapped nodeIds on demand;
    • canvas_generate and canvas_patch support creating, updating in place (preserving manual geometry), and removing (removeComments) comments semantically via nodeIds with zero subagent execution tokens.

UX Improvements

  • Click-to-rename + drag-to-move on node titles: Non-entry node titles now use a 4px drag threshold — click to rename inline (with CJK IME protection), press-and-drag directly on the title to move the node or multi-selection, and Shift/Ctrl-click titles cleanly without accidentally focusing an input.