fix: wizard open detection for plan subagent windows

- Changed wizard modal detection from checking non-existent 'hidden' class
  and inline style.display to correctly checking for '.active' class
- This fixes plan subagent windows not appearing during Ralph wizard
  plan generation
- Also fixes connection lines between wizard, plan agents, and subagents

chore: bump version to 0.1405

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-28 00:45:37 +01:00
co-authored by Claude Opus 4.5
parent 78eb771745
commit 8c75dcdebc
3 changed files with 18 additions and 10 deletions
+2 -4
View File
@@ -8109,8 +8109,7 @@ class ClaudemanApp {
// Check if Ralph wizard modal is open
const wizardModal = document.getElementById('ralphWizardModal');
const wizardOpen = wizardModal && !wizardModal.classList.contains('hidden') &&
wizardModal.style.display !== 'none';
const wizardOpen = wizardModal?.classList.contains('active');
const wizardContent = wizardOpen ? wizardModal.querySelector('.modal-content') : null;
// Collect visible regular subagent windows for connection logic
@@ -8360,8 +8359,7 @@ class ClaudemanApp {
// Check if Ralph wizard modal is open - if so, position windows on the sides
const wizardModal = document.getElementById('ralphWizardModal');
const wizardOpen = wizardModal && !wizardModal.classList.contains('hidden') &&
wizardModal.style.display !== 'none';
const wizardOpen = wizardModal?.classList.contains('active');
let startX, startY, maxCols;