StreamAccumulator (Stage 3 Streaming Representation)
- Entity ID:
ent-20260423-r31a000000038 - Type:
concept - Scope:
private - Status:
active
Description
Third stage of the Three-Stage Message Pipeline. Holds the partial in-flight API message, the list of content-block deltas received so far, and a per-tool_use_id buffer Map that accumulates streaming tool-use JSON until complete. Enables partial rendering while maintaining eventual consistency with the finalized APIMessage.
Key claims
- Claude Code maintains three simultaneous message representations