pub struct ResumeConfig {
pub show_banner: bool,
pub auto_expand: bool,
pub expand_default_lines: usize,
pub show_recap: bool,
}Expand description
[session.resume] — resume-visibility settings (spec-068 §13, §18).
Controls the neutral “Resuming session” banner shown by display-owning channels
(CLI, TUI) on startup and the bound applied to the /history command with no
argument. Has no effect on chat channels (Telegram/Discord/Slack) or ACP/IDE
sessions, which are exempt from the automatic banner in v1 (spec-068 §13.2, §13.8).
Fields§
Show the neutral resume banner on display-owning channels (CLI/TUI) when
resuming a non-empty prior conversation. Default: true.
auto_expand: boolIntended to always render full history on startup instead of the collapsed banner.
Not consumed in v1 — no code path currently dispatches an /history-equivalent
expansion when this is set; enabling it changes nothing observable. Reserved for a
future PR (would need the same /history all pagination path this PR already built,
triggered automatically at startup instead of on user request). Default: false.
expand_default_lines: usizeBound applied to /history with no argument — the last N messages, sliced
before formatting (INV-SP-6). Default: 20.
show_recap: boolOpt-in: fold the cached session.recap summary into the resume banner.
Not consumed in v1 — wiring this would require invoking the /recap LLM
path at startup, which is explicitly out of scope for spec-068 §13 (resume
visibility is a presentation-only feature over already-persisted data).
Reserved for a future PR. Default: false.
Trait Implementations§
Source§impl Clone for ResumeConfig
impl Clone for ResumeConfig
Source§fn clone(&self) -> ResumeConfig
fn clone(&self) -> ResumeConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more