A provider plugin on the native Gemini wire (generateContent) has no published way to map a Hermes
reasoning config onto thinkingConfig: the mapping lives in private core helpers, so a plugin either
re-implements the per-model rules or imports internals the boundary lint rejects. The Solstice
provider plugin needs this seam.
Publish three helpers in agent.reasoning_effort under a new plugin_api.json group, document them in
the model-provider guide and regenerate public-api.md:
- gemini_thinking_config(model, reasoning_config): the shared Gemini thinkingConfig mapping plus the
xhigh lift, keyed on the id the native client sends.
- bare_gemini_model_id(model): the native client's prefix rule (gemini/ and google/ stripped), moved
verbatim from agent.gemini_native_adapter into this import-light module; the adapter imports it
back, so its existing name keeps working.
- clamp_effort (already in the module).
The gemini and vertex profiles are unchanged. test_reasoning_effort_plugin_api.py checks the helper
against the gemini profile's own output across models and efforts (prefixed ids included), the
prefix rule, the adapter's import name, and that importing the module loads no HTTP stack.