Skip to content

Commit 0d9666e

Browse files
committed
chore(release): 1.41.0 [skip ci]
1 parent c129028 commit 0d9666e

3 files changed

Lines changed: 62 additions & 35 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# [1.41.0](https://github.com/salesforcecli/plugin-agent/compare/1.40.5...1.41.0) (2026-06-02)
2+
3+
### Bug Fixes
4+
5+
- bump agents lib W-22776265 ([#434](https://github.com/salesforcecli/plugin-agent/issues/434)) ([c129028](https://github.com/salesforcecli/plugin-agent/commit/c129028a1dd2f913789925081b1ad3798534f42a))
6+
7+
### Features
8+
9+
- wire --test-runner agentforce-studio into agent test create @W-22513740@ ([#430](https://github.com/salesforcecli/plugin-agent/issues/430)) ([33ddd42](https://github.com/salesforcecli/plugin-agent/commit/33ddd424cbb86207cfe0821e90ce12e7b9c95ef3))
10+
111
## [1.40.5](https://github.com/salesforcecli/plugin-agent/compare/1.40.4...1.40.5) (2026-05-24)
212

313
### Bug Fixes

README.md

Lines changed: 51 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ EXAMPLES
130130
$ sf agent activate --api-name Resort_Manager --version 2 --target-org my-org
131131
```
132132

133-
_See code: [src/commands/agent/activate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/activate.ts)_
133+
_See code: [src/commands/agent/activate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/activate.ts)_
134134

135135
## `sf agent create`
136136

@@ -197,7 +197,7 @@ EXAMPLES
197197
$ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
198198
```
199199

200-
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/create.ts)_
200+
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/create.ts)_
201201

202202
## `sf agent deactivate`
203203

@@ -238,7 +238,7 @@ EXAMPLES
238238
$ sf agent deactivate --api-name Resort_Manager --target-org my-org
239239
```
240240

241-
_See code: [src/commands/agent/deactivate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/deactivate.ts)_
241+
_See code: [src/commands/agent/deactivate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/deactivate.ts)_
242242

243243
## `sf agent generate agent-spec`
244244

@@ -345,7 +345,7 @@ EXAMPLES
345345
$ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
346346
```
347347

348-
_See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/generate/agent-spec.ts)_
348+
_See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/generate/agent-spec.ts)_
349349

350350
## `sf agent generate authoring-bundle`
351351

@@ -422,7 +422,7 @@ EXAMPLES
422422
other-package-dir/main/default --target-org my-dev-org
423423
```
424424

425-
_See code: [src/commands/agent/generate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/generate/authoring-bundle.ts)_
425+
_See code: [src/commands/agent/generate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/generate/authoring-bundle.ts)_
426426

427427
## `sf agent generate template`
428428

@@ -484,7 +484,7 @@ EXAMPLES
484484
my-package --source-org my-scratch-org
485485
```
486486

487-
_See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/generate/template.ts)_
487+
_See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/generate/template.ts)_
488488

489489
## `sf agent generate test-spec`
490490

@@ -549,7 +549,7 @@ EXAMPLES
549549
force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
550550
```
551551

552-
_See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/generate/test-spec.ts)_
552+
_See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/generate/test-spec.ts)_
553553

554554
## `sf agent preview`
555555

@@ -622,7 +622,7 @@ EXAMPLES
622622
$ sf agent preview --use-live-actions --apex-debug --output-dir transcripts/my-preview
623623
```
624624

625-
_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/preview.ts)_
625+
_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/preview.ts)_
626626

627627
## `sf agent preview end`
628628

@@ -694,7 +694,7 @@ EXAMPLES
694694
$ sf agent preview end --all --target-org <target_org>
695695
```
696696

697-
_See code: [src/commands/agent/preview/end.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/preview/end.ts)_
697+
_See code: [src/commands/agent/preview/end.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/preview/end.ts)_
698698

699699
## `sf agent preview send`
700700

@@ -752,7 +752,7 @@ EXAMPLES
752752
$ sf agent preview send --utterance "what can you help me with?" --authoring-bundle My_Local_Agent
753753
```
754754

