Add model grouping to the agent command center (#44957)

## What changed

- Cycle task grouping through project, status, and model with `Ctrl+S`, and show the active grouping in the footer.
- Group tasks by model with the most recently updated tasks first within each group. Use `Unknown` for missing or empty model names.
- Display the model in task details and refresh it when thread settings change.
- In model grouping, dispatch new tasks without inheriting the selected task's working directory, matching status grouping.

## Testing

Add coverage for model grouping, selection preservation, navigation, and new-task dispatch across grouping modes. Update snapshots for model details and grouping hints.

GitOrigin-RevId: 429cf61c1e7438ba3b2f989d3ed14e12545856f7
This commit is contained in:
Eric Traut authored and copyberry committed 2026-09-12 02:24:02 +00:00
1 parent 944d6fd1ba
commit 53ff712a48
23 files changed
+230 -74

No files matched your search

@@ -12,6 +12,7 @@ expression: "render_bottom_popup(&app.chat_widget, 100)"
│
│ Project
│ /tmp/project
│ Model: Unknown
│
│ Prompt
│ Selected task
@@ -20,7 +21,6 @@ expression: "render_bottom_popup(&app.chat_widget, 100)"
│
│
│
│
New task
› Keep this task draft!
@@ -12,6 +12,7 @@ expression: "render_bottom_popup(&app.chat_widget, 100)"
│
│ Project
│ /tmp/project
│ Model: Unknown
│
│ Prompt
│ Selected task
@@ -20,7 +21,6 @@ expression: "render_bottom_popup(&app.chat_widget, 100)"
│
│
│
│
New task
› Keep this task draft!
@@ -12,6 +12,7 @@ expression: "render_bottom_popup(&app.chat_widget, 100)"
│
│ Project
│ /tmp/project
│ Model: Unknown
│
│ Prompt
│ New task
@@ -20,7 +21,6 @@ expression: "render_bottom_popup(&app.chat_widget, 100)"
│
│
│
│
New task
› Describe a new task