Skip to main content

Module terminal

Module terminal 

Source
Expand description

The terminal’s wire shapes: what a client draws, what a hand-off parks, and what the agent’s tools answer.

The bytes are not here. Terminal output crosses as its own binary frame kinds (TERMINAL_OUTPUT_TAG and TERMINAL_INPUT_TAG); these types are the JSON around it - the strip’s row, the attach snapshot, the parked ask and the state a tool reads.

Re-exports§

use serde::Deserialize; 🔒
use serde::Deserialize; 🔒
use serde::Serialize; 🔒
use serde::Serialize; 🔒
use crate::SessionSlot; 🔒

Structs§

TerminalExit
A command’s exit.
TerminalHandOff
A terminal hand-off: a session asking the person at a client to type into the seat’s terminal before it can carry on.
TerminalInputExpected
One input the terminal is waiting for, with the evidence behind it.
TerminalState
What the terminal is doing, as the agent reads it.
TerminalSummary
One terminal as the strip draws it.

Enums§

TerminalInputKind
What kind of input the terminal is waiting for.
TerminalSource
Where a state answer came from.

Constants§

MAX_COLS
The most columns and rows a resize may name.
MAX_ROWS
MIN_COLS
MIN_ROWS
TERMINAL_INPUT_TAG
The binary kind a client’s terminal input crosses as: id u16, raw bytes.
TERMINAL_OUTPUT_TAG
The binary kind a terminal’s output crosses as: id u16, seq u32, raw bytes.

Type Aliases§

TerminalHandOffAnswer
One answer to a parked terminal hand-off: the ending, the door that sent it and the connection that carried it.