Add Process UI Components to Core
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3493244. -->
Reported by: [seogow](https://www.drupal.org/user/3065779)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Add core UI components to the AI module for visualizing and managing AI processes, with real-time updates using Server-Sent Events (SSE).</p>
<p>Currently, there's no standardized way to:</p>
<ul>
<li>View process status and progress in real-time</li>
<li>Stream updates without polling</li>
<li>Manage running processes efficiently</li>
<li>Display process history</li>
<li>Provide continuous feedback for long-running operations</li>
<li>Integrate process visualization with entities</li>
</ul>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<ol>
<li>Real-time Updates
<ul>
<li>SSE controller for process updates</li>
<li>Event stream handling</li>
<li>Real-time progress indicators</li>
<li>Stream reconnection handling</li>
<li>Fallback mechanisms</li>
</ul>
</li>
<li>Views Integration
<ul>
<li>Process list view</li>
<li>Process status view</li>
<li>Custom views field handlers</li>
<li>Filterable/sortable process data</li>
<li>Bulk operations support</li>
</ul>
</li>
<li>Process Display Components
<ul>
<li>Real-time status indicator</li>
<li>Streaming progress bar</li>
<li>Live token updates</li>
<li>Error display</li>
<li>Process control buttons</li>
</ul>
</li>
<li>Entity Integration Framework
<ul>
<li>Local tasks (tabs) integration</li>
<li>Entity-specific process views</li>
<li>Contextual filters</li>
<li>Process history per entity</li>
</ul>
</li>
<li>Stream Management
<ul>
<li>Connection handling</li>
<li>Error recovery</li>
<li>Bandwidth optimization</li>
<li>Multiple stream coordination</li>
<li>Client state management</li>
</ul>
</li>
</ol>
<h3 id="summary-api-changes">API changes</h3>
<ul>
<li>New SSE endpoints</li>
<li>New local tasks</li>
<li>Stream handling services</li>
</ul>
> Related issue: [Issue #3493240](https://www.drupal.org/node/3493240)
issue