Expand description
This module is the orchestrator of the plugin execution.
- Initiates connection to shared socket service - shared_socket.rs
- Executes the plugin script - script_executor.rs OR pool_executor.rs
- Collects traces via ExecutionGuard - shared_socket.rs
- Returns the output of the script - script_executor.rs
§Execution Modes
- Pool mode (default): Uses persistent Piscina worker pool. Faster execution with precompilation and worker reuse.
- ts-node mode (
PLUGIN_USE_POOL=false): Spawns ts-node per request. Simple but slower. Uses the shared socket for bidirectional communication.