fix(plugins): a plugin reporting settings is sent every key of an options patch

This commit is contained in:
Mohamed Boudra
2026-11-06 04:50:52 +01:00
parent 746165c300
commit 2d976b0b19
3 changed files with 8 additions and 14 deletions
+1 -1
View File
@@ -544,7 +544,7 @@ The provider draws some of those keys in the composer by reporting `controls` an
built-in providers ([options flow](providers.md#options-flow)). `PluginAgentSession` in
`packages/server/src/server/agent/plugin-provider.ts` is that adapter. A provider still reporting
`settings` is read through `plugin-provider-options.ts`, which turns each setting into a control and
its value into an option and is sent both shapes in `session.configure` (`settings` holds only the keys it reports); delete it with
its value into an option and is sent both shapes in `session.configure`; delete it with
`COMPAT(plugin-provider-settings)`. The ACP shim still reports `settings`.
Providers add an optional veto to daemon baseline cleanup through the per-session