diff options
Diffstat (limited to 'makima/src/daemon/cli')
| -rw-r--r-- | makima/src/daemon/cli/directive.rs | 20 | ||||
| -rw-r--r-- | makima/src/daemon/cli/mod.rs | 6 |
2 files changed, 26 insertions, 0 deletions
diff --git a/makima/src/daemon/cli/directive.rs b/makima/src/daemon/cli/directive.rs index 5ce88c5..4c29c14 100644 --- a/makima/src/daemon/cli/directive.rs +++ b/makima/src/daemon/cli/directive.rs @@ -38,3 +38,23 @@ pub struct UpdateStatusArgs { /// New status (draft, planning, active, paused, completed, archived, failed) pub status: String, } + +/// Arguments for evaluate command (trigger manual evaluation). +#[derive(Args, Debug)] +pub struct EvaluateArgs { + #[command(flatten)] + pub common: DirectiveArgs, + + /// Step ID to evaluate + pub step_id: Uuid, +} + +/// Arguments for evaluations command (list evaluation history). +#[derive(Args, Debug)] +pub struct EvaluationsArgs { + #[command(flatten)] + pub common: DirectiveArgs, + + /// Step ID to list evaluations for + pub step_id: Uuid, +} diff --git a/makima/src/daemon/cli/mod.rs b/makima/src/daemon/cli/mod.rs index b07ab5a..c9a8c6f 100644 --- a/makima/src/daemon/cli/mod.rs +++ b/makima/src/daemon/cli/mod.rs @@ -225,6 +225,12 @@ pub enum DirectiveCommand { /// Start a directive (create planning contract and begin orchestration) Start(DirectiveArgs), + + /// Trigger a manual evaluation for a step + Evaluate(directive::EvaluateArgs), + + /// List evaluation history for a step + Evaluations(directive::EvaluationsArgs), } impl Cli { |
