Skip to content

Commit 4a91930

Browse files
committed
chore(release): 1.32.16 [skip ci]
1 parent 8635da4 commit 4a91930

File tree

3 files changed

+47
-30
lines changed

3 files changed

+47
-30
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## [1.32.16](https://github.com/salesforcecli/plugin-agent/compare/1.32.15...1.32.16) (2026-03-31)
2+
3+
### Bug Fixes
4+
5+
- correct no flag behavior ([d8cb6a6](https://github.com/salesforcecli/plugin-agent/commit/d8cb6a67bf73b3ac0ffcb9a32b89d1b42f094b66))
6+
- edit help ([ca5364b](https://github.com/salesforcecli/plugin-agent/commit/ca5364bf333ee9e19814b3905d0d666c486f1fde))
7+
- make agent preview start require preview mode flag ([095e81c](https://github.com/salesforcecli/plugin-agent/commit/095e81c1cb211886d58a5c04c2f26916adbcbe1e))
8+
- tweak help after Willie changed functionality a bit ([c941d5e](https://github.com/salesforcecli/plugin-agent/commit/c941d5e76793b08575b145fca6647696a5bb5837))
9+
110
## [1.32.15](https://github.com/salesforcecli/plugin-agent/compare/1.32.14...1.32.15) (2026-03-31)
211

312
### Bug Fixes

README.md

Lines changed: 37 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ EXAMPLES
126126
$ sf agent activate --api-name Resort_Manager --version 2 --target-org my-org
127127
```
128128

129-
_See code: [src/commands/agent/activate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.15/src/commands/agent/activate.ts)_
129+
_See code: [src/commands/agent/activate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/activate.ts)_
130130

131131
## `sf agent create`
132132

@@ -193,7 +193,7 @@ EXAMPLES
193193
$ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
194194
```
195195

196-
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.15/src/commands/agent/create.ts)_
196+
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/create.ts)_
197197

198198
## `sf agent deactivate`
199199

@@ -234,7 +234,7 @@ EXAMPLES
234234
$ sf agent deactivate --api-name Resort_Manager --target-org my-org
235235
```
236236

237-
_See code: [src/commands/agent/deactivate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.15/src/commands/agent/deactivate.ts)_
237+
_See code: [src/commands/agent/deactivate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/deactivate.ts)_
238238

239239
## `sf agent generate agent-spec`
240240

@@ -341,7 +341,7 @@ EXAMPLES
341341
$ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
342342
```
343343

344-
_See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.15/src/commands/agent/generate/agent-spec.ts)_
344+
_See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/generate/agent-spec.ts)_
345345

346346
## `sf agent generate authoring-bundle`
347347

@@ -418,7 +418,7 @@ EXAMPLES
418418
other-package-dir/main/default --target-org my-dev-org
419419
```
420420

421-
_See code: [src/commands/agent/generate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.15/src/commands/agent/generate/authoring-bundle.ts)_
421+
_See code: [src/commands/agent/generate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/generate/authoring-bundle.ts)_
422422

423423
## `sf agent generate template`
424424

@@ -480,7 +480,7 @@ EXAMPLES
480480
my-package --source-org my-scratch-org
481481
```
482482

483-
_See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.15/src/commands/agent/generate/template.ts)_
483+
_See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/generate/template.ts)_
484484

485485
## `sf agent generate test-spec`
486486

@@ -545,7 +545,7 @@ EXAMPLES
545545
force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
546546
```
547547

548-
_See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.15/src/commands/agent/generate/test-spec.ts)_
548+
_See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/generate/test-spec.ts)_
549549

550550
## `sf agent preview`
551551

@@ -618,7 +618,7 @@ EXAMPLES
618618
$ sf agent preview --use-live-actions --apex-debug --output-dir transcripts/my-preview
619619
```
620620

621-
_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.15/src/commands/agent/preview.ts)_
621+
_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/preview.ts)_
622622

623623
## `sf agent preview end`
624624

@@ -673,7 +673,7 @@ EXAMPLES
673673
$ sf agent preview end --authoring-bundle My_Local_Agent
674674
```
675675

676-
_See code: [src/commands/agent/preview/end.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.15/src/commands/agent/preview/end.ts)_
676+
_See code: [src/commands/agent/preview/end.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/preview/end.ts)_
677677

678678
## `sf agent preview send`
679679

@@ -731,7 +731,7 @@ EXAMPLES
731731
$ sf agent preview send --utterance "what can you help me with?" --authoring-bundle My_Local_Agent
732732
```
733733

734-
_See code: [src/commands/agent/preview/send.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.15/src/commands/agent/preview/send.ts)_
734+
_See code: [src/commands/agent/preview/send.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/preview/send.ts)_
735735

736736
## `sf agent preview sessions`
737737

