mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-28 21:03:34 +08:00
- Bump plugin schema version to 11 with opt-in scheduler.pick.cancel push notifications keyed by selection_id and attach host_callback_id to scheduler.pick requests with call-completion-scoped cleanup. - Add host.context.done and host.context.wait host callbacks with plugin and instance ownership checks, closed-instance guards, and ShutdownAllContext teardown so blocked waits unblock cleanly. - Ensure canceled scheduler.pick calls surface as context cancellation (HTTP 499) across pluginhost and conductor retry rounds instead of scheduler rejections or prior attempt errors. Closes: #8537