Fixes a panic when `agent::NewThread` creates an Agent Panel terminal while the workspace is already being updated. Release Notes: - N/A
Fixes a panic when `agent::NewThread` creates an Agent Panel terminal while the workspace is already being updated. Release Notes: - N/A