Expand description
§aios-action — authorized action execution layer
Responsibility: receive AuthorizedAction values produced by
aios_core::action_lifecycle::ActionLifecycle and execute low-risk
operations behind the action boundary.
Three sibling adapters implement ActionAdapter; ActionLifecycle injects
exactly one at construction:
OfflineAdapter— deterministic, no I/O. The canonical replay / golden adapter; the only one in the audit-hash path.DefaultActionExecutor— desktop stub. Pure, deterministictracingstubs with no network or environment access.AndroidAdapter— on-device. Forwards supported actions to the Android localhost bridge over a request/response protocol and maps the device’s real result back honestly. Never in the hash path.
Re-exports§
pub use android_adapter::AndroidAdapter;pub use android_adapter::AndroidBridgeConfig;pub use offline_adapter::OfflineAdapter;
Modules§
- android_
adapter - 一等公民
AndroidAdapter:把已封存的AuthorizedAction经请求/响应协议 转发到设备侧 localhost bridge,并把设备的真实执行结果如实映射为ActionOutcome/AdapterError。 - offline_
adapter - 纯离线、确定性的
ActionAdapter实现。
Structs§
- Default
Action Executor - Default action executor for desktop replay.