pub struct AttachPage {Show 16 fields
pub id: String,
pub session: String,
pub conversation: String,
pub agent: String,
pub run: Option<String>,
pub generation: u64,
pub cols: u16,
pub rows: u16,
pub lines: Vec<AttachRow>,
pub full: bool,
pub cursor: Option<[u16; 2]>,
pub application_cursor: bool,
pub bracketed_paste: bool,
pub ended: bool,
pub exit: Option<String>,
pub note: Option<String>,
}Expand description
The screen of a conversation the owner took over in its agent’s own
terminal, as attach and attach_io return it: the rows that changed
since the client’s after, never the terminal’s raw output.
Fields§
§id: StringThis client’s hold on the terminal: attach_io and attach_detach
name it. Another attach of the same conversation replaces it.
session: StringThe session that holds the conversation.
conversation: StringThe conversation taken over, such as codex-2.
agent: StringThe agent, such as codex.
run: Option<String>The takeover’s delegated run, whose activity log records it.
generation: u64Pass as after to read only what changes next.
cols: u16The screen’s width, in cells.
rows: u16The screen’s height, in rows.
lines: Vec<AttachRow>Every row whose content changed since after; all of them when
full.
full: boollines holds the whole screen: the client starts over from blank.
cursor: Option<[u16; 2]>The cursor, as [row, col]; absent while the agent hides it.
application_cursor: boolThe agent asked for application cursor keys (ESC O A for Up).
bracketed_paste: boolThe agent asked for bracketed paste.
ended: boolThe agent’s terminal closed: its process exited or was stopped, so the conversation goes back to SCV’s turns.
exit: Option<String>How it ended, such as exit 0 or stopped by the owner.
note: Option<String>SCV’s sentence about input it could not deliver, such as an agent that stopped reading its terminal.