HERMES-GIELIE/api
nesquena-hermes c5bb1fcaa0
stage #4688 (franksong2702): running-first session ordering in sidebar (#4699)
Overlays live pending_started_at/updated_at/last_message_at onto cached /api/sessions rows
(when newer), sorts active/running sessions first then by freshest effective timestamp, applies
the same running-first order in the frontend sidebar renderer, and groups date buckets with the
same runtime-aware timestamp (no stale header on resumed running sessions). routes.py +
sessions.js + 81-line test. Composes with #4680 cache-freeze + #4597 (98 session-list tests pass).

Co-authored-by: nesquena-hermes <agent@nesquena-hermes>
Co-authored-by: franksong2702 <franksong2702@users.noreply.github.com>
2026-06-22 03:52:19 -07:00
..
__init__.py
agent_health.py
agent_sessions.py
auth.py
background.py
background_process.py
clarify.py
commands.py
compression_anchor.py
config.py
dashboard_probe.py
extensions.py
gateway_chat.py
gateway_watcher.py
goals.py
helpers.py
kanban_bridge.py
metering.py
models.py
oauth.py
onboarding.py
passkeys.py
paths.py
plugin_providers.py
plugins.py
profiles.py
providers.py
request_diagnostics.py
rollback.py
route_approvals.py
routes.py
run_journal.py
runner_client.py
runtime_adapter.py
session_discoverability.py
session_events.py
session_lifecycle.py
session_ops.py
session_recovery.py
skill_usage.py
sse_chunked.py
startup.py
state_sync.py
streaming.py
system_health.py
terminal.py
todo_state.py
turn_journal.py
updates.py
upload.py
usage.py
webui_session_db.py
workspace.py
workspace_git.py
worktrees.py