Protocol Verbs

Discovery

Discovery: part of the Protocol Verbs of TUIOS.

This page is one part of docs/protocol-verbs.md of the tuios repository. The Protocol Verbs page lists every part.

hello Added in v0.8.0

Handshake: report the protocol version this daemon speaks and the version range it accepts. Also tells the daemon the caller's terminal, so a session this connection later creates (new-session, switch-session's create) gets it rather than the daemon's fallback.

ParamTypeRequiredDefaultDescription
clientstringName of the calling program, for the daemon log.
versionstringVersion string of the calling program.
protocolintProtocol version the caller speaks. The daemon reports a mismatch rather than failing later.
termstringThe caller's TERM. Omit, or pass empty, for a caller with no terminal of its own (a script, CI, an agent): its sessions get the daemon's fallback.
color_termstringThe caller's COLORTERM.
{"id":1,"verb":"hello","params":{"client":"tuios","version":"1.2.3","protocol":1}}

list-verbs Added in v0.8.0

List every supported verb with its parameter schema and examples, plus the protocol version and error-code catalog.

ParamTypeRequiredDefaultDescription
verbstringDescribe only this verb. Omit to describe all of them.
{"id":1,"verb":"list-verbs"}
{"id":1,"verb":"list-verbs","params":{"verb":"capture-pane"}}

tuios lives only at tuios.dev and github.com/Gaurav-Gosain/tuios. tuios has no X or Twitter account. An account that offers a tuios token or presale is not this project.

On this page