clarc/public
Jared Miller 6bd599d47b
Fix dashboard to handle terminal serialization output
The server's serializeAsHTML() returns the full terminal screen state, not incremental chunks. Updated the dashboard to:

1. Handle initial_state event to receive current terminal state on connection
2. Replace output instead of appending (output event now replaces session.output)
3. Simplify renderSessionOutput() to always do full innerHTML replacement

This fixes the issue where output was being duplicated/appended incorrectly.
2026-01-31 09:58:18 -05:00
..
index.html Fix dashboard to handle terminal serialization output 2026-01-31 09:58:18 -05:00