Refactor CLI Service Structure and Enhance AI Integration
- Restructured CLI service source files to improve organization, moving files into dedicated directories for better maintainability. - Introduced new AI service components, including `AIService`, `MockAIService`, and `GeminiAIService`, to facilitate natural language command generation. - Implemented `PolicyEvaluator` and `ProposalRegistry` for enhanced proposal management and policy enforcement in AI workflows. - Updated CMake configurations to reflect new file paths and ensure proper linking of the restructured components. - Enhanced test suite with new test workflow generation capabilities, improving the robustness of automated testing. This commit significantly advances the architecture of the z3ed system, laying the groundwork for more sophisticated AI-driven features and streamlined development processes.
This commit is contained in:
@@ -12,7 +12,7 @@ namespace agent {
|
||||
namespace {
|
||||
|
||||
constexpr absl::string_view kUsage =
|
||||
"Usage: agent <run|plan|diff|test|gui|learn|list|commit|revert|describe> "
|
||||
"Usage: agent <run|plan|diff|accept|test|gui|learn|list|commit|revert|describe> "
|
||||
"[options]";
|
||||
|
||||
} // namespace
|
||||
@@ -35,6 +35,9 @@ absl::Status Agent::Run(const std::vector<std::string>& arg_vec) {
|
||||
if (subcommand == "diff") {
|
||||
return agent::HandleDiffCommand(rom_, subcommand_args);
|
||||
}
|
||||
if (subcommand == "accept") {
|
||||
return agent::HandleAcceptCommand(subcommand_args, rom_);
|
||||
}
|
||||
if (subcommand == "test") {
|
||||
return agent::HandleTestCommand(subcommand_args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user