@@ -63,6 +63,7 @@ sf plugins
6363- [ ` sf agent create ` ] ( #sf-agent-create )
6464- [ ` sf agent deactivate ` ] ( #sf-agent-deactivate )
6565- [ ` sf agent generate agent-spec ` ] ( #sf-agent-generate-agent-spec )
66+ - [ ` sf agent generate authoring-bundle ` ] ( #sf-agent-generate-authoring-bundle )
6667- [ ` sf agent generate template ` ] ( #sf-agent-generate-template )
6768- [ ` sf agent generate test-spec ` ] ( #sf-agent-generate-test-spec )
6869- [ ` sf agent preview ` ] ( #sf-agent-preview )
@@ -111,7 +112,7 @@ EXAMPLES
111112 $ sf agent activate --api-name Resort_Manager --target-org my-org
112113```
113114
114- _ See code: [ src/commands/agent/activate.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.0 /src/commands/agent/activate.ts ) _
115+ _ See code: [ src/commands/agent/activate.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.1 /src/commands/agent/activate.ts ) _
115116
116117## ` sf agent create `
117118
@@ -173,7 +174,7 @@ EXAMPLES
173174 $ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
174175```
175176
176- _ See code: [ src/commands/agent/create.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.0 /src/commands/agent/create.ts ) _
177+ _ See code: [ src/commands/agent/create.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.1 /src/commands/agent/create.ts ) _
177178
178179## ` sf agent deactivate `
179180
@@ -213,7 +214,7 @@ EXAMPLES
213214 $ sf agent deactivate --api-name Resort_Manager --target-org my-org
214215```
215216
216- _ See code: [ src/commands/agent/deactivate.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.0 /src/commands/agent/deactivate.ts ) _
217+ _ See code: [ src/commands/agent/deactivate.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.1 /src/commands/agent/deactivate.ts ) _
217218
218219## ` sf agent generate agent-spec `
219220
@@ -318,7 +319,46 @@ EXAMPLES
318319 $ sf agent generate agent-spec --tone formal --agent-user [email protected] 319320```
320321
321- _ See code: [ src/commands/agent/generate/agent-spec.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.0/src/commands/agent/generate/agent-spec.ts ) _
322+ _ See code: [ src/commands/agent/generate/agent-spec.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.1/src/commands/agent/generate/agent-spec.ts ) _
323+
324+ ## ` sf agent generate authoring-bundle `
325+
326+ Generate an authoring bundle from an agent specification.
327+
328+ ```
329+ USAGE
330+ $ sf agent generate authoring-bundle -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-f <value>] [-d <value>]
331+ [-n <value>]
332+
333+ FLAGS
334+ -d, --output-dir=<value> Directory where the authoring bundle files will be generated.
335+ -f, --spec=<value> Path to the agent specification file.
336+ -n, --name=<value> Name (label) of the authoring bundle. If not provided, you will be prompted for it.
337+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
338+ configuration variable is already set.
339+ --api-version=<value> Override the api version used for api requests made by this command
340+
341+ GLOBAL FLAGS
342+ --flags-dir=<value> Import flag values from a directory.
343+ --json Format output as json.
344+
345+ DESCRIPTION
346+ Generate an authoring bundle from an agent specification.
347+
348+ Generates an authoring bundle containing AFScript and its meta.xml file from an agent specification file.
349+
350+ EXAMPLES
351+ Generate an authoring bundle from a specification file:
352+
353+ $ sf agent generate authoring-bundle --spec-file path/to/spec.yaml --name "My Authoring Bundle"
354+
355+ Generate an authoring bundle with a custom output directory:
356+
357+ $ sf agent generate authoring-bundle --spec-file path/to/spec.yaml --name "My Authoring Bundle" --output-dir \
358+ path/to/output
359+ ```
360+
361+ _ See code: [ src/commands/agent/generate/authoring-bundle.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.1/src/commands/agent/generate/authoring-bundle.ts ) _
322362
323363## ` sf agent generate template `
324364
@@ -366,7 +406,7 @@ EXAMPLES
366406 force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1
367407```
368408
369- _ See code: [ src/commands/agent/generate/template.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.0 /src/commands/agent/generate/template.ts ) _
409+ _ See code: [ src/commands/agent/generate/template.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.1 /src/commands/agent/generate/template.ts ) _
370410
371411## ` sf agent generate test-spec `
372412
@@ -427,27 +467,29 @@ EXAMPLES
427467 force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
428468```
429469
430- _ See code: [ src/commands/agent/generate/test-spec.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.0 /src/commands/agent/generate/test-spec.ts ) _
470+ _ See code: [ src/commands/agent/generate/test-spec.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.1 /src/commands/agent/generate/test-spec.ts ) _
431471
432472## ` sf agent preview `
433473
434474Interact with an active agent to preview how the agent responds to your statements, questions, and commands (utterances).
435475
436476```
437477USAGE
438- $ sf agent preview (-c <value> -o <value>) [--flags-dir <value>] [--api-version <value>] [-n <value>] [-d
439- <value>] [-x]
478+ $ sf agent preview (-c <value> -o <value>) [--flags-dir <value>] [--api-version <value>] [-n <value>]
479+ [--authoring-bundle <value>] [-d <value>] [-x]
440480
441481FLAGS
442- -c, --client-app=<value> (required) Name of the linked client app to use for the agent connection. You must have
443- previously created this link with "org login web --client-app". Run "org display" to see
444- the available linked client apps.
445- -d, --output-dir=<value> Directory where conversation transcripts are saved.
446- -n, --api-name=<value> API name of the agent you want to interact with.
447- -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
448- configuration variable is already set.
449- -x, --apex-debug Enable Apex debug logging during the agent preview conversation.
450- --api-version=<value> Override the api version used for api requests made by this command
482+ -c, --client-app=<value> (required) Name of the linked client app to use for the agent connection. You must
483+ have previously created this link with "org login web --client-app". Run "org display"
484+ to see the available linked client apps.
485+ -d, --output-dir=<value> Directory where conversation transcripts are saved.
486+ -n, --api-name=<value> API name of the agent you want to interact with.
487+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
488+ configuration variable is already set.
489+ -x, --apex-debug Enable Apex debug logging during the agent preview conversation.
490+ --api-version=<value> Override the api version used for api requests made by this command
491+ --authoring-bundle=<value> Preview an ephemeral afscript agent by specifying the API name of the Authoring Bundle
492+ metadata
451493
452494GLOBAL FLAGS
453495 --flags-dir=<value> Import flag values from a directory.
@@ -491,7 +533,7 @@ EXAMPLES
491533 transcripts/my-preview
492534```
493535
494- _ See code: [ src/commands/agent/preview.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.0 /src/commands/agent/preview.ts ) _
536+ _ See code: [ src/commands/agent/preview.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.1 /src/commands/agent/preview.ts ) _
495537
496538## ` sf agent publish authoring-bundle `
497539
@@ -523,7 +565,7 @@ EXAMPLES
523565524566```
525567
526- _ See code: [ src/commands/agent/publish/authoring-bundle.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.0 /src/commands/agent/publish/authoring-bundle.ts ) _
568+ _ See code: [ src/commands/agent/publish/authoring-bundle.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.1 /src/commands/agent/publish/authoring-bundle.ts ) _
527569
528570## ` sf agent test create `
529571
@@ -578,7 +620,7 @@ EXAMPLES
578620 $ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
579621```
580622
581- _ See code: [ src/commands/agent/test/create.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.0 /src/commands/agent/test/create.ts ) _
623+ _ See code: [ src/commands/agent/test/create.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.1 /src/commands/agent/test/create.ts ) _
582624
583625## ` sf agent test list `
584626
@@ -613,7 +655,7 @@ EXAMPLES
613655 $ sf agent test list --target-org my-org
614656```
615657
616- _ See code: [ src/commands/agent/test/list.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.0 /src/commands/agent/test/list.ts ) _
658+ _ See code: [ src/commands/agent/test/list.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.1 /src/commands/agent/test/list.ts ) _
617659
618660## ` sf agent test results `
619661
@@ -679,7 +721,7 @@ FLAG DESCRIPTIONS
679721 expression when using custom evaluations.
680722```
681723
682- _ See code: [ src/commands/agent/test/results.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.0 /src/commands/agent/test/results.ts ) _
724+ _ See code: [ src/commands/agent/test/results.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.1 /src/commands/agent/test/results.ts ) _
683725
684726## ` sf agent test resume `
685727
@@ -752,7 +794,7 @@ FLAG DESCRIPTIONS
752794 expression when using custom evaluations.
753795```
754796
755- _ See code: [ src/commands/agent/test/resume.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.0 /src/commands/agent/test/resume.ts ) _
797+ _ See code: [ src/commands/agent/test/resume.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.1 /src/commands/agent/test/resume.ts ) _
756798
757799## ` sf agent test run `
758800
@@ -826,7 +868,7 @@ FLAG DESCRIPTIONS
826868 expression when using custom evaluations.
827869```
828870
829- _ See code: [ src/commands/agent/test/run.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.0 /src/commands/agent/test/run.ts ) _
871+ _ See code: [ src/commands/agent/test/run.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.1 /src/commands/agent/test/run.ts ) _
830872
831873## ` sf agent validate authoring-bundle `
832874
@@ -857,6 +899,6 @@ EXAMPLES
857899 $ sf agent validate authoring-bundle --api-name path/to/bundle
858900```
859901
860- _ See code: [ src/commands/agent/validate/authoring-bundle.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.0 /src/commands/agent/validate/authoring-bundle.ts ) _
902+ _ See code: [ src/commands/agent/validate/authoring-bundle.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.24.14-demo.1 /src/commands/agent/validate/authoring-bundle.ts ) _
861903
862904<!-- commandsstop -->
0 commit comments