ResumeSession
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| BaseSessionConfig clawd_code_sdk.models.options Common fields for all session configurations. |
⋔ Inheritance diagram¶
graph TD
548178696["options.ResumeSession"]
2922679169["options.BaseSessionConfig"]
2751680898["builtins.object"]
2922679169 --> 548178696
2751680898 --> 2922679169
🛈 DocStrings¶
Bases: BaseSessionConfig
Resume an existing session by ID.
Source code in src/clawd_code_sdk/models/options.py
at_message
class-attribute
instance-attribute
¶
Resume from a specific message UUID within the session.
drops_turn
class-attribute
instance-attribute
¶
Guard for truncating resume (--resume-drops-turn).
Declares the user message UUID of the turn that at_message is expected to
drop. The CLI refuses the resume if the truncation would discard anything else.
Only meaningful together with at_message.
fork
class-attribute
instance-attribute
¶
If True, fork to a new session ID instead of continuing in-place.