755-
_See code: [src/commands/agent/preview/send.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/preview/send.ts)_
755+
_See code: [src/commands/agent/preview/send.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/preview/send.ts)_
756756

757757
## `sf agent preview sessions`
758758

@@ -785,7 +785,7 @@ EXAMPLES
785785
$ sf agent preview sessions
786786
```
787787

788-
_See code: [src/commands/agent/preview/sessions.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/preview/sessions.ts)_
788+
_See code: [src/commands/agent/preview/sessions.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/preview/sessions.ts)_
789789

790790
## `sf agent preview start`
791791

@@ -850,7 +850,7 @@ EXAMPLES
850850
$ sf agent preview start --api-name My_Published_Agent
851851
```
852852

853-
_See code: [src/commands/agent/preview/start.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/preview/start.ts)_
853+
_See code: [src/commands/agent/preview/start.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/preview/start.ts)_
854854

855855
## `sf agent publish authoring-bundle`
856856

@@ -910,7 +910,7 @@ EXAMPLES
910910
$ sf agent publish authoring-bundle --api-name MyAuthoringbundle --concise
911911
```
912912

913-
_See code: [src/commands/agent/publish/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/publish/authoring-bundle.ts)_
913+
_See code: [src/commands/agent/publish/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/publish/authoring-bundle.ts)_
914914

915915
## `sf agent test create`
916916

@@ -919,17 +919,19 @@ Create an agent test in your org using a local test spec YAML file.
919919
```
920920
USAGE
921921
$ sf agent test create -o <value> [--json] [--flags-dir <value>] [--api-name <value>] [--spec <value>] [--api-version
922-
<value>] [--preview] [--force-overwrite]
922+
<value>] [--preview] [--force-overwrite] [--test-runner agentforce-studio|testing-center]
923923
924924
FLAGS
925-
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
926-
configuration variable is already set.
927-
--api-name=<value> API name of the new test; the API name must not exist in the org.
928-
--api-version=<value> Override the api version used for api requests made by this command
929-
--force-overwrite Don't prompt for confirmation when overwriting an existing test (based on API name) in your
930-
org.
931-
--preview Preview the test metadata file (AiEvaluationDefinition) without deploying to your org.
932-
--spec=<value> Path to the test spec YAML file.
925+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
926+
configuration variable is already set.
927+
--api-name=<value> API name of the new test; the API name must not exist in the org.
928+
--api-version=<value> Override the api version used for api requests made by this command
929+
--force-overwrite Don't prompt for confirmation when overwriting an existing test (based on API name) in
930+
your org.
931+
--preview Preview the test metadata file without deploying to your org.
932+
--spec=<value> Path to the test spec YAML file.
933+
--test-runner=<option> Explicitly specify which test runner to use (agentforce-studio or testing-center).
934+
<options: agentforce-studio|testing-center>
933935
934936
GLOBAL FLAGS
935937
--flags-dir=<value> Import flag values from a directory.
@@ -943,8 +945,9 @@ DESCRIPTION
943945
to this command with the --spec flag, or run this command with no flags to be prompted.
944946
945947
When this command completes, your org contains the new agent test, which you can view and edit using the Testing
946-
Center UI. This command also retrieves the metadata component (AiEvaluationDefinition) associated with the new test to
947-
your local Salesforce DX project and displays its filename.
948+
Center UI (legacy) or Agentforce Studio (NGT). This command also retrieves the metadata component associated with the
949+
new test to your local Salesforce DX project and displays its filename. By default, the legacy AiEvaluationDefinition
950+
is created; use --test-runner agentforce-studio to author an AiTestingDefinition (NGT) instead.
948951
949952
After you've created the test in the org, use the "agent test run" command to run it.
950953
@@ -963,9 +966,23 @@ EXAMPLES
963966
Preview what the agent test metadata (AiEvaluationDefinition) looks like without deploying it to your default org:
964967
965968
$ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
969+
970+
Author an Agentforce Studio (NGT) test from an NGT-shaped YAML; writes an AiTestingDefinition metadata file:
971+
972+
$ sf agent test create --spec specs/ReturnsCheckout.ngt.yaml --api-name Returns_Checkout --test-runner \
973+
agentforce-studio --target-org my-org
974+
975+
FLAG DESCRIPTIONS
976+
--test-runner=agentforce-studio|testing-center
977+
978+
Explicitly specify which test runner to use (agentforce-studio or testing-center).
979+
980+
By default, the command automatically detects which test runner to use based on the test definition metadata type in
981+
your org. Use this flag to explicitly specify the runner type. 'agentforce-studio' uses AiTestingDefinition
982+
metadata. 'testing-center' uses AiEvaluationDefinition metadata.
966983
```
967984

968-
_See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/test/create.ts)_
985+
_See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/test/create.ts)_
969986

970987
## `sf agent test list`
971988

@@ -1000,7 +1017,7 @@ EXAMPLES
10001017
$ sf agent test list --target-org my-org
10011018
```
10021019

