mirror of
https://github.com/openai/codex.git
synced 2026-11-07 08:34:29 +00:00
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:
1 parent
e5afe5bf8c
commit
ec803fe6c7
3 files changed
+13
No files matched your search
@@ -1,9 +1,14 @@
|
||||
use crate::ExtensionData;
|
||||
use codex_protocol::protocol::SessionSource;
|
||||
|
||||
/// Input supplied when the host starts a runtime for a thread.
|
||||
pub struct ThreadStartInput<'a, C> {
|
||||
/// Host configuration visible at thread start.
|
||||
pub config: &'a C,
|
||||
/// Source that created the session for this thread.
|
||||
pub session_source: &'a SessionSource,
|
||||
/// Whether persistent thread-scoped state is available for this thread.
|
||||
pub persistent_thread_state_available: bool,
|
||||
/// Store scoped to the host session runtime.
|
||||
pub session_store: &'a ExtensionData,
|
||||
/// Store scoped to this thread runtime.
|
||||
|
||||
Reference in new issue
Block a user