refactor(cli,worker): cut liboakengine, link module rlibs directly (M14 R2)

- oak-cli: new engine.rs assembly layer maps every facade call to
  module Rust APIs (oaknode graph/serializer, oaktimeline commands,
  oakrender ticket arena, oaktask ExportTask, oakcommon config); the
  ffi/optional/host layers and build.rs link config are gone
- oak-worker: the worker session + POSIX shm transport moved into the
  crate (oakrender backend + serde_json control plane); no dylib
- both binaries carry zero liboakengine references (otool verified);
  tests green (30 cli / 41 worker)
This commit is contained in:
2026-08-16 21:16:27 +08:00
parent 8a2e45225f
commit a45a7af2ac
24 changed files with 3713 additions and 3196 deletions
Generated
+9
View File
@@ -4753,12 +4753,21 @@ name = "oak-cli"
version = "0.1.0"
dependencies = [
"clap",
"oakcodec",
"oakcommon",
"oakcore-rs",
"oaknode",
"oakrender",
"oaktask",
"oaktimeline",
]
[[package]]
name = "oak-worker"
version = "0.1.0"
dependencies = [
"libc",
"oakrender",
"serde",
"serde_json",
]