SendUserTurnOptions
What send_user_turn sends, composed from the generated turn/start params rather than restated.
Class in muse_code
commandId is excluded because Connection is the single minter
; sessionId because the session already
knows its own and a caller-supplied one could only disagree.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
input |
List[TurnInputPart] |
The turn’s input parts (the wire input member). |
display_text |
str | None |
Optional composer display text (wire displayText). |
if_busy |
IfBusy | None |
How to treat a submit while a turn runs (wire ifBusy). |
reasoning_effort |
ReasoningEffort | None |
The turn’s reasoning effort (wire reasoningEffort). |
workspace_roots |
List[str] | None |
A sticky replacement of the session’s runtime workspace-root set for this turn and subsequent turns (wire workspaceRoots). |
user_shell |
TurnUserShell | None |
The queued ! shell action this turn carries (wire userShell). |
composer_input |
_I | None |
What to hand back to the composer if this submit is ever retired — the protocol restores the INPUT, not the wire parts. Optional: a consumer rendering nothing optimistically has nothing to restore. |
Source
clients/sdk-py/src/muse_code/facade/turn_submit.py:41