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.
JavaScript a2aagentic-aiai-agentsdevtoolsmcp-clientn8n-alternativeno-codeopen-sourceorchestrationsmythosvisual-builder
fix: do not re-render canvas on debug switch
Ahmed Essam8aacf9af53fd
diff --git a/packages/app/src/builder-ui/debugger.ts b/packages/app/src/builder-ui/debugger.tsindex ad4ea80b..85ab3097 100644--- a/packages/app/src/builder-ui/debugger.ts+++ b/packages/app/src/builder-ui/debugger.ts@@ -282,7 +282,7 @@ export async function init() {}//updateServerStatus(false);- await workspace.waitUnlock();+ await workspace.waitUnlock(120_000); // 120 seconds max wait time// if (workspace?.locked) {// //retry in 3s// setTimeout(init, 3000);@@ -2540,8 +2540,8 @@ export function createDebugInjectDialog(/*** Handles the first-time debug session logic for showing the inspector bar- * Scope: global per user. If dismissed once for any agent (in any team),- * it won't auto-pop for other agents or teams for that user.+ * Scope: global per user. If dismissed once for any agent (in any team),+ * it won't auto-pop for other agents or teams for that user.*/function handleFirstDebugSession() {const userEmail = workspace?.userData?.email;@@ -2549,7 +2549,6 @@ export function createDebugInjectDialog(if (userEmail) {const debugSessionKey = `first-debug-session-${userEmail}`;-const isFirstDebugSession = localStorage.getItem(debugSessionKey) === null;// Only show bottom bar if it's the first debug session@@ -3177,9 +3176,9 @@ function resetComponentsState({});// Redraw workspace on next tick to ensure DOM updates are complete- requestAnimationFrame(() => {- workspace.redraw();- });+ // requestAnimationFrame(() => {+ // workspace.redraw();+ // });}/**