mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 04:20:45 +08:00
Reuse SSH for WebCRT SFTP and fix folder navigation UX.
Open SFTP on the live session transport after SSH connect, pass the target path on every list refresh, and use folder/file icons in the browser panel. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
d87bdf4be1
commit
499b4cc2a1
10 changed files with 525 additions and 131 deletions
|
|
@ -503,6 +503,8 @@ export type WebcrtSessionCreateResult = {
|
|||
state?: string;
|
||||
/** True when session used a vendor CLI hop (nested stelnet/telnet). */
|
||||
cli_hop?: boolean;
|
||||
/** True when SFTP channel opened on the same SSH transport. */
|
||||
sftp_ready?: boolean;
|
||||
};
|
||||
|
||||
export const createWebcrtSession = (body: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue