fix: robustness fixes + diagnostics validated by full E2E

Fixes (verified via real SSH E2E against WSL sshd):
- KeysPage: taskpool key generation race fix
- OhosTcpSocket: send queue + watchdog for socket teardown
- TerminalPage: refresh + activeState drive fix, password panel
- Transport: NEWKEYS pipeline block + queuedPackets flush
- SshSession: onClose timing fix
- TerminalSession: handleSshClosed, password retry state
- PacketCodec: diagnostics for decode path

Diagnostics added during E2E debugging:
- TerminalPage.sendTextLine input logging
- Channel: open conf hex / window adjust / reply / write-blocked logs
- TerminalSession: input-dropped warn, openShell result logs

E2E evidence: Haven (HavenE2E emulator) -> WSL Debian sshd :2223,
TOFU accept (SHA256:5LteCJGn...), password auth, PTY shell READY,
command 'echo HAVEN-E2E-OK> /tmp/haven_e2e_final.txt' sent via Text bar,
file verified on host via wsl cat.
This commit is contained in:
STRIX
2026-09-09 09:02:34 +08:00
parent 86db8b01bf
commit 6c8f687ac8
9 changed files with 163 additions and 20 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB