Redesign Agents sidebar cards

Updated how Agent task cards appear in the sidebar to better show project and workspace identity, keep task titles consistent across interactions, and prevent user replies from overwriting agent status information. Also fixed the Activity sidebar to properly respect auto-title settings and follow the most recent active task.