mirror of
https://github.com/coder/coder.git
synced 2026-09-22 13:10:21 +08:00
Replaces the single-purpose PR diff right panel with a tabbed sidebar that shows both the existing PR diff and real-time git repository changes from the workspace agent. There's an accompanying backend PR [here](https://github.com/coder/coder/pull/22565). https://github.com/user-attachments/assets/bbd53f1c-d753-4574-a159-6dad5989e5e3 ## Backend surface One endpoint drives this feature: - **`WS /api/experimental/workspaceagents/{id}/git/watch`** — bidirectional WebSocket. The client sends `refresh` messages; the agent responds with `changes` messages containing per-repo branch and unified diff. The workspace agent also automatically pushes changes as they occur in the workspace.