Implement session-card architecture and improve session management

- Create session-card component for individual session rendering
- Add Renderer active count tracking to monitor instance leaks
- Parse session ID from tty-fwd stdout for reliable session creation
- Add 2-second delay for fresh session connections to prevent race conditions
- Simplify session-list to use session-card components
- Restore original layout with controls and proper padding
- Improve SSE exit event handling with direct session ID usage

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Mario Zechner 2025-06-16 13:50:19 +02:00
parent 3ec417c8b1
commit 4757d27d26

View file

@ -372,6 +372,7 @@ fn main() -> Result<(), anyhow::Error> {
}
let session_id = Uuid::new_v4();
println!("{}", session_id);
let session_path = control_path.join(session_id.to_string());
fs::create_dir_all(&session_path)?;