feat(coding-agent): add threaded sort mode to /resume with tree display
Adds 'Threaded' as a new sort mode (now default) that displays sessions in a tree structure based on parent-child relationships. The tree is sorted by root session's modified date. Other sort modes (Recent, Fuzzy) continue to show flat lists. Sort mode cycles: Threaded -> Recent -> Fuzzy -> Threaded
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { fuzzyMatch } from "@mariozechner/pi-tui";
|
||||
import type { SessionInfo } from "../../../core/session-manager.js";
|
||||
|
||||
export type SortMode = "recent" | "relevance";
|
||||
export type SortMode = "threaded" | "recent" | "relevance";
|
||||
|
||||
export interface ParsedSearchQuery {
|
||||
mode: "tokens" | "regex";
|
||||
|
||||
Reference in New Issue
Block a user