peer-term 1.3.1 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/package.json +1 -1
- package/src/index.js +7 -0
package/README.md
CHANGED
|
@@ -47,6 +47,7 @@ peer-term --verbose # enable debug logging
|
|
|
47
47
|
- **End-to-End Encrypted**: Terminal data is encrypted locally using AES-256-GCM with ECDH P-256 key exchange. The relay never sees plaintext. A `--secure` flag enables an out-of-band fingerprint check for strict MITM protection.
|
|
48
48
|
- **WebRTC P2P**: Creates a direct Peer-to-Peer connection on the same LAN for zero-latency, relay-free sessions.
|
|
49
49
|
- **Read-Only Mode**: Guests can view your terminal but cannot type commands.
|
|
50
|
+
- **File Uploads**: Clients can drag-and-drop to securely upload files directly to `~/peerterm-uploads/` on the host machine. Fully encrypted end-to-end.
|
|
50
51
|
- **Custom Start Path**: Set the starting directory with `--path`.
|
|
51
52
|
- **Resilient Connections**: Both host and client get a 2-minute rejoin window if their IP changes or connection drops. PTY state is fully preserved — no session restart needed.
|
|
52
53
|
- **Multi-Session**: Manage multiple simultaneous sessions with the interactive CLI menu.
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -909,6 +909,13 @@ class Session {
|
|
|
909
909
|
this._finalizeFile(msg.id);
|
|
910
910
|
break;
|
|
911
911
|
}
|
|
912
|
+
case 'file-cancel': {
|
|
913
|
+
if (this._incomingFiles[msg.id]) {
|
|
914
|
+
delete this._incomingFiles[msg.id];
|
|
915
|
+
this.log(`File upload cancelled by client: ${msg.id}`);
|
|
916
|
+
}
|
|
917
|
+
break;
|
|
918
|
+
}
|
|
912
919
|
}
|
|
913
920
|
}
|
|
914
921
|
|