Files
CLIProxyAPI/internal/pluginhost/executor_route.go
hkfires 4c8df6d7f9 fix(pluginhost): gate home executor dispatch on lifecycle state
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.
2026-11-25 17:57:59 +08:00

9.4 KiB