STRIX b18039991b T7: VT terminal emulator (parser, buffer, emulator, input, self-test)
- VtParser: Paul Williams state machine subset - UTF-8 decode (strict,
  FFFD on overlong/surrogate/interrupt), C0 execute, C1 shortcuts,
  ESC/ESC_INT/SS3/CSI/OSC(BEL|ST)/DCS(prefix+hook+data)/STR strings,
  CAN/SUB abort, reprocess semantics for aborted strings
- TerminalBuffer: main + lazy alt grids, scrollback 5000 (main only,
  region top==0), DECSTBM margins, tab stops, IL/DL/ICH/DCH/ECH/SU/SD/
  RI with wide-cell orphan repair, per-row dirty flags, resize
- TerminalEmulator: SGR (16/256/truecolor, 38;2/48;2), deferred wrap
  (DECAWM), DECSET/RST 1/6/7/25/47/1000/1002/1003/1004/1006/1047/1048/
  1049/2004, origin mode, IRM, DECSC/RC + CSI s/u, DECSTBM, RIS, DECALN,
  REP; replies DA1 ESC[?1;2c, DA2 ESC[>0;100;0c, DSR 5/6, XTVERSION
  DCS >|HavenOH(0.1) ST, CSI 18t size report; OSC 0/2/7/8/9/52/777 with
  hyperlink scheme whitelist
- VtInput: xterm key encodings (arrows/DECCKM/Home/End/PgUp..F12 with
  modifier params, F1-F4 SS3, ctrl/alt maps), bracketed paste, SGR mouse
- VtSelfTest: 12 cases incl. CJK double-width, alt-screen round-trip,
  scrollback growth, scroll region + RI, query replies, and the
  'echo ni hao && vim' byte-stream replay (T7 acceptance) - 12/12 pass
- DiagPage: button 11 runs the emulator self-test

Verified: Node 24 transform-types run 12/12 PASS; hvigor BUILD SUCCESSFUL
2026-09-08 15:50:09 +08:00

Haven for HarmonyOS

Free, open-source SSH client for HarmonyOS — a port of Haven (Android) by GlassHaven.

SSH · VT100/xterm terminal · connection & key management.

Status

MVP (0.1.x) — SSH terminal + connection management:

  • Pure TypeScript SSH-2.0 stack (no native libraries)
    • KEX: curve25519-sha256, ecdh-sha2-nistp256, strict-kex
    • Ciphers: aes128/256-gcm@openssh.com, aes128/192/256-ctr
    • MACs: hmac-sha2-256/512 (+ EtM variants)
    • Auth: password, publickey (ssh-ed25519, ecdsa-sha2-nistp256, rsa-sha2-256/512)
    • Host key TOFU verification with SHA256 fingerprints
  • VT terminal emulator with 256-color/truecolor, alternate screen, mouse modes, bracketed paste, OSC 52 clipboard, CJK double-width, scrollback
  • Connection manager with quick connect (user@host[:port]), color tags
  • On-device SSH key management (generate / import / copy public key)
  • Keyboard toolbar with sticky Ctrl/Alt and macro snippets
  • English + 简体中文

Requires OpenSSH ≥ 7.4 on the server side.

Build

Open in DevEco Studio (API 26+), or:

hvigorw assembleHap

License

AGPL-3.0

This project is a port of Haven (GlassHaven, AGPL-3.0). The SSH protocol stack and terminal emulator are re-implemented in TypeScript following the algorithms and behavior of the original (JSch defaults / libvterm feature set).

See NOTICE.md for attributions.

S
Description
No description provided
Readme AGPL-3.0
13 MiB
Languages
Kotlin 88.2%
Rust 4%
TypeScript 3.3%
C 1.6%
Shell 1.3%
Other 1.5%