2026-06-17 11:31:05 +03:00
|
|
|
// Plugin traits — HostSession lives in `app::plugin_host` (same-crate field
|
|
|
|
|
// access) and implements the stable `HostApi` contract plugins target.
|
2026-06-09 13:41:21 -04:00
|
|
|
|
2026-06-17 15:50:52 +03:00
|
|
|
// The session adapter the registry wraps `app` in to dispatch to plugins. The
|
|
|
|
|
// plugin-facing contract — `BuiltinPlugin` + `HostApi` — lives in
|
|
|
|
|
// `ocs_plugin_api`; external cdylibs target it directly.
|
2026-06-22 02:03:34 +03:00
|
|
|
#[cfg(not(target_arch = "wasm32"))]
|
2026-06-17 15:50:52 +03:00
|
|
|
pub(crate) use crate::app::plugin_host::HostSession;
|