pkg/

directory
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2026 License: MIT

Directories

Path Synopsis
Package backend defines the high-level remote capability surface — RemoteFS + RemoteExec — that callers (Claude Code, etc.) consume.
Package backend defines the high-level remote capability surface — RemoteFS + RemoteExec — that callers (Claude Code, etc.) consume.
agent
Package agent implements backend.Backend by talking to a remote ptyrelay-agent over a session.FramedSession.
Package agent implements backend.Backend by talking to a remote ptyrelay-agent over a session.FramedSession.
router
Package router implements backend.Backend by composing an agent.Backend (preferred for performance + binary safety + separated stderr) with a shell.Backend (always-available fallback).
Package router implements backend.Backend by composing an agent.Backend (preferred for performance + binary safety + separated stderr) with a shell.Backend (always-available fallback).
shell
Package shell implements backend.Backend by composing shell commands over a session.Session.
Package shell implements backend.Backend by composing shell commands over a session.Session.
Package bootstrap installs the ptyrelay-agent binary on the remote.
Package bootstrap installs the ptyrelay-agent binary on the remote.
Package channel defines the byte-stream transport abstraction that the Session layer rides on top of.
Package channel defines the byte-stream transport abstraction that the Session layer rides on top of.
subprocess
Package subprocess provides a generic channel.Channel that runs a local command and treats its stdio as the byte stream.
Package subprocess provides a generic channel.Channel that runs a local command and treats its stdio as the byte stream.
tmux
Package tmux provides a channel.Channel backed by a tmux pane.
Package tmux provides a channel.Channel backed by a tmux pane.
websocket
Package websocket provides a generic channel.Channel backed by a single WebSocket connection (RFC 6455).
Package websocket provides a generic channel.Channel backed by a single WebSocket connection (RFC 6455).
Package proto defines the wire types and the framing codec for talking to ptyrelay-agent.
Package proto defines the wire types and the framing codec for talking to ptyrelay-agent.
Package session defines the framing contract that turns a raw Channel into a request/response RPC channel.
Package session defines the framing contract that turns a raw Channel into a request/response RPC channel.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL