Experimental Optional audioOptional audioReadonly sessionDirectory where console recordings (audio + session report) are written,
relative to the working directory. Mirrors python's AgentsConsole.
Optional transportWire the session's IO for console mode.
Static get
Process-wide singleton that carries the console transport (and audio IO) from the
consoleCLI runner into the AgentSession that starts inside the agent entrypoint. Mirrors pythonAgentsConsole.The runner sets enabled and the transport;
AgentSession._startImplthen calls acquireIo to wire the session and build itsSessionHost.