Osewa是一款旨在作为SSH和Mosh替代品的开源终端协议,专为AI Agent时代设计1。该协议的核心特性是支持长时间运行的AI Agent任务,并允许用户从不同设备(如笔记本、手机)无缝接入及接管会话1。
在技术架构上,Osewa将会话状态保存在主机端,并通过Ghostty引擎处理渲染1。传输层优先使用QUIC协议以提供300ms的启动优势,若UDP受阻则自动切换至WebSocket1。针对慢速网络环境,该协议优化了输入延迟和屏幕同步机制,确立按键输入优先于批量数据传输的原则,且只传输最新屏幕状态而非历史积压数据1。
Osewa has been introduced as an open-source alternative to established remote access tools like SSH and Mosh, specifically engineered to support long-running AI agent tasks 1. The protocol is built on an architecture where session state persists on the host side, enabling users to seamlessly take over active sessions from different devices, such as switching between a laptop and a smartphone without interruption 1. Rendering is handled by the Ghostty engine 1.
The technical implementation prioritizes performance and reliability across various network conditions. Osewa utilizes QUIC or TCP for data transmission, with QUIC offering a 300-millisecond startup advantage; if UDP traffic is blocked, the system automatically degrades to WebSocket transport 1. To optimize for low-bandwidth environments, the protocol ensures that keystroke input takes precedence over bulk data transfers and synchronizes only the latest screen state rather than replaying historical data backlog 1.
评论
还没有评论,欢迎留下第一条。