@@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
2525$ sf COMMAND
2626running command...
2727$ sf (--version| -v)
28- @salesforce/cli/2.121.0 linux-x64 node-v22.22.0
28+ @salesforce/cli/2.121.1 linux-x64 node-v22.22.0
2929$ sf --help [COMMAND]
3030USAGE
3131 $ sf COMMAND
@@ -248,7 +248,7 @@ EXAMPLES
248248 $ sf agent activate --api-name Resort_Manager --target-org my-org
249249```
250250
251- _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.6 /src/commands/agent/activate.ts ) _
251+ _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.7 /src/commands/agent/activate.ts ) _
252252
253253## ` sf agent create `
254254
@@ -315,7 +315,7 @@ EXAMPLES
315315 $ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
316316```
317317
318- _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.6 /src/commands/agent/create.ts ) _
318+ _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.7 /src/commands/agent/create.ts ) _
319319
320320## ` sf agent deactivate `
321321
@@ -355,7 +355,7 @@ EXAMPLES
355355 $ sf agent deactivate --api-name Resort_Manager --target-org my-org
356356```
357357
358- _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.6 /src/commands/agent/deactivate.ts ) _
358+ _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.7 /src/commands/agent/deactivate.ts ) _
359359
360360## ` sf agent generate agent-spec `
361361
@@ -462,7 +462,7 @@ EXAMPLES
462462 $ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
463463```
464464
465- _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.6 /src/commands/agent/generate/agent-spec.ts ) _
465+ _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.7 /src/commands/agent/generate/agent-spec.ts ) _
466466
467467## ` sf agent generate authoring-bundle `
468468
@@ -528,7 +528,7 @@ EXAMPLES
528528 other-package-dir/main/default --target-org my-dev-org
529529```
530530
531- _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.6 /src/commands/agent/generate/authoring-bundle.ts ) _
531+ _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.7 /src/commands/agent/generate/authoring-bundle.ts ) _
532532
533533## ` sf agent generate template `
534534
@@ -576,7 +576,7 @@ EXAMPLES
576576 force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1
577577```
578578
579- _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.6 /src/commands/agent/generate/template.ts ) _
579+ _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.7 /src/commands/agent/generate/template.ts ) _
580580
581581## ` sf agent generate test-spec `
582582
@@ -637,7 +637,7 @@ EXAMPLES
637637 force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
638638```
639639
640- _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.6 /src/commands/agent/generate/test-spec.ts ) _
640+ _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.7 /src/commands/agent/generate/test-spec.ts ) _
641641
642642## ` sf agent preview `
643643
@@ -666,37 +666,41 @@ GLOBAL FLAGS
666666DESCRIPTION
667667 Interact with an agent to preview how it responds to your statements, questions, and commands (utterances).
668668
669- Use this command to have a natural language conversation with an agent while you code its Agent Script file.
670- Previewing an agent works like an initial test to make sure it responds to your utterances as you expect. For example,
671- you can test that the agent uses a particular topic when asked a question, and then whether it invokes the correct
672- action associated with that topic. This command is the CLI-equivalent of the Preview panel in your org's Agentforce
673- Builder UI.
669+ Use this command to have a natural language conversation with an agent, either while you code its local Agent Script
670+ file or when it's published to an org. Previewing an agent acts like an initial test to make sure it responds to your
671+ utterances as you expect. For example, you can test that the agent uses a particular topic when asked a question, and
672+ then whether it invokes the correct action associated with that topic. This command is the CLI-equivalent of the
673+ Preview panel in your org's Agentforce Builder UI.
674674
675- This command uses the agent's local authoring bundle, which contains its Agent Script file. You can let the command
676- provide a list of authoring bundles (labeled "(Agent Script)") to choose from or use the --authoring-bundle flag to
677- specify a bundle's API name.
675+ Run without flags, this command provides a list of agents to preview, divided into two categories: "Agent Script",
676+ which are agents that have a local authoring bundle in your DX project, or "Published", which are agents that are
677+ published and activated in your org. Authoring bundles contain an agent's Agent Script file. You then choose the agent
678+ you want to preview from the list. Or you can use the --authoring-bundle flag to specify a local authoring bundle's
679+ API name or --api-name to specify an activated published agent.
678680
679- You can use these two modes when previewing an agent from its Agent Script file:
681+ When previewing an agent from its Agent Script file, you can use these two modes :
680682
681683 - Simulated mode (Default): Uses only the Agent Script file to converse, and it simulates (mocks) all the actions. Use
682- this mode if none of the Apex classes, flows, and prompt templates that implement your actions are available yet. The
684+ this mode if none of the Apex classes, flows, or prompt templates that implement your actions are available yet. The
683685 LLM uses the information about topics in the Agent Script file to simulate what the action does or how it responds.
684686 - Live mode: Uses the actual Apex classes, flows, and prompt templates in your development org in the agent preview.
685687 If you've changed the Apex classe, flows, or prompt templates in your local DX project, then you must deploy them to
686- your development org if you want to use them in your live preview. You can use the Apex Replay Debugger to debug your
687- Apex classes when using live mode.
688+ your development org if you want to use them in your live preview.
688689
689- The interface is simple: in the "Start typing..." prompt, enter a statement, question, or command; when you're done,
690- enter Return. Your utterance is posted on the right along with a timestamp. The agent then responds on the left. To
691- exit the conversation, hit ESC or Control+C.
690+ You can use the Apex Replay Debugger to debug your Apex classes when using live mode for Agent Script files and for
691+ activated published agents; specify the --apex-debug flag.
692+
693+ Once connected to your agent, the preview interface is simple: in the "Start typing..." prompt, enter a statement,
694+ question, or command; when you're done, enter Return. Your utterance is posted on the right along with a timestamp.
695+ The agent then responds on the left. To exit the conversation, hit ESC or Control+C.
692696
693697 When the session concludes, the command asks if you want to save the API responses and chat transcripts. By default,
694698 the files are saved to the "./temp/agent-preview" directory. Specify a new default directory with the --output-dir
695699 flag.
696700
697701EXAMPLES
698- Preview an agent in simulated mode by choosing from a list of authoring bundles provided by the command; use the org
699- with alias "my-dev-org":
702+ Preview an agent by choosing from the list of available local Agent Script or published agents. If previewing a
703+ local Agent Script agent, use simulated mode. Use the org with alias "my-dev-org".
700704
701705 $ sf agent preview --target-org my-dev-org
702706
@@ -706,7 +710,7 @@ EXAMPLES
706710 $ sf agent preview --use-live-actions --apex-debug --output-dir transcripts/my-preview
707711```
708712
709- _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.6 /src/commands/agent/preview.ts ) _
713+ _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.7 /src/commands/agent/preview.ts ) _
710714
711715## ` sf agent publish authoring-bundle `
712716
@@ -753,7 +757,7 @@ EXAMPLES
753757 $ sf agent publish authoring-bundle --api-name MyAuthoringbundle --target-org my-dev-org
754758```
755759
756- _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.6 /src/commands/agent/publish/authoring-bundle.ts ) _
760+ _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.7 /src/commands/agent/publish/authoring-bundle.ts ) _
757761
758762## ` sf agent test create `
759763
@@ -808,7 +812,7 @@ EXAMPLES
808812 $ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
809813```
810814
811- _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.6 /src/commands/agent/test/create.ts ) _
815+ _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.7 /src/commands/agent/test/create.ts ) _
812816
813817## ` sf agent test list `
814818
@@ -843,7 +847,7 @@ EXAMPLES
843847 $ sf agent test list --target-org my-org
844848```
845849
846- _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.6 /src/commands/agent/test/list.ts ) _
850+ _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.7 /src/commands/agent/test/list.ts ) _
847851
848852## ` sf agent test results `
849853
@@ -909,7 +913,7 @@ FLAG DESCRIPTIONS
909913 expression when using custom evaluations.
910914```
911915
912- _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.6 /src/commands/agent/test/results.ts ) _
916+ _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.7 /src/commands/agent/test/results.ts ) _
913917
914918## ` sf agent test resume `
915919
@@ -982,7 +986,7 @@ FLAG DESCRIPTIONS
982986 expression when using custom evaluations.
983987```
984988
985- _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.6 /src/commands/agent/test/resume.ts ) _
989+ _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.7 /src/commands/agent/test/resume.ts ) _
986990
987991## ` sf agent test run `
988992
@@ -1056,7 +1060,7 @@ FLAG DESCRIPTIONS
10561060 expression when using custom evaluations.
10571061```
10581062
1059- _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.6 /src/commands/agent/test/run.ts ) _
1063+ _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.7 /src/commands/agent/test/run.ts ) _
10601064
10611065## ` sf agent validate authoring-bundle `
10621066
@@ -1103,7 +1107,7 @@ EXAMPLES
11031107 $ sf agent validate authoring-bundle --api-name MyAuthoringBundle --target-org my-dev-org
11041108```
11051109
1106- _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.6 /src/commands/agent/validate/authoring-bundle.ts ) _
1110+ _ See code: [ @salesforce/plugin-agent ] ( https://github.com/salesforcecli/plugin-agent/blob/1.26.7 /src/commands/agent/validate/authoring-bundle.ts ) _
11071111
11081112## ` sf alias list `
11091113
@@ -1836,7 +1840,7 @@ EXAMPLES
18361840 $ sf api request graphql --body example.txt --stream-to-file output.txt --include
18371841```
18381842
1839- _ See code: [ @salesforce/plugin-api ] ( https://github.com/salesforcecli/plugin-api/blob/1.3.7 /src/commands/api/request/graphql.ts ) _
1843+ _ See code: [ @salesforce/plugin-api ] ( https://github.com/salesforcecli/plugin-api/blob/1.3.8 /src/commands/api/request/graphql.ts ) _
18401844
18411845## ` sf api request rest [URL] `
18421846
@@ -1945,7 +1949,7 @@ FLAG DESCRIPTIONS
19451949 https://github.com/salesforcecli/plugin-api/tree/main/test/test-files/data-project.
19461950```
19471951
1948- _ See code: [ @salesforce/plugin-api ] ( https://github.com/salesforcecli/plugin-api/blob/1.3.7 /src/commands/api/request/rest.ts ) _
1952+ _ See code: [ @salesforce/plugin-api ] ( https://github.com/salesforcecli/plugin-api/blob/1.3.8 /src/commands/api/request/rest.ts ) _
19491953
19501954## ` sf autocomplete [SHELL] `
19511955
0 commit comments