mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-08 11:13:44 +02:00
When changing an env var's type from Plain to Secret in the agent config form, the row was silently dropped because emit() skipped secret rows without a secretId. This caused data loss — the variable disappeared from both the UI and the saved config. Fix: keep the row as a plain binding during the transition state until the user selects an actual secret. This preserves the key and value so nothing is lost. Co-Authored-By: Paperclip <noreply@paperclip.ing>