mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Add task mentions to the TUI composer (#40315)
## What changed - Include matching Codex tasks in the `@` mention popup when the active thread supports task tools, prioritizing tasks from the current working directory. - Submit selected tasks as bounded live thread references so Codex can load their contents with `read_thread`. - Preserve task mentions across composer history and thread start, resume, and fork flows. ## Testing - Add coverage for task search and capability propagation, popup selection and rendering, submission encoding, history round-trips, and reference validation and limits. GitOrigin-RevId: 17502be91bf6d4b01745668829eb69fb318cb5b9
This commit is contained in:
1 parent
a8468330bb
commit
76d98a771e
30 files changed
+1317
-44
No files matched your search
@@ -538,6 +538,8 @@ See the Codex keymap documentation for supported actions and examples."
|
||||
let initial_session_started_at = Instant::now();
|
||||
if let Some(started) = initial_started_thread {
|
||||
let thread_id = started.session.thread_id;
|
||||
app.chat_widget
|
||||
.set_task_mentions_enabled(started.task_tools_available);
|
||||
if started.blocks_direct_input {
|
||||
app.mark_primary_thread_parent_owned(thread_id);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user