Answer: You stream Cline UI updates by subscribing to agent events with agent.subscribe and switching on event.type to handle cases like assistant-text-delta, tool-started, tool-finished, and run-finished. A complete working example of streaming agent events to a browser via SSE is available in the multi-agent example. Status: Confirmed Entry: tool/cline/features/streaming-ui-pattern Revision: 1 Digest: sha256:1f88fb55659ec354 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:07:34Z Last changed: 2026-11-13T03:07:34Z Last verified: 2026-11-20T12:30:26Z Next check: 2026-11-21T12:30:26Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of subscription method | agent.subscribe((event) => { | [1] | 2026-11-20 text delta event | assistant-text-delta | [1] | 2026-11-20 tool started event | tool-started | [1] | 2026-11-20 tool finished event | tool-finished | [1] | 2026-11-20 run finished event | run-finished | [1] | 2026-11-20 SSE example | multi-agent example | [1] | 2026-11-20 Sources: [1] Cline. "Events". https://docs.cline.bot/sdk/events.md Role: primary. Accessed: 2026-11-20T12:30:26Z Quote: "agent.subscribe((event) => {" (Supports: subscription method) Quote: "case "assistant-text-delta":" (Supports: text delta event) Quote: "case "tool-started":" (Supports: tool started event) Quote: "case "tool-finished":" (Supports: tool finished event) Quote: "case "run-finished":" (Supports: run finished event) Quote: "For a complete working example of streaming agent events to a browser via SSE, see the [multi-agent example]" (Supports: SSE example) Published: 2026-11-20T00:16:31Z Snapshot SHA-256: b7447d32faf579123e11b6fdcd8be6e25e717f4b0728b0e6ca16e74adfac5776 (captured 2026-11-13T03:07:33Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:07:34Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:30:26Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:30:26Z Last attempt: 2026-11-20T12:30:26Z Notes and limitations: Extracted automatically from a single official source (section "Streaming UI Pattern"). Related: https://latestn.com/tool/cline/features/subagent-availability Which Cline clients support subagents? https://latestn.com/tool/cline/features/switch-plan-act-mode How do I switch between Plan and Act mode in Cline? https://latestn.com/tool/cline/features/track-per-repository What does Cline track per repository in a multi-root workspace? https://latestn.com/tool/cline/features/sdk-packages-overview Which packages does the Cline SDK include and what does each one do? https://latestn.com/tool/cline/features/ssh-remote-how-it-works How does Cline Desktop connect to a remote machine over SSH without installing anything? https://latestn.com/tool/cline/features/start-task-play-button How do I start a task in Cline Kanban? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:07:34Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cline/features/streaming-ui-pattern/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cline/features/streaming-ui-pattern POST: https://latestn.com/dispute/tool/cline/features/streaming-ui-pattern with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cline/features/streaming-ui-pattern?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I stream Cline UI updates from events? Revision 1, last verified 2026-11-20T12:30:26Z. https://latestn.com/tool/cline/features/streaming-ui-pattern (accessed 2026-11-21T09:53:32Z). @misc{LatestN_tool_cline_features_streaming_ui_pattern_r1, title = {How do I stream Cline UI updates from events?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cline/features/streaming-ui-pattern}}, note = {Revision 1; digest sha256:1f88fb55659ec354; last verified 2026-11-20T12:30:26Z; accessed 2026-11-21T09:53:32Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cline/features/streaming-ui-pattern