refactor(state): keep hermes_state_sessions.py under the file cap after the rebase

Main grew the facade by 12 lines; the list-row docstring folds to one line.
This commit is contained in:
Teknium committed 2026-10-20 03:08:06 -07:00
1 parent 2e6b6ad339
commit 401de3bf64
1 file changed
+1 -4
+1 -4
View File
@@ -842,10 +842,7 @@ class SessionSessionsMixin:
return self._session_row_dict(row) if row else None
def get_session_list_row(self, session_id: str) -> Optional[dict[str, Any]]:
"""The picker fields only, without ``get_session``'s prompt/tool JOIN and token flush.
The live listing reads one row per listed session on the gateway's loop; a full hydration
there is the cost the sweep does not need (title/source/activity/is-it-closed are columns)."""
"""Picker columns only: the live listing skips ``get_session``'s prompt/tool JOIN and flush."""
row = self._read_one(
"SELECT id, source, title, started_at, ended_at, message_count, model, hidden, archived "
"FROM sessions WHERE id = ?",