@salesforce/cli 2.138.5 → 2.139.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -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.138.5 linux-x64 node-v22.22.3
28
+ @salesforce/cli/2.139.0 linux-x64 node-v22.22.3
29
29
  $ sf --help [COMMAND]
30
30
  USAGE
31
31
  $ sf COMMAND
@@ -43,6 +43,16 @@ See [architecture page](ARCHITECTURE.md) for diagrams of the Salesforce CLI.
43
43
  <!-- commands -->
44
44
 
45
45
  - [`sf agent activate`](#sf-agent-activate)
46
+ - [`sf agent adl create`](#sf-agent-adl-create)
47
+ - [`sf agent adl delete`](#sf-agent-adl-delete)
48
+ - [`sf agent adl file add`](#sf-agent-adl-file-add)
49
+ - [`sf agent adl file delete`](#sf-agent-adl-file-delete)
50
+ - [`sf agent adl file list`](#sf-agent-adl-file-list)
51
+ - [`sf agent adl get`](#sf-agent-adl-get)
52
+ - [`sf agent adl list`](#sf-agent-adl-list)
53
+ - [`sf agent adl status`](#sf-agent-adl-status)
54
+ - [`sf agent adl update`](#sf-agent-adl-update)
55
+ - [`sf agent adl upload`](#sf-agent-adl-upload)
46
56
  - [`sf agent create`](#sf-agent-create)
47
57
  - [`sf agent deactivate`](#sf-agent-deactivate)
48
58
  - [`sf agent generate agent-spec`](#sf-agent-generate-agent-spec)
@@ -284,7 +294,389 @@ ERROR CODES
284
294
  ActivationFailed (4) Failed to activate the agent due to API or network errors.
285
295
  ```
286
296
 
287
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/activate.ts)_
297
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/activate.ts)_
298
+
299
+ ## `sf agent adl create`
300
+
301
+ Create an Agentforce Data Library.
302
+
303
+ ```
304
+ USAGE
305
+ $ sf agent adl create -o <value> -n <value> --developer-name <value> --source-type sfdrive|knowledge|retriever
306
+ [--json] [--flags-dir <value>] [--api-version <value>] [--description <value>] [--index-mode basic|enhanced]
307
+ [--retriever-id <value>] [--primary-index-field1 <value>] [--primary-index-field2 <value>]
308
+
309
+ FLAGS
310
+ -n, --name=<value> (required) Display name for the data library (max 80 characters).
311
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
312
+ configuration variable is already set.
313
+ --api-version=<value> Override the api version used for api requests made by this command
314
+ --description=<value> Description of the data library (max 255 characters).
315
+ --developer-name=<value> (required) API name for the data library (max 80 characters, alphanumeric and
316
+ underscores only, must start with a letter).
317
+ --index-mode=<option> Index mode for SFDRIVE libraries: basic or enhanced.
318
+ <options: basic|enhanced>
319
+ --primary-index-field1=<value> Primary index field 1 for KNOWLEDGE libraries (required, immutable after
320
+ creation).
321
+ --primary-index-field2=<value> Primary index field 2 for KNOWLEDGE libraries (required, immutable after
322
+ creation).
323
+ --retriever-id=<value> ID of an active Custom Retriever (required for RETRIEVER source type; retriever
324
+ must be active).
325
+ --source-type=<option> (required) Type of grounding source: sfdrive (file upload), knowledge (Salesforce
326
+ Knowledge articles), or retriever (existing active Custom Retriever).
327
+ <options: sfdrive|knowledge|retriever>
328
+
329
+ GLOBAL FLAGS
330
+ --flags-dir=<value> Import flag values from a directory.
331
+ --json Format output as json.
332
+
333
+ DESCRIPTION
334
+ Create an Agentforce Data Library.
335
+
336
+ Creates a new data library in the target org. The --source-type flag determines the type of library: SFDRIVE (file
337
+ upload), KNOWLEDGE (Salesforce Knowledge articles), or RETRIEVER (existing active Custom Retriever).
338
+
339
+ EXAMPLES
340
+ Create an SFDRIVE library:
341
+
342
+ $ sf agent adl create --target-org myOrg --name "My Docs" --developer-name My_Docs --source-type sfdrive
343
+
344
+ Create a KNOWLEDGE library with index fields:
345
+
346
+ $ sf agent adl create --target-org myOrg --name "KB Library" --developer-name KB_Library --source-type knowledge \
347
+ --primary-index-field1 Title --primary-index-field2 Summary
348
+
349
+ Create a RETRIEVER library:
350
+
351
+ $ sf agent adl create --target-org myOrg --name "Existing Retriever" --developer-name Existing_Retriever \
352
+ --source-type retriever --retriever-id 0ppXX0000000001
353
+ ```
354
+
355
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/adl/create.ts)_
356
+
357
+ ## `sf agent adl delete`
358
+
359
+ Delete an Agentforce Data Library.
360
+
361
+ ```
362
+ USAGE
363
+ $ sf agent adl delete -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
364
+
365
+ FLAGS
366
+ -i, --library-id=<value> (required) Agentforce Data Library ID (18-char Salesforce ID with prefix 1JD).
367
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
368
+ configuration variable is already set.
369
+ --api-version=<value> Override the api version used for api requests made by this command
370
+
371
+ GLOBAL FLAGS
372
+ --flags-dir=<value> Import flag values from a directory.
373
+ --json Format output as json.
374
+
375
+ DESCRIPTION
376
+ Delete an Agentforce Data Library.
377
+
378
+ Permanently deletes a data library and all associated files and indexing data.
379
+
380
+ EXAMPLES
381
+ Delete a data library:
382
+
383
+ $ sf agent adl delete --library-id 1JDSG000007IbWX4A0 --target-org myOrg
384
+ ```
385
+
386
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/adl/delete.ts)_
387
+
388
+ ## `sf agent adl file add`
389
+
390
+ Add files to an existing Agentforce Data Library.
391
+
392
+ ```
393
+ USAGE
394
+ $ sf agent adl file add -o <value> -i <value> -f <value> [--json] [--flags-dir <value>] [--api-version <value>]
395
+
396
+ FLAGS
397
+ -f, --file=<value> (required) Path to the file to add to the library.
398
+ -i, --library-id=<value> (required) Agentforce Data Library ID (18-char Salesforce ID with prefix 1JD).
399
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
400
+ configuration variable is already set.
401
+ --api-version=<value> Override the api version used for api requests made by this command
402
+
403
+ GLOBAL FLAGS
404
+ --flags-dir=<value> Import flag values from a directory.
405
+ --json Format output as json.
406
+
407
+ DESCRIPTION
408
+ Add files to an existing Agentforce Data Library.
409
+
410
+ Adds one or more files to an existing SFDRIVE data library and triggers SearchIndex re-hydration. This is the day-2
411
+ operation for adding files to an already-provisioned library.
412
+
413
+ Constraints: at least 1 file required, no duplicate file names in a batch, maximum 1000 files per library.
414
+
415
+ EXAMPLES
416
+ Add a file to an existing library:
417
+
418
+ $ sf agent adl file add --library-id 1JDSG000007IbWX4A0 --file ./docs/new-guide.pdf --target-org myOrg
419
+ ```
420
+
421
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/adl/file/add.ts)_
422
+
423
+ ## `sf agent adl file delete`
424
+
425
+ Delete a file from an Agentforce Data Library.
426
+
427
+ ```
428
+ USAGE
429
+ $ sf agent adl file delete -o <value> -i <value> --file-id <value> [--json] [--flags-dir <value>] [--api-version
430
+ <value>]
431
+
432
+ FLAGS
433
+ -i, --library-id=<value> (required) Agentforce Data Library ID (18-char Salesforce ID with prefix 1JD).
434
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
435
+ configuration variable is already set.
436
+ --api-version=<value> Override the api version used for api requests made by this command
437
+ --file-id=<value> (required) ID of the file to delete (AiGroundingFileRef record ID).
438
+
439
+ GLOBAL FLAGS
440
+ --flags-dir=<value> Import flag values from a directory.
441
+ --json Format output as json.
442
+
443
+ DESCRIPTION
444
+ Delete a file from an Agentforce Data Library.
445
+
446
+ Permanently removes a file from an SFDRIVE data library and triggers re-indexing of the search index.
447
+
448
+ EXAMPLES
449
+ Delete a file from a data library:
450
+
451
+ $ sf agent adl file delete --library-id 1JDSG000007IbWX4A0 --file-id a1B2C3D4E5F6G7H8I9 --target-org myOrg
452
+ ```
453
+
454
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/adl/file/delete.ts)_
455
+
456
+ ## `sf agent adl file list`
457
+
458
+ List files in an Agentforce Data Library.
459
+
460
+ ```
461
+ USAGE
462
+ $ sf agent adl file list -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
463
+
464
+ FLAGS
465
+ -i, --library-id=<value> (required) Agentforce Data Library ID (18-char Salesforce ID with prefix 1JD).
466
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
467
+ configuration variable is already set.
468
+ --api-version=<value> Override the api version used for api requests made by this command
469
+
470
+ GLOBAL FLAGS
471
+ --flags-dir=<value> Import flag values from a directory.
472
+ --json Format output as json.
473
+
474
+ DESCRIPTION
475
+ List files in an Agentforce Data Library.
476
+
477
+ Returns the list of files in an SFDRIVE library including file name, size, and creation date.
478
+
479
+ EXAMPLES
480
+ List files in a data library:
481
+
482
+ $ sf agent adl file list --library-id 1JDSG000007IbWX4A0 --target-org myOrg
483
+
484
+ List files and output as JSON:
485
+
486
+ $ sf agent adl file list --library-id 1JDSG000007IbWX4A0 --target-org myOrg --json
487
+ ```
488
+
489
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/adl/file/list.ts)_
490
+
491
+ ## `sf agent adl get`
492
+
493
+ Get details of an Agentforce Data Library.
494
+
495
+ ```
496
+ USAGE
497
+ $ sf agent adl get -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
498
+
499
+ FLAGS
500
+ -i, --library-id=<value> (required) Agentforce Data Library ID (18-char Salesforce ID with prefix 1JD).
501
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
502
+ configuration variable is already set.
503
+ --api-version=<value> Override the api version used for api requests made by this command
504
+
505
+ GLOBAL FLAGS
506
+ --flags-dir=<value> Import flag values from a directory.
507
+ --json Format output as json.
508
+
509
+ DESCRIPTION
510
+ Get details of an Agentforce Data Library.
511
+
512
+ Returns the full detail of a data library including its grounding source configuration, status, and retriever ID.
513
+
514
+ EXAMPLES
515
+ Get details of a data library:
516
+
517
+ $ sf agent adl get --library-id 1JDSG000007IbWX4A0 --target-org myOrg
518
+ ```
519
+
520
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/adl/get.ts)_
521
+
522
+ ## `sf agent adl list`
523
+
524
+ List Agentforce Data Libraries in an org.
525
+
526
+ ```
527
+ USAGE
528
+ $ sf agent adl list -o <value> [--json] [--flags-dir <value>] [--api-version <value>]
529
+
530
+ FLAGS
531
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
532
+ configuration variable is already set.
533
+ --api-version=<value> Override the api version used for api requests made by this command
534
+
535
+ GLOBAL FLAGS
536
+ --flags-dir=<value> Import flag values from a directory.
537
+ --json Format output as json.
538
+
539
+ DESCRIPTION
540
+ List Agentforce Data Libraries in an org.
541
+
542
+ Returns all data libraries in the target org, including their source type, status, and library ID.
543
+
544
+ EXAMPLES
545
+ List all data libraries in the default target org:
546
+
547
+ $ sf agent adl list --target-org myOrg
548
+
549
+ List data libraries and output as JSON:
550
+
551
+ $ sf agent adl list --target-org myOrg --json
552
+ ```
553
+
554
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/adl/list.ts)_
555
+
556
+ ## `sf agent adl status`
557
+
558
+ Get indexing status of an Agentforce Data Library.
559
+
560
+ ```
561
+ USAGE
562
+ $ sf agent adl status -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
563
+
564
+ FLAGS
565
+ -i, --library-id=<value> (required) Agentforce Data Library ID (18-char Salesforce ID with prefix 1JD).
566
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
567
+ configuration variable is already set.
568
+ --api-version=<value> Override the api version used for api requests made by this command
569
+
570
+ GLOBAL FLAGS
571
+ --flags-dir=<value> Import flag values from a directory.
572
+ --json Format output as json.
573
+
574
+ DESCRIPTION
575
+ Get indexing status of an Agentforce Data Library.
576
+
577
+ Returns the current indexing status including stage details (DATA_LAKE_OBJECT, SEARCH_INDEX, RETRIEVER) and any
578
+ errors.
579
+
580
+ EXAMPLES
581
+ Get status of a data library:
582
+
583
+ $ sf agent adl status --library-id 1JDSG000007IbWX4A0 --target-org myOrg
584
+ ```
585
+
586
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/adl/status.ts)_
587
+
588
+ ## `sf agent adl update`
589
+
590
+ Update an Agentforce Data Library.
591
+
592
+ ```
593
+ USAGE
594
+ $ sf agent adl update -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>] [-n <value>]
595
+ [--description <value>] [--content-fields <value>] [--restrict-to-public-articles]
596
+
597
+ FLAGS
598
+ -i, --library-id=<value> (required) Agentforce Data Library ID (18-char Salesforce ID with prefix 1JD).
599
+ -n, --name=<value> New display name for the data library (max 80 characters).
600
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the
601
+ `target-org` configuration variable is already set.
602
+ --api-version=<value> Override the api version used for api requests made by this command
603
+ --content-fields=<value> Comma-separated list of content fields for KNOWLEDGE libraries (triggers
604
+ re-indexing).
605
+ --description=<value> New description for the data library (max 255 characters).
606
+ --[no-]restrict-to-public-articles Restrict to public Knowledge articles only (KNOWLEDGE libraries, triggers
607
+ re-indexing).
608
+
609
+ GLOBAL FLAGS
610
+ --flags-dir=<value> Import flag values from a directory.
611
+ --json Format output as json.
612
+
613
+ DESCRIPTION
614
+ Update an Agentforce Data Library.
615
+
616
+ Updates the label, description, or other mutable properties of an existing data library.
617
+
618
+ EXAMPLES
619
+ Update the label of a data library:
620
+
621
+ $ sf agent adl update --library-id 1JDSG000007IbWX4A0 --name "New Name" --target-org myOrg
622
+
623
+ Update the description:
624
+
625
+ $ sf agent adl update --library-id 1JDSG000007IbWX4A0 --description "Updated description" --target-org myOrg
626
+
627
+ Update Knowledge library content fields (triggers re-indexing):
628
+
629
+ $ sf agent adl update --library-id 1JDSG000007IbWX4A0 --content-fields "Answer**c,Summary**c" --target-org myOrg
630
+
631
+ Restrict Knowledge library to public articles:
632
+
633
+ $ sf agent adl update --library-id 1JDSG000007IbWX4A0 --restrict-to-public-articles --target-org myOrg
634
+ ```
635
+
636
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/adl/update.ts)_
637
+
638
+ ## `sf agent adl upload`
639
+
640
+ Upload a file to an SFDRIVE Agentforce Data Library.
641
+
642
+ ```
643
+ USAGE
644
+ $ sf agent adl upload -o <value> -i <value> -f <value> [--json] [--flags-dir <value>] [--api-version <value>] [-w
645
+ <value>]
646
+
647
+ FLAGS
648
+ -f, --file=<value> (required) Path to the file to upload.
649
+ -i, --library-id=<value> (required) Agentforce Data Library ID (18-char Salesforce ID with prefix 1JD).
650
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
651
+ configuration variable is already set.
652
+ -w, --wait=<value> Number of minutes to wait for indexing to complete. If not specified, returns after
653
+ triggering indexing.
654
+ --api-version=<value> Override the api version used for api requests made by this command
655
+
656
+ GLOBAL FLAGS
657
+ --flags-dir=<value> Import flag values from a directory.
658
+ --json Format output as json.
659
+
660
+ DESCRIPTION
661
+ Upload a file to an SFDRIVE Agentforce Data Library.
662
+
663
+ Performs the multi-step upload workflow: checks upload readiness, obtains a pre-signed S3 URL, uploads the file,
664
+ triggers indexing, and optionally polls until the library is ready (retrieverId is populated).
665
+
666
+ This command only works with SFDRIVE libraries. KNOWLEDGE libraries index automatically after creation, and RETRIEVER
667
+ libraries require no file upload.
668
+
669
+ EXAMPLES
670
+ Upload a file and wait for indexing to complete:
671
+
672
+ $ sf agent adl upload --library-id 1JDSG000007IbWX4A0 --file ./docs/guide.pdf --target-org myOrg --wait 10
673
+
674
+ Upload a file without waiting:
675
+
676
+ $ sf agent adl upload --library-id 1JDSG000007IbWX4A0 --file ./docs/guide.pdf --target-org myOrg
677
+ ```
678
+
679
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/adl/upload.ts)_
288
680
 
289
681
  ## `sf agent create`
290
682
 
@@ -351,7 +743,7 @@ EXAMPLES
351
743
  $ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
352
744
  ```
353
745
 
354
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/create.ts)_
746
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/create.ts)_
355
747
 
356
748
  ## `sf agent deactivate`
357
749
 
@@ -400,7 +792,7 @@ ERROR CODES
400
792
  DeactivationFailed (4) Failed to deactivate the agent due to API or network errors.
401
793
  ```
402
794
 
403
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/deactivate.ts)_
795
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/deactivate.ts)_
404
796
 
405
797
  ## `sf agent generate agent-spec`
406
798
 
@@ -507,7 +899,7 @@ EXAMPLES
507
899
  $ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
508
900
  ```
509
901
 
510
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/generate/agent-spec.ts)_
902
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/generate/agent-spec.ts)_
511
903
 
512
904
  ## `sf agent generate authoring-bundle`
513
905
 
@@ -584,7 +976,7 @@ EXAMPLES
584
976
  other-package-dir/main/default --target-org my-dev-org
585
977
  ```
586
978
 
587
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/generate/authoring-bundle.ts)_
979
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/generate/authoring-bundle.ts)_
588
980
 
589
981
  ## `sf agent generate template`
590
982
 
@@ -646,7 +1038,7 @@ EXAMPLES
646
1038
  my-package --source-org my-scratch-org
647
1039
  ```
648
1040
 
649
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/generate/template.ts)_
1041
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/generate/template.ts)_
650
1042
 
651
1043
  ## `sf agent generate test-spec`
652
1044
 
@@ -711,7 +1103,7 @@ EXAMPLES
711
1103
  force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
712
1104
  ```
713
1105
 
714
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/generate/test-spec.ts)_
1106
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/generate/test-spec.ts)_
715
1107
 
716
1108
  ## `sf agent preview`
717
1109
 
@@ -784,7 +1176,7 @@ EXAMPLES
784
1176
  $ sf agent preview --use-live-actions --apex-debug --output-dir transcripts/my-preview
785
1177
  ```
786
1178
 
787
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/preview.ts)_
1179
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/preview.ts)_
788
1180
 
789
1181
  ## `sf agent preview end`
790
1182
 
@@ -868,7 +1260,7 @@ ERROR CODES
868
1260
  SessionAmbiguous (5) Multiple preview sessions found; specify --session-id to choose one.
869
1261
  ```
870
1262
 
871
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/preview/end.ts)_
1263
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/preview/end.ts)_
872
1264
 
873
1265
  ## `sf agent preview send`
874
1266
 
@@ -935,7 +1327,7 @@ ERROR CODES
935
1327
  SessionAmbiguous (5) Multiple preview sessions found; specify --session-id to choose one.
936
1328
  ```
937
1329
 
938
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/preview/send.ts)_
1330
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/preview/send.ts)_
939
1331
 
940
1332
  ## `sf agent preview sessions`
941
1333
 
@@ -971,7 +1363,7 @@ ERROR CODES
971
1363
  Succeeded (0) Sessions listed successfully (or empty list if no active sessions).
972
1364
  ```
973
1365
 
974
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/preview/sessions.ts)_
1366
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/preview/sessions.ts)_
975
1367
 
976
1368
  ## `sf agent preview start`
977
1369
 
@@ -1047,7 +1439,7 @@ ERROR CODES
1047
1439
  PreviewStartFailed (4) Preview session failed to start due to API or network errors.
1048
1440
  ```
1049
1441
 
1050
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/preview/start.ts)_
1442
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/preview/start.ts)_
1051
1443
 
1052
1444
  ## `sf agent publish authoring-bundle`
1053
1445
 
@@ -1111,7 +1503,7 @@ ERROR CODES
1111
1503
  Failed (1) Compilation errors found in the Agent Script file.
1112
1504
  ```
1113
1505
 
1114
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/publish/authoring-bundle.ts)_
1506
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/publish/authoring-bundle.ts)_
1115
1507
 
1116
1508
  ## `sf agent test create`
1117
1509
 
@@ -1120,17 +1512,19 @@ Create an agent test in your org using a local test spec YAML file.
1120
1512
  ```
1121
1513
  USAGE
1122
1514
  $ sf agent test create -o <value> [--json] [--flags-dir <value>] [--api-name <value>] [--spec <value>] [--api-version
1123
- <value>] [--preview] [--force-overwrite]
1515
+ <value>] [--preview] [--force-overwrite] [--test-runner agentforce-studio|testing-center]
1124
1516
 
1125
1517
  FLAGS
1126
- -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
1127
- configuration variable is already set.
1128
- --api-name=<value> API name of the new test; the API name must not exist in the org.
1129
- --api-version=<value> Override the api version used for api requests made by this command
1130
- --force-overwrite Don't prompt for confirmation when overwriting an existing test (based on API name) in your
1131
- org.
1132
- --preview Preview the test metadata file (AiEvaluationDefinition) without deploying to your org.
1133
- --spec=<value> Path to the test spec YAML file.
1518
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
1519
+ configuration variable is already set.
1520
+ --api-name=<value> API name of the new test; the API name must not exist in the org.
1521
+ --api-version=<value> Override the api version used for api requests made by this command
1522
+ --force-overwrite Don't prompt for confirmation when overwriting an existing test (based on API name) in
1523
+ your org.
1524
+ --preview Preview the test metadata file without deploying to your org.
1525
+ --spec=<value> Path to the test spec YAML file.
1526
+ --test-runner=<option> Explicitly specify which test runner to use (agentforce-studio or testing-center).
1527
+ <options: agentforce-studio|testing-center>
1134
1528
 
1135
1529
  GLOBAL FLAGS
1136
1530
  --flags-dir=<value> Import flag values from a directory.
@@ -1144,8 +1538,9 @@ DESCRIPTION
1144
1538
  to this command with the --spec flag, or run this command with no flags to be prompted.
1145
1539
 
1146
1540
  When this command completes, your org contains the new agent test, which you can view and edit using the Testing
1147
- Center UI. This command also retrieves the metadata component (AiEvaluationDefinition) associated with the new test to
1148
- your local Salesforce DX project and displays its filename.
1541
+ Center UI (legacy) or Agentforce Studio (NGT). This command also retrieves the metadata component associated with the
1542
+ new test to your local Salesforce DX project and displays its filename. By default, the legacy AiEvaluationDefinition
1543
+ is created; use --test-runner agentforce-studio to author an AiTestingDefinition (NGT) instead.
1149
1544
 
1150
1545
  After you've created the test in the org, use the "agent test run" command to run it.
1151
1546
 
@@ -1165,6 +1560,20 @@ EXAMPLES
1165
1560
 
1166
1561
  $ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
1167
1562
 
1563
+ Author an Agentforce Studio (NGT) test from an NGT-shaped YAML; writes an AiTestingDefinition metadata file:
1564
+
1565
+ $ sf agent test create --spec specs/ReturnsCheckout.ngt.yaml --api-name Returns_Checkout --test-runner \
1566
+ agentforce-studio --target-org my-org
1567
+
1568
+ FLAG DESCRIPTIONS
1569
+ --test-runner=agentforce-studio|testing-center
1570
+
1571
+ Explicitly specify which test runner to use (agentforce-studio or testing-center).
1572
+
1573
+ By default, the command automatically detects which test runner to use based on the test definition metadata type in
1574
+ your org. Use this flag to explicitly specify the runner type. 'agentforce-studio' uses AiTestingDefinition
1575
+ metadata. 'testing-center' uses AiEvaluationDefinition metadata.
1576
+
1168
1577
  ENVIRONMENT VARIABLES
1169
1578
  SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
1170
1579
 
@@ -1175,7 +1584,7 @@ ERROR CODES
1175
1584
  DeploymentFailed (4) Deployment failed due to API or network errors.
1176
1585
  ```
1177
1586
 
1178
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/test/create.ts)_
1587
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/test/create.ts)_
1179
1588
 
1180
1589
  ## `sf agent test list`
1181
1590
 
@@ -1217,7 +1626,7 @@ ERROR CODES
1217
1626
  Failed (4) Failed to retrieve agent tests due to API or network errors.
1218
1627
  ```
1219
1628
 
1220
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/test/list.ts)_
1629
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/test/list.ts)_
1221
1630
 
1222
1631
  ## `sf agent test results`
1223
1632
 
@@ -1301,7 +1710,7 @@ ERROR CODES
1301
1710
  Failed (4) Failed to retrieve results due to API or network errors.
1302
1711
  ```
1303
1712
 
1304
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/test/results.ts)_
1713
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/test/results.ts)_
1305
1714
 
1306
1715
  ## `sf agent test resume`
1307
1716
 
@@ -1394,7 +1803,7 @@ ERROR CODES
1394
1803
  OperationFailed (4) Failed to poll test due to API or network errors.
1395
1804
  ```
1396
1805
 
1397
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/test/resume.ts)_
1806
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/test/resume.ts)_
1398
1807
 
1399
1808
  ## `sf agent test run`
1400
1809
 
@@ -1487,7 +1896,7 @@ ERROR CODES
1487
1896
  OperationFailed (4) Failed to start or poll test due to API or network errors.
1488
1897
  ```
1489
1898
 
1490
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/test/run.ts)_
1899
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/test/run.ts)_
1491
1900
 
1492
1901
  ## `sf agent test run-eval`
1493
1902
 
@@ -1572,7 +1981,7 @@ ERROR CODES
1572
1981
  OperationFailed (4) Failed to execute tests due to API or network errors.
1573
1982
  ```
1574
1983
 
1575
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/test/run-eval.ts)_
1984
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/test/run-eval.ts)_
1576
1985
 
1577
1986
  ## `sf agent trace delete`
1578
1987
 
@@ -1639,7 +2048,7 @@ ERROR CODES
1639
2048
  Succeeded (0) Traces deleted successfully (or no traces matched).
1640
2049
  ```
1641
2050
 
1642
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/trace/delete.ts)_
2051
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/trace/delete.ts)_
1643
2052
 
1644
2053
  ## `sf agent trace list`
1645
2054
 
@@ -1712,7 +2121,7 @@ ERROR CODES
1712
2121
  Succeeded (0) Trace files listed successfully (or empty list if none found).
1713
2122
  ```
1714
2123
 
1715
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/trace/list.ts)_
2124
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/trace/list.ts)_
1716
2125
 
1717
2126
  ## `sf agent trace read`
1718
2127
 
@@ -1800,7 +2209,7 @@ EXAMPLES
1800
2209
  $ sf agent trace read --session-id <SESSION_ID> --json
1801
2210
  ```
1802
2211
 
1803
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/trace/read.ts)_
2212
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/trace/read.ts)_
1804
2213
 
1805
2214
  ## `sf agent validate authoring-bundle`
1806
2215
 
@@ -1857,7 +2266,7 @@ ERROR CODES
1857
2266
  ServerError (3) Validation/compilation API returned HTTP 500. A server error occurred during compilation.
1858
2267
  ```
1859
2268
 
1860
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.40.5/src/commands/agent/validate/authoring-bundle.ts)_
2269
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.42.0/src/commands/agent/validate/authoring-bundle.ts)_
1861
2270
 
1862
2271
  ## `sf alias list`
1863
2272
 
@@ -10518,7 +10927,7 @@ FLAG DESCRIPTIONS
10518
10927
  directory.
10519
10928
  ```
10520
10929
 
10521
- _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.17.7/src/commands/template/generate/analytics/template.ts)_
10930
+ _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/analytics/template.ts)_
10522
10931
 
10523
10932
  ## `sf template generate apex class`
10524
10933
 
@@ -10578,7 +10987,7 @@ FLAG DESCRIPTIONS
10578
10987
  Supplied parameter values or default values are filled into a copy of the template.
10579
10988
  ```
10580
10989
 
10581
- _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.17.7/src/commands/template/generate/apex/class.ts)_
10990
+ _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/apex/class.ts)_
10582
10991
 
10583
10992
  ## `sf template generate apex trigger`
10584
10993
 
@@ -10648,7 +11057,7 @@ FLAG DESCRIPTIONS
10648
11057
  Supplied parameter values or default values are filled into a copy of the template.
10649
11058
  ```
10650
11059
 
10651
- _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.17.7/src/commands/template/generate/apex/trigger.ts)_
11060
+ _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/apex/trigger.ts)_
10652
11061
 
10653
11062
  ## `sf template generate digital-experience site`
10654
11063
 
@@ -10702,7 +11111,7 @@ FLAG DESCRIPTIONS
10702
11111
  project, defaults to the current directory.
10703
11112
  ```
10704
11113
 
10705
- _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.17.7/src/commands/template/generate/digital-experience/site.ts)_
11114
+ _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/digital-experience/site.ts)_
10706
11115
 
10707
11116
  ## `sf template generate flexipage`
10708
11117
 
@@ -10784,7 +11193,7 @@ FLAG DESCRIPTIONS
10784
11193
  'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
10785
11194
  ```
10786
11195
 
10787
- _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.17.7/src/commands/template/generate/flexipage/index.ts)_
11196
+ _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/flexipage/index.ts)_
10788
11197
 
10789
11198
  ## `sf template generate lightning app`
10790
11199
 
@@ -10842,7 +11251,7 @@ FLAG DESCRIPTIONS
10842
11251
  field in the DX project's "sfdx-project.json" file.
10843
11252
  ```
10844
11253
 
10845
- _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.17.7/src/commands/template/generate/lightning/app.ts)_
11254
+ _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/lightning/app.ts)_
10846
11255
 
10847
11256
  ## `sf template generate lightning component`
10848
11257
 
@@ -10919,7 +11328,7 @@ FLAG DESCRIPTIONS
10919
11328
  field in the DX project's "sfdx-project.json" file.
10920
11329
  ```
10921
11330
 
10922
- _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.17.7/src/commands/template/generate/lightning/component.ts)_
11331
+ _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/lightning/component.ts)_
10923
11332
 
10924
11333
  ## `sf template generate lightning event`
10925
11334
 
@@ -10977,7 +11386,7 @@ FLAG DESCRIPTIONS
10977
11386
  field in the DX project's "sfdx-project.json" file.
10978
11387
  ```
10979
11388
 
10980
- _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.17.7/src/commands/template/generate/lightning/event.ts)_
11389
+ _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/lightning/event.ts)_
10981
11390
 
10982
11391
  ## `sf template generate lightning interface`
10983
11392
 
@@ -11035,7 +11444,7 @@ FLAG DESCRIPTIONS
11035
11444
  field in the DX project's "sfdx-project.json" file.
11036
11445
  ```
11037
11446
 
11038
- _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.17.7/src/commands/template/generate/lightning/interface.ts)_
11447
+ _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/lightning/interface.ts)_
11039
11448
 
11040
11449
  ## `sf template generate lightning test`
11041
11450
 
@@ -11093,7 +11502,7 @@ FLAG DESCRIPTIONS
11093
11502
  field in the DX project's "sfdx-project.json" file.
11094
11503
  ```
11095
11504
 
11096
- _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.17.7/src/commands/template/generate/lightning/test.ts)_
11505
+ _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/lightning/test.ts)_
11097
11506
 
11098
11507
  ## `sf template generate project`
11099
11508
 
@@ -11219,7 +11628,7 @@ FLAG DESCRIPTIONS
11219
11628
  server-side type stripping.
11220
11629
  ```
11221
11630
 
11222
- _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.17.7/src/commands/template/generate/project/index.ts)_
11631
+ _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/project/index.ts)_
11223
11632
 
11224
11633
  ## `sf template generate static-resource`
11225
11634
 
@@ -11282,7 +11691,7 @@ FLAG DESCRIPTIONS
11282
11691
  etc.
11283
11692
  ```
11284
11693
 
11285
- _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.17.7/src/commands/template/generate/static-resource/index.ts)_
11694
+ _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/static-resource/index.ts)_
11286
11695
 
11287
11696
  ## `sf template generate ui-bundle`
11288
11697
 
@@ -11366,7 +11775,7 @@ FLAG DESCRIPTIONS
11366
11775
  Supplied parameter values or default values are filled into a copy of the template.
11367
11776
  ```
11368
11777
 
11369
- _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.17.7/src/commands/template/generate/ui-bundle/index.ts)_
11778
+ _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/ui-bundle/index.ts)_
11370
11779
 
11371
11780
  ## `sf template generate visualforce component`
11372
11781
 
@@ -11423,7 +11832,7 @@ FLAG DESCRIPTIONS
11423
11832
  Supplied parameter values or default values are filled into a copy of the template.
11424
11833
  ```
11425
11834
 
11426
- _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.17.7/src/commands/template/generate/visualforce/component.ts)_
11835
+ _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/visualforce/component.ts)_
11427
11836
 
11428
11837
  ## `sf template generate visualforce page`
11429
11838
 
@@ -11474,7 +11883,7 @@ FLAG DESCRIPTIONS
11474
11883
  The name can be up to 40 characters and must start with a letter.
11475
11884
  ```
11476
11885
 
11477
- _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.17.7/src/commands/template/generate/visualforce/page.ts)_
11886
+ _See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/visualforce/page.ts)_
11478
11887
 
11479
11888
  ## `sf update [CHANNEL]`
11480
11889
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
- "version": "2.138.5",
3
+ "version": "2.139.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/cli",
9
- "version": "2.138.5",
9
+ "version": "2.139.0",
10
10
  "hasInstallScript": true,
11
11
  "license": "Apache-2.0",
12
12
  "dependencies": {
@@ -24,7 +24,7 @@
24
24
  "@oclif/plugin-which": "3.2.55",
25
25
  "@salesforce/core": "^8.28.0",
26
26
  "@salesforce/kit": "^3.1.6",
27
- "@salesforce/plugin-agent": "1.40.5",
27
+ "@salesforce/plugin-agent": "1.42.0",
28
28
  "@salesforce/plugin-apex": "3.9.32",
29
29
  "@salesforce/plugin-api": "1.3.37",
30
30
  "@salesforce/plugin-auth": "4.4.1",
@@ -39,7 +39,7 @@
39
39
  "@salesforce/plugin-settings": "2.4.82",
40
40
  "@salesforce/plugin-sobject": "1.4.111",
41
41
  "@salesforce/plugin-telemetry": "3.8.24",
42
- "@salesforce/plugin-templates": "56.17.7",
42
+ "@salesforce/plugin-templates": "56.18.0",
43
43
  "@salesforce/plugin-trust": "3.8.13",
44
44
  "@salesforce/plugin-user": "3.10.1",
45
45
  "@salesforce/sf-plugins-core": "12.2.24",
@@ -57,7 +57,7 @@
57
57
  "@salesforce/ts-sinon": "^1.4.34",
58
58
  "@salesforce/ts-types": "^2.0.11",
59
59
  "aws-sdk": "^2.1693.0",
60
- "oclif": "^4.23.8",
60
+ "oclif": "^4.23.10",
61
61
  "ts-node": "^10.9.2",
62
62
  "typescript": "^5.9.3"
63
63
  },
@@ -4485,16 +4485,16 @@
4485
4485
  "license": "BSD-3-Clause"
4486
4486
  },
4487
4487
  "node_modules/@salesforce/agents": {
4488
- "version": "1.6.6",
4489
- "resolved": "https://registry.npmjs.org/@salesforce/agents/-/agents-1.6.6.tgz",
4490
- "integrity": "sha512-YMYOPv45aSLjIARu+9vkHz5GWXGh0EMhiQw+oCBEwlxD55/O4Gm6Zb/HzLuOPKhXt5xn9TogG87vvHvCNgiUyA==",
4488
+ "version": "1.8.0",
4489
+ "resolved": "https://registry.npmjs.org/@salesforce/agents/-/agents-1.8.0.tgz",
4490
+ "integrity": "sha512-D65MUnEnAsuFcXwBW48HsFdFsdqJx+VWuzsyKRkc7d0XCCwFbkkiyydRoqi1tCHLx+4rqsPMnImezahyW5inIA==",
4491
4491
  "license": "Apache-2.0",
4492
4492
  "dependencies": {
4493
- "@salesforce/core": "^8.29.1",
4493
+ "@salesforce/core": "^8.31.0",
4494
4494
  "@salesforce/kit": "^3.2.6",
4495
- "@salesforce/source-deploy-retrieve": "^12.35.8",
4495
+ "@salesforce/source-deploy-retrieve": "^12.36.0",
4496
4496
  "@salesforce/types": "^1.7.1",
4497
- "fast-xml-parser": "^5.7.3",
4497
+ "fast-xml-parser": "^5.8.0",
4498
4498
  "nock": "^14.0.15",
4499
4499
  "yaml": "^2.8.4"
4500
4500
  },
@@ -4942,21 +4942,21 @@
4942
4942
  }
4943
4943
  },
4944
4944
  "node_modules/@salesforce/plugin-agent": {
4945
- "version": "1.40.5",
4946
- "resolved": "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.40.5.tgz",
4947
- "integrity": "sha512-JZ0/tw5rPjfEJ0BQEThV4U1q+Rj7CnU12LineAboosHc9tUoVet3cZufEJFNMu3E6YwoqpMrGHl0uVI3SW0XSw==",
4945
+ "version": "1.42.0",
4946
+ "resolved": "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.42.0.tgz",
4947
+ "integrity": "sha512-zutws59EWIGOff/MrOU32PWR1/JnIciIc+GBai24dNNbk6qU8rzjcL09Jj/Kt3VEB1KdiPHw772KPGec5QpPIg==",
4948
4948
  "license": "Apache-2.0",
4949
4949
  "dependencies": {
4950
4950
  "@inquirer/core": "^10.3.2",
4951
4951
  "@inquirer/prompts": "^7.10.1",
4952
4952
  "@oclif/core": "^4",
4953
4953
  "@oclif/multi-stage-output": "^0.8.36",
4954
- "@salesforce/agents": "^1.6.6",
4954
+ "@salesforce/agents": "^1.8.0",
4955
4955
  "@salesforce/core": "^8.28.3",
4956
4956
  "@salesforce/kit": "^3.2.6",
4957
4957
  "@salesforce/sf-plugins-core": "^12.2.6",
4958
4958
  "@salesforce/source-deploy-retrieve": "^12.35.3",
4959
- "@salesforce/types": "^1.7.1",
4959
+ "@salesforce/types": "1.7.1",
4960
4960
  "ansis": "^3.3.2",
4961
4961
  "fast-xml-parser": "^5.7.1",
4962
4962
  "glob": "^11.0.3",
@@ -4970,6 +4970,15 @@
4970
4970
  "node": ">=18.0.0"
4971
4971
  }
4972
4972
  },
4973
+ "node_modules/@salesforce/plugin-agent/node_modules/@salesforce/types": {
4974
+ "version": "1.7.1",
4975
+ "resolved": "https://registry.npmjs.org/@salesforce/types/-/types-1.7.1.tgz",
4976
+ "integrity": "sha512-PyV3ZyZum8bjO1LByNXWCSOGt1b9X9x2knIiFWgnYTsHmLK8OP+f6i+wPh4qu1e8+Zr+hNV0rTKVP8p/kCGqyQ==",
4977
+ "license": "BSD-3-Clause",
4978
+ "engines": {
4979
+ "node": ">=18"
4980
+ }
4981
+ },
4973
4982
  "node_modules/@salesforce/plugin-agent/node_modules/glob": {
4974
4983
  "version": "11.1.0",
4975
4984
  "resolved": "https://registry.npmjs.org/glob/-/glob-11.1.0.tgz",
@@ -5356,9 +5365,9 @@
5356
5365
  }
5357
5366
  },
5358
5367
  "node_modules/@salesforce/plugin-templates": {
5359
- "version": "56.17.7",
5360
- "resolved": "https://registry.npmjs.org/@salesforce/plugin-templates/-/plugin-templates-56.17.7.tgz",
5361
- "integrity": "sha512-mf37kmVLU44ESVgp3dmNjeUx55HXAjR+hIhincuBovj06DfGZmWewj2OqedeqzCmqmgPP8TmgBHsPNVRYfCbEA==",
5368
+ "version": "56.18.0",
5369
+ "resolved": "https://registry.npmjs.org/@salesforce/plugin-templates/-/plugin-templates-56.18.0.tgz",
5370
+ "integrity": "sha512-GkuleC7803MHl5RiDe5zM/BRiNy9OjlmUcF9BtYWdba102wTO4MnHdaSKmfFu8NCcnxPj++3mQj7PT7zk1bPtA==",
5362
5371
  "license": "Apache-2.0",
5363
5372
  "dependencies": {
5364
5373
  "@salesforce/core": "^8.31.0",
@@ -18490,9 +18499,9 @@
18490
18499
  "license": "MIT"
18491
18500
  },
18492
18501
  "node_modules/oclif": {
18493
- "version": "4.23.8",
18494
- "resolved": "https://registry.npmjs.org/oclif/-/oclif-4.23.8.tgz",
18495
- "integrity": "sha512-RCkfr76RxLzJbrcCL/4zkkzToYzofLnJgxczK4QrUjbBpHRiYNcBt8S1QoAIsWoeavaPp+7BoXI9r28tcKNjWg==",
18502
+ "version": "4.23.10",
18503
+ "resolved": "https://registry.npmjs.org/oclif/-/oclif-4.23.10.tgz",
18504
+ "integrity": "sha512-foZYNmCjgFo0HJzbfY9oz8IgNs4aCPVbe51gnauM646mOy+C9WzoQS5iJyCzRiuJvS4fFrONG0BrjWiCFjtlGQ==",
18496
18505
  "dev": true,
18497
18506
  "license": "MIT",
18498
18507
  "dependencies": {
@@ -18501,10 +18510,10 @@
18501
18510
  "@inquirer/confirm": "^3.1.22",
18502
18511
  "@inquirer/input": "^2.2.4",
18503
18512
  "@inquirer/select": "^2.5.0",
18504
- "@oclif/core": "^4.11.2",
18513
+ "@oclif/core": "^4.11.4",
18505
18514
  "@oclif/plugin-help": "^6.2.49",
18506
18515
  "@oclif/plugin-not-found": "^3.2.85",
18507
- "@oclif/plugin-warn-if-update-available": "^3.1.57",
18516
+ "@oclif/plugin-warn-if-update-available": "^3.1.65",
18508
18517
  "ansis": "^3.16.0",
18509
18518
  "async-retry": "^1.3.3",
18510
18519
  "change-case": "^4",
package/oclif.lock CHANGED
@@ -1561,7 +1561,7 @@
1561
1561
  node-gyp "^12.1.0"
1562
1562
  proc-log "^6.0.0"
1563
1563
 
1564
- "@oclif/core@^4", "@oclif/core@^4.10.4", "@oclif/core@^4.10.5", "@oclif/core@^4.11.2", "@oclif/core@^4.11.3", "@oclif/core@^4.11.4", "@oclif/core@>= 3.0.0", "@oclif/core@4.11.4":
1564
+ "@oclif/core@^4", "@oclif/core@^4.10.4", "@oclif/core@^4.10.5", "@oclif/core@^4.11.3", "@oclif/core@^4.11.4", "@oclif/core@>= 3.0.0", "@oclif/core@4.11.4":
1565
1565
  version "4.11.4"
1566
1566
  resolved "https://registry.npmjs.org/@oclif/core/-/core-4.11.4.tgz"
1567
1567
  integrity sha512-URwiQ5ALx/sJ2iH4vzXEd+H4K6NAI7LRs6Jag3hrgKEpGmaE6alfRC8qjO4GIgb6A3ACaJumqP9twi/M9ywdHQ==
@@ -1700,7 +1700,7 @@
1700
1700
  "@oclif/core" "^4"
1701
1701
  ansis "^3.17.0"
1702
1702
 
1703
- "@oclif/plugin-warn-if-update-available@^3.1.57", "@oclif/plugin-warn-if-update-available@3.1.65":
1703
+ "@oclif/plugin-warn-if-update-available@^3.1.65", "@oclif/plugin-warn-if-update-available@3.1.65":
1704
1704
  version "3.1.65"
1705
1705
  resolved "https://registry.npmjs.org/@oclif/plugin-warn-if-update-available/-/plugin-warn-if-update-available-3.1.65.tgz"
1706
1706
  integrity sha512-HcSJc8SeCVUBHwc063xDL0LcpdjcamAISlisSX14VDDYQayMantvtVNOo9PmciwYpXRXfAykeH1z066YkA9JvQ==
@@ -1985,16 +1985,16 @@
1985
1985
  resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.1.tgz"
1986
1986
  integrity sha512-oOAWABowe8EAbMyWKM0tYDKi8Yaox52D+HWZhAIJqQXbqe0xI/GV7FhLWqlEKreMkfDjshR5FKgi3mnle0h6Eg==
1987
1987
 
1988
- "@salesforce/agents@^1.6.6":
1989
- version "1.6.6"
1990
- resolved "https://registry.npmjs.org/@salesforce/agents/-/agents-1.6.6.tgz"
1991
- integrity sha512-YMYOPv45aSLjIARu+9vkHz5GWXGh0EMhiQw+oCBEwlxD55/O4Gm6Zb/HzLuOPKhXt5xn9TogG87vvHvCNgiUyA==
1988
+ "@salesforce/agents@^1.8.0":
1989
+ version "1.8.0"
1990
+ resolved "https://registry.npmjs.org/@salesforce/agents/-/agents-1.8.0.tgz"
1991
+ integrity sha512-D65MUnEnAsuFcXwBW48HsFdFsdqJx+VWuzsyKRkc7d0XCCwFbkkiyydRoqi1tCHLx+4rqsPMnImezahyW5inIA==
1992
1992
  dependencies:
1993
- "@salesforce/core" "^8.29.1"
1993
+ "@salesforce/core" "^8.31.0"
1994
1994
  "@salesforce/kit" "^3.2.6"
1995
- "@salesforce/source-deploy-retrieve" "^12.35.8"
1995
+ "@salesforce/source-deploy-retrieve" "^12.36.0"
1996
1996
  "@salesforce/types" "^1.7.1"
1997
- fast-xml-parser "^5.7.3"
1997
+ fast-xml-parser "^5.8.0"
1998
1998
  nock "^14.0.15"
1999
1999
  yaml "^2.8.4"
2000
2000
 
@@ -2126,21 +2126,21 @@
2126
2126
  jszip "^3.10.1"
2127
2127
  object-treeify "^2"
2128
2128
 
2129
- "@salesforce/plugin-agent@1.40.5":
2130
- version "1.40.5"
2131
- resolved "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.40.5.tgz"
2132
- integrity sha512-JZ0/tw5rPjfEJ0BQEThV4U1q+Rj7CnU12LineAboosHc9tUoVet3cZufEJFNMu3E6YwoqpMrGHl0uVI3SW0XSw==
2129
+ "@salesforce/plugin-agent@1.42.0":
2130
+ version "1.42.0"
2131
+ resolved "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.42.0.tgz"
2132
+ integrity sha512-zutws59EWIGOff/MrOU32PWR1/JnIciIc+GBai24dNNbk6qU8rzjcL09Jj/Kt3VEB1KdiPHw772KPGec5QpPIg==
2133
2133
  dependencies:
2134
2134
  "@inquirer/core" "^10.3.2"
2135
2135
  "@inquirer/prompts" "^7.10.1"
2136
2136
  "@oclif/core" "^4"
2137
2137
  "@oclif/multi-stage-output" "^0.8.36"
2138
- "@salesforce/agents" "^1.6.6"
2138
+ "@salesforce/agents" "^1.8.0"
2139
2139
  "@salesforce/core" "^8.28.3"
2140
2140
  "@salesforce/kit" "^3.2.6"
2141
2141
  "@salesforce/sf-plugins-core" "^12.2.6"
2142
2142
  "@salesforce/source-deploy-retrieve" "^12.35.3"
2143
- "@salesforce/types" "^1.7.1"
2143
+ "@salesforce/types" "1.7.1"
2144
2144
  ansis "^3.3.2"
2145
2145
  fast-xml-parser "^5.7.1"
2146
2146
  glob "^11.0.3"
@@ -2389,10 +2389,10 @@
2389
2389
  "@salesforce/ts-types" "^2.0.12"
2390
2390
  debug "^4.4.3"
2391
2391
 
2392
- "@salesforce/plugin-templates@56.17.7":
2393
- version "56.17.7"
2394
- resolved "https://registry.npmjs.org/@salesforce/plugin-templates/-/plugin-templates-56.17.7.tgz"
2395
- integrity sha512-mf37kmVLU44ESVgp3dmNjeUx55HXAjR+hIhincuBovj06DfGZmWewj2OqedeqzCmqmgPP8TmgBHsPNVRYfCbEA==
2392
+ "@salesforce/plugin-templates@56.18.0":
2393
+ version "56.18.0"
2394
+ resolved "https://registry.npmjs.org/@salesforce/plugin-templates/-/plugin-templates-56.18.0.tgz"
2395
+ integrity sha512-GkuleC7803MHl5RiDe5zM/BRiNy9OjlmUcF9BtYWdba102wTO4MnHdaSKmfFu8NCcnxPj++3mQj7PT7zk1bPtA==
2396
2396
  dependencies:
2397
2397
  "@salesforce/core" "^8.31.0"
2398
2398
  "@salesforce/sf-plugins-core" "^12"
@@ -2451,7 +2451,7 @@
2451
2451
  cli-progress "^3.12.0"
2452
2452
  terminal-link "^3.0.0"
2453
2453
 
2454
- "@salesforce/source-deploy-retrieve@^12.35.1", "@salesforce/source-deploy-retrieve@^12.35.3", "@salesforce/source-deploy-retrieve@^12.35.8", "@salesforce/source-deploy-retrieve@^12.35.9", "@salesforce/source-deploy-retrieve@^12.36.0":
2454
+ "@salesforce/source-deploy-retrieve@^12.35.1", "@salesforce/source-deploy-retrieve@^12.35.3", "@salesforce/source-deploy-retrieve@^12.35.9", "@salesforce/source-deploy-retrieve@^12.36.0":
2455
2455
  version "12.36.0"
2456
2456
  resolved "https://registry.npmjs.org/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.36.0.tgz"
2457
2457
  integrity sha512-8oy70UqBh6eDfN+AXO31NtGrF+Dpy8JG3BqXTctghVfd5Y/vGjFcrectih3WbtXj9e7WNrrvSdsRJ6aD/sGqmw==
@@ -2531,6 +2531,11 @@
2531
2531
  resolved "https://registry.npmjs.org/@salesforce/types/-/types-1.7.3.tgz"
2532
2532
  integrity sha512-6rzz2njJ4IEL9q1TgM4cEUPbiKcrQmKlTk5Ki6q7m5c6spYkbbA5jPxX3/8F9Ux5UKu0r9QCKAfZ33b88lq1PA==
2533
2533
 
2534
+ "@salesforce/types@1.7.1":
2535
+ version "1.7.1"
2536
+ resolved "https://registry.npmjs.org/@salesforce/types/-/types-1.7.1.tgz"
2537
+ integrity sha512-PyV3ZyZum8bjO1LByNXWCSOGt1b9X9x2knIiFWgnYTsHmLK8OP+f6i+wPh4qu1e8+Zr+hNV0rTKVP8p/kCGqyQ==
2538
+
2534
2539
  "@shikijs/core@1.29.2":
2535
2540
  version "1.29.2"
2536
2541
  resolved "https://registry.npmjs.org/@shikijs/core/-/core-1.29.2.tgz"
@@ -8574,20 +8579,20 @@ obliterator@^2.0.1:
8574
8579
  resolved "https://registry.npmjs.org/obliterator/-/obliterator-2.0.4.tgz"
8575
8580
  integrity sha512-lgHwxlxV1qIg1Eap7LgIeoBWIMFibOjbrYPIPJZcI1mmGAI2m3lNYpK12Y+GBdPQ0U1hRwSord7GIaawz962qQ==
8576
8581
 
8577
- oclif@^4.23.8:
8578
- version "4.23.8"
8579
- resolved "https://registry.npmjs.org/oclif/-/oclif-4.23.8.tgz"
8580
- integrity sha512-RCkfr76RxLzJbrcCL/4zkkzToYzofLnJgxczK4QrUjbBpHRiYNcBt8S1QoAIsWoeavaPp+7BoXI9r28tcKNjWg==
8582
+ oclif@^4.23.10:
8583
+ version "4.23.10"
8584
+ resolved "https://registry.npmjs.org/oclif/-/oclif-4.23.10.tgz"
8585
+ integrity sha512-foZYNmCjgFo0HJzbfY9oz8IgNs4aCPVbe51gnauM646mOy+C9WzoQS5iJyCzRiuJvS4fFrONG0BrjWiCFjtlGQ==
8581
8586
  dependencies:
8582
8587
  "@aws-sdk/client-cloudfront" "^3.1009.0"
8583
8588
  "@aws-sdk/client-s3" "^3.1053.0"
8584
8589
  "@inquirer/confirm" "^3.1.22"
8585
8590
  "@inquirer/input" "^2.2.4"
8586
8591
  "@inquirer/select" "^2.5.0"
8587
- "@oclif/core" "^4.11.2"
8592
+ "@oclif/core" "^4.11.4"
8588
8593
  "@oclif/plugin-help" "^6.2.49"
8589
8594
  "@oclif/plugin-not-found" "^3.2.85"
8590
- "@oclif/plugin-warn-if-update-available" "^3.1.57"
8595
+ "@oclif/plugin-warn-if-update-available" "^3.1.65"
8591
8596
  ansis "^3.16.0"
8592
8597
  async-retry "^1.3.3"
8593
8598
  change-case "^4"
@@ -4554,5 +4554,5 @@
4554
4554
  "requiresProject": true
4555
4555
  }
4556
4556
  },
4557
- "version": "2.138.5"
4557
+ "version": "2.139.0"
4558
4558
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
3
  "description": "The Salesforce CLI",
4
- "version": "2.138.5",
4
+ "version": "2.139.0",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "sf": "./bin/run.js",
@@ -159,7 +159,7 @@
159
159
  "@oclif/plugin-which": "3.2.55",
160
160
  "@salesforce/core": "^8.28.0",
161
161
  "@salesforce/kit": "^3.1.6",
162
- "@salesforce/plugin-agent": "1.40.5",
162
+ "@salesforce/plugin-agent": "1.42.0",
163
163
  "@salesforce/plugin-apex": "3.9.32",
164
164
  "@salesforce/plugin-api": "1.3.37",
165
165
  "@salesforce/plugin-auth": "4.4.1",
@@ -174,7 +174,7 @@
174
174
  "@salesforce/plugin-settings": "2.4.82",
175
175
  "@salesforce/plugin-sobject": "1.4.111",
176
176
  "@salesforce/plugin-telemetry": "3.8.24",
177
- "@salesforce/plugin-templates": "56.17.7",
177
+ "@salesforce/plugin-templates": "56.18.0",
178
178
  "@salesforce/plugin-trust": "3.8.13",
179
179
  "@salesforce/plugin-user": "3.10.1",
180
180
  "@salesforce/sf-plugins-core": "12.2.24",
@@ -264,7 +264,7 @@
264
264
  "@salesforce/ts-sinon": "^1.4.34",
265
265
  "@salesforce/ts-types": "^2.0.11",
266
266
  "aws-sdk": "^2.1693.0",
267
- "oclif": "^4.23.8",
267
+ "oclif": "^4.23.10",
268
268
  "ts-node": "^10.9.2",
269
269
  "typescript": "^5.9.3"
270
270
  },