Expand description
Session lifecycle, history paging, and idle-session option DTOs.
Structs§
- Agent
Mode Info - Non-secret metadata for a selectable CLI primary agent.
- Recent
Prompt - One genuine user-typed prompt from a workspace session archive.
- Recent
Prompts Params - Parameters for listing recent cross-session prompts.
- Recent
Prompts Result - Recent-prompts result. Echoes the requested scope so the client can match out-of-order responses when the scope changes mid-fetch.
- Session
Create Params - Parameters for creating an empty session.
- Session
History Message - Text restored from the durable message snapshot for a loaded session.
- Session
History Page - One bounded earlier page from a durable conversation.
- Session
History Params - Request an earlier bounded page of the selected archived conversation.
- Session
IdParams - Parameters for loading a durable session.
- Session
List Params - Parameters for listing recent sessions. The limit is a soft page size: omitted values keep the historical full-list behavior.
- Session
Load Result - Loaded durable session metadata and its bounded transcript projection.
- Session
Options Select Params - An explicit idle-session option change. Omitted values preserve existing choices.
- Session
Options Snapshot - Runtime options exposed without credentials or complete configuration documents.
- Session
Output Cursor - Cursor for reading more of a restored tool-output capture.
- Session
Output Page - One bounded page from an archived tool-output capture.
- Session
Output Read Params - Request one bounded page from a restored tool-output capture.
- Session
Summary - A persisted session available for reload.
- Theme
Preference Select Params - Persist a built-in CLI theme selected in Desktop.
Enums§
- Permission
Mode - Session execution and command confirmation policy.
Constants§
- MAX_
RECENT_ PROMPTS - Maximum prompts returned by one recent-prompts request.
- MAX_
SESSION_ HISTORY_ PAGE_ MESSAGES - Maximum message count accepted by one desktop archive-history page request.
- MAX_
SESSION_ LIST_ LIMIT - Maximum sessions returned by one
session/listrequest. - 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.