CliMessage (Stage 1 CLI Internal Representation)
- Entity ID:
ent-20260423-r31a000000036 - Type:
concept - Scope:
private - Status:
active
Description
First stage of the Three-Stage Message Pipeline. TypeScript interface with fields: type ('user'|'assistant'|'attachment'|'progress'), uuid (CLI-specific tracking), timestamp, optional message (APICompatibleMessage for user/assistant), optional attachment (AttachmentContent), optional progress (ProgressUpdate). Carries UUID, timestamps, and progress state that the API must never see.
Key claims
- Claude Code maintains three simultaneous message representations
Relations
- CliMessage (Stage 1 CLI Internal Representation) --[implements]--> Three-Stage Message Pipeline