ek-station 0.2.7

Station for the ek ecosystem: headless plugin host bootstrap - assembles ek-core MainEngine from a compile-time plugin factory table, runs the svctl supervisor service (list/start/remove over bus ask) and a headless main (readiness marker + graceful close).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# ek-station

ek 生态的插件宿主装配器:`ek-core MainEngine` 之上的"车站"。

- `src/factory.rs` — 编译期插件工厂表(dm / oms / ctp;DV-2 不做 dylib。
  0.1.8–0.1.11 曾登记 sim 纸面网关,0.1.12 起退场,见 CHANGELOG)。
- `src/station.rs` — `StationConfig → boot()`:装 `svctl` 监督者 + 启用清单进
  `MainEngine`(**只装配不 start**,调用方在窗口挂探针后自启,测试与 headless 同路径)。
- `src/supervisor.rs` — 唯一持 `Arc<MainEngine>` 的插件;启停特权收进
  `svctl.list/start/remove` 三口 ask 服务(wire 契约见 `src/wire.rs`;
  stop 语义并入 remove —— ek-core 0.3.0 无"停而不摘表"导出)。
- `src/main.rs` — headless 主程序:`--from` 简单清单 / `--ready-file` 就绪标记
  / stdin `q` 优雅 `close_all`。

依赖纪律:自研 crate 之间全部以【已装版本】引用(crates.io),禁 path;
本 crate 零第三方、零 dev-deps(测试探针手写)。

开发节奏与验收标准:见工作区 `docs/ek-ui-station-plan.md`(S1a..S5)。