mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Open new sessions directly from the command center (#45255)
## What changed - Replace the inline task composer with a session list: `n` opens a blank session in the selected checkout without sending an initial turn or interrupting running agents. - Use single-letter action shortcuts and `Enter` to open a session. `Esc` cancels search or rename without closing the list; `Ctrl+C` quits from the list. - Load destination settings for new sessions while carrying over explicit permission choices. Retain blank sessions and their drafts across navigation until the first turn. ## Testing Update tests and snapshots for command center navigation, shortcuts, blank draft restoration, destination defaults, permission carryover, and directory trust. GitOrigin-RevId: bddd04fdbe6ac2f5b7bd70293fd04f673b97ba02
This commit is contained in:
1 parent
16537b20a5
commit
516f2780fd
67 files changed
+1145
-1744
No files matched your search
@@ -3,7 +3,6 @@
|
||||
//! Owns the main app run loop from app-server bootstrap through terminal shutdown. Startup input
|
||||
//! remains isolated from protected interactive requests until the initialized composer owns it.
|
||||
|
||||
use super::agents_overview_view::AgentsOverviewFocus;
|
||||
use super::reconnect::ReconnectState;
|
||||
use super::*;
|
||||
use crate::session_start::SessionStartAction;
|
||||
@@ -835,7 +834,7 @@ See the Codex keymap documentation for supported actions and examples."
|
||||
);
|
||||
}
|
||||
if start_in_agents_overview {
|
||||
app.open_agents_overview(&app_server, AgentsOverviewFocus::Composer);
|
||||
app.open_agents_overview(&app_server);
|
||||
} else if !matches!(app.app_server_target, AppServerTarget::Embedded) {
|
||||
app.refresh_agents_overview_threads(&app_server);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user