1003-
_See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/test/list.ts)_
1020+
_See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/test/list.ts)_
10041021

10051022
## `sf agent test results`
10061023

@@ -1076,7 +1093,7 @@ FLAG DESCRIPTIONS
10761093
expression when using custom evaluations.
10771094
```
10781095

1079-
_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/test/results.ts)_
1096+
_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/test/results.ts)_
10801097

10811098
## `sf agent test resume`
10821099

@@ -1160,7 +1177,7 @@ FLAG DESCRIPTIONS
11601177
expression when using custom evaluations.
11611178
```
11621179

1163-
_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/test/resume.ts)_
1180+
_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/test/resume.ts)_
11641181

11651182
## `sf agent test run`
11661183

@@ -1244,7 +1261,7 @@ FLAG DESCRIPTIONS
12441261
expression when using custom evaluations.
12451262
```
12461263

1247-
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/test/run.ts)_
1264+
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/test/run.ts)_
12481265

12491266
## `sf agent test run-eval`
12501267

@@ -1320,7 +1337,7 @@ EXAMPLES
13201337
$ echo '{"tests":[...]}' | sf agent test run-eval --spec --target-org my-org
13211338
```
13221339

1323-
_See code: [src/commands/agent/test/run-eval.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/test/run-eval.ts)_
1340+
_See code: [src/commands/agent/test/run-eval.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/test/run-eval.ts)_
13241341

13251342
## `sf agent trace delete`
13261343

@@ -1384,7 +1401,7 @@ EXAMPLES
13841401
$ sf agent trace delete --no-prompt
13851402
```
13861403

1387-
_See code: [src/commands/agent/trace/delete.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/trace/delete.ts)_
1404+
_See code: [src/commands/agent/trace/delete.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/trace/delete.ts)_
13881405

13891406
## `sf agent trace list`
13901407

@@ -1454,7 +1471,7 @@ FLAG DESCRIPTIONS
14541471
(2026-04-20T14:00:00.000Z). The "Recorded At" values shown in the table output are valid inputs.
14551472
```
14561473

1457-
_See code: [src/commands/agent/trace/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/trace/list.ts)_
1474+
_See code: [src/commands/agent/trace/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/trace/list.ts)_
14581475

14591476
## `sf agent trace read`
14601477

@@ -1542,7 +1559,7 @@ EXAMPLES
15421559
$ sf agent trace read --session-id <SESSION_ID> --json
15431560
```
15441561

1545-
_See code: [src/commands/agent/trace/read.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/trace/read.ts)_
1562+
_See code: [src/commands/agent/trace/read.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/trace/read.ts)_
15461563

15471564
## `sf agent validate authoring-bundle`
15481565

@@ -1589,6 +1606,6 @@ EXAMPLES
15891606
$ sf agent validate authoring-bundle --api-name MyAuthoringBundle --target-org my-dev-org
15901607
```
15911608

1592-
_See code: [src/commands/agent/validate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/validate/authoring-bundle.ts)_
1609+
_See code: [src/commands/agent/validate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/validate/authoring-bundle.ts)_
15931610

15941611
<!-- 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.40.5",
4+
"version": "1.41.0",
55
"author": "Salesforce",
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"enableO11y": true,

0 commit comments

Comments
 (0)