Expose thread-selected skills in skills list

This commit is contained in:
jif-oai
2026-07-09 12:05:33 +01:00
parent 13ba8058f2
commit 994ce4e312
25 changed files with 626 additions and 50 deletions
+8
View File
@@ -630,6 +630,14 @@ impl CodexThread {
self.codex.thread_environment_selections().await
}
/// Returns one typed value owned by a thread extension.
pub fn extension_thread_data<T>(&self) -> Option<Arc<T>>
where
T: std::any::Any + Send + Sync,
{
self.codex.session.services.thread_extension_data.get::<T>()
}
/// Passively inspects the selected capability roots whose environments are ready now.
pub fn inspect_selected_capability_roots(&self) -> SelectedCapabilityRootsStatus {
self.codex