Persistir output do terminal no servidor e corrigir cursor do flow editor

- Buffer server-side no executor para manter até 1000 linhas por execução ativa
- Terminal restaura output do servidor ao recarregar a página (F5)
- Fechar overlay do flow editor ao navegar para outra seção
- Garantir SHELL e HOME no ambiente dos processos filhos
This commit is contained in:
Frederico Castro
2026-02-28 11:02:46 -03:00
parent 1718c3c68e
commit 4a50fc9fd7
4 changed files with 64 additions and 10 deletions

View File

@@ -737,8 +737,12 @@ const FlowEditor = {
if (!leave) return;
}
FlowEditor._teardown();
},
_teardown() {
const overlay = FlowEditor._overlay;
if (!overlay) return;
if (!overlay || overlay.hidden) return;
overlay.classList.remove('active');
setTimeout(() => { overlay.hidden = true; }, 200);
@@ -755,6 +759,7 @@ const FlowEditor = {
FlowEditor._selectedNode = null;
FlowEditor._dragState = null;
FlowEditor._panStart = null;
FlowEditor._dirty = false;
},
};