mirror of
https://github.com/openai/codex.git
synced 2026-04-29 10:53:24 +03:00
add slash resume (#7302)
`codex resume` isn't that discoverable. Adding it to the slash commands can help
This commit is contained in:
@@ -16,6 +16,7 @@ pub enum SlashCommand {
|
||||
Approvals,
|
||||
Review,
|
||||
New,
|
||||
Resume,
|
||||
Init,
|
||||
Compact,
|
||||
Undo,
|
||||
@@ -40,6 +41,7 @@ impl SlashCommand {
|
||||
SlashCommand::Init => "create an AGENTS.md file with instructions for Codex",
|
||||
SlashCommand::Compact => "summarize conversation to prevent hitting the context limit",
|
||||
SlashCommand::Review => "review my current changes and find issues",
|
||||
SlashCommand::Resume => "resume a saved chat",
|
||||
SlashCommand::Undo => "ask Codex to undo a turn",
|
||||
SlashCommand::Quit | SlashCommand::Exit => "exit Codex",
|
||||
SlashCommand::Diff => "show git diff (including untracked files)",
|
||||
@@ -64,6 +66,7 @@ impl SlashCommand {
|
||||
pub fn available_during_task(self) -> bool {
|
||||
match self {
|
||||
SlashCommand::New
|
||||
| SlashCommand::Resume
|
||||
| SlashCommand::Init
|
||||
| SlashCommand::Compact
|
||||
| SlashCommand::Undo
|
||||
|
||||
Reference in New Issue
Block a user