fix(webcrt): replay login banner/prompt on attach

Drain and nudge the device prompt after Netmiko login, replay bootstrap stdout when the WebSocket attaches, and surface connect errors in the terminal pane.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-07-29 18:54:59 +08:00
parent 8e3bed562f
commit 30f2db9708
6 changed files with 87 additions and 9 deletions

View file

@ -1741,6 +1741,16 @@ pre {
color: #fecaca;
}
.webcrt-error-detail {
margin: 8px 0 0;
max-width: 80%;
white-space: pre-wrap;
word-break: break-word;
font-size: 12px;
color: #fee2e2;
text-align: left;
}
.webcrt-statusline {
padding: 3px 8px;
background: #ececec;