@salesforce/cli 2.122.6 → 2.123.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.122.6 linux-x64 node-v22.22.0
28
+ @salesforce/cli/2.123.0 linux-x64 node-v22.22.0
29
29
  $ sf --help [COMMAND]
30
30
  USAGE
31
31
  $ sf COMMAND
@@ -248,7 +248,7 @@ EXAMPLES
248
248
  $ sf agent activate --api-name Resort_Manager --target-org my-org
249
249
  ```
250
250
 
251
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.3/src/commands/agent/activate.ts)_
251
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.5/src/commands/agent/activate.ts)_
252
252
 
253
253
  ## `sf agent create`
254
254
 
@@ -315,7 +315,7 @@ EXAMPLES
315
315
  $ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
316
316
  ```
317
317
 
318
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.3/src/commands/agent/create.ts)_
318
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.5/src/commands/agent/create.ts)_
319
319
 
320
320
  ## `sf agent deactivate`
321
321
 
@@ -355,7 +355,7 @@ EXAMPLES
355
355
  $ sf agent deactivate --api-name Resort_Manager --target-org my-org
356
356
  ```
357
357
 
358
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.3/src/commands/agent/deactivate.ts)_
358
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.5/src/commands/agent/deactivate.ts)_
359
359
 
360
360
  ## `sf agent generate agent-spec`
361
361
 
@@ -462,7 +462,7 @@ EXAMPLES
462
462
  $ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
463
463
  ```
464
464
 
465
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.3/src/commands/agent/generate/agent-spec.ts)_
465
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.5/src/commands/agent/generate/agent-spec.ts)_
466
466
 
467
467
  ## `sf agent generate authoring-bundle`
468
468
 
@@ -471,18 +471,20 @@ Generate an authoring bundle from an existing agent spec YAML file.
471
471
  ```
472
472
  USAGE
473
473
  $ sf agent generate authoring-bundle -o <value> [--json] [--flags-dir <value>] [--api-name <value>] [--api-version <value>] [-f
474
- <value>] [-d <value>] [-n <value>]
474
+ <value>] [--no-spec] [-d <value>] [-n <value>]
475
475
 
476
476
  FLAGS
477
477
  -d, --output-dir=<value> Directory where the authoring bundle files are generated.
478
- -f, --spec=<value> Path to the agent spec YAML file; if not specified, the command provides a list that you
479
- can choose from.
478
+ -f, --spec=<value> Path to the agent spec YAML file. If you don't specify the flag, the command provides a
479
+ list that you can choose from. Use the --no-spec flag to skip using an agent spec entirely.
480
480
  -n, --name=<value> Name (label) of the authoring bundle; if not specified, you're prompted for the name.
481
481
  -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
482
482
  configuration variable is already set.
483
483
  --api-name=<value> API name of the new authoring bundle; if not specified, the API name is derived from the
484
484
  authoring bundle name (label); the API name can't exist in the org.
485
485
  --api-version=<value> Override the api version used for api requests made by this command
486
+ --no-spec Skip prompting for an agent spec and use the default Agent Script boilerplate in the
487
+ generated authoring bundle.
486
488
 
487
489
  GLOBAL FLAGS
488
490
  --flags-dir=<value> Import flag values from a directory.
@@ -496,7 +498,9 @@ DESCRIPTION
496
498
 
497
499
  Use this command to generate a new authoring bundle based on an agent spec YAML file, which you create with the "agent
498
500
  generate agent-spec" command. The agent spec YAML file is a high-level description of the agent; it describes its
499
- essence rather than exactly what it can do.
501
+ essence rather than exactly what it can do. The resulting Agent Script file is customized to reflect what's in the
502
+ agent spec file. You can also create an authoring bundle without an agent spec file by specifying the "--no-spec"
503
+ flag; in this case, the resulting Agent Script file is just the default boilerplate.
500
504
 
501
505
  The metadata type for authoring bundles is aiAuthoringBundle, which consist of a standard
502
506
  "<bundle-api-name>.bundle-meta.xml" metadata file and the Agent Script file (with extension ".agent"). When you run
@@ -516,6 +520,11 @@ EXAMPLES
516
520
 
517
521
  $ sf agent generate authoring-bundle
518
522
 
523
+ Generate an authoring bundle without using an agent spec file; give the bundle the label "My Authoring Bundle" and
524
+ use your default org:
525
+
526
+ $ sf agent generate authoring-bundle --no-spec --name "My Authoring Bundle"
527
+
519
528
  Generate an authoring bundle from the "specs/agentSpec.yaml" agent spec YAML file and give it the label "My
520
529
  Authoring Bundle"; use your default org:
521
530
 
@@ -528,7 +537,7 @@ EXAMPLES
528
537
  other-package-dir/main/default --target-org my-dev-org
529
538
  ```
