Skip to content

Releases: OriEra-engine/engine

v0.8.0 · Resilient Inference — 确定性分级 + 双指纹 + 熔断降级 + 双端契约

Choose a tag to compare

@leslie520-bye leslie520-bye released this 25 Oct 08:43

OriEra 世界引擎 v0.8.0——自 v0.3.0 以来的第 5 个 minor 批次合集。版本号从本 release 起与 crates.io(11 crate 全量 0.8.0)、release notes 文档三面对齐。

五个 minor 批次(v0.4 → v0.8)

  • v0.4 算力分拨:L0 ComputeGrant/Grants → L2 BudgetAllocator(EWMA→保底份额→迟滞节流)→ L7 队列预算 → L6 空转跳过 → L9 注意力节拍器——「一切经预算」的调度管线(notes)
  • v0.5 生成式表达内生:L8 GenerationProvider + 占位降级按种类匹配 + ArtDirectorSystem——AI 生成能力长在引擎里(notes)
  • v0.6 浏览器对齐(内核 v2):parseIntent + CommandQueue 浏览器命令通道、认知/导演参数化、MemoryStore::with_capacity、13 行预设表、kernel node 直测(notes)
  • v0.7 缓存计量:DeepSeek 前缀缓存三风格解析 + CostMeter µ 货币账本 + response_format: json_schema + 稳定前缀惯例(notes)
  • v0.8 韧性与可复现:熔断器 + 云端→本地→rule 降级链、DeterminismLevel 三档 + prompt/response 双指纹、InferenceLedger 有界台账、有界提示(notes)

