Skip to main content

Module session

Module session 

Source
Expand description

Session lifecycle, history paging, and idle-session option DTOs.

Structs§

AgentModeInfo
Non-secret metadata for a selectable CLI primary agent.
SessionCreateParams
Parameters for creating an empty session.
SessionHistoryMessage
Text restored from the durable message snapshot for a loaded session.
SessionHistoryPage
One bounded earlier page from a durable conversation.
SessionHistoryParams
Request an earlier bounded page of the selected archived conversation.
SessionIdParams
Parameters for loading a durable session.
SessionLoadResult
Loaded durable session metadata and its bounded transcript projection.
SessionOptionsSelectParams
An explicit idle-session option change. Omitted values preserve existing choices.
SessionOptionsSnapshot
Runtime options exposed without credentials or complete configuration documents.
SessionOutputCursor
Cursor for reading more of a restored tool-output capture.
SessionOutputPage
One bounded page from an archived tool-output capture.
SessionOutputReadParams
Request one bounded page from a restored tool-output capture.
SessionSummary
A persisted session available for reload.
ThemePreferenceSelectParams
Persist a built-in CLI theme selected in Desktop.

Enums§

PermissionMode
Session execution and command confirmation policy.

Constants§

MAX_SESSION_HISTORY_PAGE_MESSAGES
Maximum message count accepted by one desktop archive-history page request.
MAX_SESSION_OUTPUT_PAGE_BYTES
Maximum captured output returned by one on-demand desktop page.
RESTORED_OUTPUT_TRUNCATION_SUFFIX
Marker appended while more archived tool output is available.