mirror of
https://github.com/openai/codex.git
synced 2026-11-18 23:02:23 +00:00
Make the agents overview an interactive task dashboard (#39112)
## What changed - Let users start tasks, open root sessions, rename tasks, and stop active work directly from the agents overview. - Show details for the selected task on wide terminals and limit the overview to root sessions while still reflecting background activity. - Preserve draft input and pending server requests when switching sessions so running roots and their subagents can continue in the background. - Apply the selected project's working directory when dispatching from project grouping, including remote workspaces. ## Testing - Expand overview rendering and interaction coverage for root filtering, dispatch, search, selection, renaming, and responsive input. - Cover switching away from roots with running subagents and retaining background server requests. GitOrigin-RevId: b7b0d33b7ecc077498efb756a0ad2fd425158b17
This commit is contained in:
1 parent
632420e67a
commit
319b2f72b1
11 files changed
+1129
-138
No files matched your search
@@ -529,6 +529,9 @@ impl App {
|
||||
&mut snapshot,
|
||||
)
|
||||
.await;
|
||||
if snapshot.input_state.is_none() {
|
||||
snapshot.input_state = self.agents_overview.input_states.remove(&thread_id);
|
||||
}
|
||||
let blocks_direct_input = self.agent_navigation.is_parent_owned(thread_id);
|
||||
|
||||
self.active_thread_id = Some(thread_id);
|
||||
@@ -728,7 +731,11 @@ impl App {
|
||||
}
|
||||
self.config = config.clone();
|
||||
match app_server
|
||||
.start_thread_with_session_start_source(&config, session_start_source)
|
||||
.start_thread_with_session_start_source(
|
||||
&config,
|
||||
session_start_source,
|
||||
/*remote_cwd_override*/ None,
|
||||
)
|
||||
.await
|
||||
{
|
||||
Ok(mut started) => {
|
||||
@@ -1091,6 +1098,8 @@ impl App {
|
||||
{
|
||||
Ok(()) => {
|
||||
self.backfill_loaded_subagent_threads(app_server).await;
|
||||
self.replay_agents_overview_requests(app_server, resumed_thread_id)
|
||||
.await;
|
||||
if let Some(summary) = summary {
|
||||
let mut lines: Vec<Line<'static>> = Vec::new();
|
||||
if let Some(usage_line) = summary.usage_line {
|
||||
|
||||
Reference in new issue
Block a user