AgentLiveSession
Parameters and properties
Section titled “Parameters and properties”encodeRequired(text: string) => stringEncode one user message for stdin, including its line terminator, or return an empty string when the session sends it itself once the agent can accept input.readRequired(line: string) => AgentLiveReadRead one output line and return the user messages it confirms consumed and the protocol replies Outpost writes to stdin, such as handshake requests or refusals of server requests.