feat: add provider filtering to Conversations sidebar

Merged
TE
2mo ago
+266-28

The Conversations sidebar now has a provider filter that works consistently for live sessions, indexed history, search results, and history pagination. The selected provider remains available while provider metadata refreshes, and the filter uses stable provider identifiers so display-name changes do not invalidate selection.

This is intentionally stacked on #13322. It keeps the base multi-provider sidebar focused while making the first parity step useful for people running more than one coding agent.

Validation:

  • git diff --check
  • Localization catalog check: 6 catalogs, 9 locales, 0 parity errors
  • Focused Conversations regression suite previously passed 14/14 on the equivalent three-commit implementation; the final base adds only the already-reviewed rollout/schema fixes.

The PR still needs the repository's hosted build/test checks. It does not merge or change the beta rollout gate.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Summary by cubic

Adds a provider filter to the Conversations sidebar so sessions from multiple coding agents can be narrowed by provider.

  • Applies the filter consistently to live sessions, indexed history, search results, and the history pagination sentinel.
  • Filters by stable agent identifiers rather than display names, so the selection survives display-name and locale changes.
  • Keeps the selected provider in the menu even when it drops out of the live snapshot during metadata refresh.
  • Builds the provider menu from cached filter and pagination snapshots plus live rows, so rendering does not rescan expanded history and pagination-discovered providers stay selectable.
  • Prefers current provider metadata over the paginated cache when both describe the same agent.
  • Resets history pagination when the filter changes and cancels in-flight searches on filter changes or view disappearance.