mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-26 02:05:31 +00:00
A plugin provider's catalogue request ran on the connection that also owns its running sessions. When the refresh deadline passed, the daemon rejected its own wait but never told the plugin, so the ACP adapter kept awaiting session/new and its probe process (an ssh client, or hermes acp and its Python child) stayed alive forever. Closing the connection was not an option: it would end every running agent on that provider. The provider protocol gains a `request.cancel` input, sent only to connections that negotiate the `request.cancel` capability, so existing plugins see nothing new. The ACP adapter offers it and closes the request's probe runtime on cancel, which terminates its process (taskkill /T on Windows). Connection close now cancels in-flight catalogue and listing probes instead of waiting on them.