on_select_changed(
self,
event: Select.Changed,
) -> None| Name | Type | Description |
|---|---|---|
event* | Select.Changed | The |
Handle the scope, sort, and agent Select dropdowns in the Options panel.
The agent branch updates the in-memory _filter_agent and re-filters
the loaded threads without re-querying the database; selecting the
"All agents" sentinel (_AGENT_VALUE_ALL) clears the filter. The scope
branch mirrors Claude Code's /resume: the picker is scoped to the
current working directory by default, and choosing "All directories"
widens the view to threads from every cwd (which does re-query).