Expand description
SessionActor — command bodies that belong to the TUI port (A3):
engine_command (structured reply), submit_prepared, plugin_command,
resume, session_name, emit_subagent_rows. Kept apart from
actor.rs so the turn machine (B) and the command surface (A) never
touch the same file.
Functions§
- auth_
command_ reply /auth reload→{kind: output|error, text}. Token values never appear: success text is built byRuntime::reload_auth, failures carry the broker error (which is token-free by construction).- engine_
command_ reply handle_engine_commandonruntime+ theQueryResultvalue clients render. Returns(value, view_changed). Shared by the actor and the TUI’sScriptedTransportso both answer identically.