Centralized session URL generation for commands and events.
CI / Formatting (push) Successful in 5s
CI / Linting (push) Successful in 5s
CI / Tests (Python 3.12) (push) Successful in 2m45s
CI / Tests (Python 3.13) (push) Successful in 2m53s
CI / Tests (Python 3.14) (push) Successful in 2m39s
CI / Type Checking (push) Successful in 9s
CI / Spelling (push) Successful in 5s

This commit is contained in:
2026-05-04 21:48:25 -04:00
parent 5443aa86ce
commit 9ac4a17ac8
10 changed files with 226 additions and 98 deletions
+2
View File
@@ -316,6 +316,7 @@ def event_dispatcher(
session_manager: SessionManager,
command_dispatcher: CommandDispatcher,
handler_timeout: float,
config: Config,
) -> EventDispatcher:
"""Build an EventDispatcher that resolves contexts via ``_context_registry``."""
return EventDispatcher(
@@ -323,6 +324,7 @@ def event_dispatcher(
get_module_context=_make_context_lookup(_context_registry),
handler_timeout=handler_timeout,
session_manager=session_manager,
public_base_url=config.public_base_url,
)