You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Python plugin backward compatibility with existing framework #20
Create cpex-hosts::python — a Rust-side adapter that lets the Rust PluginManager call existing Python plugins via PyO3. This is the "Rust → Python" direction — backward compatibility with the current Python plugin ecosystem.
Motivation
There is an existing base of Python CPEX plugins (identity resolver, token delegator, custom plugins). These need to run inside the Rust PluginManager without rewriting them in Rust. The Python host bridges the gap by implementing HookHandler<H> and delegating to the Python plugin's hook method via PyO3.
Scope
PythonPluginAdapter — implements HookHandler<H> for any hook type
Calls into Python via Python::with_gil() — wraps payload/extensions as PyO3 objects, calls the Python method, converts the result back
Activity
chore: Per issue #20 (run existing Python plugins unchanged), I imple…