Skip to content

Consider a first-class hosts/peers read UX #14

Description

@schickling-assistant

Problem

pty-relay already owns the remote pairing/transport model, but the CLI UX for discovering and reading from already-paired relay endpoints is a little hard to expose from higher-level tools without inventing local vocabulary. Downstream wrappers can end up naming this as a "fleet" even though the real abstraction is just relay hosts/peers.

Suggestion

Consider a first-class read-only host/peer UX, for example:

pty-relay hosts list
pty-relay hosts peek <host> <session>

or, if this belongs in pty as the user-facing entrypoint:

pty hosts list
pty hosts peek <host> <session>

Design constraints

  • Keep pty-relay as the source of truth for pairing and transport.
  • Avoid introducing a separate "fleet" abstraction unless there is a new topology model beyond relay hosts.
  • Keep this read-only at first: list paired/reachable hosts and peek existing sessions.
  • Preserve existing relay approval/security behavior.

Why upstream

A small upstream vocabulary would let downstream systems expose remote PTY reads without diverging or wrapping relay semantics with product-specific names.

Posted on behalf of @schickling
field value
agent_name 🏗️ co1-moraine
agent_session_id 5da54112-daf9-403c-af37-acb682362ac5
agent_tool Codex CLI
agent_tool_version 0.137.0
agent_runtime Codex CLI 0.137.0
agent_model unknown
runtime_profile /nix/store/4p78dsfk8riqcgk91zzjlgraibyf1hd4-coding-agent-runtime-profile/share/coding-agents/profile.json
skills_manifest /nix/store/cly1vi1qvxfyk37gmdk4qw4j33zrfpny-agent-skills-corpus/share/agent-skills/manifest.json
worktree dotfiles-pty-relay-hosts
machine dev3
tooling_profile dotfiles@e7e383b

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions