@salesforce/cli 2.142.7 → 2.143.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 +86 -54
- package/npm-shrinkwrap.json +35 -29
- package/oclif.lock +28 -53
- package/oclif.manifest.json +369 -176
- package/package.json +5 -5
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.
|
|
28
|
+
@salesforce/cli/2.143.0 linux-x64 node-v24.18.0
|
|
29
29
|
$ sf --help [COMMAND]
|
|
30
30
|
USAGE
|
|
31
31
|
$ sf COMMAND
|
|
@@ -302,7 +302,7 @@ ERROR CODES
|
|
|
302
302
|
ActivationFailed (4) Failed to activate the agent due to API or network errors.
|
|
303
303
|
```
|
|
304
304
|
|
|
305
|
-
_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.44.4/src/commands/agent/activate.ts)_
|
|
306
306
|
|
|
307
307
|
## `sf agent adl create`
|
|
308
308
|
|
|
@@ -312,13 +312,24 @@ Create an Agentforce Data Library.
|
|
|
312
312
|
USAGE
|
|
313
313
|
$ sf agent adl create -o <value> -n <value> --developer-name <value> --source-type sfdrive|knowledge|retriever
|
|
314
314
|
[--json] [--flags-dir <value>] [--api-version <value>] [--description <value>] [--index-mode basic|enhanced]
|
|
315
|
-
[--retriever-id <value>] [--primary-index-field1 <value>] [--primary-index-field2 <value>]
|
|
315
|
+
[--retriever-id <value>] [--primary-index-field1 <value>] [--primary-index-field2 <value>] [--content-fields
|
|
316
|
+
<value>] [--data-category-ids <value>] [--data-category-names <value>] [-w <value>]
|
|
316
317
|
|
|
317
318
|
FLAGS
|
|
318
319
|
-n, --name=<value> (required) Display name for the data library (max 80 characters).
|
|
319
320
|
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
320
321
|
configuration variable is already set.
|
|
322
|
+
-w, --wait=<value> Wait N minutes for indexing to complete (KNOWLEDGE libraries). SFDRIVE libraries
|
|
323
|
+
require upload before indexing; RETRIEVER libraries are ready immediately.
|
|
321
324
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
325
|
+
--content-fields=<value> Comma-separated list of content fields for KNOWLEDGE libraries (optional, mutable
|
|
326
|
+
after creation).
|
|
327
|
+
--data-category-ids=<value> Comma-separated list of data category selection IDs for KNOWLEDGE libraries.
|
|
328
|
+
Mutually exclusive with --data-category-names (provide one or the other, not
|
|
329
|
+
both).
|
|
330
|
+
--data-category-names=<value> Comma-separated list of data category names in qualified format (e.g.,
|
|
331
|
+
"Group_API_Name.Category"). Mutually exclusive with --data-category-ids (provide
|
|
332
|
+
one or the other, not both).
|
|
322
333
|
--description=<value> Description of the data library (max 255 characters).
|
|
323
334
|
--developer-name=<value> (required) API name for the data library (max 80 characters, alphanumeric and
|
|
324
335
|
underscores only, must start with a letter).
|
|
@@ -344,6 +355,9 @@ DESCRIPTION
|
|
|
344
355
|
Creates a new data library in the target org. The --source-type flag determines the type of library: SFDRIVE (file
|
|
345
356
|
upload), KNOWLEDGE (Salesforce Knowledge articles), or RETRIEVER (existing active Custom Retriever).
|
|
346
357
|
|
|
358
|
+
For SFDRIVE libraries, creation provisions the full Data Cloud pipeline (DLO → DMO → SearchIndex → Retriever). Upload
|
|
359
|
+
files with `sf agent adl upload` after creation.
|
|
360
|
+
|
|
347
361
|
EXAMPLES
|
|
348
362
|
Create an SFDRIVE library:
|
|
349
363
|
|
|
@@ -360,7 +374,7 @@ EXAMPLES
|
|
|
360
374
|
--source-type retriever --retriever-id 0ppXX0000000001
|
|
361
375
|
```
|
|
362
376
|
|
|
363
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
377
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/adl/create.ts)_
|
|
364
378
|
|
|
365
379
|
## `sf agent adl delete`
|
|
366
380
|
|
|
@@ -391,7 +405,7 @@ EXAMPLES
|
|
|
391
405
|
$ sf agent adl delete --library-id 1JDSG000007IbWX4A0 --target-org myOrg
|
|
392
406
|
```
|
|
393
407
|
|
|
394
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
408
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/adl/delete.ts)_
|
|
395
409
|
|
|
396
410
|
## `sf agent adl file add`
|
|
397
411
|
|
|
@@ -418,6 +432,9 @@ DESCRIPTION
|
|
|
418
432
|
Adds one or more files to an existing SFDRIVE data library and triggers SearchIndex re-hydration. This is the day-2
|
|
419
433
|
operation for adding files to an already-provisioned library.
|
|
420
434
|
|
|
435
|
+
Adds files to an existing READY library. Unlike `sf agent adl upload`, this does NOT create new downstream Data Cloud
|
|
436
|
+
assets — it appends files to the existing SearchIndex and triggers re-indexing.
|
|
437
|
+
|
|
421
438
|
Constraints: at least 1 file required, no duplicate file names in a batch, maximum 1000 files per library.
|
|
422
439
|
|
|
423
440
|
EXAMPLES
|
|
@@ -430,7 +447,7 @@ EXAMPLES
|
|
|
430
447
|
$ sf agent adl file add -i 1JDSG000007IbWX4A0 --path ./docs/guide.pdf --path ./docs/faq.txt --target-org myOrg
|
|
431
448
|
```
|
|
432
449
|
|
|
433
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
450
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/adl/file/add.ts)_
|
|
434
451
|
|
|
435
452
|
## `sf agent adl file delete`
|
|
436
453
|
|
|
@@ -463,7 +480,7 @@ EXAMPLES
|
|
|
463
480
|
$ sf agent adl file delete --library-id 1JDSG000007IbWX4A0 --file-id a1B2C3D4E5F6G7H8I9 --target-org myOrg
|
|
464
481
|
```
|
|
465
482
|
|
|
466
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
483
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/adl/file/delete.ts)_
|
|
467
484
|
|
|
468
485
|
## `sf agent adl file list`
|
|
469
486
|
|
|
@@ -471,13 +488,18 @@ List files in an Agentforce Data Library.
|
|
|
471
488
|
|
|
472
489
|
```
|
|
473
490
|
USAGE
|
|
474
|
-
$ sf agent adl file list -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
|
|
491
|
+
$ sf agent adl file list -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>] [--page-size
|
|
492
|
+
<value>] [--offset <value>] [--status uploaded|indexing|indexed|index_failed|deleting|delete_failed]
|
|
475
493
|
|
|
476
494
|
FLAGS
|
|
477
495
|
-i, --library-id=<value> (required) Agentforce Data Library ID (18-char Salesforce ID with prefix 1JD).
|
|
478
496
|
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
479
497
|
configuration variable is already set.
|
|
480
498
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
499
|
+
--offset=<value> Number of files to skip before returning results (for pagination).
|
|
500
|
+
--page-size=<value> [default: 50] Number of files to return per page (1-200, default 50).
|
|
501
|
+
--status=<option> Filter files by indexing status.
|
|
502
|
+
<options: uploaded|indexing|indexed|index_failed|deleting|delete_failed>
|
|
481
503
|
|
|
482
504
|
GLOBAL FLAGS
|
|
483
505
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -498,7 +520,7 @@ EXAMPLES
|
|
|
498
520
|
$ sf agent adl file list --library-id 1JDSG000007IbWX4A0 --target-org myOrg --json
|
|
499
521
|
```
|
|
500
522
|
|
|
501
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
523
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/adl/file/list.ts)_
|
|
502
524
|
|
|
503
525
|
## `sf agent adl get`
|
|
504
526
|
|
|
@@ -529,7 +551,7 @@ EXAMPLES
|
|
|
529
551
|
$ sf agent adl get --library-id 1JDSG000007IbWX4A0 --target-org myOrg
|
|
530
552
|
```
|
|
531
553
|
|
|
532
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
554
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/adl/get.ts)_
|
|
533
555
|
|
|
534
556
|
## `sf agent adl list`
|
|
535
557
|
|
|
@@ -566,7 +588,7 @@ EXAMPLES
|
|
|
566
588
|
$ sf agent adl list --target-org myOrg --json
|
|
567
589
|
```
|
|
568
590
|
|
|
569
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
591
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/adl/list.ts)_
|
|
570
592
|
|
|
571
593
|
## `sf agent adl status`
|
|
572
594
|
|
|
@@ -575,12 +597,15 @@ Get indexing status of an Agentforce Data Library.
|
|
|
575
597
|
```
|
|
576
598
|
USAGE
|
|
577
599
|
$ sf agent adl status -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
|
|
600
|
+
[--include-artifacts]
|
|
578
601
|
|
|
579
602
|
FLAGS
|
|
580
603
|
-i, --library-id=<value> (required) Agentforce Data Library ID (18-char Salesforce ID with prefix 1JD).
|
|
581
604
|
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
582
605
|
configuration variable is already set.
|
|
583
606
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
607
|
+
--include-artifacts Resolve DC asset artifacts (DataStream, DLO, DMO, SearchIndex, Retriever) with entity IDs
|
|
608
|
+
and names on each stage. Slower — requires additional queries.
|
|
584
609
|
|
|
585
610
|
GLOBAL FLAGS
|
|
586
611
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -589,8 +614,8 @@ GLOBAL FLAGS
|
|
|
589
614
|
DESCRIPTION
|
|
590
615
|
Get indexing status of an Agentforce Data Library.
|
|
591
616
|
|
|
592
|
-
Returns the current indexing status including stage details (DATA_LAKE_OBJECT,
|
|
593
|
-
errors.
|
|
617
|
+
Returns the current indexing status including stage details (DATA_STREAM, DATA_LAKE_OBJECT, DATA_MODEL_OBJECT,
|
|
618
|
+
SEARCH_INDEX, RETRIEVER) and any errors.
|
|
594
619
|
|
|
595
620
|
EXAMPLES
|
|
596
621
|
Get status of a data library:
|
|
@@ -598,7 +623,7 @@ EXAMPLES
|
|
|
598
623
|
$ sf agent adl status --library-id 1JDSG000007IbWX4A0 --target-org myOrg
|
|
599
624
|
```
|
|
600
625
|
|
|
601
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
626
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/adl/status.ts)_
|
|
602
627
|
|
|
603
628
|
## `sf agent adl update`
|
|
604
629
|
|
|
@@ -607,7 +632,8 @@ Update an Agentforce Data Library.
|
|
|
607
632
|
```
|
|
608
633
|
USAGE
|
|
609
634
|
$ sf agent adl update -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>] [-n <value>]
|
|
610
|
-
[--description <value>] [--content-fields <value>] [--restrict-to-public-articles] [--
|
|
635
|
+
[--description <value>] [--content-fields <value>] [--restrict-to-public-articles] [--data-category-rule]
|
|
636
|
+
[--retriever-id <value>]
|
|
611
637
|
|
|
612
638
|
FLAGS
|
|
613
639
|
-i, --library-id=<value> (required) Agentforce Data Library ID (18-char Salesforce ID with prefix 1JD).
|
|
@@ -617,6 +643,8 @@ FLAGS
|
|
|
617
643
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
618
644
|
--content-fields=<value> Comma-separated list of content fields for KNOWLEDGE libraries (triggers
|
|
619
645
|
re-indexing).
|
|
646
|
+
--[no-]data-category-rule Enable or disable data category filtering for KNOWLEDGE libraries. Use
|
|
647
|
+
--no-data-category-rule to disable.
|
|
620
648
|
--description=<value> New description for the data library (max 255 characters).
|
|
621
649
|
--[no-]restrict-to-public-articles Restrict to public Knowledge articles only (KNOWLEDGE libraries, triggers
|
|
622
650
|
re-indexing).
|
|
@@ -650,7 +678,7 @@ EXAMPLES
|
|
|
650
678
|
$ sf agent adl update --library-id 1JDSG000007IbWX4A0 --restrict-to-public-articles --target-org myOrg
|
|
651
679
|
```
|
|
652
680
|
|
|
653
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
681
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/adl/update.ts)_
|
|
654
682
|
|
|
655
683
|
## `sf agent adl upload`
|
|
656
684
|
|
|
@@ -680,6 +708,10 @@ DESCRIPTION
|
|
|
680
708
|
Performs the multi-step upload workflow: checks upload readiness, obtains a pre-signed S3 URL, uploads the file,
|
|
681
709
|
triggers indexing, and optionally polls until the library is ready (retrieverId is populated).
|
|
682
710
|
|
|
711
|
+
Upload triggers the full Data Cloud provisioning pipeline, creating all downstream assets (DLO, DMO, SearchIndex,
|
|
712
|
+
Retriever). Use `sf agent adl status` to monitor progress. For adding files to an already-provisioned library, use `sf
|
|
713
|
+
agent adl file add` instead.
|
|
714
|
+
|
|
683
715
|
This command only works with SFDRIVE libraries. KNOWLEDGE libraries index automatically after creation, and RETRIEVER
|
|
684
716
|
libraries require no file upload.
|
|
685
717
|
|
|
@@ -693,7 +725,7 @@ EXAMPLES
|
|
|
693
725
|
$ sf agent adl upload --library-id 1JDSG000007IbWX4A0 --file ./docs/guide.pdf --target-org myOrg
|
|
694
726
|
```
|
|
695
727
|
|
|
696
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
728
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/adl/upload.ts)_
|
|
697
729
|
|
|
698
730
|
## `sf agent create`
|
|
699
731
|
|
|
@@ -760,7 +792,7 @@ EXAMPLES
|
|
|
760
792
|
$ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
|
|
761
793
|
```
|
|
762
794
|
|
|
763
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
795
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/create.ts)_
|
|
764
796
|
|
|
765
797
|
## `sf agent deactivate`
|
|
766
798
|
|
|
@@ -809,7 +841,7 @@ ERROR CODES
|
|
|
809
841
|
DeactivationFailed (4) Failed to deactivate the agent due to API or network errors.
|
|
810
842
|
```
|
|
811
843
|
|
|
812
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
844
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/deactivate.ts)_
|
|
813
845
|
|
|
814
846
|
## `sf agent generate agent-spec`
|
|
815
847
|
|
|
@@ -916,7 +948,7 @@ EXAMPLES
|
|
|
916
948
|
$ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
|
|
917
949
|
```
|
|
918
950
|
|
|
919
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
951
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/generate/agent-spec.ts)_
|
|
920
952
|
|
|
921
953
|
## `sf agent generate authoring-bundle`
|
|
922
954
|
|
|
@@ -993,7 +1025,7 @@ EXAMPLES
|
|
|
993
1025
|
other-package-dir/main/default --target-org my-dev-org
|
|
994
1026
|
```
|
|
995
1027
|
|
|
996
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1028
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/generate/authoring-bundle.ts)_
|
|
997
1029
|
|
|
998
1030
|
## `sf agent generate template`
|
|
999
1031
|
|
|
@@ -1055,7 +1087,7 @@ EXAMPLES
|
|
|
1055
1087
|
my-package --source-org my-scratch-org
|
|
1056
1088
|
```
|
|
1057
1089
|
|
|
1058
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1090
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/generate/template.ts)_
|
|
1059
1091
|
|
|
1060
1092
|
## `sf agent generate test-spec`
|
|
1061
1093
|
|
|
@@ -1144,7 +1176,7 @@ FLAG DESCRIPTIONS
|
|
|
1144
1176
|
metadata. 'testing-center' uses AiEvaluationDefinition metadata.
|
|
1145
1177
|
```
|
|
1146
1178
|
|
|
1147
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1179
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/generate/test-spec.ts)_
|
|
1148
1180
|
|
|
1149
1181
|
## `sf agent mcp asset list`
|
|
1150
1182
|
|
|
@@ -1180,7 +1212,7 @@ EXAMPLES
|
|
|
1180
1212
|
$ sf agent mcp asset list --target-org myOrg --mcp-server-id 0XSxx0000000001 --json
|
|
1181
1213
|
```
|
|
1182
1214
|
|
|
1183
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1215
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/mcp/asset/list.ts)_
|
|
1184
1216
|
|
|
1185
1217
|
## `sf agent mcp asset replace`
|
|
1186
1218
|
|
|
@@ -1229,7 +1261,7 @@ EXAMPLES
|
|
|
1229
1261
|
cat assets.json | sf agent mcp asset replace --mcp-server-id 0XSxx0000000001 --assets - --target-org myOrg
|
|
1230
1262
|
```
|
|
1231
1263
|
|
|
1232
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1264
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/mcp/asset/replace.ts)_
|
|
1233
1265
|
|
|
1234
1266
|
## `sf agent mcp create`
|
|
1235
1267
|
|
|
@@ -1277,7 +1309,7 @@ EXAMPLES
|
|
|
1277
1309
|
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
1310
|
```
|
|
1279
1311
|
|
|
1280
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1312
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/mcp/create.ts)_
|
|
1281
1313
|
|
|
1282
1314
|
## `sf agent mcp delete`
|
|
1283
1315
|
|
|
@@ -1315,7 +1347,7 @@ EXAMPLES
|
|
|
1315
1347
|
$ sf agent mcp delete --mcp-server-id 0XSxx0000000001 --target-org myOrg --no-prompt
|
|
1316
1348
|
```
|
|
1317
1349
|
|
|
1318
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1350
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/mcp/delete.ts)_
|
|
1319
1351
|
|
|
1320
1352
|
## `sf agent mcp fetch`
|
|
1321
1353
|
|
|
@@ -1352,7 +1384,7 @@ EXAMPLES
|
|
|
1352
1384
|
$ sf agent mcp fetch --target-org myOrg --mcp-server-id 0XSxx0000000001 --json
|
|
1353
1385
|
```
|
|
1354
1386
|
|
|
1355
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1387
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/mcp/fetch.ts)_
|
|
1356
1388
|
|
|
1357
1389
|
## `sf agent mcp get`
|
|
1358
1390
|
|
|
@@ -1388,7 +1420,7 @@ EXAMPLES
|
|
|
1388
1420
|
$ sf agent mcp get --target-org myOrg --mcp-server-id 0Mx000000000001 --json
|
|
1389
1421
|
```
|
|
1390
1422
|
|
|
1391
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1423
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/mcp/get.ts)_
|
|
1392
1424
|
|
|
1393
1425
|
## `sf agent mcp list`
|
|
1394
1426
|
|
|
@@ -1430,7 +1462,7 @@ EXAMPLES
|
|
|
1430
1462
|
$ sf agent mcp list --target-org myOrg --type EXTERNAL --status ACTIVE --json
|
|
1431
1463
|
```
|
|
1432
1464
|
|
|
1433
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1465
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/mcp/list.ts)_
|
|
1434
1466
|
|
|
1435
1467
|
## `sf agent mcp update`
|
|
1436
1468
|
|
|
@@ -1481,7 +1513,7 @@ EXAMPLES
|
|
|
1481
1513
|
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
|
|
1482
1514
|
```
|
|
1483
1515
|
|
|
1484
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1516
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/mcp/update.ts)_
|
|
1485
1517
|
|
|
1486
1518
|
## `sf agent preview`
|
|
1487
1519
|
|
|
@@ -1576,7 +1608,7 @@ FLAG DESCRIPTIONS
|
|
|
1576
1608
|
will see null. (3) Type defaults to Text.
|
|
1577
1609
|
```
|
|
1578
1610
|
|
|
1579
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1611
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/preview.ts)_
|
|
1580
1612
|
|
|
1581
1613
|
## `sf agent preview end`
|
|
1582
1614
|
|
|
@@ -1660,7 +1692,7 @@ ERROR CODES
|
|
|
1660
1692
|
SessionAmbiguous (5) Multiple preview sessions found; specify --session-id to choose one.
|
|
1661
1693
|
```
|
|
1662
1694
|
|
|
1663
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1695
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/preview/end.ts)_
|
|
1664
1696
|
|
|
1665
1697
|
## `sf agent preview send`
|
|
1666
1698
|
|
|
@@ -1727,7 +1759,7 @@ ERROR CODES
|
|
|
1727
1759
|
SessionAmbiguous (5) Multiple preview sessions found; specify --session-id to choose one.
|
|
1728
1760
|
```
|
|
1729
1761
|
|
|
1730
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1762
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/preview/send.ts)_
|
|
1731
1763
|
|
|
1732
1764
|
## `sf agent preview sessions`
|
|
1733
1765
|
|
|
@@ -1763,7 +1795,7 @@ ERROR CODES
|
|
|
1763
1795
|
Succeeded (0) Sessions listed successfully (or empty list if no active sessions).
|
|
1764
1796
|
```
|
|
1765
1797
|
|
|
1766
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1798
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/preview/sessions.ts)_
|
|
1767
1799
|
|
|
1768
1800
|
## `sf agent preview start`
|
|
1769
1801
|
|
|
@@ -1861,7 +1893,7 @@ ERROR CODES
|
|
|
1861
1893
|
PreviewStartFailed (4) Preview session failed to start due to API or network errors.
|
|
1862
1894
|
```
|
|
1863
1895
|
|
|
1864
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1896
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/preview/start.ts)_
|
|
1865
1897
|
|
|
1866
1898
|
## `sf agent publish authoring-bundle`
|
|
1867
1899
|
|
|
@@ -1925,7 +1957,7 @@ ERROR CODES
|
|
|
1925
1957
|
Failed (1) Compilation errors found in the Agent Script file.
|
|
1926
1958
|
```
|
|
1927
1959
|
|
|
1928
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1960
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/publish/authoring-bundle.ts)_
|
|
1929
1961
|
|
|
1930
1962
|
## `sf agent test create`
|
|
1931
1963
|
|
|
@@ -2006,7 +2038,7 @@ ERROR CODES
|
|
|
2006
2038
|
DeploymentFailed (4) Deployment failed due to API or network errors.
|
|
2007
2039
|
```
|
|
2008
2040
|
|
|
2009
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2041
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/test/create.ts)_
|
|
2010
2042
|
|
|
2011
2043
|
## `sf agent test list`
|
|
2012
2044
|
|
|
@@ -2048,7 +2080,7 @@ ERROR CODES
|
|
|
2048
2080
|
Failed (4) Failed to retrieve agent tests due to API or network errors.
|
|
2049
2081
|
```
|
|
2050
2082
|
|
|
2051
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2083
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/test/list.ts)_
|
|
2052
2084
|
|
|
2053
2085
|
## `sf agent test results`
|
|
2054
2086
|
|
|
@@ -2132,7 +2164,7 @@ ERROR CODES
|
|
|
2132
2164
|
Failed (4) Failed to retrieve results due to API or network errors.
|
|
2133
2165
|
```
|
|
2134
2166
|
|
|
2135
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2167
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/test/results.ts)_
|
|
2136
2168
|
|
|
2137
2169
|
## `sf agent test resume`
|
|
2138
2170
|
|
|
@@ -2225,7 +2257,7 @@ ERROR CODES
|
|
|
2225
2257
|
OperationFailed (4) Failed to poll test due to API or network errors.
|
|
2226
2258
|
```
|
|
2227
2259
|
|
|
2228
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2260
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/test/resume.ts)_
|
|
2229
2261
|
|
|
2230
2262
|
## `sf agent test run`
|
|
2231
2263
|
|
|
@@ -2318,7 +2350,7 @@ ERROR CODES
|
|
|
2318
2350
|
OperationFailed (4) Failed to start or poll test due to API or network errors.
|
|
2319
2351
|
```
|
|
2320
2352
|
|
|
2321
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2353
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/test/run.ts)_
|
|
2322
2354
|
|
|
2323
2355
|
## `sf agent test run-eval`
|
|
2324
2356
|
|
|
@@ -2403,7 +2435,7 @@ ERROR CODES
|
|
|
2403
2435
|
OperationFailed (4) Failed to execute tests due to API or network errors.
|
|
2404
2436
|
```
|
|
2405
2437
|
|
|
2406
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2438
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/test/run-eval.ts)_
|
|
2407
2439
|
|
|
2408
2440
|
## `sf agent trace delete`
|
|
2409
2441
|
|
|
@@ -2470,7 +2502,7 @@ ERROR CODES
|
|
|
2470
2502
|
Succeeded (0) Traces deleted successfully (or no traces matched).
|
|
2471
2503
|
```
|
|
2472
2504
|
|
|
2473
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2505
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/trace/delete.ts)_
|
|
2474
2506
|
|
|
2475
2507
|
## `sf agent trace list`
|
|
2476
2508
|
|
|
@@ -2543,7 +2575,7 @@ ERROR CODES
|
|
|
2543
2575
|
Succeeded (0) Trace files listed successfully (or empty list if none found).
|
|
2544
2576
|
```
|
|
2545
2577
|
|
|
2546
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2578
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/trace/list.ts)_
|
|
2547
2579
|
|
|
2548
2580
|
## `sf agent trace read`
|
|
2549
2581
|
|
|
@@ -2631,7 +2663,7 @@ EXAMPLES
|
|
|
2631
2663
|
$ sf agent trace read --session-id <SESSION_ID> --json
|
|
2632
2664
|
```
|
|
2633
2665
|
|
|
2634
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2666
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/trace/read.ts)_
|
|
2635
2667
|
|
|
2636
2668
|
## `sf agent validate authoring-bundle`
|
|
2637
2669
|
|
|
@@ -2688,7 +2720,7 @@ ERROR CODES
|
|
|
2688
2720
|
ServerError (3) Validation/compilation API returned HTTP 500. A server error occurred during compilation.
|
|
2689
2721
|
```
|
|
2690
2722
|
|
|
2691
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
2723
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.44.4/src/commands/agent/validate/authoring-bundle.ts)_
|
|
2692
2724
|
|
|
2693
2725
|
## `sf alias list`
|
|
2694
2726
|
|
|
@@ -8986,7 +9018,7 @@ EXAMPLES
|
|
|
8986
9018
|
$ sf plugins
|
|
8987
9019
|
```
|
|
8988
9020
|
|
|
8989
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.
|
|
9021
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.82/src/commands/plugins/index.ts)_
|
|
8990
9022
|
|
|
8991
9023
|
## `sf plugins discover`
|
|
8992
9024
|
|
|
@@ -9031,7 +9063,7 @@ EXAMPLES
|
|
|
9031
9063
|
$ sf plugins inspect @salesforce/plugin-packaging
|
|
9032
9064
|
```
|
|
9033
9065
|
|
|
9034
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.
|
|
9066
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.82/src/commands/plugins/inspect.ts)_
|
|
9035
9067
|
|
|
9036
9068
|
## `sf plugins install PLUGIN`
|
|
9037
9069
|
|
|
@@ -9080,7 +9112,7 @@ EXAMPLES
|
|
|
9080
9112
|
$ sf plugins install someuser/someplugin
|
|
9081
9113
|
```
|
|
9082
9114
|
|
|
9083
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.
|
|
9115
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.82/src/commands/plugins/install.ts)_
|
|
9084
9116
|
|
|
9085
9117
|
## `sf plugins link PATH`
|
|
9086
9118
|
|
|
@@ -9111,7 +9143,7 @@ EXAMPLES
|
|
|
9111
9143
|
$ sf plugins link @salesforce/plugin-packaging
|
|
9112
9144
|
```
|
|
9113
9145
|
|
|
9114
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.
|
|
9146
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.82/src/commands/plugins/link.ts)_
|
|
9115
9147
|
|
|
9116
9148
|
## `sf plugins reset`
|
|
9117
9149
|
|
|
@@ -9126,7 +9158,7 @@ FLAGS
|
|
|
9126
9158
|
--reinstall Reinstall all plugins after uninstalling.
|
|
9127
9159
|
```
|
|
9128
9160
|
|
|
9129
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.
|
|
9161
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.82/src/commands/plugins/reset.ts)_
|
|
9130
9162
|
|
|
9131
9163
|
## `sf plugins trust allowlist add`
|
|
9132
9164
|
|
|
@@ -9285,7 +9317,7 @@ EXAMPLES
|
|
|
9285
9317
|
$ sf plugins uninstall @salesforce/plugin-packaging
|
|
9286
9318
|
```
|
|
9287
9319
|
|
|
9288
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.
|
|
9320
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.82/src/commands/plugins/uninstall.ts)_
|
|
9289
9321
|
|
|
9290
9322
|
## `sf plugins update`
|
|
9291
9323
|
|
|
@@ -9303,7 +9335,7 @@ DESCRIPTION
|
|
|
9303
9335
|
Update installed plugins.
|
|
9304
9336
|
```
|
|
9305
9337
|
|
|
9306
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.
|
|
9338
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.82/src/commands/plugins/update.ts)_
|
|
9307
9339
|
|
|
9308
9340
|
## `sf project convert mdapi`
|
|
9309
9341
|
|