Repository navigation
Alex v0.0.6
What's New in Alex v0.0.6
中文更新亮点
- 双向 MCP 原型创作引擎(
--mode readwrite):@protoflow-ai/mcp扩展为 18 个契约受控工具 + 6 个引导式 Prompts + 4 个规格/操作手册资源,同时提供独立的alex-protoflow-designerAgent Skill(含 4 份场景指南)。- 外部 AI 客户端(Codex、Google Antigravity、Claude Desktop、Claude Code)可直接新建
.pflow工程、编排导航目录、设计共享物理 ER 表(外键与联合唯一约束强校验)、灌入自洽样例数据、整页生成或按pfId无损局部修改桌面(<Page>)与移动端(<MobilePage>)页面、挂载需求便签、编写 Markdown 文档与 Mermaid 流程图,并通过protoflow_audit_project完成闭环巡检。
- 桌面端实时画布桥接(
--desktop-bridge)与多步撤销:- 在桌面端打开工程后开启 「MCP 接入 → 本地 → 双向设计」,即可通过本机鉴权桥接将当前工程
revision、activePageId与画布选中的组件selectedPfId实时暴露给外部 Agent。 - 外部修改直接进入桌面自动保存队列实时上屏落盘,内置
expectedRevision乐观锁与 Hermes 任务互斥保护;支持顶部修改提示条及焦点感知的Cmd/Ctrl+Z逐步撤销(焦点位于输入框时保留原生文本撤销)。
- 在桌面端打开工程后开启 「MCP 接入 → 本地 → 双向设计」,即可通过本机鉴权桥接将当前工程
- 确定性离屏画布截图复核(
protoflow_capture_preview):- 隔离沙箱窗口支持按页面或手机视口(
scope: "viewport" | "canvas")截取高清 PNG,支持fullPage: true长页展开(最高2160CSS 像素并返回truncated标记)及最低1280CSS 像素桌面视口保证,不打断当前画布选中态、滚动位置与撤销栈。 - 默认自动等待 ECharts 图表无动画同步刷帧与 Freeform 沙箱
iframe首帧绘制完成,并在截图前后二次核验工程版本。
- 隔离沙箱窗口支持按页面或手机视口(
- 客户端一键安装与可分发扩展包:
- 面板支持一键 安装 Antigravity 插件、导出 Claude Desktop
.mcpb扩展,以及 Codex(支持$CODEX_HOME/skills)/ Antigravity / Claude Code 设计 Skill 安装;内置.alex-install.jsonSHA-256 清单校验,跨版本平滑升级的同时严格保护用户自定义修改。 - 发行附件新增可分发的
alex-protoflow-designer-antigravity.zip与alex-protoflow-designer.mcpb。
- 面板支持一键 安装 Antigravity 插件、导出 Claude Desktop
Highlights (English)
- Bidirectional MCP Prototype Authoring (
--mode readwrite):- Expanded
@protoflow-ai/mcpto 18 contract-enforced tools, 6 prompts, and 4 resources, paired with thealex-protoflow-designerAgent Skill pack. - Codex, Google Antigravity, Claude Desktop, and Claude Code can now create
.pflowprojects, organize sitemaps, model shared physical ER tables with FK & composite-unique validation, seed coherent preview rows, write or losslessly patch desktop (<Page>) and mobile (<MobilePage>) pages, attach sticky-note specs, author PRD notes & Mermaid diagrams, and runprotoflow_audit_projectclosed-loop audits.
- Expanded
- Live Desktop Canvas Bridge (
--desktop-bridge) & Multi-Step Undo:- Enable MCP → Local → Bidirectional design in Alex Desktop to share live
revision,activePageId, and canvas-selectedselectedPfIdover an authenticated loopback bridge. - Edits stream directly onto the live canvas via the desktop autosave queue with optimistic
expectedRevisionchecks, Hermes task locking, top-bar undo notices, and focus-awareCmd/Ctrl+Zmulti-step undo.
- Enable MCP → Local → Bidirectional design in Alex Desktop to share live
- Deterministic Visual Preview Capture (
protoflow_capture_preview):- Sandboxed offscreen capture returns high-DPI PNGs of desktop surfaces (minimum
1280CSS px width) or mobile screens (viewport/canvas), supportingfullPage: trueup to2160CSS px withtruncatedreporting while preserving editor selection and undo history. - Automatically waits for zero-animation ECharts flushes and Freeform
iframefirst paint before capturing.
- Sandboxed offscreen capture returns high-DPI PNGs of desktop surfaces (minimum
- One-Click Client Integrations & Distributable Bundles:
- One-click Antigravity plugin installer, Claude Desktop
.mcpbexporter, and standalone Codex / Antigravity / Claude Code skill installers ($CODEX_HOME/skills&~/.agents/skills) with.alex-install.jsonSHA-256 receipt verification for safe in-place upgrades. - Distributable
alex-protoflow-designer-antigravity.zipandalex-protoflow-designer.mcpbbundles are now attached directly to GitHub Releases.
- One-click Antigravity plugin installer, Claude Desktop
Full Changelog: v0.0.5...v0.0.6