mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-07-06 06:12:03 +00:00
Add tombstone semantics to the config merge layer for record-type sections that can grow scope-specific deletions. A scope override with a null value at \`mcpServers.<key>\` now removes that key from the effective config for the scope instead of either storing null or no-oping. The admin panel side will follow up by writing this null value where it previously sent a DELETE that could only remove an existing override. TOMBSTONE_SUPPORTED_PARENTS gates the behavior to mcpConfig (the remapped name for the mcpServers section). Nested null values beneath an entry key keep their literal meaning, a null at the section root keeps acting as a normal replacement, and a higher priority layer can re-assert an entry that a lower priority layer tombstoned. Tombstoning an entry the base does not define is a silent no-op. Six new resolution.spec tests cover those paths. |
||
|---|---|---|
| .. | ||
| api | ||
| client | ||
| data-provider | ||
| data-schemas | ||