@salesforce/cli 2.142.0 → 2.142.1
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 +477 -64
- package/npm-shrinkwrap.json +31 -44
- package/oclif.lock +28 -39
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
|
|
|
25
25
|
$ sf COMMAND
|
|
26
26
|
running command...
|
|
27
27
|
$ sf (--version|-v)
|
|
28
|
-
@salesforce/cli/2.142.
|
|
28
|
+
@salesforce/cli/2.142.1 linux-x64 node-v22.23.0
|
|
29
29
|
$ sf --help [COMMAND]
|
|
30
30
|
USAGE
|
|
31
31
|
$ sf COMMAND
|
|
@@ -59,6 +59,14 @@ See [architecture page](ARCHITECTURE.md) for diagrams of the Salesforce CLI.
|
|
|
59
59
|
- [`sf agent generate authoring-bundle`](#sf-agent-generate-authoring-bundle)
|
|
60
60
|
- [`sf agent generate template`](#sf-agent-generate-template)
|
|
61
61
|
- [`sf agent generate test-spec`](#sf-agent-generate-test-spec)
|
|
62
|
+
- [`sf agent mcp asset list`](#sf-agent-mcp-asset-list)
|
|
63
|
+
- [`sf agent mcp asset replace`](#sf-agent-mcp-asset-replace)
|
|
64
|
+
- [`sf agent mcp create`](#sf-agent-mcp-create)
|
|
65
|
+
- [`sf agent mcp delete`](#sf-agent-mcp-delete)
|
|
66
|
+
- [`sf agent mcp fetch`](#sf-agent-mcp-fetch)
|
|
67
|
+
- [`sf agent mcp get`](#sf-agent-mcp-get)
|
|
68
|
+
- [`sf agent mcp list`](#sf-agent-mcp-list)
|
|
69
|
+
- [`sf agent mcp update`](#sf-agent-mcp-update)
|
|
62
70
|
- [`sf agent preview`](#sf-agent-preview)
|
|
63
71
|
- [`sf agent preview end`](#sf-agent-preview-end)
|
|
64
72
|
- [`sf agent preview send`](#sf-agent-preview-send)
|
|
@@ -294,7 +302,7 @@ ERROR CODES
|
|
|
294
302
|
ActivationFailed (4) Failed to activate the agent due to API or network errors.
|
|
295
303
|
```
|
|
296
304
|
|
|
297
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
305
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/activate.ts)_
|
|
298
306
|
|
|
299
307
|
## `sf agent adl create`
|
|
300
308
|
|
|
@@ -352,7 +360,7 @@ EXAMPLES
|
|
|
352
360
|
--source-type retriever --retriever-id 0ppXX0000000001
|
|
353
361
|
```
|
|
354
362
|
|
|
355
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
363
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/create.ts)_
|
|
356
364
|
|
|
357
365
|
## `sf agent adl delete`
|
|
358
366
|
|
|
@@ -383,7 +391,7 @@ EXAMPLES
|
|
|
383
391
|
$ sf agent adl delete --library-id 1JDSG000007IbWX4A0 --target-org myOrg
|
|
384
392
|
```
|
|
385
393
|
|
|
386
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
394
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/delete.ts)_
|
|
387
395
|
|
|
388
396
|
## `sf agent adl file add`
|
|
389
397
|
|
|
@@ -422,7 +430,7 @@ EXAMPLES
|
|
|
422
430
|
$ sf agent adl file add -i 1JDSG000007IbWX4A0 --path ./docs/guide.pdf --path ./docs/faq.txt --target-org myOrg
|
|
423
431
|
```
|
|
424
432
|
|
|
425
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
433
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/file/add.ts)_
|
|
426
434
|
|
|
427
435
|
## `sf agent adl file delete`
|
|
428
436
|
|
|
@@ -455,7 +463,7 @@ EXAMPLES
|
|
|
455
463
|
$ sf agent adl file delete --library-id 1JDSG000007IbWX4A0 --file-id a1B2C3D4E5F6G7H8I9 --target-org myOrg
|
|
456
464
|
```
|
|
457
465
|
|
|
458
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
466
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/file/delete.ts)_
|
|
459
467
|
|
|
460
468
|
## `sf agent adl file list`
|
|
461
469
|
|
|
@@ -490,7 +498,7 @@ EXAMPLES
|
|
|
490
498
|
$ sf agent adl file list --library-id 1JDSG000007IbWX4A0 --target-org myOrg --json
|
|
491
499
|
```
|
|
492
500
|
|
|
493
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
501
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/file/list.ts)_
|
|
494
502
|
|
|
495
503
|
## `sf agent adl get`
|
|
496
504
|
|
|
@@ -521,7 +529,7 @@ EXAMPLES
|
|
|
521
529
|
$ sf agent adl get --library-id 1JDSG000007IbWX4A0 --target-org myOrg
|
|
522
530
|
```
|
|
523
531
|
|
|
524
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
532
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/get.ts)_
|
|
525
533
|
|
|
526
534
|
## `sf agent adl list`
|
|
527
535
|
|
|
@@ -558,7 +566,7 @@ EXAMPLES
|
|
|
558
566
|
$ sf agent adl list --target-org myOrg --json
|
|
559
567
|
```
|
|
560
568
|
|
|
561
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
569
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/list.ts)_
|
|
562
570
|
|
|
563
571
|
## `sf agent adl status`
|
|
564
572
|
|
|
@@ -590,7 +598,7 @@ EXAMPLES
|
|
|
590
598
|
$ sf agent adl status --library-id 1JDSG000007IbWX4A0 --target-org myOrg
|
|
591
599
|
```
|
|
592
600
|
|
|
593
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
601
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/status.ts)_
|
|
594
602
|
|
|
595
603
|
## `sf agent adl update`
|
|
596
604
|
|
|
@@ -642,7 +650,7 @@ EXAMPLES
|
|
|
642
650
|
$ sf agent adl update --library-id 1JDSG000007IbWX4A0 --restrict-to-public-articles --target-org myOrg
|
|
643
651
|
```
|
|
644
652
|
|
|
645
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
653
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/update.ts)_
|
|
646
654
|
|
|
647
655
|
## `sf agent adl upload`
|
|
648
656
|
|
|
@@ -685,7 +693,7 @@ EXAMPLES
|
|
|
685
693
|
$ sf agent adl upload --library-id 1JDSG000007IbWX4A0 --file ./docs/guide.pdf --target-org myOrg
|
|
686
694
|
```
|
|
687
695
|
|
|
688
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
696
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/adl/upload.ts)_
|
|
689
697
|
|
|
690
698
|
## `sf agent create`
|
|
691
699
|
|
|
@@ -752,7 +760,7 @@ EXAMPLES
|
|
|
752
760
|
$ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
|
|
753
761
|
```
|
|
754
762
|
|
|
755
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
763
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/create.ts)_
|
|
756
764
|
|
|
757
765
|
## `sf agent deactivate`
|
|
758
766
|
|
|
@@ -801,7 +809,7 @@ ERROR CODES
|
|
|
801
809
|
DeactivationFailed (4) Failed to deactivate the agent due to API or network errors.
|
|
802
810
|
```
|
|
803
811
|
|
|
804
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
812
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/deactivate.ts)_
|
|
805
813
|
|
|
806
814
|
## `sf agent generate agent-spec`
|
|
807
815
|
|
|
@@ -908,7 +916,7 @@ EXAMPLES
|
|
|
908
916
|
$ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
|
|
909
917
|
```
|
|
910
918
|
|
|
911
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
919
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/generate/agent-spec.ts)_
|
|
912
920
|
|
|
913
921
|
## `sf agent generate authoring-bundle`
|
|
914
922
|
|
|
@@ -985,7 +993,7 @@ EXAMPLES
|
|
|
985
993
|
other-package-dir/main/default --target-org my-dev-org
|
|
986
994
|
```
|
|
987
995
|
|
|
988
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
996
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/generate/authoring-bundle.ts)_
|
|
989
997
|
|
|
990
998
|
## `sf agent generate template`
|
|
991
999
|
|
|
@@ -1047,7 +1055,7 @@ EXAMPLES
|
|
|
1047
1055
|
my-package --source-org my-scratch-org
|
|
1048
1056
|
```
|
|
1049
1057
|
|
|
1050
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1058
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/generate/template.ts)_
|
|
1051
1059
|
|
|
1052
1060
|
## `sf agent generate test-spec`
|
|
1053
1061
|
|
|
@@ -1055,14 +1063,18 @@ Generate an agent test spec, which is a YAML file that lists the test cases for
|
|
|
1055
1063
|
|
|
1056
1064
|
```
|
|
1057
1065
|
USAGE
|
|
1058
|
-
$ sf agent generate test-spec [--flags-dir <value>] [-d <value>] [--force-overwrite] [-f <value>]
|
|
1066
|
+
$ sf agent generate test-spec [--flags-dir <value>] [-d <value>] [--force-overwrite] [-f <value>] [--test-runner
|
|
1067
|
+
agentforce-studio|testing-center]
|
|
1059
1068
|
|
|
1060
1069
|
FLAGS
|
|
1061
|
-
-d, --from-definition=<value> Filepath to
|
|
1062
|
-
want to convert to a test spec YAML file.
|
|
1070
|
+
-d, --from-definition=<value> Filepath to an AiEvaluationDefinition or AiTestingDefinition metadata XML file in your
|
|
1071
|
+
DX project that you want to convert to a test spec YAML file.
|
|
1063
1072
|
-f, --output-file=<value> Name of the generated test spec YAML file. Default value is
|
|
1064
|
-
"specs/<AGENT_API_NAME>-testSpec.yaml"
|
|
1073
|
+
"specs/<AGENT_API_NAME>-testSpec.yaml" (legacy) or
|
|
1074
|
+
"specs/<AGENT_API_NAME>-ngtTestSpec.yaml" (Agentforce Studio).
|
|
1065
1075
|
--force-overwrite Don't prompt for confirmation when overwriting an existing test spec YAML file.
|
|
1076
|
+
--test-runner=<option> Explicitly specify which test runner to use (agentforce-studio or testing-center).
|
|
1077
|
+
<options: agentforce-studio|testing-center>
|
|
1066
1078
|
|
|
1067
1079
|
GLOBAL FLAGS
|
|
1068
1080
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -1091,16 +1103,22 @@ DESCRIPTION
|
|
|
1091
1103
|
information.
|
|
1092
1104
|
|
|
1093
1105
|
When your test spec is ready, you then run the "agent test create" command to actually create the test in your org and
|
|
1094
|
-
synchronize the metadata with your DX project. The metadata type for an agent test is AiEvaluationDefinition
|
|
1106
|
+
synchronize the metadata with your DX project. The metadata type for an agent test is `AiEvaluationDefinition` (legacy
|
|
1107
|
+
testing-center) or `AiTestingDefinition` (Agentforce Studio / NGT), selected via --test-runner.
|
|
1095
1108
|
|
|
1096
|
-
If you have an existing AiEvaluationDefinition metadata XML file in your DX project, you can
|
|
1097
|
-
YAML test spec file with the --from-definition flag.
|
|
1109
|
+
If you have an existing AiEvaluationDefinition or AiTestingDefinition metadata XML file in your DX project, you can
|
|
1110
|
+
generate its equivalent YAML test spec file with the --from-definition flag. The runner is inferred from the file
|
|
1111
|
+
extension; pass --test-runner to override.
|
|
1098
1112
|
|
|
1099
1113
|
EXAMPLES
|
|
1100
1114
|
Generate an agent test spec YAML file interactively:
|
|
1101
1115
|
|
|
1102
1116
|
$ sf agent generate test-spec
|
|
1103
1117
|
|
|
1118
|
+
Generate an Agentforce Studio (NGT) test spec YAML file interactively:
|
|
1119
|
+
|
|
1120
|
+
$ sf agent generate test-spec --test-runner agentforce-studio
|
|
1121
|
+
|
|
1104
1122
|
Generate an agent test spec YAML file and specify a name for the new file; if the file exists, overwrite it without
|
|
1105
1123
|
confirmation:
|
|
1106
1124
|
|
|
@@ -1109,10 +1127,361 @@ EXAMPLES
|
|
|
1109
1127
|
Generate an agent test spec YAML file from an existing AiEvaluationDefinition metadata XML file in your DX project:
|
|
1110
1128
|
|
|
1111
1129
|
$ sf agent generate test-spec --from-definition \
|
|
1112
|
-
force-app
|
|
1130
|
+
force-app/main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
|
|
1131
|
+
|
|
1132
|
+
Generate an Agentforce Studio (NGT) test spec YAML file from an existing AiTestingDefinition metadata XML file:
|
|
1133
|
+
|
|
1134
|
+
$ sf agent generate test-spec --from-definition \
|
|
1135
|
+
force-app/main/default/aiTestingDefinitions/Returns_Checkout_Tests.aiTestingDefinition-meta.xml
|
|
1136
|
+
|
|
1137
|
+
FLAG DESCRIPTIONS
|
|
1138
|
+
--test-runner=agentforce-studio|testing-center
|
|
1139
|
+
|
|
1140
|
+
Explicitly specify which test runner to use (agentforce-studio or testing-center).
|
|
1141
|
+
|
|
1142
|
+
By default, the command automatically detects which test runner to use based on the test definition metadata type in
|
|
1143
|
+
your org. Use this flag to explicitly specify the runner type. 'agentforce-studio' uses AiTestingDefinition
|
|
1144
|
+
metadata. 'testing-center' uses AiEvaluationDefinition metadata.
|
|
1145
|
+
```
|
|
1146
|
+
|
|
1147
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/generate/test-spec.ts)_
|
|
1148
|
+
|
|
1149
|
+
## `sf agent mcp asset list`
|
|
1150
|
+
|
|
1151
|
+
List the assets (tools, prompts, and resources) for an MCP server in the catalog.
|
|
1152
|
+
|
|
1153
|
+
```
|
|
1154
|
+
USAGE
|
|
1155
|
+
$ sf agent mcp asset list -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
|
|
1156
|
+
|
|
1157
|
+
FLAGS
|
|
1158
|
+
-i, --mcp-server-id=<value> (required) The ID of the MCP server whose assets you want to list.
|
|
1159
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
1160
|
+
configuration variable is already set.
|
|
1161
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
1162
|
+
|
|
1163
|
+
GLOBAL FLAGS
|
|
1164
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
1165
|
+
--json Format output as json.
|
|
1166
|
+
|
|
1167
|
+
DESCRIPTION
|
|
1168
|
+
List the assets (tools, prompts, and resources) for an MCP server in the catalog.
|
|
1169
|
+
|
|
1170
|
+
Returns the assets discovered for the specified MCP server, including each asset's kind (MCP_TOOL, MCP_PROMPT, or
|
|
1171
|
+
MCP_RESOURCE), whether it is active, and whether it is available as an agent action.
|
|
1172
|
+
|
|
1173
|
+
EXAMPLES
|
|
1174
|
+
List the assets for an MCP server in the default target org:
|
|
1175
|
+
|
|
1176
|
+
$ sf agent mcp asset list --target-org myOrg --mcp-server-id 0XSxx0000000001
|
|
1177
|
+
|
|
1178
|
+
List the assets for an MCP server and output as JSON:
|
|
1179
|
+
|
|
1180
|
+
$ sf agent mcp asset list --target-org myOrg --mcp-server-id 0XSxx0000000001 --json
|
|
1181
|
+
```
|
|
1182
|
+
|
|
1183
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/mcp/asset/list.ts)_
|
|
1184
|
+
|
|
1185
|
+
## `sf agent mcp asset replace`
|
|
1186
|
+
|
|
1187
|
+
Replace the asset set of an MCP server in the API Catalog.
|
|
1188
|
+
|
|
1189
|
+
```
|
|
1190
|
+
USAGE
|
|
1191
|
+
$ sf agent mcp asset replace -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>] [--assets <value>
|
|
1192
|
+
| --assets-file <value>]
|
|
1193
|
+
|
|
1194
|
+
FLAGS
|
|
1195
|
+
-i, --mcp-server-id=<value> (required) ID of the MCP server whose assets you want to replace.
|
|
1196
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
1197
|
+
configuration variable is already set.
|
|
1198
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
1199
|
+
--assets=<value> The desired asset allowlist as a JSON string (or "-" to read from stdin). Mutually
|
|
1200
|
+
exclusive with --assets-file.
|
|
1201
|
+
--assets-file=<value> Path to a JSON file containing the desired asset allowlist. Mutually exclusive with
|
|
1202
|
+
--assets.
|
|
1203
|
+
|
|
1204
|
+
GLOBAL FLAGS
|
|
1205
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
1206
|
+
--json Format output as json.
|
|
1207
|
+
|
|
1208
|
+
DESCRIPTION
|
|
1209
|
+
Replace the asset set of an MCP server in the API Catalog.
|
|
1210
|
+
|
|
1211
|
+
Replaces the full set of assets (tools, prompts, resources) for an MCP server with the asset items you supply. Provide
|
|
1212
|
+
the assets either inline with `--assets` (a JSON string, or `-` to read from stdin) or from a file with
|
|
1213
|
+
`--assets-file`. The JSON must be either an array of asset items or an object of the form `{ "assets": [...] }`. Each
|
|
1214
|
+
asset item may include `id`, `name`, `label`, `description`, `active`, and `kind`. This is a full replacement:
|
|
1215
|
+
existing assets not present in the supplied set are removed, so provide the complete desired asset set (read the
|
|
1216
|
+
current set first with `agent mcp asset list` or `agent mcp fetch`).
|
|
1217
|
+
|
|
1218
|
+
EXAMPLES
|
|
1219
|
+
Replace the assets inline with a JSON string:
|
|
1220
|
+
|
|
1221
|
+
$ sf agent mcp asset replace --mcp-server-id 0XSxx0000000001 --assets \
|
|
1222
|
+
'{"assets":[{"name":"McpTool__add","active":true}]}' --target-org myOrg
|
|
1223
|
+
|
|
1224
|
+
Replace the assets from a JSON file:
|
|
1225
|
+
|
|
1226
|
+
$ sf agent mcp asset replace --mcp-server-id 0XSxx0000000001 --assets-file ./assets.json --target-org myOrg
|
|
1227
|
+
|
|
1228
|
+
Pipe the assets from stdin:
|
|
1229
|
+
cat assets.json | sf agent mcp asset replace --mcp-server-id 0XSxx0000000001 --assets - --target-org myOrg
|
|
1230
|
+
```
|
|
1231
|
+
|
|
1232
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/mcp/asset/replace.ts)_
|
|
1233
|
+
|
|
1234
|
+
## `sf agent mcp create`
|
|
1235
|
+
|
|
1236
|
+
Create an MCP server in the API Catalog.
|
|
1237
|
+
|
|
1238
|
+
```
|
|
1239
|
+
USAGE
|
|
1240
|
+
$ sf agent mcp create -o <value> -n <value> --server-url <value> [--json] [--flags-dir <value>] [--api-version
|
|
1241
|
+
<value>] [--label <value>] [--description <value>] [--auth-type OAUTH|NO_AUTH] [--identity-provider <value>]
|
|
1242
|
+
[--client-id <value>] [--client-secret <value>] [--scope <value>]
|
|
1243
|
+
|
|
1244
|
+
FLAGS
|
|
1245
|
+
-n, --name=<value> (required) Unique name of the MCP server.
|
|
1246
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
1247
|
+
configuration variable is already set.
|
|
1248
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
1249
|
+
--auth-type=<option> [default: NO_AUTH] Authorization type to use when connecting to the MCP server.
|
|
1250
|
+
<options: OAUTH|NO_AUTH>
|
|
1251
|
+
--client-id=<value> OAuth client ID. Required when auth-type is OAUTH.
|
|
1252
|
+
--client-secret=<value> OAuth client secret. Required when auth-type is OAUTH. Pass "-" to read it from stdin
|
|
1253
|
+
(piped) and keep it out of shell history.
|
|
1254
|
+
--description=<value> Description of the MCP server.
|
|
1255
|
+
--identity-provider=<value> Identity provider to use for OAuth authorization. Required when auth-type is OAUTH.
|
|
1256
|
+
--label=<value> Human-readable label for the MCP server.
|
|
1257
|
+
--scope=<value> OAuth scope to request. Required when auth-type is OAUTH.
|
|
1258
|
+
--server-url=<value> (required) URL of the external MCP server.
|
|
1259
|
+
|
|
1260
|
+
GLOBAL FLAGS
|
|
1261
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
1262
|
+
--json Format output as json.
|
|
1263
|
+
|
|
1264
|
+
DESCRIPTION
|
|
1265
|
+
Create an MCP server in the API Catalog.
|
|
1266
|
+
|
|
1267
|
+
Registers an external Model Context Protocol (MCP) server with the API Catalog and discovers its assets (tools,
|
|
1268
|
+
prompts, and resources). Provide the server URL and, when the server requires it, OAuth authorization details. When
|
|
1269
|
+
the authorization type is OAUTH you must supply the identity provider, client ID, client secret, and scope.
|
|
1270
|
+
|
|
1271
|
+
EXAMPLES
|
|
1272
|
+
Create an MCP server with no authentication:
|
|
1273
|
+
|
|
1274
|
+
$ sf agent mcp create --name myServer --server-url https://mcp.example.com --target-org myOrg
|
|
1275
|
+
|
|
1276
|
+
Create an MCP server that uses OAuth authentication, piping the client secret from stdin to keep it out of shell history:
|
|
1277
|
+
cat secret.txt | sf agent mcp create --name myServer --server-url https://mcp.example.com --auth-type OAUTH --identity-provider myIdp --client-id abc123 --client-secret - --scope "read write" --target-org myOrg
|
|
1278
|
+
```
|
|
1279
|
+
|
|
1280
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/mcp/create.ts)_
|
|
1281
|
+
|
|
1282
|
+
## `sf agent mcp delete`
|
|
1283
|
+
|
|
1284
|
+
Delete an MCP server from the API Catalog.
|
|
1285
|
+
|
|
1286
|
+
```
|
|
1287
|
+
USAGE
|
|
1288
|
+
$ sf agent mcp delete -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>] [--no-prompt]
|
|
1289
|
+
|
|
1290
|
+
FLAGS
|
|
1291
|
+
-i, --mcp-server-id=<value> (required) ID of the MCP server to delete.
|
|
1292
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
1293
|
+
configuration variable is already set.
|
|
1294
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
1295
|
+
--no-prompt Skip the confirmation prompt and delete the MCP server immediately.
|
|
1296
|
+
|
|
1297
|
+
GLOBAL FLAGS
|
|
1298
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
1299
|
+
--json Format output as json.
|
|
1300
|
+
|
|
1301
|
+
DESCRIPTION
|
|
1302
|
+
Delete an MCP server from the API Catalog.
|
|
1303
|
+
|
|
1304
|
+
Permanently removes an MCP (Model Context Protocol) server registration from the API Catalog, identified by its ID. By
|
|
1305
|
+
default you are prompted to confirm the deletion; pass --no-prompt to skip the confirmation (for example in scripts
|
|
1306
|
+
and CI).
|
|
1307
|
+
|
|
1308
|
+
EXAMPLES
|
|
1309
|
+
Delete an MCP server, confirming interactively:
|
|
1310
|
+
|
|
1311
|
+
$ sf agent mcp delete --mcp-server-id 0XSxx0000000001 --target-org myOrg
|
|
1312
|
+
|
|
1313
|
+
Delete an MCP server without a confirmation prompt:
|
|
1314
|
+
|
|
1315
|
+
$ sf agent mcp delete --mcp-server-id 0XSxx0000000001 --target-org myOrg --no-prompt
|
|
1316
|
+
```
|
|
1317
|
+
|
|
1318
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/mcp/delete.ts)_
|
|
1319
|
+
|
|
1320
|
+
## `sf agent mcp fetch`
|
|
1321
|
+
|
|
1322
|
+
Fetch the live assets (tools, prompts, resources) advertised by an MCP server.
|
|
1323
|
+
|
|
1324
|
+
```
|
|
1325
|
+
USAGE
|
|
1326
|
+
$ sf agent mcp fetch -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
|
|
1327
|
+
|
|
1328
|
+
FLAGS
|
|
1329
|
+
-i, --mcp-server-id=<value> (required) ID of the MCP server to fetch assets from.
|
|
1330
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
1331
|
+
configuration variable is already set.
|
|
1332
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
1333
|
+
|
|
1334
|
+
GLOBAL FLAGS
|
|
1335
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
1336
|
+
--json Format output as json.
|
|
1337
|
+
|
|
1338
|
+
DESCRIPTION
|
|
1339
|
+
Fetch the live assets (tools, prompts, resources) advertised by an MCP server.
|
|
1340
|
+
|
|
1341
|
+
Performs a live fetch against the configured MCP server identified by its ID, returning the assets (MCP tools,
|
|
1342
|
+
prompts, and resources) it currently advertises along with their status and activation state. Use this to refresh the
|
|
1343
|
+
view of what an MCP server exposes before activating its assets as agent actions.
|
|
1344
|
+
|
|
1345
|
+
EXAMPLES
|
|
1346
|
+
Fetch the assets advertised by an MCP server in the default target org:
|
|
1347
|
+
|
|
1348
|
+
$ sf agent mcp fetch --target-org myOrg --mcp-server-id 0XSxx0000000001
|
|
1349
|
+
|
|
1350
|
+
Fetch MCP server assets and output as JSON:
|
|
1351
|
+
|
|
1352
|
+
$ sf agent mcp fetch --target-org myOrg --mcp-server-id 0XSxx0000000001 --json
|
|
1353
|
+
```
|
|
1354
|
+
|
|
1355
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/mcp/fetch.ts)_
|
|
1356
|
+
|
|
1357
|
+
## `sf agent mcp get`
|
|
1358
|
+
|
|
1359
|
+
Get a single MCP server registered in the API Catalog.
|
|
1360
|
+
|
|
1361
|
+
```
|
|
1362
|
+
USAGE
|
|
1363
|
+
$ sf agent mcp get -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
|
|
1364
|
+
|
|
1365
|
+
FLAGS
|
|
1366
|
+
-i, --mcp-server-id=<value> (required) The identifier of the MCP server to retrieve.
|
|
1367
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
1368
|
+
configuration variable is already set.
|
|
1369
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
1370
|
+
|
|
1371
|
+
GLOBAL FLAGS
|
|
1372
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
1373
|
+
--json Format output as json.
|
|
1374
|
+
|
|
1375
|
+
DESCRIPTION
|
|
1376
|
+
Get a single MCP server registered in the API Catalog.
|
|
1377
|
+
|
|
1378
|
+
Retrieves the details of an MCP (Model Context Protocol) server by its identifier, including its name, label, type,
|
|
1379
|
+
status, and server URL.
|
|
1380
|
+
|
|
1381
|
+
EXAMPLES
|
|
1382
|
+
Get an MCP server by id in the default target org:
|
|
1383
|
+
|
|
1384
|
+
$ sf agent mcp get --target-org myOrg --mcp-server-id 0Mx000000000001
|
|
1385
|
+
|
|
1386
|
+
Get an MCP server and output as JSON:
|
|
1387
|
+
|
|
1388
|
+
$ sf agent mcp get --target-org myOrg --mcp-server-id 0Mx000000000001 --json
|
|
1389
|
+
```
|
|
1390
|
+
|
|
1391
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/mcp/get.ts)_
|
|
1392
|
+
|
|
1393
|
+
## `sf agent mcp list`
|
|
1394
|
+
|
|
1395
|
+
List the MCP servers registered in the API Catalog.
|
|
1396
|
+
|
|
1397
|
+
```
|
|
1398
|
+
USAGE
|
|
1399
|
+
$ sf agent mcp list -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [--label <value>] [--type
|
|
1400
|
+
EXTERNAL] [--status ACTIVE|DISCONNECTED]
|
|
1401
|
+
|
|
1402
|
+
FLAGS
|
|
1403
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
1404
|
+
configuration variable is already set.
|
|
1405
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
1406
|
+
--label=<value> Filter the MCP servers by label.
|
|
1407
|
+
--status=<option> Filter the MCP servers by connection status. Only ACTIVE and DISCONNECTED are supported as
|
|
1408
|
+
filters.
|
|
1409
|
+
<options: ACTIVE|DISCONNECTED>
|
|
1410
|
+
--type=<option> Filter the MCP servers by type.
|
|
1411
|
+
<options: EXTERNAL>
|
|
1412
|
+
|
|
1413
|
+
GLOBAL FLAGS
|
|
1414
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
1415
|
+
--json Format output as json.
|
|
1416
|
+
|
|
1417
|
+
DESCRIPTION
|
|
1418
|
+
List the MCP servers registered in the API Catalog.
|
|
1419
|
+
|
|
1420
|
+
Returns the Model Context Protocol (MCP) servers registered in the API Catalog, optionally filtered by label, type, or
|
|
1421
|
+
status. Use this to discover which MCP servers are available and inspect their server URLs and current status.
|
|
1422
|
+
|
|
1423
|
+
EXAMPLES
|
|
1424
|
+
List all MCP servers in the default target org:
|
|
1425
|
+
|
|
1426
|
+
$ sf agent mcp list --target-org myOrg
|
|
1427
|
+
|
|
1428
|
+
List external MCP servers filtered by status and output as JSON:
|
|
1429
|
+
|
|
1430
|
+
$ sf agent mcp list --target-org myOrg --type EXTERNAL --status ACTIVE --json
|
|
1431
|
+
```
|
|
1432
|
+
|
|
1433
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/mcp/list.ts)_
|
|
1434
|
+
|
|
1435
|
+
## `sf agent mcp update`
|
|
1436
|
+
|
|
1437
|
+
Update an MCP server registered in the API Catalog.
|
|
1438
|
+
|
|
1439
|
+
```
|
|
1440
|
+
USAGE
|
|
1441
|
+
$ sf agent mcp update -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>] [--label <value>]
|
|
1442
|
+
[--description <value>] [--server-url <value>] [--auth-type OAUTH|NO_AUTH] [--identity-provider <value>]
|
|
1443
|
+
[--client-id <value>] [--client-secret <value>] [--scope <value>]
|
|
1444
|
+
|
|
1445
|
+
FLAGS
|
|
1446
|
+
-i, --mcp-server-id=<value> (required) ID of the MCP server to update.
|
|
1447
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
1448
|
+
configuration variable is already set.
|
|
1449
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
1450
|
+
--auth-type=<option> Authorization type to apply to the MCP server (OAUTH or NO_AUTH).
|
|
1451
|
+
<options: OAUTH|NO_AUTH>
|
|
1452
|
+
--client-id=<value> OAuth client ID (required when --auth-type is OAUTH).
|
|
1453
|
+
--client-secret=<value> OAuth client secret (required when --auth-type is OAUTH). Pass "-" to read it from
|
|
1454
|
+
stdin (piped) and keep it out of shell history.
|
|
1455
|
+
--description=<value> New description for the MCP server.
|
|
1456
|
+
--identity-provider=<value> Identity provider name for OAuth authorization (required when --auth-type is OAUTH).
|
|
1457
|
+
--label=<value> New display label for the MCP server.
|
|
1458
|
+
--scope=<value> OAuth scope (required when --auth-type is OAUTH).
|
|
1459
|
+
--server-url=<value> New endpoint URL of the MCP server.
|
|
1460
|
+
|
|
1461
|
+
GLOBAL FLAGS
|
|
1462
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
1463
|
+
--json Format output as json.
|
|
1464
|
+
|
|
1465
|
+
DESCRIPTION
|
|
1466
|
+
Update an MCP server registered in the API Catalog.
|
|
1467
|
+
|
|
1468
|
+
Updates an existing MCP server in the API Catalog. Only the fields you provide are changed; omitted fields are left
|
|
1469
|
+
untouched. You can update the label, description, and server URL, and replace the authorization configuration. When
|
|
1470
|
+
setting `--auth-type OAUTH`, you must also provide `--identity-provider`, `--client-id`, `--client-secret`, and
|
|
1471
|
+
`--scope`. When setting `--auth-type NO_AUTH`, no authorization credentials are required. At least one updatable field
|
|
1472
|
+
must be supplied.
|
|
1473
|
+
|
|
1474
|
+
EXAMPLES
|
|
1475
|
+
Update the label and description of an MCP server in the default target org:
|
|
1476
|
+
|
|
1477
|
+
$ sf agent mcp update --mcp-server-id 0XSxx0000000001 --label "Orders MCP" --description "Order tooling" \
|
|
1478
|
+
--target-org myOrg
|
|
1479
|
+
|
|
1480
|
+
Update the server URL and switch the authorization to OAuth, piping the client secret from stdin and outputting as JSON:
|
|
1481
|
+
cat secret.txt | sf agent mcp update --mcp-server-id 0XSxx0000000001 --server-url https://mcp.example.com --auth-type OAUTH --identity-provider MyIdp --client-id abc --client-secret - --scope "read write" --target-org myOrg --json
|
|
1113
1482
|
```
|
|
1114
1483
|
|
|
1115
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1484
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/mcp/update.ts)_
|
|
1116
1485
|
|
|
1117
1486
|
## `sf agent preview`
|
|
1118
1487
|
|
|
@@ -1121,19 +1490,20 @@ Interact with an agent to preview how it responds to your statements, questions,
|
|
|
1121
1490
|
```
|
|
1122
1491
|
USAGE
|
|
1123
1492
|
$ sf agent preview -o <value> [--flags-dir <value>] [--api-version <value>] [-n <value>] [--authoring-bundle
|
|
1124
|
-
<value>] [-d <value>] [-x] [--use-live-actions]
|
|
1493
|
+
<value>] [-d <value>] [-x] [--use-live-actions] [--context-variables <value>...]
|
|
1125
1494
|
|
|
1126
1495
|
FLAGS
|
|
1127
|
-
-d, --output-dir=<value>
|
|
1128
|
-
-n, --api-name=<value>
|
|
1129
|
-
-o, --target-org=<value>
|
|
1130
|
-
|
|
1131
|
-
-x, --apex-debug
|
|
1132
|
-
--api-version=<value>
|
|
1133
|
-
--authoring-bundle=<value>
|
|
1134
|
-
|
|
1135
|
-
--
|
|
1136
|
-
|
|
1496
|
+
-d, --output-dir=<value> Directory where conversation transcripts are saved.
|
|
1497
|
+
-n, --api-name=<value> API name of the activated published agent you want to interact with.
|
|
1498
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
1499
|
+
configuration variable is already set.
|
|
1500
|
+
-x, --apex-debug Enable Apex debug logging during the agent preview conversation.
|
|
1501
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
1502
|
+
--authoring-bundle=<value> API name of the authoring bundle metadata component that contains the agent's
|
|
1503
|
+
Agent Script file.
|
|
1504
|
+
--context-variables=<value>... Session variables for the agent preview session, in the form Name=Value.
|
|
1505
|
+
--use-live-actions Use real actions in the org; if not specified, preview uses AI to simulate (mock)
|
|
1506
|
+
actions.
|
|
1137
1507
|
|
|
1138
1508
|
GLOBAL FLAGS
|
|
1139
1509
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -1183,9 +1553,30 @@ EXAMPLES
|
|
|
1183
1553
|
"./transcripts/my-preview" directory, enable the Apex debug logs, and use your default org:
|
|
1184
1554
|
|
|
1185
1555
|
$ sf agent preview --use-live-actions --apex-debug --output-dir transcripts/my-preview
|
|
1556
|
+
|
|
1557
|
+
FLAG DESCRIPTIONS
|
|
1558
|
+
--context-variables=<value>... Session variables for the agent preview session, in the form Name=Value.
|
|
1559
|
+
|
|
1560
|
+
Sets variables on the agent preview session, mirroring what the in-org Agentforce Builder UI does when you override
|
|
1561
|
+
variables before sending a message. Specify this flag multiple times or use comma-separated values. Two namespaces
|
|
1562
|
+
are supported, distinguished by the name shape. Names pass through to the runtime verbatim — the CLI doesn't
|
|
1563
|
+
transform them.
|
|
1564
|
+
|
|
1565
|
+
Linked context variables use the "$Context." prefix. These map to externally-provided fields that the runtime
|
|
1566
|
+
resolves (declared in the bundle's globalConfiguration.contextVariables) and are read by live actions and
|
|
1567
|
+
topic-routing expressions via $Context.Name. Example: $Context.MyLinkedVar=some-value.
|
|
1568
|
+
|
|
1569
|
+
State variables use the bare developerName, no prefix. These seed mutable agent state declared in
|
|
1570
|
+
agentVersion.stateVariables. Example: MyStateVar=some-value.
|
|
1571
|
+
|
|
1572
|
+
Both namespaces can be mixed in one value. Example: --context-variables '$Context.MyLinkedVar=foo,MyStateVar=bar'.
|
|
1573
|
+
|
|
1574
|
+
Tips: (1) Quote the whole value in single quotes so $Context isn't shell-expanded. (2) Names are sent verbatim — a
|
|
1575
|
+
bare name is treated as a state variable, not a linked context variable, so live actions that bind via $Context.Name
|
|
1576
|
+
will see null. (3) Type defaults to Text.
|
|
1186
1577
|
```
|
|
1187
1578
|
|
|
1188
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1579
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/preview.ts)_
|
|
1189
1580
|
|
|
1190
1581
|
## `sf agent preview end`
|
|
1191
1582
|
|
|
@@ -1269,7 +1660,7 @@ ERROR CODES
|
|
|
1269
1660
|
SessionAmbiguous (5) Multiple preview sessions found; specify --session-id to choose one.
|
|
1270
1661
|
```
|
|
1271
1662
|
|
|
1272
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1663
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/preview/end.ts)_
|
|
1273
1664
|
|
|
1274
1665
|
## `sf agent preview send`
|
|
1275
1666
|
|
|
@@ -1336,7 +1727,7 @@ ERROR CODES
|
|
|
1336
1727
|
SessionAmbiguous (5) Multiple preview sessions found; specify --session-id to choose one.
|
|
1337
1728
|
```
|
|
1338
1729
|
|
|
1339
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1730
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/preview/send.ts)_
|
|
1340
1731
|
|
|
1341
1732
|
## `sf agent preview sessions`
|
|
1342
1733
|
|
|
@@ -1372,7 +1763,7 @@ ERROR CODES
|
|
|
1372
1763
|
Succeeded (0) Sessions listed successfully (or empty list if no active sessions).
|
|
1373
1764
|
```
|
|
1374
1765
|
|
|
1375
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1766
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/preview/sessions.ts)_
|
|
1376
1767
|
|
|
1377
1768
|
## `sf agent preview start`
|
|
1378
1769
|
|
|
@@ -1381,19 +1772,20 @@ Start a programmatic agent preview session.
|
|
|
1381
1772
|
```
|
|
1382
1773
|
USAGE
|
|
1383
1774
|
$ sf agent preview start -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-n <value>]
|
|
1384
|
-
[--authoring-bundle <value>] [--use-live-actions | --simulate-actions]
|
|
1775
|
+
[--authoring-bundle <value>] [--use-live-actions | --simulate-actions] [--context-variables <value>...]
|
|
1385
1776
|
|
|
1386
1777
|
FLAGS
|
|
1387
|
-
-n, --api-name=<value>
|
|
1388
|
-
-o, --target-org=<value>
|
|
1389
|
-
|
|
1390
|
-
--api-version=<value>
|
|
1391
|
-
--authoring-bundle=<value>
|
|
1392
|
-
|
|
1393
|
-
--
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1778
|
+
-n, --api-name=<value> API name of the activated published agent you want to preview.
|
|
1779
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
1780
|
+
configuration variable is already set.
|
|
1781
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
1782
|
+
--authoring-bundle=<value> API name of the authoring bundle metadata component that contains the agent's
|
|
1783
|
+
Agent Script file.
|
|
1784
|
+
--context-variables=<value>... Session variables for the agent preview session, in the form Name=Value.
|
|
1785
|
+
--simulate-actions Use AI to simulate action execution instead of calling real actions. Required with
|
|
1786
|
+
--authoring-bundle.
|
|
1787
|
+
--use-live-actions Execute real actions in the org (Apex classes, flows, etc.). Required with
|
|
1788
|
+
--authoring-bundle.
|
|
1397
1789
|
|
|
1398
1790
|
GLOBAL FLAGS
|
|
1399
1791
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -1436,6 +1828,27 @@ EXAMPLES
|
|
|
1436
1828
|
|
|
1437
1829
|
$ sf agent preview start --api-name My_Published_Agent
|
|
1438
1830
|
|
|
1831
|
+
FLAG DESCRIPTIONS
|
|
1832
|
+
--context-variables=<value>... Session variables for the agent preview session, in the form Name=Value.
|
|
1833
|
+
|
|
1834
|
+
Sets variables on the agent preview session, mirroring what the in-org Agentforce Builder UI does when you override
|
|
1835
|
+
variables before sending a message. Specify this flag multiple times or use comma-separated values. Two namespaces
|
|
1836
|
+
are supported, distinguished by the name shape. Names pass through to the runtime verbatim — the CLI doesn't
|
|
1837
|
+
transform them.
|
|
1838
|
+
|
|
1839
|
+
Linked context variables use the "$Context." prefix. These map to externally-provided fields that the runtime
|
|
1840
|
+
resolves (declared in the bundle's globalConfiguration.contextVariables) and are read by live actions and
|
|
1841
|
+
topic-routing expressions via $Context.Name. Example: $Context.MyLinkedVar=some-value.
|
|
1842
|
+
|
|
1843
|
+
State variables use the bare developerName, no prefix. These seed mutable agent state declared in
|
|
1844
|
+
agentVersion.stateVariables. Example: MyStateVar=some-value.
|
|
1845
|
+
|
|
1846
|
+
Both namespaces can be mixed in one value. Example: --context-variables '$Context.MyLinkedVar=foo,MyStateVar=bar'.
|
|
1847
|
+
|
|
1848
|
+
Tips: (1) Quote the whole value in single quotes so $Context isn't shell-expanded. (2) Names are sent verbatim — a
|
|
1849
|
+
bare name is treated as a state variable, not a linked context variable, so live actions that bind via $Context.Name
|
|
1850
|
+
will see null. (3) Type defaults to Text.
|
|
1851
|
+
|
|
1439
1852
|
ENVIRONMENT VARIABLES
|
|
1440
1853
|
SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
|
|
1441
1854
|
|
|
@@ -1448,7 +1861,7 @@ ERROR CODES
|
|
|
1448
1861
|
PreviewStartFailed (4) Preview session failed to start due to API or network errors.
|
|
1449
1862
|
```
|
|
1450
1863
|
|
|
1451
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1864
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/preview/start.ts)_
|
|
1452
1865
|
|
|
1453
1866
|
## `sf agent publish authoring-bundle`
|
|
1454
1867
|
|
|
@@ -1512,7 +1925,7 @@ ERROR CODES
|
|
|
1512
1925
|
Failed (1) Compilation errors found in the Agent Script file.
|
|
1513
1926
|
```
|
|
1514
1927
|
|
|
1515
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1928
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/publish/authoring-bundle.ts)_
|
|
1516
1929
|
|
|
1517
1930
|
## `sf agent test create`
|
|
1518
1931
|
|
|
@@ -1593,7 +2006,7 @@ ERROR CODES
|
|
|
1593
2006
|
DeploymentFailed (4) Deployment failed due to API or network errors.
|
|
1594
2007
|
```
|
|
1595
2008
|
|
|
1596
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2009
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/test/create.ts)_
|
|
1597
2010
|
|
|
1598
2011
|
## `sf agent test list`
|
|
1599
2012
|
|
|
@@ -1635,7 +2048,7 @@ ERROR CODES
|
|
|
1635
2048
|
Failed (4) Failed to retrieve agent tests due to API or network errors.
|
|
1636
2049
|
```
|
|
1637
2050
|
|
|
1638
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2051
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/test/list.ts)_
|
|
1639
2052
|
|
|
1640
2053
|
## `sf agent test results`
|
|
1641
2054
|
|
|
@@ -1719,7 +2132,7 @@ ERROR CODES
|
|
|
1719
2132
|
Failed (4) Failed to retrieve results due to API or network errors.
|
|
1720
2133
|
```
|
|
1721
2134
|
|
|
1722
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2135
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/test/results.ts)_
|
|
1723
2136
|
|
|
1724
2137
|
## `sf agent test resume`
|
|
1725
2138
|
|
|
@@ -1812,7 +2225,7 @@ ERROR CODES
|
|
|
1812
2225
|
OperationFailed (4) Failed to poll test due to API or network errors.
|
|
1813
2226
|
```
|
|
1814
2227
|
|
|
1815
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2228
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/test/resume.ts)_
|
|
1816
2229
|
|
|
1817
2230
|
## `sf agent test run`
|
|
1818
2231
|
|
|
@@ -1905,7 +2318,7 @@ ERROR CODES
|
|
|
1905
2318
|
OperationFailed (4) Failed to start or poll test due to API or network errors.
|
|
1906
2319
|
```
|
|
1907
2320
|
|
|
1908
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2321
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/test/run.ts)_
|
|
1909
2322
|
|
|
1910
2323
|
## `sf agent test run-eval`
|
|
1911
2324
|
|
|
@@ -1990,7 +2403,7 @@ ERROR CODES
|
|
|
1990
2403
|
OperationFailed (4) Failed to execute tests due to API or network errors.
|
|
1991
2404
|
```
|
|
1992
2405
|
|
|
1993
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2406
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/test/run-eval.ts)_
|
|
1994
2407
|
|
|
1995
2408
|
## `sf agent trace delete`
|
|
1996
2409
|
|
|
@@ -2057,7 +2470,7 @@ ERROR CODES
|
|
|
2057
2470
|
Succeeded (0) Traces deleted successfully (or no traces matched).
|
|
2058
2471
|
```
|
|
2059
2472
|
|
|
2060
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2473
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/trace/delete.ts)_
|
|
2061
2474
|
|
|
2062
2475
|
## `sf agent trace list`
|
|
2063
2476
|
|
|
@@ -2130,7 +2543,7 @@ ERROR CODES
|
|
|
2130
2543
|
Succeeded (0) Trace files listed successfully (or empty list if none found).
|
|
2131
2544
|
```
|
|
2132
2545
|
|
|
2133
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2546
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/trace/list.ts)_
|
|
2134
2547
|
|
|
2135
2548
|
## `sf agent trace read`
|
|
2136
2549
|
|
|
@@ -2218,7 +2631,7 @@ EXAMPLES
|
|
|
2218
2631
|
$ sf agent trace read --session-id <SESSION_ID> --json
|
|
2219
2632
|
```
|
|
2220
2633
|
|
|
2221
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2634
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/trace/read.ts)_
|
|
2222
2635
|
|
|
2223
2636
|
## `sf agent validate authoring-bundle`
|
|
2224
2637
|
|
|
@@ -2275,7 +2688,7 @@ ERROR CODES
|
|
|
2275
2688
|
ServerError (3) Validation/compilation API returned HTTP 500. A server error occurred during compilation.
|
|
2276
2689
|
```
|
|
2277
2690
|
|
|
2278
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2691
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.43.0/src/commands/agent/validate/authoring-bundle.ts)_
|
|
2279
2692
|
|
|
2280
2693
|
## `sf alias list`
|
|
2281
2694
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
|
-
"version": "2.142.
|
|
3
|
+
"version": "2.142.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/cli",
|
|
9
|
-
"version": "2.142.
|
|
9
|
+
"version": "2.142.1",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"dependencies": {
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"@oclif/plugin-version": "2.2.49",
|
|
23
23
|
"@oclif/plugin-warn-if-update-available": "3.1.67",
|
|
24
24
|
"@oclif/plugin-which": "3.2.57",
|
|
25
|
-
"@salesforce/core": "^8.
|
|
25
|
+
"@salesforce/core": "^8.31.4",
|
|
26
26
|
"@salesforce/kit": "^3.1.6",
|
|
27
|
-
"@salesforce/plugin-agent": "1.
|
|
27
|
+
"@salesforce/plugin-agent": "1.43.0",
|
|
28
28
|
"@salesforce/plugin-apex": "3.9.38",
|
|
29
29
|
"@salesforce/plugin-api": "1.3.43",
|
|
30
30
|
"@salesforce/plugin-auth": "4.4.5",
|
|
@@ -2690,9 +2690,9 @@
|
|
|
2690
2690
|
}
|
|
2691
2691
|
},
|
|
2692
2692
|
"node_modules/@jsforce/jsforce-node": {
|
|
2693
|
-
"version": "3.10.
|
|
2694
|
-
"resolved": "https://registry.npmjs.org/@jsforce/jsforce-node/-/jsforce-node-3.10.
|
|
2695
|
-
"integrity": "sha512-
|
|
2693
|
+
"version": "3.10.17",
|
|
2694
|
+
"resolved": "https://registry.npmjs.org/@jsforce/jsforce-node/-/jsforce-node-3.10.17.tgz",
|
|
2695
|
+
"integrity": "sha512-gYWiK0Y68dMUTdlPjkF+Bw3r7pmfTbqzs7/6ZChg2Md14NyzXk/usp+y8hHj6vc1SF3s7e6j5OUzUasYF5RJWQ==",
|
|
2696
2696
|
"license": "MIT",
|
|
2697
2697
|
"dependencies": {
|
|
2698
2698
|
"@sindresorhus/is": "^4",
|
|
@@ -2701,38 +2701,21 @@
|
|
|
2701
2701
|
"csv-stringify": "^6.6.0",
|
|
2702
2702
|
"faye": "^1.4.0",
|
|
2703
2703
|
"form-data": "^4.0.4",
|
|
2704
|
-
"https-proxy-agent": "^5.0.0",
|
|
2705
2704
|
"multistream": "^3.1.0",
|
|
2706
|
-
"
|
|
2705
|
+
"undici": "^8.5.0",
|
|
2707
2706
|
"xml2js": "^0.6.2"
|
|
2708
2707
|
},
|
|
2709
2708
|
"engines": {
|
|
2710
|
-
"node": ">=
|
|
2709
|
+
"node": ">=22"
|
|
2711
2710
|
}
|
|
2712
2711
|
},
|
|
2713
|
-
"node_modules/@jsforce/jsforce-node/node_modules/
|
|
2714
|
-
"version": "
|
|
2715
|
-
"resolved": "https://registry.npmjs.org/
|
|
2716
|
-
"integrity": "sha512-
|
|
2712
|
+
"node_modules/@jsforce/jsforce-node/node_modules/undici": {
|
|
2713
|
+
"version": "8.5.0",
|
|
2714
|
+
"resolved": "https://registry.npmjs.org/undici/-/undici-8.5.0.tgz",
|
|
2715
|
+
"integrity": "sha512-xamtWoB1EshgjpmlXd7GGm2VfdDtw1+rD8uhry8pSNW3If6S8E0m2T2+orSKeZXEn/aPJMviCpDBA65WJt8zhg==",
|
|
2717
2716
|
"license": "MIT",
|
|
2718
|
-
"dependencies": {
|
|
2719
|
-
"debug": "4"
|
|
2720
|
-
},
|
|
2721
|
-
"engines": {
|
|
2722
|
-
"node": ">= 6.0.0"
|
|
2723
|
-
}
|
|
2724
|
-
},
|
|
2725
|
-
"node_modules/@jsforce/jsforce-node/node_modules/https-proxy-agent": {
|
|
2726
|
-
"version": "5.0.1",
|
|
2727
|
-
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
|
|
2728
|
-
"integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
|
|
2729
|
-
"license": "MIT",
|
|
2730
|
-
"dependencies": {
|
|
2731
|
-
"agent-base": "6",
|
|
2732
|
-
"debug": "4"
|
|
2733
|
-
},
|
|
2734
2717
|
"engines": {
|
|
2735
|
-
"node": ">=
|
|
2718
|
+
"node": ">=22.19.0"
|
|
2736
2719
|
}
|
|
2737
2720
|
},
|
|
2738
2721
|
"node_modules/@jsonjoy.com/base64": {
|
|
@@ -4244,15 +4227,15 @@
|
|
|
4244
4227
|
"license": "BSD-3-Clause"
|
|
4245
4228
|
},
|
|
4246
4229
|
"node_modules/@salesforce/agents": {
|
|
4247
|
-
"version": "1.
|
|
4248
|
-
"resolved": "https://registry.npmjs.org/@salesforce/agents/-/agents-1.
|
|
4249
|
-
"integrity": "sha512-
|
|
4230
|
+
"version": "1.9.0",
|
|
4231
|
+
"resolved": "https://registry.npmjs.org/@salesforce/agents/-/agents-1.9.0.tgz",
|
|
4232
|
+
"integrity": "sha512-CcMVeKfzUc5I/64JSUiFwCuYjQjPbx9EUyXeUfYEpB65f8sRpSQtbO3xJe2jjrrEo0RUVzU9gJSh4kB+SnzgJg==",
|
|
4250
4233
|
"license": "Apache-2.0",
|
|
4251
4234
|
"dependencies": {
|
|
4252
4235
|
"@salesforce/core": "^8.31.0",
|
|
4253
4236
|
"@salesforce/kit": "^3.2.6",
|
|
4254
|
-
"@salesforce/source-deploy-retrieve": "^12.36.
|
|
4255
|
-
"@salesforce/types": "^1.7.
|
|
4237
|
+
"@salesforce/source-deploy-retrieve": "^12.36.2",
|
|
4238
|
+
"@salesforce/types": "^1.7.3",
|
|
4256
4239
|
"fast-xml-parser": "^5.8.0",
|
|
4257
4240
|
"nock": "^14.0.15",
|
|
4258
4241
|
"yaml": "^2.8.4"
|
|
@@ -4393,12 +4376,12 @@
|
|
|
4393
4376
|
}
|
|
4394
4377
|
},
|
|
4395
4378
|
"node_modules/@salesforce/core": {
|
|
4396
|
-
"version": "8.31.
|
|
4397
|
-
"resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.31.
|
|
4398
|
-
"integrity": "sha512-
|
|
4379
|
+
"version": "8.31.4",
|
|
4380
|
+
"resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.31.4.tgz",
|
|
4381
|
+
"integrity": "sha512-G/zgo9ygO+0l2x9gCOnp6BR7q2Rlt8MHDoj4DIpu2utsZznIcH7iNTEoKjul1BMKDPARuBGUp0Tyr0c8dLf32g==",
|
|
4399
4382
|
"license": "BSD-3-Clause",
|
|
4400
4383
|
"dependencies": {
|
|
4401
|
-
"@jsforce/jsforce-node": "^3.10.
|
|
4384
|
+
"@jsforce/jsforce-node": "^3.10.17",
|
|
4402
4385
|
"@salesforce/kit": "^3.2.4",
|
|
4403
4386
|
"@salesforce/ts-types": "^2.0.12",
|
|
4404
4387
|
"ajv": "^8.18.0",
|
|
@@ -4701,16 +4684,16 @@
|
|
|
4701
4684
|
}
|
|
4702
4685
|
},
|
|
4703
4686
|
"node_modules/@salesforce/plugin-agent": {
|
|
4704
|
-
"version": "1.
|
|
4705
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.
|
|
4706
|
-
"integrity": "sha512-
|
|
4687
|
+
"version": "1.43.0",
|
|
4688
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.43.0.tgz",
|
|
4689
|
+
"integrity": "sha512-HM+vit8yY9zfXcYT7FDWSrp9SyxDeV0j8QZGjskzQAZmZKFuM/GJWFH2fYACLlW+gksyebH4uqfWVAVlhrtZOA==",
|
|
4707
4690
|
"license": "Apache-2.0",
|
|
4708
4691
|
"dependencies": {
|
|
4709
4692
|
"@inquirer/core": "^10.3.2",
|
|
4710
4693
|
"@inquirer/prompts": "^7.10.1",
|
|
4711
4694
|
"@oclif/core": "^4",
|
|
4712
4695
|
"@oclif/multi-stage-output": "^0.8.36",
|
|
4713
|
-
"@salesforce/agents": "^1.
|
|
4696
|
+
"@salesforce/agents": "^1.9.0",
|
|
4714
4697
|
"@salesforce/core": "^8.28.3",
|
|
4715
4698
|
"@salesforce/kit": "^3.2.6",
|
|
4716
4699
|
"@salesforce/sf-plugins-core": "^12.2.6",
|
|
@@ -15687,6 +15670,7 @@
|
|
|
15687
15670
|
"version": "2.7.0",
|
|
15688
15671
|
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz",
|
|
15689
15672
|
"integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==",
|
|
15673
|
+
"dev": true,
|
|
15690
15674
|
"license": "MIT",
|
|
15691
15675
|
"dependencies": {
|
|
15692
15676
|
"whatwg-url": "^5.0.0"
|
|
@@ -21334,6 +21318,7 @@
|
|
|
21334
21318
|
"version": "0.0.3",
|
|
21335
21319
|
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
|
|
21336
21320
|
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==",
|
|
21321
|
+
"dev": true,
|
|
21337
21322
|
"license": "MIT"
|
|
21338
21323
|
},
|
|
21339
21324
|
"node_modules/tree-dump": {
|
|
@@ -22135,6 +22120,7 @@
|
|
|
22135
22120
|
"version": "3.0.1",
|
|
22136
22121
|
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
|
|
22137
22122
|
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==",
|
|
22123
|
+
"dev": true,
|
|
22138
22124
|
"license": "BSD-2-Clause"
|
|
22139
22125
|
},
|
|
22140
22126
|
"node_modules/websocket-driver": {
|
|
@@ -22164,6 +22150,7 @@
|
|
|
22164
22150
|
"version": "5.0.0",
|
|
22165
22151
|
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
|
|
22166
22152
|
"integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
|
|
22153
|
+
"dev": true,
|
|
22167
22154
|
"license": "MIT",
|
|
22168
22155
|
"dependencies": {
|
|
22169
22156
|
"tr46": "~0.0.3",
|
package/oclif.lock
CHANGED
|
@@ -1150,10 +1150,10 @@
|
|
|
1150
1150
|
"@jridgewell/resolve-uri" "^3.0.3"
|
|
1151
1151
|
"@jridgewell/sourcemap-codec" "^1.4.10"
|
|
1152
1152
|
|
|
1153
|
-
"@jsforce/jsforce-node@^3.10.
|
|
1154
|
-
version "3.10.
|
|
1155
|
-
resolved "https://registry.npmjs.org/@jsforce/jsforce-node/-/jsforce-node-3.10.
|
|
1156
|
-
integrity sha512-
|
|
1153
|
+
"@jsforce/jsforce-node@^3.10.15", "@jsforce/jsforce-node@^3.10.16", "@jsforce/jsforce-node@^3.10.17":
|
|
1154
|
+
version "3.10.17"
|
|
1155
|
+
resolved "https://registry.npmjs.org/@jsforce/jsforce-node/-/jsforce-node-3.10.17.tgz"
|
|
1156
|
+
integrity sha512-gYWiK0Y68dMUTdlPjkF+Bw3r7pmfTbqzs7/6ZChg2Md14NyzXk/usp+y8hHj6vc1SF3s7e6j5OUzUasYF5RJWQ==
|
|
1157
1157
|
dependencies:
|
|
1158
1158
|
"@sindresorhus/is" "^4"
|
|
1159
1159
|
base64url "^3.0.1"
|
|
@@ -1161,9 +1161,8 @@
|
|
|
1161
1161
|
csv-stringify "^6.6.0"
|
|
1162
1162
|
faye "^1.4.0"
|
|
1163
1163
|
form-data "^4.0.4"
|
|
1164
|
-
https-proxy-agent "^5.0.0"
|
|
1165
1164
|
multistream "^3.1.0"
|
|
1166
|
-
|
|
1165
|
+
undici "^8.5.0"
|
|
1167
1166
|
xml2js "^0.6.2"
|
|
1168
1167
|
|
|
1169
1168
|
"@jsonjoy.com/base64@^1.1.2":
|
|
@@ -1846,15 +1845,15 @@
|
|
|
1846
1845
|
resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.1.tgz"
|
|
1847
1846
|
integrity sha512-oOAWABowe8EAbMyWKM0tYDKi8Yaox52D+HWZhAIJqQXbqe0xI/GV7FhLWqlEKreMkfDjshR5FKgi3mnle0h6Eg==
|
|
1848
1847
|
|
|
1849
|
-
"@salesforce/agents@^1.
|
|
1850
|
-
version "1.
|
|
1851
|
-
resolved "https://registry.npmjs.org/@salesforce/agents/-/agents-1.
|
|
1852
|
-
integrity sha512-
|
|
1848
|
+
"@salesforce/agents@^1.9.0":
|
|
1849
|
+
version "1.9.0"
|
|
1850
|
+
resolved "https://registry.npmjs.org/@salesforce/agents/-/agents-1.9.0.tgz"
|
|
1851
|
+
integrity sha512-CcMVeKfzUc5I/64JSUiFwCuYjQjPbx9EUyXeUfYEpB65f8sRpSQtbO3xJe2jjrrEo0RUVzU9gJSh4kB+SnzgJg==
|
|
1853
1852
|
dependencies:
|
|
1854
1853
|
"@salesforce/core" "^8.31.0"
|
|
1855
1854
|
"@salesforce/kit" "^3.2.6"
|
|
1856
|
-
"@salesforce/source-deploy-retrieve" "^12.36.
|
|
1857
|
-
"@salesforce/types" "^1.7.
|
|
1855
|
+
"@salesforce/source-deploy-retrieve" "^12.36.2"
|
|
1856
|
+
"@salesforce/types" "^1.7.3"
|
|
1858
1857
|
fast-xml-parser "^5.8.0"
|
|
1859
1858
|
nock "^14.0.15"
|
|
1860
1859
|
yaml "^2.8.4"
|
|
@@ -1890,12 +1889,12 @@
|
|
|
1890
1889
|
strip-ansi "6.0.1"
|
|
1891
1890
|
ts-retry-promise "^0.8.1"
|
|
1892
1891
|
|
|
1893
|
-
"@salesforce/core@^8.25.1", "@salesforce/core@^8.28.
|
|
1894
|
-
version "8.31.
|
|
1895
|
-
resolved "https://registry.npmjs.org/@salesforce/core/-/core-8.31.
|
|
1896
|
-
integrity sha512-
|
|
1892
|
+
"@salesforce/core@^8.25.1", "@salesforce/core@^8.28.3", "@salesforce/core@^8.29.1", "@salesforce/core@^8.30.0", "@salesforce/core@^8.30.3", "@salesforce/core@^8.31.0", "@salesforce/core@^8.31.1", "@salesforce/core@^8.31.2", "@salesforce/core@^8.31.4":
|
|
1893
|
+
version "8.31.4"
|
|
1894
|
+
resolved "https://registry.npmjs.org/@salesforce/core/-/core-8.31.4.tgz"
|
|
1895
|
+
integrity sha512-G/zgo9ygO+0l2x9gCOnp6BR7q2Rlt8MHDoj4DIpu2utsZznIcH7iNTEoKjul1BMKDPARuBGUp0Tyr0c8dLf32g==
|
|
1897
1896
|
dependencies:
|
|
1898
|
-
"@jsforce/jsforce-node" "^3.10.
|
|
1897
|
+
"@jsforce/jsforce-node" "^3.10.17"
|
|
1899
1898
|
"@salesforce/kit" "^3.2.4"
|
|
1900
1899
|
"@salesforce/ts-types" "^2.0.12"
|
|
1901
1900
|
ajv "^8.18.0"
|
|
@@ -1987,16 +1986,16 @@
|
|
|
1987
1986
|
jszip "^3.10.1"
|
|
1988
1987
|
object-treeify "^2"
|
|
1989
1988
|
|
|
1990
|
-
"@salesforce/plugin-agent@1.
|
|
1991
|
-
version "1.
|
|
1992
|
-
resolved "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.
|
|
1993
|
-
integrity sha512-
|
|
1989
|
+
"@salesforce/plugin-agent@1.43.0":
|
|
1990
|
+
version "1.43.0"
|
|
1991
|
+
resolved "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.43.0.tgz"
|
|
1992
|
+
integrity sha512-HM+vit8yY9zfXcYT7FDWSrp9SyxDeV0j8QZGjskzQAZmZKFuM/GJWFH2fYACLlW+gksyebH4uqfWVAVlhrtZOA==
|
|
1994
1993
|
dependencies:
|
|
1995
1994
|
"@inquirer/core" "^10.3.2"
|
|
1996
1995
|
"@inquirer/prompts" "^7.10.1"
|
|
1997
1996
|
"@oclif/core" "^4"
|
|
1998
1997
|
"@oclif/multi-stage-output" "^0.8.36"
|
|
1999
|
-
"@salesforce/agents" "^1.
|
|
1998
|
+
"@salesforce/agents" "^1.9.0"
|
|
2000
1999
|
"@salesforce/core" "^8.28.3"
|
|
2001
2000
|
"@salesforce/kit" "^3.2.6"
|
|
2002
2001
|
"@salesforce/sf-plugins-core" "^12.2.6"
|
|
@@ -2388,7 +2387,7 @@
|
|
|
2388
2387
|
resolved "https://registry.npmjs.org/@salesforce/ts-types/-/ts-types-2.0.12.tgz"
|
|
2389
2388
|
integrity sha512-BIJyduJC18Kc8z+arUm5AZ9VkPRyw1KKAm+Tk+9LT99eOzhNilyfKzhZ4t+tG2lIGgnJpmytZfVDZ0e2kFul8g==
|
|
2390
2389
|
|
|
2391
|
-
"@salesforce/types@^1.6.0", "@salesforce/types@^1.7.
|
|
2390
|
+
"@salesforce/types@^1.6.0", "@salesforce/types@^1.7.3":
|
|
2392
2391
|
version "1.7.3"
|
|
2393
2392
|
resolved "https://registry.npmjs.org/@salesforce/types/-/types-1.7.3.tgz"
|
|
2394
2393
|
integrity sha512-6rzz2njJ4IEL9q1TgM4cEUPbiKcrQmKlTk5Ki6q7m5c6spYkbbA5jPxX3/8F9Ux5UKu0r9QCKAfZ33b88lq1PA==
|
|
@@ -3082,13 +3081,6 @@ agent-base@^7.1.0, agent-base@^7.1.2:
|
|
|
3082
3081
|
resolved "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz"
|
|
3083
3082
|
integrity sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==
|
|
3084
3083
|
|
|
3085
|
-
agent-base@6:
|
|
3086
|
-
version "6.0.2"
|
|
3087
|
-
resolved "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz"
|
|
3088
|
-
integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==
|
|
3089
|
-
dependencies:
|
|
3090
|
-
debug "4"
|
|
3091
|
-
|
|
3092
3084
|
aggregate-error@^3.0.0:
|
|
3093
3085
|
version "3.1.0"
|
|
3094
3086
|
resolved "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz"
|
|
@@ -6202,14 +6194,6 @@ http2-wrapper@^2.1.10:
|
|
|
6202
6194
|
quick-lru "^5.1.1"
|
|
6203
6195
|
resolve-alpn "^1.2.0"
|
|
6204
6196
|
|
|
6205
|
-
https-proxy-agent@^5.0.0:
|
|
6206
|
-
version "5.0.1"
|
|
6207
|
-
resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz"
|
|
6208
|
-
integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==
|
|
6209
|
-
dependencies:
|
|
6210
|
-
agent-base "6"
|
|
6211
|
-
debug "4"
|
|
6212
|
-
|
|
6213
6197
|
https-proxy-agent@^7.0.0, https-proxy-agent@^7.0.1, https-proxy-agent@^7.0.6:
|
|
6214
6198
|
version "7.0.6"
|
|
6215
6199
|
resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz"
|
|
@@ -8021,7 +8005,7 @@ node-emoji@^1.10.0:
|
|
|
8021
8005
|
dependencies:
|
|
8022
8006
|
lodash "^4.17.21"
|
|
8023
8007
|
|
|
8024
|
-
node-fetch@^2.6.
|
|
8008
|
+
node-fetch@^2.6.9:
|
|
8025
8009
|
version "2.7.0"
|
|
8026
8010
|
resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz"
|
|
8027
8011
|
integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==
|
|
@@ -10545,6 +10529,11 @@ undici@^7.28.0:
|
|
|
10545
10529
|
resolved "https://registry.npmjs.org/undici/-/undici-7.28.0.tgz"
|
|
10546
10530
|
integrity sha512-cRZYrTDwWznlnRiPjggAGxZXanty6M8RV1ff8Wm4LWXBp7/IG8v5DnOm74DtUBp9OONpK75YlPnIjQqX0dBDtA==
|
|
10547
10531
|
|
|
10532
|
+
undici@^8.5.0:
|
|
10533
|
+
version "8.5.0"
|
|
10534
|
+
resolved "https://registry.npmjs.org/undici/-/undici-8.5.0.tgz"
|
|
10535
|
+
integrity sha512-xamtWoB1EshgjpmlXd7GGm2VfdDtw1+rD8uhry8pSNW3If6S8E0m2T2+orSKeZXEn/aPJMviCpDBA65WJt8zhg==
|
|
10536
|
+
|
|
10548
10537
|
unicorn-magic@^0.1.0:
|
|
10549
10538
|
version "0.1.0"
|
|
10550
10539
|
resolved "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz"
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
3
|
"description": "The Salesforce CLI",
|
|
4
|
-
"version": "2.142.
|
|
4
|
+
"version": "2.142.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf": "./bin/run.js",
|
|
@@ -157,9 +157,9 @@
|
|
|
157
157
|
"@oclif/plugin-version": "2.2.49",
|
|
158
158
|
"@oclif/plugin-warn-if-update-available": "3.1.67",
|
|
159
159
|
"@oclif/plugin-which": "3.2.57",
|
|
160
|
-
"@salesforce/core": "^8.
|
|
160
|
+
"@salesforce/core": "^8.31.4",
|
|
161
161
|
"@salesforce/kit": "^3.1.6",
|
|
162
|
-
"@salesforce/plugin-agent": "1.
|
|
162
|
+
"@salesforce/plugin-agent": "1.43.0",
|
|
163
163
|
"@salesforce/plugin-apex": "3.9.38",
|
|
164
164
|
"@salesforce/plugin-api": "1.3.43",
|
|
165
165
|
"@salesforce/plugin-auth": "4.4.5",
|