Harden WebCRT reconnect, resource use, and SFTP UX.

Reuse detached sessions on reconnect, mount only the active tab, surface backpressure drops, gate SFTP for unsupported targets, and polish attach replay, find/recording performance, and terminal i18n.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-01 23:50:41 +08:00
parent f6b399e03e
commit d87bdf4be1
13 changed files with 648 additions and 151 deletions

View file

@ -1907,10 +1907,10 @@ pre {
align-items: center;
justify-content: center;
height: 28px;
padding: 0 10px;
border: 1px solid #b8c4d2;
border-radius: 6px;
background: #fff;
padding: 0;
border: 0;
border-radius: 0;
background: transparent;
color: var(--nm-brand);
font-size: 12px;
font-weight: 650;
@ -1920,16 +1920,17 @@ pre {
}
.webcrt-sidebar__new-btn:hover {
background: #e8f0fe;
border-color: #9eb0c6;
background: transparent;
color: var(--nm-accent);
text-decoration: underline;
}
.app-main .webcrt-sidebar__new-btn {
border: 1px solid #b8c4d2;
border: 0;
box-shadow: none;
height: 28px;
border-radius: 6px;
border-radius: 0;
background: transparent;
}
.webcrt-menubar__item {
@ -1941,9 +1942,9 @@ pre {
display: inline-flex;
align-items: center;
height: 28px;
padding: 0 8px;
padding: 0;
border: 0;
border-radius: 6px;
border-radius: 0;
background: transparent;
color: #475569;
font-size: 12px;
@ -1955,15 +1956,17 @@ pre {
.webcrt-menubar__btn:hover,
.webcrt-menubar__btn.is-open {
background: #dbe4f0;
background: transparent;
color: var(--nm-brand);
text-decoration: underline;
}
.app-main .webcrt-menubar__btn {
border: 0;
box-shadow: none;
height: 28px;
border-radius: 6px;
border-radius: 0;
background: transparent;
}
.webcrt-menubar__menu {