Skip to content

Alex v0.0.7

Choose a tag to compare

@github-actions github-actions released this 22 Nov 09:02
· 10 commits to main since this release

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-designer Skill 规范(移除非通用 Draft-07 if/then Schema 关键字,兼容 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.json endpoint guarded by cross-instance live.lock directory 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 .pflow files reconnects automatically without reinstalling plugins or restarting MCP servers.
  • Offline MCP Handshake & Discovery Resilience:
    • Added local protocol fallback in createDesktopRelay so initialize, 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.
  • Cross-Project Write Safety & Portable Tool Schemas:
    • Enforced mandatory expectedRevision checks 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/then JSON Schema keywords for full Gemini / Antigravity compatibility and updated alex-protoflow-designer playbooks to enforce sequential single-in-flight desktop writes.
  • Human-Centered UI for Non-Technical Product Managers:
    • Redesigned McpConnectModal, DesktopAuthoringControls, and GlobalToolbar around 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.

Full Changelog: v0.0.6...v0.0.7