refactor(sessions)!: retire the global shared session (#6621)

Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
This commit is contained in:
Xubin Renandchengyongru authored and GitHub committed 2026-11-12 09:55:55 +08:00
1 parent 28d73b6942
commit e6b0aec2a8
77 files changed
+311 -1255

No files matched your search

@@ -1,7 +1,6 @@
[
"agents.defaults.timezone",
"agents.defaults.timezone_mode",
"agents.defaults.unified_session",
"agents.defaults.session_ttl_minutes",
"agents.defaults.max_tool_iterations",
"agents.defaults.max_concurrent_subagents",
+1 -1
View File
@@ -18,7 +18,7 @@ def test_webui_session_identity_preserves_persisted_wire_compatibility() -> None
def test_webui_chat_id_validation_is_protocol_scoped() -> None:
assert is_valid_webui_chat_id("unified:default")
assert is_valid_webui_chat_id("chat:branch-2")
assert is_valid_webui_chat_id("x" * 64)
assert not is_valid_webui_chat_id("x" * 65)
assert not is_valid_webui_chat_id("../escape")