同期工程批次(评审驱动)

  • 原生 HTTP 适配器(#68)+ 工具调用引擎闭环 + SSE 真流式 + L9 narrative primitives(#126)
  • Hyper3D Rodin 文生 3D 双供应商(#111)+ rodin_demo 接入样板(#112)
  • 共享 golden fixture 双端契约(#98):Rust/JS 意图词汇与预设表单一来源
  • rigid 写回 O(n²)→O(n)(#100)、B8 模型验收门禁(#99)、熔断→EWMA 接线(#103/#110)
  • L6 rapier2d 物理 + L9 具身 EpisodeRecorder(LeRobot v3 列对齐)

测试与质量

全仓测试 490+(workspace 238 / genai 59 / agent 60 / rigid 15 / infer 97 / kernel 35),CI 八腿(含 golden fixture、studio_e2e 三赛道离线验收、内置包自检)。

安装

```bash
cargo add oriera-agent@0.8.0 # L9 智能体认知
cargo add oriera-infer@0.8.0 # L7 推理运行时(--features native-http)
```
11 个 crate 全量 0.8.0:common / pal / core / ecs / asset / render / subsys / infer / genai / agent / pc。

Full Changelog: v0.3.0...v0.8.0

v0.3.0 — L8 生成式 AI 骨架落地 / Native Generative AI Skeleton

Choose a tag to compare

@leslie520-bye leslie520-bye released this 16 Oct 03:00
14b4e42

v0.2 给引擎「加了润滑」,v0.3 把原计划 2028 年的 L8 生成式 AI 骨架提前落地(ADR 0003)。

核心变更

  • crates/oriera-genai(L8):GenerationProvider trait 边界 + Mock + validate_asset 校验;Tripo / Seedance 协议适配器随 providers feature 门控——只定义 JSON shape,零 HTTP client,transport 由壳层注入(wasm 体积可控)。生成不走 L7 推理:两条独立边界。
  • 引擎环集成:GenAiSystem 限量轮询 → 校验 → PendingSwaps + AssetLanded 事件;壳层 hot_swap::apply_pending 落入 L4 命名资产(v0.2 热替换轨道首次实战)。示例:cargo run -p oriera-genai --example hotswap
  • 契约与治理:contracts/oriera/genai/v1(Protobuf)、manifests/L08-genai.yaml、ADR 0002 / ADR 0003 入库
  • crates.io 就绪:workspace 0.3.0,全部 crate 元数据继承
  • 文档:架构文档完整版(#42/#44)同步 L8 现状

兼容性:加法式变更,providers 默认关闭,默认构建零新增依赖。CI(Linux)全绿。

📄 完整 release note:docs/release-notes/v0.3.0-genai.md · 架构文档 · 开源参与指南

v0.2.0 — 全层润滑剂 / All-Layer Lubricant Pass

Choose a tag to compare

@leslie520-bye leslie520-bye released this 15 Oct 16:24
c3f1282

OriEra v0.2.0

🌐 在线体验(11 个浏览器 demo,零安装): https://oriera-engine.github.io/engine/
📹 54 秒官方演示: oriera-official-demo.mp4


AI 原生应用的负载是概率性、突发、昂贵的:模型调用会突然吃掉 200ms,生成管线会倾泻一批资产,幻觉会写出 1e9 的倍速。这一版不给引擎加新系统,而是给已有的十一层每层加一次润滑——把 AI 的毛刺在引擎内吸收掉,让上层以为世界永远是平滑的。

每层一个摩擦点,每层一刀

  • L0 TokenUsage:全引擎统一的 token 计量词汇(L7 产出 / L9 累计)
  • L1 route(caps, RouteHint):端云路由在 PAL 一次决策;隐私任务无条件钉在端侧
  • L2 Scheduler::system_timings():逐系统毫秒——「这帧被谁吃了」一眼可见;with_budget_ns 按平台画像 grading
  • L3 for_each_mut 零分配;resource_or_default 自愈资源;类型化事件队列
  • L4 insert_named/get_named:命名资产原位热替换——AI 重新生成的贴图/网格同名换入,实体零重建
  • L5 observe_frame 迟滞画质调速:持续过载 → 降档 batching,真有余力才缓慢升档
  • L6 TimeScale:慢动作/子弹时间/暂停是一个资源;物理步长钳制 [0,8],幻觉值最多变快进、不会 NaN 世界
  • L7 帧预算命令队列:单帧最多执行 N 条命令,洪峰计入 deferred 摊到后续帧;UsageMeter 让每次调用的 token 成本进世界状态
  • L9 认知/导演系统自愈启动(裸世界 boot 成为测试契约);parse 否定语义(「别清空」不再清空)
  • L11 PC 壳全量接线示范

兼容性

全部为加法式变更:现有 API 签名不变。

验证

cargo test --workspace(CI/Linux);新增 28 个测试覆盖每层新契约(全仓 78 个)。


English

The loads of AI-native apps are probabilistic, bursty and expensive. This pass adds no new subsystem — it lubricates each of the eleven existing layers so the engine absorbs the AI spikes before apps ever feel them: unified token metering, one-shot edge/cloud routing at the PAL boundary, per-system frame timings and per-platform budget curves, zero-alloc iteration + self-healing resources + typed events, named in-place asset hot swap, hysteresis quality governor, clamped TimeScale pacing, frame-budgeted inference queue with deferred accounting, negation-aware parsing and panic-free cognition boot, all wired end-to-end in the PC shell. Additive-only: no existing API signature changed.

Verified by 78 tests (28 new) in CI.


🎃 Hacktoberfest 2026: 本仓库所有 good first issues 参与今年活动,10 月 31 日截止——欢迎来提你的第一个 PR。
⭐ 觉得方向对,给个 Star 支持开源路线。

v0.1.0 — 开源起点 / Open Source Kickoff

Choose a tag to compare

@leslie520-bye leslie520-bye released this 14 Oct 16:33

v0.1.0 — 开源起点 / Open Source Kickoff

发布日期 / Release date: 2026-10-15


中文版

OriEra 是一个 AI 原生、虚实融合、可自演化的开放数字世界引擎。
这是我们的第一个公开 release——不追求功能完整,重点是把架构骨架、五端接入、开源治理三件事立住,欢迎社区共建。

这个版本有什么

  • 十一层架构骨架:L1 PAL → L11 应用层,每个 crate 都已在 workspace 里就位。
  • 五端一等公民接入:PC / 移动 / Web / AR 眼镜 / 脑机接口(预留)。
    • 上层代码只读 Capabilities 位图,不写 #[cfg(target_os)]。
    • 脑机接口只留 bit 40+ 位和 proto 消息,v1 不接硬件。
  • L1 PAL 可运行 demo:examples/01-hello-triangle/,浏览器直接打开,点选五个端看能力位图 + WebGPU 三角形。
  • 跨语言契约:contracts/oriera/pal/v1/ 已定义 capability 与 spatial input 两个 proto。
  • 架构门禁模板:manifests/L1-pal.yaml,CI 未来据此自动检查依赖方向、预算、降级策略。
  • 开源治理:Apache-2.0、DCO、BDFL + Core Team、RFC 流程、路线图。

明确不包含

  • 还没有可玩的 demo(三角形不算 demo)
  • 还没有 ECS、渲染、物理、Agent 的实质实现
  • Rust 侧尚未在 CI 跑通(本地需 Rust 1.80+)

下一步

见 ROADMAP.md。最近一个里程碑是 v0.2:ECS 一万实体 60fps。

怎么参与

  • 读 CONTRIBUTING.md
  • 认领标了 good first issue 的任务
  • 在 Discussions 开 RFC 或提问题

English

OriEra is an AI-native, mixed-reality, self-evolving open digital world engine.
This is our first public release. We are not shipping features yet — we are shipping the architectural skeleton, the five-platform abstraction, and the open-source governance. We invite the community to build with us.

What's in this release

  • 11-layer architecture skeleton: every layer from L1 PAL to L11 App is wired into the Cargo workspace.
  • Five first-class platforms: PC / Mobile / Web / AR glasses / BCI (reserved).
    • Upper layers only read a Capabilities bitfield; no #[cfg(target_os)] in application code.
    • BCI (bits 40+) is stub-only in v1 — no hardware, no frame budget impact.
  • Runnable L1 demo: examples/01-hello-triangle/ — open in any WebGPU browser, switch between the five platforms, watch the capability bitmap and a WebGPU triangle.
  • Cross-language contracts: contracts/oriera/pal/v1/ ships capability.proto and spatial_input.proto.
  • Architecture manifest template: manifests/L1-pal.yaml — CI will soon enforce dependency direction, budgets, and degradation rules from this file.
  • Open governance: Apache-2.0, DCO, BDFL + Core Team, RFC process, public roadmap.

What's explicitly NOT in

  • No playable demo (a triangle doesn't count).
  • No real ECS, renderer, physics, or Agent runtime yet.
  • Rust CI is not green yet (local dev needs Rust 1.80+).

What's next

See ROADMAP.md. The next milestone is v0.2: 10k ECS entities at 60fps.

Get involved

  • Read CONTRIBUTING.md
  • Grab an issue labeled good first issue
  • Start or join an RFC in Discussions