mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-30 14:03:50 +08:00
Bind Home executor adapters to the exact loaded plugin instance and require it to remain enabled, unfused, and not suspended with matching executor capabilities before dispatch. Suspend Home dispatch at the start of quiesce, restore it only when a recovered instance republishes capabilities, and recheck availability immediately before execute, streaming, and token counting. Map closed-client and plugin_quiesced races to the Home executor unavailable error so dispatch can reselect instead of surfacing a plugin lifecycle failure as an upstream error.
9.4 KiB
9.4 KiB