feat: add fuzzy filter to TUI session picker

Users can now type to filter sessions in real-time:
- FilterableSelectList component wraps pi-tui's fuzzyFilter
- Matches against displayName, label, subject, sessionId
- j/k navigation, Enter selects, Escape clears filter then cancels
- Uses derivedTitle from previous commit for better display

Refs #1161
This commit is contained in:
CJ Winslow
2026-01-18 02:58:24 -08:00
committed by Peter Steinberger
parent 83d5e30027
commit 95f0befd65
5 changed files with 223 additions and 10 deletions

View File

@@ -64,6 +64,7 @@ export type GatewaySessionList = {
lastProvider?: string;
lastTo?: string;
lastAccountId?: string;
derivedTitle?: string;
}>;
};
@@ -183,6 +184,7 @@ export class GatewayChatClient {
activeMinutes: opts?.activeMinutes,
includeGlobal: opts?.includeGlobal,
includeUnknown: opts?.includeUnknown,
includeDerivedTitles: opts?.includeDerivedTitles,
agentId: opts?.agentId,
});
}