Repository navigation
Releases
Releases · EvanClub-Agent/protoflow-ai
ProtoFlow AI v0.0.9
桌面端修复
- 发版原因 在 macOS 桌面端成功发布原型后,点击「打开预览」可能导致「发布与分享」窗口停止响应。此时点击「关闭」或按 Esc 都无法返回编辑器。
- 修复方式 此前预览链接会请求创建 Electron 子窗口,再由主进程拦截并转交系统浏览器。桌面端现在通过专用接口校验并打开所选分享记录的地址。等待浏览器启动期间可以继续操作弹窗,启动失败时会显示错误。已有链接可直接使用,无需重新发布。
- 验证 已在 macOS 验证系统默认浏览器加载测试分享页。Electron 回归测试覆盖了浏览器启动失败、启动期间关闭弹窗,以及返回工作区后再次打开弹窗。
自托管部署
- 修正 Docker Compose 中 PostgreSQL 18 的数据卷挂载路径。
ProtoFlow AI v0.0.8
Full Changelog: v0.0.7...v0.0.8
Alex v0.0.7
What's New in Alex v0.0.7
中文更新亮点
- 固定稳定实时桥接入口(
live.json)与跨工程无缝自动重连:- 将原先随工程变化的哈希连接文件统一升级为固定的
<userData>/authoring/live.json,内置跨实例目录互斥锁(live.lock)与异常退出自动接管机制。 - 一次安装,永久免重绑:安装一次 Antigravity 插件 或配置一次 Claude Desktop / Cursor / Codex 连接文件后,后续在 Alex 桌面端重启、新建空白工程或切换任意工程均自动无缝重连,无需重复安装插件或重启 MCP 服务。
- 将原先随工程变化的哈希连接文件统一升级为固定的
- MCP 离线握手与工具发现兜底(先开 IDE、后开桌面端不断连):
createDesktopRelay新增本地离线协议兜底:即使在 Alex 桌面端未启动或位于启动页时,外部客户端发起的initialize、ping、tools/list、prompts/list、resources/list及物料契约查询(protoflow_get_contracts/protoflow_get_implementation_guide)均可正常响应,彻底杜绝因先后启动顺序导致工具列表丢失的问题。
- 跨工程写入保护与串行
expectedRevision安全约束:- 桌面端所有写操作强制核验目标工程的当前
expectedRevision;切换工程、切换账号或版本过期时在修改画布与磁盘前立即拦截,彻底防止在工程 A 读取后误写到工程 B。 - 更新 MCP 创作指引与
alex-protoflow-designerSkill 规范(移除非通用 Draft-07if/thenSchema 关键字,兼容 Gemini / Antigravity 工具解析),引导 Agent 串行传递最新revision高效完成整套多模块原型生成。
- 桌面端所有写操作强制核验目标工程的当前
- 面向产品经理的人性化「AI 协同与研发移交」界面重塑:
- 全面去除技术黑话,按真实场景重塑为 「让外部 AI 帮我画原型」 与 「把定稿原型交给研发写代码」 两大清晰入口。
- 提供三步式直观引导、3 套大白话一键切换提示词模板(从零建系统 / 修改当前页 / 补齐便签与流程图),并在实时共创模式下默认折叠开发者 JSON 代码块,防止误将配置代码粘贴进聊天框;顶部工具栏新增实时共创在线指示圆点与友好的一键撤销提示条。
Highlights (English)
- Stable Single-Install Live Bridge (
live.json) & Automatic Project-Switch Reconnect:- Replaced per-project SHA-256 bridge file paths with a stable
<userData>/authoring/live.jsonendpoint guarded by cross-instancelive.lockdirectory locking and automatic dead-owner recovery. - Install the Antigravity plugin or configure Claude Desktop / Cursor / Codex once — restarting Alex Desktop, creating blank projects, or switching
.pflowfiles reconnects automatically without reinstalling plugins or restarting MCP servers.
- Replaced per-project SHA-256 bridge file paths with a stable
- Offline MCP Handshake & Discovery Resilience:
- Added local protocol fallback in
createDesktopRelaysoinitialize,ping,tools/list,prompts/list,resources/list, and static material contract tools succeed even when Alex Desktop is closed or on the launcher, keeping all 18 authoring tools registered across IDE sessions.
- Added local protocol fallback in
- Cross-Project Write Safety & Portable Tool Schemas:
- Enforced mandatory
expectedRevisionchecks on every desktop write mutation before modifying canvas or disk state, preventing edits prepared on Project A from landing on Project B, and revoking write sessions upon account switches. - Replaced non-portable Draft-07
if/thenJSON Schema keywords for full Gemini / Antigravity compatibility and updatedalex-protoflow-designerplaybooks to enforce sequential single-in-flight desktop writes.
- Enforced mandatory
- Human-Centered UI for Non-Technical Product Managers:
- Redesigned
McpConnectModal,DesktopAuthoringControls, andGlobalToolbararound clear PM workflows (Let External AI Design Here vs Hand Off Prototype to Developers), featuring guided 3-step cards, 3 switchable plain-language starter prompts, collapsed developer JSON disclosures in live co-design mode, and live toolbar status indicators.
- Redesigned
Full Changelog: v0.0.6...v0.0.7
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
Alex v0.0.5
What's New in Alex v0.0.5
中文更新亮点
- 全端中英文双语国际化(
zh-CN/en-US):- 首次启动自动跟随操作系统 / 浏览器语言(
zh*→zh-CN,其余默认en-US),桌面工作台、欢迎页、在线预览查看器(/p/<id>)、自建发行中心、离线/加密 HTML 导出及产品官网(website/)均支持一键无刷新切换并持久化偏好。 - 同步联动 Ant Design、Day.js、Tiptap 富文本占位提示、Electron 原生菜单与关闭确认、Hermes Python 侧车(
PROTOFLOW_LOCALE)、Hermes 嵌入式管理窗口实时双语切换、MCP 服务及 Go 发布后端(Accept-Language错误消息本地化)。 - 针对窄侧边栏、332px 四页签属性检查器、画布二级工具栏和在线预览顶栏完成自适应与折行加固,确保语言切换零挤压、零截断。
- 首次启动自动跟随操作系统 / 浏览器语言(
- 跨语言业务与关系型数据契约零漂移:
- 全量本地化 114+ 桌面/移动端物料元数据、启动示例项目与页面生成模板,严格保持底层物理契约不变:外键
value主键绑定(含桌面<Form>与移动<MForm>/<MSheetPicker>合格供应商准入实时校验)、SQLENUM(...)状态机、人民币¥默认币种、{{form.<pfId>.<field>}}类型化插值(number/boolean/null)以及校验提示随语言实时切换。
- 全量本地化 114+ 桌面/移动端物料元数据、启动示例项目与页面生成模板,严格保持底层物理契约不变:外键
Highlights (English)
- Full Bilingual Internationalization (
zh-CN&en-US) Across All Surfaces:- Automatic OS / browser language detection on first launch with persistent live
LanguageSwitchacross the desktop workbench, welcome launcher, published web viewer (/p/<id>), release center, standalone/encrypted HTML exports, and official product website (website/). - Synchronized Ant Design (
zhCN/enUS),dayjs(zh-cn/en), Tiptap editor placeholders, Electron native application menus, Python Hermes sidecars (PROTOFLOW_LOCALE), mounted Hermes management dashboard windows, MCP servers, and Go publishing API (Accept-Languageerror localization). - Container-query and flex-wrap layout hardening across narrow sidebars, 332px 4-tab node inspectors, secondary canvas toolbars, and web preview headers.
- Automatic OS / browser language detection on first launch with persistent live
- Locale-Invariant Business & Relational Data Contracts:
- Localized 114+ desktop/mobile material metadata entries, starter projects, and page templates while strictly preserving foreign-key
valuebindings, live qualified-supplier checks across desktop & mobile forms, SQLENUM(...)state machines,¥RMB currency defaults, typed{{form.<pfId>.<field>}}interpolation, and live translation of active validation errors.
- Localized 114+ desktop/mobile material metadata entries, starter projects, and page templates while strictly preserving foreign-key
Full Changelog: v0.0.4...v0.0.5
Alex v0.0.4
Full Changelog: v0.0.3...v0.0.4
Alex v0.0.3
Full Changelog: v0.0.2...v0.0.3
Alex v0.0.2
Full Changelog: v0.0.1...v0.0.2
Alex v0.0.1 — 首个开源正式版 (Initial Open-Source Release)
🎉 Alex (ProtoFlow AI) v0.0.1 正式开源发布!
把需求,做成能跑起来的业务原型 —— 免登录本机开箱即用的可视化原型画布、ER 共享物理表建模与 AI 协同桌面工作台。
📦 安装包下载指引 (Downloads)
| 操作系统 | 推荐下载文件 | 说明 |
|---|---|---|
| macOS (Apple Silicon M1–M4) | Alex-0.0.1-mac-arm64.dmg |
打开后拖入「应用程序」(首次打开如提示无法验证开发者,请在「系统设置 → 隐私与安全性」点击「仍要打开」) |
| macOS (Intel x64) | Alex-0.0.1-mac-x64.dmg |
适用于 Intel 芯片 Mac |
| Windows 10 / 11 (x64) | Alex-0.0.1-win-x64.exe |
NSIS 安装向导,支持自定义安装路径与桌面快捷方式 |
| Linux (Debian / Ubuntu x64) | Alex-0.0.1-linux-amd64.deb |
推荐 sudo apt install ./Alex-0.0.1-linux-amd64.deb,亦提供免安装 .AppImage 与 .tar.gz |
所有安装包的 SHA-256 校验值均记录于随附的
SHA256SUMS.txt文件中。
✨ 首发核心亮点
- 免登录本地离线模式:工程以
.pflow与 Git 目录树保存在本机,同时支持随时连接团队自建发布服务。 - 双向 AST 画布(PC 后台 + iPhone 真机视口):同一工程混排管理后台与移动端页面,共用物理数据库表联动。
- 12 类原生 ECharts 图表 + Mermaid 架构图谱 + 组件级黄色需求便签。
- 内置 3 套社区起点模板:SaaS 电商进销存后台、CRM 销售数据看板、现代移动应用样板。
- Docker Compose 一键私有化部署:3 步搭建团队在线分享与版本中心(
/p/{id})。