internal/

directory
v0.0.0-...-f21ad71 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MIT

Directories

Path Synopsis
Package agent implements `cotty agent`: an AI model that joins a session as an ordinary guest.
Package agent implements `cotty agent`: an AI model that joins a session as an ordinary guest.
Package arena implements `cotty arena`: AI models compete at paper trading Robinhood Chain Stock Tokens on live prices, on one leaderboard that a whole cotty session can watch.
Package arena implements `cotty arena`: AI models compete at paper trading Robinhood Chain Stock Tokens on live prices, on one leaderboard that a whole cotty session can watch.
Package audit writes a session's "who did what" trail as JSON lines: every applied keystroke with the participant it came from, plus joins, leaves, permission changes, and kicks.
Package audit writes a session's "who did what" trail as JSON lines: every applied keystroke with the participant it came from, plus joins, leaves, permission changes, and kicks.
Package client implements `cotty join`: it connects to a hosted session, mirrors the host PTY to the local terminal, and forwards keystrokes when the session allows guest input.
Package client implements `cotty join`: it connects to a hosted session, mirrors the host PTY to the local terminal, and forwards keystrokes when the session allows guest input.
Package ctl is the control channel for a running `cotty host`: a unix socket next to the session that `cotty ctl` connects to for guest management (list/allow/deny/kick) and questions for the session's agents (ask).
Package ctl is the control channel for a running `cotty host`: a unix socket next to the session that `cotty ctl` connects to for guest management (list/allow/deny/kick) and questions for the session's agents (ask).
Package desk is a read-only Robinhood Chain market dashboard for the terminal.
Package desk is a read-only Robinhood Chain market dashboard for the terminal.
Package e2ee encrypts session content end-to-end for relayed sessions, so the relay forwards ciphertext it cannot read.
Package e2ee encrypts session content end-to-end for relayed sessions, so the relay forwards ciphertext it cannot read.
Package hood reads Robinhood Chain market data without keys or contracts of its own: the chain over public JSON-RPC, Stock Token metadata and quotes from Robinhood's read-only REST API, and the Chainlink feed directory for on-chain price feed addresses.
Package hood reads Robinhood Chain market data without keys or contracts of its own: the chain over public JSON-RPC, Stock Token metadata and quotes from Robinhood's read-only REST API, and the Chainlink feed directory for on-chain price feed addresses.
Package host implements `cotty host`: it spawns the user's shell in a PTY, keeps the local terminal attached as usual, and shares the session with guests — either by listening locally or by dialing out to a relay.
Package host implements `cotty host`: it spawns the user's shell in a PTY, keeps the local terminal attached as usual, and shares the session with guests — either by listening locally or by dialing out to a relay.
Package protocol defines the wire format for cotty sessions.
Package protocol defines the wire format for cotty sessions.
Package record writes session recordings in asciicast v2 format, so they can be replayed with `cotty replay` or any asciinema-compatible player.
Package record writes session recordings in asciicast v2 format, so they can be replayed with `cotty replay` or any asciinema-compatible player.
Package relay implements `cotty relay`: a public rendezvous server that lets hosts behind NAT share sessions.
Package relay implements `cotty relay`: a public rendezvous server that lets hosts behind NAT share sessions.
Package replay plays back an asciicast v2 recording (as written by `cotty host -record`, or by asciinema) in the local terminal.
Package replay plays back an asciicast v2 recording (as written by `cotty host -record`, or by asciinema) in the local terminal.
Package session tracks the guests of one cotty session: their names, per-guest write permission, and presence.
Package session tracks the guests of one cotty session: their names, per-guest write permission, and presence.
Package webui serves the browser client: an xterm.js terminal speaking the same websocket protocol as `cotty join`, with end-to-end encryption handled in the page via WebCrypto.
Package webui serves the browser client: an xterm.js terminal speaking the same websocket protocol as `cotty join`, with end-to-end encryption handled in the page via WebCrypto.
Package wsconn wraps a websocket connection with a write lock so concurrent senders (broadcast loops, per-connection notices) can't interleave frames.
Package wsconn wraps a websocket connection with a write lock so concurrent senders (broadcast loops, per-connection notices) can't interleave frames.

Jump to

Keyboard shortcuts

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