Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
ptyrelay
command
Command ptyrelay is the ptyrelay CLI.
|
Command ptyrelay is the ptyrelay CLI. |
|
ptyrelay-agent
command
Command ptyrelay-agent is the remote-side binary that ptyrelay's AgentBackend talks to.
|
Command ptyrelay-agent is the remote-side binary that ptyrelay's AgentBackend talks to. |
|
ptyrelay-mcp
command
Command ptyrelay-mcp is a Model Context Protocol (MCP) server that exposes ptyrelay's RemoteFS / RemoteExec surface as MCP tools.
|
Command ptyrelay-mcp is a Model Context Protocol (MCP) server that exposes ptyrelay's RemoteFS / RemoteExec surface as MCP tools. |
|
internal
|
|
|
shellquote
Package shellquote escapes strings for safe inclusion in POSIX shell command lines.
|
Package shellquote escapes strings for safe inclusion in POSIX shell command lines. |
|
testpty
Package testpty provides a channel.Channel backed by a real PTY + shell subprocess, for integration tests that need PTY semantics (cooked-mode echo, line discipline, real flushing) the way production transports deliver them.
|
Package testpty provides a channel.Channel backed by a real PTY + shell subprocess, for integration tests that need PTY semantics (cooked-mode echo, line discipline, real flushing) the way production transports deliver them. |
|
pkg
|
|
|
backend
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. |
|
backend/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. |
|
backend/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). |
|
backend/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. |
|
bootstrap
Package bootstrap installs the ptyrelay-agent binary on the remote.
|
Package bootstrap installs the ptyrelay-agent binary on the remote. |
|
channel
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. |
|
channel/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. |
|
channel/tmux
Package tmux provides a channel.Channel backed by a tmux pane.
|
Package tmux provides a channel.Channel backed by a tmux pane. |
|
channel/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). |
|
proto
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. |
|
session
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. |
Click to show internal directories.
Click to hide internal directories.