@@ -36,7 +36,6 @@ export default class AgentGenerateAuthoringBundle extends SfCommand<AgentGenerat
3636 public static readonly description = messages . getMessage ( 'description' ) ;
3737 public static readonly examples = messages . getMessages ( 'examples' ) ;
3838 public static readonly requiresProject = true ;
39- public static state = 'beta' ;
4039
4140 public static readonly flags = {
4241 'target-org' : Flags . requiredOrg ( ) ,
@@ -59,6 +58,7 @@ export default class AgentGenerateAuthoringBundle extends SfCommand<AgentGenerat
5958 private static readonly FLAGGABLE_PROMPTS = {
6059 name : {
6160 message : messages . getMessage ( 'flags.name.summary' ) ,
61+ promptMessage : messages . getMessage ( 'flags.name.prompt' ) ,
6262 validate : ( d : string ) : boolean | string => d . length > 0 || 'Name cannot be empty' ,
6363 required : true ,
6464 } ,
@@ -84,11 +84,11 @@ export default class AgentGenerateAuthoringBundle extends SfCommand<AgentGenerat
8484 try {
8585 // Get default output directory if not specified
8686 const defaultOutputDir = join ( this . project ! . getDefaultPackage ( ) . fullPath , 'main' , 'default' ) ;
87- const targetOutputDir = join ( outputDir ?? defaultOutputDir , 'aiAuthoringBundle ' , name ) ;
87+ const targetOutputDir = join ( outputDir ?? defaultOutputDir , 'aiAuthoringBundles ' , name ) ;
8888
8989 // Generate file paths
90- const afScriptPath = join ( targetOutputDir , `${ name } .afscript ` ) ;
91- const metaXmlPath = join ( targetOutputDir , `${ name } .authoring-bundle -meta.xml` ) ;
90+ const afScriptPath = join ( targetOutputDir , `${ name } .agent ` ) ;
91+ const metaXmlPath = join ( targetOutputDir , `${ name } .aiAuthoringBundle -meta.xml` ) ;
9292
9393 // Write AFScript file
9494 const conn = targetOrg . getConnection ( flags [ 'api-version' ] ) ;
0 commit comments