Add thread start contributor facts (#24915)

Summary: add session source and persistent-state availability to
ThreadStartInput; populate them from session init; update existing goal
test harness constructors. Tests: just fmt; git diff --check. No full
tests or clippy run per request.
This commit is contained in:
jif-oai
2026-05-28 16:10:55 +02:00
committed by GitHub
parent e5afe5bf8c
commit ec803fe6c7
3 changed files with 13 additions and 0 deletions
+2
View File
@@ -966,6 +966,8 @@ impl Session {
for contributor in extensions.thread_lifecycle_contributors() {
contributor.on_thread_start(codex_extension_api::ThreadStartInput {
config: config.as_ref(),
session_source: &session_configuration.session_source,
persistent_thread_state_available: state_db_ctx.is_some(),
session_store: &session_extension_data,
thread_store: &thread_extension_data,
}).await;