Expo团队发布了名为“Exact”的新型跨平台UI框架,支持在Web、macOS、iOS和Linux上原生运行 1。该框架采用无WebView、无JavaScript桥接的架构,其中Web端通过约20 KB的运行时驱动DOM,原生端由Rust runner执行计划 1。在技术实现上,界面使用声明式语言Contract定义,数据逻辑则由TypeScript或Rust编写 1。
Exact的设计假设大量代码将由AI agent编写,并提供10个统一操作接口供代理调用,允许代理自动构建、运行和测试应用而无需人工干预 1。目前该框架处于Pre-1.0版本阶段,API不稳定且每日更新,不提供向后兼容性保证 1。关键记录显示,2026年10月4日完成了全平台测试示例,2026年10月16日记录了Snapback变更升级说明,Bun版本锁定为1.4.2 1。项目采用MIT License开源协议发布 1。
The Expo team has released Exact, a new cross-platform user interface framework that supports native execution on Web, macOS, iOS, and Linux platforms. 1 The architecture is designed to be AI-friendly, operating under the assumption that significant portions of code will be written by AI agents, providing ten unified operations that allow these agents to build, run, and test applications without human intervention. 1 Currently in its pre-1.0 stage, the framework features an unstable API with no backward compatibility guarantees, as it undergoes daily updates. 1
Exact distinguishes itself from traditional frameworks by eliminating WebViews and JavaScript bridges, instead utilizing a declarative language called Contract for defining interfaces while handling backend logic through TypeScript or Rust. 1 On the web side, the framework drives the DOM via a runtime package weighing approximately 20 KB, whereas native environments rely on a Rust runner to execute plans. 1 Key developmental milestones include the completion of full-platform testing examples on October 4, 2026, and documentation of Snapback change upgrade notes on October 16, 2026, with the project locking its Bun version at 1.4.2. 1 The framework is distributed under the MIT License. 1
评论
还没有评论,欢迎留下第一条。