pub fn apply_plugin_options()Expand description
Translate Claude Code plugin options (CLAUDE_PLUGIN_OPTION_*) into the
SOMA_* process env vars the binary reads, before Config::load() runs.
This replaces the former plugin-setup.sh wrapper: the binary now owns the
env-var mapping itself, so the plugin hook can invoke the binary directly.
Values containing newlines/CR are rejected (skipped) to mirror the script’s
reject_unsafe_value guard. Only applied on the plugin-hook path, matching
the script’s scope.