feat: add AI tree CRUD recipe

This commit is contained in:
2026-06-17 13:03:38 +08:00
parent 2b0b673ce9
commit 718c5a5b9b
17 changed files with 675 additions and 46 deletions

View File

@@ -632,6 +632,10 @@ public final class Eip4Cli {
for (String field : fields) {
fieldNodes.add(parseField(field));
}
String pageRecipe = options.single("page-recipe");
if (pageRecipe != null && !pageRecipe.isBlank()) {
feature.put("pageRecipe", pageRecipe);
}
return root;
}
@@ -872,7 +876,7 @@ public final class Eip4Cli {
eip4 env use --name NAME
eip4 env current
eip4 env status [--env NAME|--base-url URL|--all]
eip4 ai auto-develop --objective TEXT --feature-name NAME --table-name TABLE --entity-name NAME --template-id ID --menu-name NAME --field column:label:type[:length][:required]
eip4 ai auto-develop --objective TEXT --feature-name NAME --table-name TABLE --entity-name NAME --template-id ID --menu-name NAME --field column:label:type[:length][:required] [--page-recipe maintenance-crud-v1|tree-crud-v1]
eip4 release diff --left FILE --right FILE
eip4 release export --package-file FILE --output FILE
eip4 release import-preview --package-file FILE
@@ -934,6 +938,7 @@ public final class Eip4Cli {
Optional:
--env NAME
--base-url URL
--page-recipe maintenance-crud-v1|tree-crud-v1
--max-repair-attempts N
--no-deployment-package
--yes