zot/internal/core
patriceckhart 0cc003639c core: sort sessions by last-modified instead of filename
ListSessions sorted by filename descending. Filenames embed the
creation timestamp, so /sessions, --continue, and the resume
picker were effectively ordered by when each session was first
created, not when the user last worked in it.

Sort by filesystem ModTime descending instead, with filename desc
as a stable tie-break. The session you most recently touched now
sits at the top of every picker and is what --continue resumes,
even when newer-but-idle sessions exist.
2026-04-28 19:13:59 +02:00
..
agent.go session: persist each turn as it happens, flush on SIGTERM/SIGHUP 2026-04-28 08:01:12 +02:00
compact.go feat(compact): silent compaction with status line and orphan repair 2026-04-23 14:20:15 +02:00
confirm.go fix(no-yolo): don't auto-refuse tool calls in non-interactive modes 2026-04-19 19:17:05 +02:00
confirm_test.go feat(tool-gate): --no-yolo flag, confirm dialog, /yolo runtime toggle 2026-04-19 19:12:45 +02:00
core_test.go fix ci on windows: close reopened session in TestSessionRoundTrip 2026-04-18 11:01:42 +02:00
cost.go initial commit 2026-04-17 20:36:38 +02:00
events.go feat(tui): live-stream file body during write/edit tool calls 2026-04-20 08:37:14 +02:00
intercept_test.go feat(ext): phase 4 - full-event interception, arg rewrites, /reload-ext 2026-04-19 17:02:04 +02:00
session.go core: sort sessions by last-modified instead of filename 2026-04-28 19:13:59 +02:00
session_portable.go feat(session): /session fork + /session tree 2026-04-20 11:10:56 +02:00
session_portable_test.go feat(session): /session fork + /session tree 2026-04-20 11:10:56 +02:00
session_repair_test.go fix(core): repair orphan tool_use rows on session load 2026-04-21 19:36:47 +02:00
tool.go perf(anthropic): fix cost double-count, tighten caching, correct catalog 2026-04-19 18:57:18 +02:00