[Feature Request] ChatBox architecture cleanup
Motivation
The current ChatBox and related frontend state/rendering logic have accumulated a lot of responsibility over time. As the product architecture has evolved, especially around projects, sessions, task execution, and richer agent interactions, the existing structure is becoming harder to maintain and extend.
We need a cleaner ChatBox architecture that can better support the next release, including improved session/task display, clearer state ownership, and future UI/UX updates from design.
Solution
Refactor ChatBox and related frontend state/rendering logic.
This issue tracks the requirement, not a fixed implementation plan. The exact component structure, state model, and visual design should be refined during development with design input.
The goal is to make ChatBox easier to maintain, easier to extend, and better aligned with the current product direction.
Alternatives
Keep patching the existing ChatBox structure. This may be faster short-term, but it can make the frontend harder to maintain as more session, task, and human-in-the-loop interactions are added.
Additional context
No response