530
539
 
531
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.3/src/commands/agent/generate/authoring-bundle.ts)_
540
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.5/src/commands/agent/generate/authoring-bundle.ts)_
532
541
 
533
542
  ## `sf agent generate template`
534
543
 
@@ -576,7 +585,7 @@ EXAMPLES
576
585
  force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1
577
586
  ```
578
587
 
579
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.3/src/commands/agent/generate/template.ts)_
588
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.5/src/commands/agent/generate/template.ts)_
580
589
 
581
590
  ## `sf agent generate test-spec`
582
591
 
@@ -637,7 +646,7 @@ EXAMPLES
637
646
  force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
638
647
  ```
639
648
 
640
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.3/src/commands/agent/generate/test-spec.ts)_
649
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.5/src/commands/agent/generate/test-spec.ts)_
641
650
 
642
651
  ## `sf agent preview`
643
652
 
@@ -710,7 +719,7 @@ EXAMPLES
710
719
  $ sf agent preview --use-live-actions --apex-debug --output-dir transcripts/my-preview
711
720
  ```
712
721
 
713
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.3/src/commands/agent/preview.ts)_
722
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.5/src/commands/agent/preview.ts)_
714
723
 
715
724
  ## `sf agent publish authoring-bundle`
716
725
 
@@ -759,7 +768,7 @@ EXAMPLES
759
768
  $ sf agent publish authoring-bundle --api-name MyAuthoringbundle --target-org my-dev-org
760
769
  ```
761
770
 
762
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.3/src/commands/agent/publish/authoring-bundle.ts)_
771
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.5/src/commands/agent/publish/authoring-bundle.ts)_
763
772
 
764
773
  ## `sf agent test create`
765
774
 
@@ -814,7 +823,7 @@ EXAMPLES
814
823
  $ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
815
824
  ```
816
825
 
817
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.3/src/commands/agent/test/create.ts)_
826
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.5/src/commands/agent/test/create.ts)_
818
827
 
819
828
  ## `sf agent test list`
820
829
 
@@ -849,7 +858,7 @@ EXAMPLES
849
858
  $ sf agent test list --target-org my-org
850
859
  ```
851
860
 
852
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.3/src/commands/agent/test/list.ts)_
861
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.5/src/commands/agent/test/list.ts)_
853
862
 
854
863
  ## `sf agent test results`
855
864
 
@@ -915,7 +924,7 @@ FLAG DESCRIPTIONS
915
924
  expression when using custom evaluations.
916
925
  ```
917
926
 
918
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.3/src/commands/agent/test/results.ts)_
927
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.5/src/commands/agent/test/results.ts)_
919
928
 
920
929
  ## `sf agent test resume`
921
930
 
@@ -988,7 +997,7 @@ FLAG DESCRIPTIONS
988
997
  expression when using custom evaluations.
989
998
  ```
990
999
 
991
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.3/src/commands/agent/test/resume.ts)_
1000
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.5/src/commands/agent/test/resume.ts)_
992
1001
 
993
1002
  ## `sf agent test run`
994
1003
 
@@ -1062,7 +1071,7 @@ FLAG DESCRIPTIONS
1062
1071
  expression when using custom evaluations.
1063
1072
  ```
1064
1073
 
1065
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.3/src/commands/agent/test/run.ts)_
1074
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.5/src/commands/agent/test/run.ts)_
1066
1075
 
1067
1076
  ## `sf agent validate authoring-bundle`
1068
1077
 
@@ -1109,7 +1118,7 @@ EXAMPLES
1109
1118
  $ sf agent validate authoring-bundle --api-name MyAuthoringBundle --target-org my-dev-org
1110
1119
  ```
1111
1120
 
1112
- _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.3/src/commands/agent/validate/authoring-bundle.ts)_
1121
+ _See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.5/src/commands/agent/validate/authoring-bundle.ts)_
1113
1122
 
