From cc32bb5d8d0516636fcada362c69c9cc6a2829b7 Mon Sep 17 00:00:00 2001 From: Sarah Wooders Date: Sun, 15 Mar 2026 18:54:28 -0700 Subject: [PATCH] feat: warn at startup when context repositories are not enabled (#1396) Co-authored-by: Letta Code --- src/cli/components/WelcomeScreen.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/cli/components/WelcomeScreen.tsx b/src/cli/components/WelcomeScreen.tsx index 9fbc0ee..f7a0efc 100644 --- a/src/cli/components/WelcomeScreen.tsx +++ b/src/cli/components/WelcomeScreen.tsx @@ -113,6 +113,11 @@ export function WelcomeScreen({ ? "API key auth" : "OAuth"; + // Check if memfs (context repositories) is enabled for this agent + const memfsEnabled = agentState?.id + ? settingsManager.isMemfsEnabled(agentState.id) + : true; // Don't warn while agent is still loading + return ( {/* Left column: Logo */} @@ -140,6 +145,13 @@ export function WelcomeScreen({ ? tildePath : getLoadingMessage(loadingState, !!continueSession)} + {/* Row 4: memfs warning if not enabled (skip for self-hosted servers) */} + {loadingState === "ready" && !memfsEnabled && authMethod !== "url" && ( + + Warning: Context repositories are not enabled for this agent. Run + /memfs enable to enable. + + )} );