From b4af037c19a0f6632e1ce207faac6fbf0d196c1c Mon Sep 17 00:00:00 2001 From: Ari Webb Date: Tue, 9 Dec 2025 11:12:57 -0800 Subject: [PATCH] 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 --- fern/openapi.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/fern/openapi.json b/fern/openapi.json index 3927b1a4..c012cb1e 100644 --- a/fern/openapi.json +++ b/fern/openapi.json @@ -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": {