v0.1.8
What's Changed
π E2E Encryption Improvements
- Eager-load Node.js crypto modules β replaced dynamic
await import("node:crypto")with static eager loading to fix hangs in OpenClaw gateway extension loader - Cache derived keys β E2E service now caches derived encryption keys globally (
__e2e_nodeCrypto/__e2e_nodeUtil) to avoid redundant imports and improve performance - Encrypt agent replies β the plugin
deliver()function now encrypts outgoing agent messages (text & media captions) with E2E key, matching the existing userβagent encryption path - Fix decrypted text forwarding β agent message handler now correctly passes decrypted text (instead of raw ciphertext) to the command pipeline (
Body,RawBody, etc.)
π₯οΈ UI Enhancements
- Password visibility toggle β added show/hide toggle for E2E password fields in both Onboarding and E2E Settings pages
π§ͺ Testing
- E2E chat test script β added
scripts/test-e2e-chat.tsfor validating encryption/decryption roundtrip
π§ Other
- Enhanced logging throughout the E2E encryption pipeline (key derivation, encrypt, decrypt, message forwarding) for easier debugging
Full Changelog: v0.1.7...v0.1.8