Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

remove compatibility code

samme-abdul74c6d4ac1644
diff --git a/packages/app/src/builder-ui/debugger.ts b/packages/app/src/builder-ui/debugger.ts
index 8050ebc9..ad4ea80b 100644
--- a/packages/app/src/builder-ui/debugger.ts
+++ b/packages/app/src/builder-ui/debugger.ts
@@ -2549,20 +2549,6 @@ export function createDebugInjectDialog(
if (userEmail) {
const debugSessionKey = `first-debug-session-${userEmail}`;
- // Compatibility: migrate any existing team/agent-scoped keys to the new user-level key
- // Old formats included team and/or agent: first-debug-session-${userEmail}-${teamId}[-${agentId}]
- try {
- const legacyPrefix = `first-debug-session-${userEmail}-`;
- for (let i = 0; i < localStorage.length; i++) {
- const key = localStorage.key(i);
- if (key && key.startsWith(legacyPrefix)) {
- localStorage.setItem(debugSessionKey, 'false');
- break;
- }
- }
- } catch (_) {
- // do nothing
- }
const isFirstDebugSession = localStorage.getItem(debugSessionKey) === null;