跳到正文
北京时间
原文
Elon Musk· @elonmusk · X·· 2026-05-19精选AI 评分71
AI 导读

马斯克在推文中请求帮助提升 Grok Build。用户 @morganlinton 分享了使用 Grok Build 完成 PasteLocal 项目中 relay 功能开发的体验,称赞其全面性令人惊叹。该功能实现周期短,且包含了端到端加密、数据持久化、自动同步、双向命令行交互等关键技术特性,并经过了多轮严格的代码审查与修复。马斯克此举意在收集更广泛的反馈,以持续改进该开发工具。

推荐理由

below_threshold:T2 推文门槛 75,当前 finalScore=71

正文 · 原文

Please help make Grok Build great!

Much appreciated, Elon.

引用Morgan@morganlinton
Phew, Grok Build is really thorough, pretty incredible. Relay feature for PasteLocal is done, pushing to Github now. And if you want to know what this adds, here's a bit more about it, this is a feature I really wanted in there, and honestly didn't really expect to have done this week. • Per-peer E2E encryption: clipboard data is encrypted individually for each paired device using X25519 + HKDF + AES-GCM (no plaintext ever leaves the client) • Durable persistence: relay state is now stored in an atomic state.json with proper TTL handling and compaction. Pending clips survive relay-server restarts • Safe compaction: fixed unsafe map mutation during expiration/compaction that could cause data loss or undefined behavior • Full bidirectional CLI: new commands: pastelocal relay send, inbox, fetch, and status, plus pastelocal-remote --relay --peer --send • Auto-sync: when watch.enabled + http://relay.auto_upload are on, meaningful clipboard changes are automatically pushed to paired devices • Improved DX: doctor checks are now only shown when relay is enabled, and the TUI shows basic relay status • Multiple review cycles: went through full implement → review → fix → re-review (effort 4), plus a final targeted regression fix round Try it out and please send any and all feedback!
在 X 查看被引用的帖子

来源:Elon Musk · x.com