@@ -764,7 +764,7 @@ EXAMPLES
764764
$ sf agent preview sessions
765765
```
766766

767-
_See code: [src/commands/agent/preview/sessions.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.15/src/commands/agent/preview/sessions.ts)_
767+
_See code: [src/commands/agent/preview/sessions.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/preview/sessions.ts)_
768768

769769
## `sf agent preview start`
770770

@@ -773,7 +773,7 @@ Start a programmatic agent preview session.
773773
```
774774
USAGE
775775
$ sf agent preview start -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-n <value>]
776-
[--authoring-bundle <value>] [--use-live-actions]
776+
[--authoring-bundle <value>] [--use-live-actions | --simulate-actions]
777777
778778
FLAGS
779779
-n, --api-name=<value> API name of the activated published agent you want to preview.
@@ -782,8 +782,10 @@ FLAGS
782782
--api-version=<value> Override the api version used for api requests made by this command
783783
--authoring-bundle=<value> API name of the authoring bundle metadata component that contains the agent's Agent
784784
Script file.
785-
--use-live-actions Use real actions in the org; if not specified, preview uses AI to simulate (mock)
786-
actions.
785+
--simulate-actions Use AI to simulate action execution instead of calling real actions. Required with
786+
--authoring-bundle.
787+
--use-live-actions Execute real actions in the org (Apex classes, flows, etc.). Required with
788+
--authoring-bundle.
787789
788790
GLOBAL FLAGS
789791
--flags-dir=<value> Import flag values from a directory.
@@ -802,26 +804,32 @@ DESCRIPTION
802804
under the "aiAuthoringBundles" metadata directory. Similarly, the published agent's API name is the same as its
803805
directory name under the "Bots" metadata directory.
804806
805-
When starting a preview session using the authoring bundle, which contains the agent's Agent Script file, the preview
806-
uses mocked actions by default. Specify --use-live-actions for live mode, which uses the real Apex classes, flows,
807-
etc, in the org for the actions.
807+
When starting a preview session with --authoring-bundle, you must explicitly specify the execution mode using one of
808+
these flags:
809+
810+
- --use-live-actions: Executes real Apex classes, flows, and other actions in the org. This surfaces compile and
811+
validation errors during preview.
812+
- --simulate-actions: Uses AI to simulate action execution without calling real implementations.
813+
814+
Published agents (--api-name) always use live actions. The mode flags are optional and have no effect for published
815+
agents.
808816
809817
EXAMPLES
810-
Start a programmatic agent preview session by specifying an authoring bundle; uses mocked actions by default. Use
811-
the org with alias "my-dev-org":
818+
Start a programmatic agent preview session by specifying an authoring bundle; use simulated actions. Use the org
819+
with alias "my-dev-org":
812820
813-
$ sf agent preview start --authoring-bundle My_Agent_Bundle --target-org my-dev-org
821+
$ sf agent preview start --authoring-bundle My_Agent_Bundle --target-org my-dev-org --simulate-actions
814822
815823
Similar to previous example but use live actions and the default org:
816824
817825
$ sf agent preview start --authoring-bundle My_Agent_Bundle --use-live-actions
818826
819-
Start a preview session with an activated published agent:
827+
Start a preview session with an activated published agent (always uses live actions):
820828
821829
$ sf agent preview start --api-name My_Published_Agent
822830
```
823831

824-
_See code: [src/commands/agent/preview/start.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.15/src/commands/agent/preview/start.ts)_
832+
_See code: [src/commands/agent/preview/start.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/preview/start.ts)_
825833

826834
## `sf agent publish authoring-bundle`
827835

@@ -870,7 +878,7 @@ EXAMPLES
870878
$ sf agent publish authoring-bundle --api-name MyAuthoringbundle --target-org my-dev-org
871879
```
872880

873-
_See code: [src/commands/agent/publish/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.15/src/commands/agent/publish/authoring-bundle.ts)_
881+
_See code: [src/commands/agent/publish/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/publish/authoring-bundle.ts)_
874882

875883
## `sf agent test create`
876884

@@ -925,7 +933,7 @@ EXAMPLES
925933
$ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
926934
```
927935

928-
_See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.15/src/commands/agent/test/create.ts)_
936+
_See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/test/create.ts)_
929937

930938
## `sf agent test list`
931939

@@ -960,7 +968,7 @@ EXAMPLES
960968
$ sf agent test list --target-org my-org
961969
```
962970

963-
_See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.15/src/commands/agent/test/list.ts)_
971+
_See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/test/list.ts)_
964972

965973
## `sf agent test results`
966974

@@ -1026,7 +1034,7 @@ FLAG DESCRIPTIONS
10261034
expression when using custom evaluations.
10271035
```
10281036

1029-
_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.15/src/commands/agent/test/results.ts)_
1037+
_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/test/results.ts)_
10301038

10311039
## `sf agent test resume`
10321040

@@ -1099,7 +1107,7 @@ FLAG DESCRIPTIONS
10991107
expression when using custom evaluations.
11001108
```
11011109

1102-
_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.15/src/commands/agent/test/resume.ts)_
1110+
_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/test/resume.ts)_
11031111

11041112
## `sf agent test run`
11051113

@@ -1173,7 +1181,7 @@ FLAG DESCRIPTIONS
11731181
expression when using custom evaluations.
11741182
```
11751183

1176-
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.15/src/commands/agent/test/run.ts)_
1184+
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/test/run.ts)_
11771185

11781186
## `sf agent validate authoring-bundle`
11791187

@@ -1220,6 +1228,6 @@ EXAMPLES
12201228
$ sf agent validate authoring-bundle --api-name MyAuthoringBundle --target-org my-dev-org
12211229
```
12221230

1223-
_See code: [src/commands/agent/validate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.15/src/commands/agent/validate/authoring-bundle.ts)_
1231+
_See code: [src/commands/agent/validate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/validate/authoring-bundle.ts)_
12241232

12251233
<!-- commandsstop -->

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/plugin-agent",
33
"description": "Commands to interact with Salesforce agents",
4-
"version": "1.32.15",
4+
"version": "1.32.16",
55
"author": "Salesforce",
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"enableO11y": true,

0 commit comments

Comments
 (0)