feat: default preserve filesystem for migration [LET-6366] (#6475)

* feat: default preserve filesystem for migration

* add button on frontend

* stage and publish api and add to templates test

* fix test

* stage and publish api

* agents inherit folders from templates

* sync sources on template update

* don't preserve sources on af upload

* fix test
This commit is contained in:
Ari Webb
2025-12-09 11:12:57 -08:00
committed by Caren Thomas
parent 3422508d42
commit b4af037c19

View File

@@ -17099,6 +17099,10 @@
"type": "boolean",
"description": "If true, the core memories will be preserved in the template version when migrating agents"
},
"preserve_sources_on_migration": {
"type": "boolean",
"description": "If true, existing agent folders/sources will be preserved and merged with template sources during migration. If false, agent sources will be replaced with template sources."
},
"block_reconciliation_strategy": {
"type": "string",
"enum": ["reconcile-all", "preserve-deleted"],
@@ -18748,6 +18752,10 @@
"type": "boolean",
"description": "Whether to preserve existing core memories during migration"
},
"preserve_sources": {
"type": "boolean",
"description": "If true, existing agent sources will be preserved and merged with template sources during migration. If false, agent sources will be replaced with template sources."
},
"memory_variables": {
"type": "object",
"additionalProperties": {