feat(subagent): add session-owned task messaging and cancellation (#5985)
let's go!
This commit is contained in:
1 parent
f75470e72f
commit
6ff96f2a8f
93 files changed
+5632
-1156
No files matched your search
@@ -75,6 +75,11 @@ def list_webui_sessions(session_manager: SessionManager) -> list[dict[str, Any]]
|
||||
_public_row(session_manager.sessions_dir, get_webui_dir(), row)
|
||||
for row in rows
|
||||
]
|
||||
sessions = [
|
||||
row for row in sessions if session_manager.types.public_history(
|
||||
(session_manager.read_session_metadata(row["key"]) or {}).get("metadata", {})
|
||||
)
|
||||
]
|
||||
return sorted(sessions, key=lambda row: row.get("updated_at", ""), reverse=True)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user