Skip to main content

Module actor_cmds

Module actor_cmds 

Source
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§

engine_command_reply
handle_engine_command on runtime + the QueryResult value clients render. Returns (value, view_changed). Shared by the actor and the TUI’s ScriptedTransport so both answer identically.