1114
1123
  ## `sf alias list`
1115
1124
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
- "version": "2.122.6",
3
+ "version": "2.123.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/cli",
9
- "version": "2.122.6",
9
+ "version": "2.123.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.43",
25
25
  "@salesforce/core": "^8.25.0",
26
26
  "@salesforce/kit": "^3.1.6",
27
- "@salesforce/plugin-agent": "1.27.3",
27
+ "@salesforce/plugin-agent": "1.27.5",
28
28
  "@salesforce/plugin-apex": "3.9.5",
29
29
  "@salesforce/plugin-api": "1.3.8",
30
30
  "@salesforce/plugin-auth": "4.1.4",
@@ -5063,9 +5063,9 @@
5063
5063
  }
5064
5064
  },
5065
5065
  "node_modules/@salesforce/plugin-agent": {
5066
- "version": "1.27.3",
5067
- "resolved": "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.27.3.tgz",
5068
- "integrity": "sha512-pzSjZzvpOQXiPApMGy8LXm2Tjd74wwt9rAM4juqwZFcypnmHsqneMsQUSU82kEDR6NMHd2dV9inS2Hbsiv8Muw==",
5066
+ "version": "1.27.5",
5067
+ "resolved": "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.27.5.tgz",
5068
+ "integrity": "sha512-20Yaz+pbcMufQ7xGauWP9M+dn9XBkAHUfx/kRRLEOf+3mOwEkSUIOQ1nfuxOiYqSR9bNB2LPGIJ4l54ADGA4mQ==",
5069
5069
  "license": "Apache-2.0",
5070
5070
  "dependencies": {
5071
5071
  "@inquirer/core": "^10.3.2",
package/oclif.lock CHANGED
@@ -2215,10 +2215,10 @@
2215
2215
  jszip "^3.10.1"
2216
2216
  object-treeify "^2"
2217
2217
 
2218
- "@salesforce/plugin-agent@1.27.3":
2219
- version "1.27.3"
2220
- resolved "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.27.3.tgz"
2221
- integrity sha512-pzSjZzvpOQXiPApMGy8LXm2Tjd74wwt9rAM4juqwZFcypnmHsqneMsQUSU82kEDR6NMHd2dV9inS2Hbsiv8Muw==
2218
+ "@salesforce/plugin-agent@1.27.5":
2219
+ version "1.27.5"
2220
+ resolved "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.27.5.tgz"
2221
+ integrity sha512-20Yaz+pbcMufQ7xGauWP9M+dn9XBkAHUfx/kRRLEOf+3mOwEkSUIOQ1nfuxOiYqSR9bNB2LPGIJ4l54ADGA4mQ==
2222
2222
  dependencies:
2223
2223
  "@inquirer/core" "^10.3.2"
2224
2224
  "@inquirer/prompts" "^7.10.1"
@@ -4180,5 +4180,5 @@
4180
4180
  "requiresProject": true
4181
4181
  }
4182
4182
  },
4183
- "version": "2.122.6"
4183
+ "version": "2.123.0"
4184
4184
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
3
  "description": "The Salesforce CLI",
4
- "version": "2.122.6",
4
+ "version": "2.123.0",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "sf": "./bin/run.js",
@@ -78,7 +78,7 @@
78
78
  "jitPlugins": {
79
79
  "@salesforce/plugin-code-analyzer": "5.9.0",
80
80
  "@salesforce/plugin-community": "3.3.48",
81
- "@salesforce/plugin-custom-metadata": "3.3.73",
81
+ "@salesforce/plugin-custom-metadata": "3.3.74",
82
82
  "@salesforce/plugin-dev": "2.5.1",
83
83
  "@salesforce/plugin-devops-center": "1.2.27",
84
84
  "@salesforce/plugin-flow": "1.0.5",
@@ -157,7 +157,7 @@
157
157
  "@oclif/plugin-which": "3.2.43",
158
158
  "@salesforce/core": "^8.25.0",
159
159
  "@salesforce/kit": "^3.1.6",
160
- "@salesforce/plugin-agent": "1.27.3",
160
+ "@salesforce/plugin-agent": "1.27.5",
161
161
  "@salesforce/plugin-apex": "3.9.5",
162
162
  "@salesforce/plugin-api": "1.3.8",
163
163
  "@salesforce/plugin-auth": "4.1.4",