@salesforce/plugin-agent 1.40.5 → 1.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -130,7 +130,7 @@ EXAMPLES
|
|
|
130
130
|
$ sf agent activate --api-name Resort_Manager --version 2 --target-org my-org
|
|
131
131
|
```
|
|
132
132
|
|
|
133
|
-
_See code: [src/commands/agent/activate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
133
|
+
_See code: [src/commands/agent/activate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/activate.ts)_
|
|
134
134
|
|
|
135
135
|
## `sf agent create`
|
|
136
136
|
|
|
@@ -197,7 +197,7 @@ EXAMPLES
|
|
|
197
197
|
$ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
|
|
198
198
|
```
|
|
199
199
|
|
|
200
|
-
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
200
|
+
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/create.ts)_
|
|
201
201
|
|
|
202
202
|
## `sf agent deactivate`
|
|
203
203
|
|
|
@@ -238,7 +238,7 @@ EXAMPLES
|
|
|
238
238
|
$ sf agent deactivate --api-name Resort_Manager --target-org my-org
|
|
239
239
|
```
|
|
240
240
|
|
|
241
|
-
_See code: [src/commands/agent/deactivate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
241
|
+
_See code: [src/commands/agent/deactivate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/deactivate.ts)_
|
|
242
242
|
|
|
243
243
|
## `sf agent generate agent-spec`
|
|
244
244
|
|
|
@@ -345,7 +345,7 @@ EXAMPLES
|
|
|
345
345
|
$ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
|
|
346
346
|
```
|
|
347
347
|
|
|
348
|
-
_See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
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)_
|
|
349
349
|
|
|
350
350
|
## `sf agent generate authoring-bundle`
|
|
351
351
|
|
|
@@ -422,7 +422,7 @@ EXAMPLES
|
|
|
422
422
|
other-package-dir/main/default --target-org my-dev-org
|
|
423
423
|
```
|
|
424
424
|
|
|
425
|
-
_See code: [src/commands/agent/generate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
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)_
|
|
426
426
|
|
|
427
427
|
## `sf agent generate template`
|
|
428
428
|
|
|
@@ -484,7 +484,7 @@ EXAMPLES
|
|
|
484
484
|
my-package --source-org my-scratch-org
|
|
485
485
|
```
|
|
486
486
|
|
|
487
|
-
_See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
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)_
|
|
488
488
|
|
|
489
489
|
## `sf agent generate test-spec`
|
|
490
490
|
|
|
@@ -549,7 +549,7 @@ EXAMPLES
|
|
|
549
549
|
force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
|
|
550
550
|
```
|
|
551
551
|
|
|
552
|
-
_See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
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)_
|
|
553
553
|
|
|
554
554
|
## `sf agent preview`
|
|
555
555
|
|
|
@@ -622,7 +622,7 @@ EXAMPLES
|
|
|
622
622
|
$ sf agent preview --use-live-actions --apex-debug --output-dir transcripts/my-preview
|
|
623
623
|
```
|
|
624
624
|
|
|
625
|
-
_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
625
|
+
_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.41.0/src/commands/agent/preview.ts)_
|
|
626
626
|
|
|
627
627
|
## `sf agent preview end`
|
|
628
628
|
|
|
@@ -694,7 +694,7 @@ EXAMPLES
|
|
|
694
694
|
$ sf agent preview end --all --target-org <target_org>
|
|
695
695
|
```
|
|
696
696
|
|
|
697
|
-
_See code: [src/commands/agent/preview/end.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
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)_
|
|
698
698
|
|
|
699
699
|
## `sf agent preview send`
|
|
700
700
|
|
|
@@ -752,7 +752,7 @@ EXAMPLES
|
|
|
752
752
|
$ sf agent preview send --utterance "what can you help me with?" --authoring-bundle My_Local_Agent
|
|
753
753
|
```
|
|
754
754
|
|
|
755
|
-
_See code: [src/commands/agent/preview/send.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
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)_
|
|
756
756
|
|
|
757
757
|
## `sf agent preview sessions`
|
|
758
758
|
|
|
@@ -785,7 +785,7 @@ EXAMPLES
|
|
|
785
785
|
$ sf agent preview sessions
|
|
786
786
|
```
|
|
787
787
|
|
|
788
|
-
_See code: [src/commands/agent/preview/sessions.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
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)_
|
|
789
789
|
|
|
790
790
|
## `sf agent preview start`
|
|
791
791
|
|
|
@@ -850,7 +850,7 @@ EXAMPLES
|
|
|
850
850
|
$ sf agent preview start --api-name My_Published_Agent
|
|
851
851
|
```
|
|
852
852
|
|
|
853
|
-
_See code: [src/commands/agent/preview/start.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
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)_
|
|
854
854
|
|
|
855
855
|
## `sf agent publish authoring-bundle`
|
|
856
856
|
|
|
@@ -910,7 +910,7 @@ EXAMPLES
|
|
|
910
910
|
$ sf agent publish authoring-bundle --api-name MyAuthoringbundle --concise
|
|
911
911
|
```
|
|
912
912
|
|
|
913
|
-
_See code: [src/commands/agent/publish/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
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)_
|
|
914
914
|
|
|
915
915
|
## `sf agent test create`
|
|
916
916
|
|
|
@@ -919,17 +919,19 @@ Create an agent test in your org using a local test spec YAML file.
|
|
|
919
919
|
```
|
|
920
920
|
USAGE
|
|
921
921
|
$ 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]
|
|
923
923
|
|
|
924
924
|
FLAGS
|
|
925
|
-
-o, --target-org=<value>
|
|
926
|
-
|
|
927
|
-
--api-name=<value>
|
|
928
|
-
--api-version=<value>
|
|
929
|
-
--force-overwrite
|
|
930
|
-
|
|
931
|
-
--preview
|
|
932
|
-
--spec=<value>
|
|
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>
|
|
933
935
|
|
|
934
936
|
GLOBAL FLAGS
|
|
935
937
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -943,8 +945,9 @@ DESCRIPTION
|
|
|
943
945
|
to this command with the --spec flag, or run this command with no flags to be prompted.
|
|
944
946
|
|
|
945
947
|
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
|
|
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.
|
|
948
951
|
|
|
949
952
|
After you've created the test in the org, use the "agent test run" command to run it.
|
|
950
953
|
|
|
@@ -963,9 +966,23 @@ EXAMPLES
|
|
|
963
966
|
Preview what the agent test metadata (AiEvaluationDefinition) looks like without deploying it to your default org:
|
|
964
967
|
|
|
965
968
|
$ 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.
|
|
966
983
|
```
|
|
967
984
|
|
|
968
|
-
_See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
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)_
|
|
969
986
|
|
|
970
987
|
## `sf agent test list`
|
|
971
988
|
|
|
@@ -1000,7 +1017,7 @@ EXAMPLES
|
|
|
1000
1017
|
$ sf agent test list --target-org my-org
|
|
1001
1018
|
```
|
|
1002
1019
|
|
|
1003
|
-
_See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
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)_
|
|
1004
1021
|
|
|
1005
1022
|
## `sf agent test results`
|
|
1006
1023
|
|
|
@@ -1076,7 +1093,7 @@ FLAG DESCRIPTIONS
|
|
|
1076
1093
|
expression when using custom evaluations.
|
|
1077
1094
|
```
|
|
1078
1095
|
|
|
1079
|
-
_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
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)_
|
|
1080
1097
|
|
|
1081
1098
|
## `sf agent test resume`
|
|
1082
1099
|
|
|
@@ -1160,7 +1177,7 @@ FLAG DESCRIPTIONS
|
|
|
1160
1177
|
expression when using custom evaluations.
|
|
1161
1178
|
```
|
|
1162
1179
|
|
|
1163
|
-
_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
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)_
|
|
1164
1181
|
|
|
1165
1182
|
## `sf agent test run`
|
|
1166
1183
|
|
|
@@ -1244,7 +1261,7 @@ FLAG DESCRIPTIONS
|
|
|
1244
1261
|
expression when using custom evaluations.
|
|
1245
1262
|
```
|
|
1246
1263
|
|
|
1247
|
-
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
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)_
|
|
1248
1265
|
|
|
1249
1266
|
## `sf agent test run-eval`
|
|
1250
1267
|
|
|
@@ -1320,7 +1337,7 @@ EXAMPLES
|
|
|
1320
1337
|
$ echo '{"tests":[...]}' | sf agent test run-eval --spec --target-org my-org
|
|
1321
1338
|
```
|
|
1322
1339
|
|
|
1323
|
-
_See code: [src/commands/agent/test/run-eval.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
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)_
|
|
1324
1341
|
|
|
1325
1342
|
## `sf agent trace delete`
|
|
1326
1343
|
|
|
@@ -1384,7 +1401,7 @@ EXAMPLES
|
|
|
1384
1401
|
$ sf agent trace delete --no-prompt
|
|
1385
1402
|
```
|
|
1386
1403
|
|
|
1387
|
-
_See code: [src/commands/agent/trace/delete.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
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)_
|
|
1388
1405
|
|
|
1389
1406
|
## `sf agent trace list`
|
|
1390
1407
|
|
|
@@ -1454,7 +1471,7 @@ FLAG DESCRIPTIONS
|
|
|
1454
1471
|
(2026-04-20T14:00:00.000Z). The "Recorded At" values shown in the table output are valid inputs.
|
|
1455
1472
|
```
|
|
1456
1473
|
|
|
1457
|
-
_See code: [src/commands/agent/trace/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
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)_
|
|
1458
1475
|
|
|
1459
1476
|
## `sf agent trace read`
|
|
1460
1477
|
|
|
@@ -1542,7 +1559,7 @@ EXAMPLES
|
|
|
1542
1559
|
$ sf agent trace read --session-id <SESSION_ID> --json
|
|
1543
1560
|
```
|
|
1544
1561
|
|
|
1545
|
-
_See code: [src/commands/agent/trace/read.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
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)_
|
|
1546
1563
|
|
|
1547
1564
|
## `sf agent validate authoring-bundle`
|
|
1548
1565
|
|
|
@@ -1589,6 +1606,6 @@ EXAMPLES
|
|
|
1589
1606
|
$ sf agent validate authoring-bundle --api-name MyAuthoringBundle --target-org my-dev-org
|
|
1590
1607
|
```
|
|
1591
1608
|
|
|
1592
|
-
_See code: [src/commands/agent/validate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
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)_
|
|
1593
1610
|
|
|
1594
1611
|
<!-- commandsstop -->
|
|
@@ -16,6 +16,7 @@ export default class AgentTestCreate extends SfCommand<AgentTestCreateResult> {
|
|
|
16
16
|
'api-version': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
17
|
preview: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
18
18
|
'force-overwrite': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
19
|
+
'test-runner': import("@oclif/core/interfaces").OptionFlag<"agentforce-studio" | "testing-center" | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
19
20
|
"api-name": import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
20
21
|
spec: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
21
22
|
};
|
|
@@ -19,7 +19,7 @@ import { SfCommand, Flags, toHelpSection } from '@salesforce/sf-plugins-core';
|
|
|
19
19
|
import { Lifecycle, Messages, SfError, EnvironmentVariable } from '@salesforce/core';
|
|
20
20
|
import { AgentTest, AgentTestCreateLifecycleStages } from '@salesforce/agents';
|
|
21
21
|
import { MultiStageOutput } from '@oclif/multi-stage-output';
|
|
22
|
-
import { makeFlags, promptForFlag, promptForYamlFile } from '../../../flags.js';
|
|
22
|
+
import { makeFlags, promptForFlag, promptForYamlFile, testRunnerFlag } from '../../../flags.js';
|
|
23
23
|
import yesNoOrCancel from '../../../yes-no-cancel.js';
|
|
24
24
|
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
|
|
25
25
|
const messages = Messages.loadMessages('@salesforce/plugin-agent', 'agent.test.create');
|
|
@@ -91,6 +91,7 @@ export default class AgentTestCreate extends SfCommand {
|
|
|
91
91
|
'force-overwrite': Flags.boolean({
|
|
92
92
|
summary: messages.getMessage('flags.force-overwrite.summary'),
|
|
93
93
|
}),
|
|
94
|
+
'test-runner': testRunnerFlag,
|
|
94
95
|
};
|
|
95
96
|
mso;
|
|
96
97
|
async run() {
|
|
@@ -142,29 +143,33 @@ export default class AgentTestCreate extends SfCommand {
|
|
|
142
143
|
}
|
|
143
144
|
return Promise.resolve();
|
|
144
145
|
});
|
|
146
|
+
const testRunner = flags['test-runner'];
|
|
147
|
+
const outputDirName = testRunner === 'agentforce-studio' ? 'aiTestingDefinitions' : 'aiEvaluationDefinitions';
|
|
145
148
|
let path;
|
|
146
149
|
let contents;
|
|
147
150
|
try {
|
|
148
151
|
const result = await AgentTest.create(connection, apiName, spec, {
|
|
149
|
-
outputDir: join('force-app', 'main', 'default',
|
|
152
|
+
outputDir: join('force-app', 'main', 'default', outputDirName),
|
|
150
153
|
preview: flags.preview,
|
|
154
|
+
testRunner,
|
|
151
155
|
});
|
|
152
156
|
path = result.path;
|
|
153
157
|
contents = result.contents;
|
|
154
158
|
}
|
|
155
159
|
catch (error) {
|
|
156
160
|
const wrapped = SfError.wrap(error);
|
|
157
|
-
|
|
158
|
-
if (wrapped.message.toLowerCase().includes('not found') ||
|
|
159
|
-
wrapped.message.toLowerCase().includes('enoent') ||
|
|
160
|
-
wrapped.code === 'ENOENT') {
|
|
161
|
+
if (wrapped.code === 'ENOENT' || wrapped.name === 'ENOENT') {
|
|
161
162
|
throw new SfError(`Test spec file not found: ${spec}`, 'SpecFileNotFound', [], 2, wrapped);
|
|
162
163
|
}
|
|
163
|
-
//
|
|
164
|
+
// NGT validateNgtSpec errors are user-fixable spec issues — exit 1, not deploy/network.
|
|
165
|
+
if (wrapped.name?.startsWith('ngt')) {
|
|
166
|
+
throw wrapped;
|
|
167
|
+
}
|
|
168
|
+
// Deploy failures from the lib are bare SfErrors with the componentFailures text as message
|
|
169
|
+
// and no structured code, so message substring is the only available signal.
|
|
164
170
|
if (wrapped.message.toLowerCase().includes('deploy') || wrapped.message.toLowerCase().includes('api')) {
|
|
165
171
|
throw new SfError(`Deployment failed: ${wrapped.message}`, 'DeploymentFailed', [wrapped.message], 4, wrapped);
|
|
166
172
|
}
|
|
167
|
-
// Other errors (validation, format issues) use exit 1
|
|
168
173
|
throw wrapped;
|
|
169
174
|
}
|
|
170
175
|
if (flags.preview) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../src/commands/agent/test/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a local test spec YAML file.
|
|
|
6
6
|
|
|
7
7
|
To run this command, you must have an agent test spec file, which is a YAML file that lists the test cases for testing a specific agent. Use the "agent generate test-spec" CLI command to generate a test spec file. Then specify the file to this command with the --spec flag, or run this command with no flags to be prompted.
|
|
8
8
|
|
|
9
|
-
When this command completes, your org contains the new agent test, which you can view and edit using the Testing Center UI. This command also retrieves the metadata component
|
|
9
|
+
When this command completes, your org contains the new agent test, which you can view and edit using the Testing Center UI (legacy) or Agentforce Studio (NGT). This command also retrieves the metadata component associated with the new test to your local Salesforce DX project and displays its filename. By default, the legacy AiEvaluationDefinition is created; use --test-runner agentforce-studio to author an AiTestingDefinition (NGT) instead.
|
|
10
10
|
|
|
11
11
|
After you've created the test in the org, use the "agent test run" command to run it.
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ Path to the test spec YAML file.
|
|
|
16
16
|
|
|
17
17
|
# flags.preview.summary
|
|
18
18
|
|
|
19
|
-
Preview the test metadata file
|
|
19
|
+
Preview the test metadata file without deploying to your org.
|
|
20
20
|
|
|
21
21
|
# flags.force-overwrite.summary
|
|
22
22
|
|
|
@@ -40,13 +40,17 @@ API name of the new test; the API name must not exist in the org.
|
|
|
40
40
|
|
|
41
41
|
<%= config.bin %> <%= command.id %> --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
|
|
42
42
|
|
|
43
|
+
- Author an Agentforce Studio (NGT) test from an NGT-shaped YAML; writes an AiTestingDefinition metadata file:
|
|
44
|
+
|
|
45
|
+
<%= config.bin %> <%= command.id %> --spec specs/ReturnsCheckout.ngt.yaml --api-name Returns_Checkout --test-runner agentforce-studio --target-org my-org
|
|
46
|
+
|
|
43
47
|
# prompt.confirm
|
|
44
48
|
|
|
45
49
|
A test with the API name %s already exists in the org. Do you want to overwrite it?
|
|
46
50
|
|
|
47
51
|
# info.success
|
|
48
52
|
|
|
49
|
-
Local
|
|
53
|
+
Local test metadata XML file created at %s and agent test deployed to %s.
|
|
50
54
|
|
|
51
55
|
# info.preview-success
|
|
52
56
|
|
package/oclif.manifest.json
CHANGED
|
@@ -1508,11 +1508,12 @@
|
|
|
1508
1508
|
"agent:test:create": {
|
|
1509
1509
|
"aliases": [],
|
|
1510
1510
|
"args": {},
|
|
1511
|
-
"description": "To run this command, you must have an agent test spec file, which is a YAML file that lists the test cases for testing a specific agent. Use the \"agent generate test-spec\" CLI command to generate a test spec file. Then specify the file to this command with the --spec flag, or run this command with no flags to be prompted.\n\nWhen this command completes, your org contains the new agent test, which you can view and edit using the Testing Center UI. This command also retrieves the metadata component
|
|
1511
|
+
"description": "To run this command, you must have an agent test spec file, which is a YAML file that lists the test cases for testing a specific agent. Use the \"agent generate test-spec\" CLI command to generate a test spec file. Then specify the file to this command with the --spec flag, or run this command with no flags to be prompted.\n\nWhen this command completes, your org contains the new agent test, which you can view and edit using the Testing Center UI (legacy) or Agentforce Studio (NGT). This command also retrieves the metadata component associated with the new test to your local Salesforce DX project and displays its filename. By default, the legacy AiEvaluationDefinition is created; use --test-runner agentforce-studio to author an AiTestingDefinition (NGT) instead.\n\nAfter you've created the test in the org, use the \"agent test run\" command to run it.",
|
|
1512
1512
|
"examples": [
|
|
1513
1513
|
"Create an agent test interactively and be prompted for the test spec and API name of the test in the org; use the default org:\n<%= config.bin %> <%= command.id %>",
|
|
1514
1514
|
"Create an agent test and use flags to specify all required information; if a test with same API name already exists in the org, overwrite it without confirmation. Use the org with alias \"my-org\":\n<%= config.bin %> <%= command.id %> --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --force-overwrite --target-org my-org",
|
|
1515
|
-
"Preview what the agent test metadata (AiEvaluationDefinition) looks like without deploying it to your default org:\n<%= config.bin %> <%= command.id %> --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview"
|
|
1515
|
+
"Preview what the agent test metadata (AiEvaluationDefinition) looks like without deploying it to your default org:\n<%= config.bin %> <%= command.id %> --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview",
|
|
1516
|
+
"Author an Agentforce Studio (NGT) test from an NGT-shaped YAML; writes an AiTestingDefinition metadata file:\n<%= config.bin %> <%= command.id %> --spec specs/ReturnsCheckout.ngt.yaml --api-name Returns_Checkout --test-runner agentforce-studio --target-org my-org"
|
|
1516
1517
|
],
|
|
1517
1518
|
"flags": {
|
|
1518
1519
|
"json": {
|
|
@@ -1563,7 +1564,7 @@
|
|
|
1563
1564
|
},
|
|
1564
1565
|
"preview": {
|
|
1565
1566
|
"name": "preview",
|
|
1566
|
-
"summary": "Preview the test metadata file
|
|
1567
|
+
"summary": "Preview the test metadata file without deploying to your org.",
|
|
1567
1568
|
"allowNo": false,
|
|
1568
1569
|
"type": "boolean"
|
|
1569
1570
|
},
|
|
@@ -1572,6 +1573,18 @@
|
|
|
1572
1573
|
"summary": "Don't prompt for confirmation when overwriting an existing test (based on API name) in your org.",
|
|
1573
1574
|
"allowNo": false,
|
|
1574
1575
|
"type": "boolean"
|
|
1576
|
+
},
|
|
1577
|
+
"test-runner": {
|
|
1578
|
+
"description": "By default, the command automatically detects which test runner to use based on the test definition metadata type in your org. Use this flag to explicitly specify the runner type. 'agentforce-studio' uses AiTestingDefinition metadata. 'testing-center' uses AiEvaluationDefinition metadata.",
|
|
1579
|
+
"name": "test-runner",
|
|
1580
|
+
"summary": "Explicitly specify which test runner to use (agentforce-studio or testing-center).",
|
|
1581
|
+
"hasDynamicHelp": false,
|
|
1582
|
+
"multiple": false,
|
|
1583
|
+
"options": [
|
|
1584
|
+
"agentforce-studio",
|
|
1585
|
+
"testing-center"
|
|
1586
|
+
],
|
|
1587
|
+
"type": "option"
|
|
1575
1588
|
}
|
|
1576
1589
|
},
|
|
1577
1590
|
"hasDynamicHelp": true,
|
|
@@ -2744,5 +2757,5 @@
|
|
|
2744
2757
|
]
|
|
2745
2758
|
}
|
|
2746
2759
|
},
|
|
2747
|
-
"version": "1.
|
|
2760
|
+
"version": "1.41.0"
|
|
2748
2761
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-agent",
|
|
3
3
|
"description": "Commands to interact with Salesforce agents",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.41.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"enableO11y": true,
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"@inquirer/prompts": "^7.10.1",
|
|
13
13
|
"@oclif/core": "^4",
|
|
14
14
|
"@oclif/multi-stage-output": "^0.8.36",
|
|
15
|
-
"@salesforce/agents": "^1.
|
|
15
|
+
"@salesforce/agents": "^1.7.1",
|
|
16
16
|
"@salesforce/core": "^8.28.3",
|
|
17
17
|
"@salesforce/kit": "^3.2.6",
|
|
18
18
|
"@salesforce/sf-plugins-core": "^12.2.6",
|
|
19
19
|
"@salesforce/source-deploy-retrieve": "^12.35.3",
|
|
20
|
-
"@salesforce/types": "
|
|
20
|
+
"@salesforce/types": "1.7.1",
|
|
21
21
|
"ansis": "^3.3.2",
|
|
22
22
|
"fast-xml-parser": "^5.7.1",
|
|
23
23
|
"glob": "^11.0.3",
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
"exports": "./lib/index.js",
|
|
241
241
|
"type": "module",
|
|
242
242
|
"sfdx": {
|
|
243
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.
|
|
244
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.
|
|
243
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.41.0.crt",
|
|
244
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.41.0.sig"
|
|
245
245
|
}
|
|
246
246
|
}
|