devai 0.5.12

Command Agent runner to accelerate production coding with genai.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! The executor command
//! Note: For now, the content of the variant of the ExecCommand often contain the CliArgs,
//!       but this will eventual change to have it's own

use crate::cli::{InitArgs, NewArgs, RunArgs};

/// This is the Executor Command that needs to be performed
/// NOTE: This is not the `ExecStateEvent` which is sent to the hub.
#[derive(Debug)]
pub enum ExecCommand {
	Init(InitArgs),
	InitBase,
	RunCommandAgent(RunArgs),
	NewCommandAgent(NewArgs),
	List,
	Redo,
	OpenAgent,
}