[app-server] feat: add Declined status for command exec (#7101)

Add a `Declined` status for when we request an approval from the user
and the user declines. This allows us to distinguish from commands that
actually ran, but failed.

This behaves similarly to apply_patch / FileChange, which does the same
thing.
This commit is contained in:
Owen Lin
2025-11-21 09:19:39 -08:00
committed by GitHub
parent d363a0968e
commit 2ae1f81d84
4 changed files with 254 additions and 36 deletions

View File

@@ -859,6 +859,7 @@ pub enum CommandExecutionStatus {
InProgress,
Completed,
Failed,
Declined,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]