Skip to content

Commit 922d7ad

Browse files
authored
Merge pull request #2584 from salesforcecli/release/2.123.0
Release PR for 2.123.0 as nightly
2 parents e047207 + bef9ca8 commit 922d7ad

3 files changed

Lines changed: 36 additions & 27 deletions

File tree

README.md

Lines changed: 29 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
2525
$ sf COMMAND
2626
running command...
2727
$ 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
2929
$ sf --help [COMMAND]
3030
USAGE
3131
$ sf COMMAND
@@ -248,7 +248,7 @@ EXAMPLES
248248
$ sf agent activate --api-name Resort_Manager --target-org my-org
249249
```
250250

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)_
252252

253253
## `sf agent create`
254254

@@ -315,7 +315,7 @@ EXAMPLES
315315
$ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
316316
```
317317

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)_
319319

320320
## `sf agent deactivate`
321321

@@ -355,7 +355,7 @@ EXAMPLES
355355
$ sf agent deactivate --api-name Resort_Manager --target-org my-org
356356
```
357357

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)_
359359

360360
## `sf agent generate agent-spec`
361361

@@ -462,7 +462,7 @@ EXAMPLES
462462
$ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
463463
```
464464

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)_
466466

467467
## `sf agent generate authoring-bundle`
468468

@@ -471,18 +471,20 @@ Generate an authoring bundle from an existing agent spec YAML file.
471471
```
472472
USAGE
473473
$ 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>]
475475
476476
FLAGS
477477
-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.
480480
-n, --name=<value> Name (label) of the authoring bundle; if not specified, you're prompted for the name.
481481
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
482482
configuration variable is already set.
483483
--api-name=<value> API name of the new authoring bundle; if not specified, the API name is derived from the
484484
authoring bundle name (label); the API name can't exist in the org.
485485
--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.
486488
487489
GLOBAL FLAGS
488490
--flags-dir=<value> Import flag values from a directory.
@@ -496,7 +498,9 @@ DESCRIPTION
496498
497499
Use this command to generate a new authoring bundle based on an agent spec YAML file, which you create with the "agent
498500
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.
500504
501505
The metadata type for authoring bundles is aiAuthoringBundle, which consist of a standard
502506
"<bundle-api-name>.bundle-meta.xml" metadata file and the Agent Script file (with extension ".agent"). When you run
@@ -516,6 +520,11 @@ EXAMPLES
516520
517521
$ sf agent generate authoring-bundle
518522
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+
519528
Generate an authoring bundle from the "specs/agentSpec.yaml" agent spec YAML file and give it the label "My
520529
Authoring Bundle"; use your default org:
521530
@@ -528,7 +537,7 @@ EXAMPLES
528537
other-package-dir/main/default --target-org my-dev-org
529538
```
530539

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)_
532541

533542
## `sf agent generate template`
534543

@@ -576,7 +585,7 @@ EXAMPLES
576585
force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1
577586
```
578587

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)_
580589

581590
## `sf agent generate test-spec`
582591

@@ -637,7 +646,7 @@ EXAMPLES
637646
force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
638647
```
639648

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)_
641650

642651
## `sf agent preview`
643652

@@ -710,7 +719,7 @@ EXAMPLES
710719
$ sf agent preview --use-live-actions --apex-debug --output-dir transcripts/my-preview
711720
```
712721

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)_
714723

715724
## `sf agent publish authoring-bundle`
716725

@@ -759,7 +768,7 @@ EXAMPLES
759768
$ sf agent publish authoring-bundle --api-name MyAuthoringbundle --target-org my-dev-org
760769
```
761770

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)_
763772

764773
## `sf agent test create`
765774

@@ -814,7 +823,7 @@ EXAMPLES
814823
$ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
815824
```
816825

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)_
818827

819828
## `sf agent test list`
820829

@@ -849,7 +858,7 @@ EXAMPLES
849858
$ sf agent test list --target-org my-org
850859
```
851860

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)_
853862

854863
## `sf agent test results`
855864

@@ -915,7 +924,7 @@ FLAG DESCRIPTIONS
915924
expression when using custom evaluations.
916925
```
917926

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)_
919928

920929
## `sf agent test resume`
921930

@@ -988,7 +997,7 @@ FLAG DESCRIPTIONS
988997
expression when using custom evaluations.
989998
```
990999

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)_
9921001

9931002
## `sf agent test run`
9941003

@@ -1062,7 +1071,7 @@ FLAG DESCRIPTIONS
10621071
expression when using custom evaluations.
10631072
```
10641073

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)_
10661075

10671076
## `sf agent validate authoring-bundle`
10681077

@@ -1109,7 +1118,7 @@ EXAMPLES
11091118
$ sf agent validate authoring-bundle --api-name MyAuthoringBundle --target-org my-dev-org
11101119
```
11111120

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)_
11131122

11141123
## `sf alias list`
11151124

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/cli",
33
"description": "The Salesforce CLI",
4-
"version": "2.122.6",
4+
"version": "2.123.0",
55
"author": "Salesforce",
66
"bin": {
77
"sf": "./bin/run.js",
@@ -78,7 +78,7 @@
7878
"jitPlugins": {
7979
"@salesforce/plugin-code-analyzer": "5.9.0",
8080
"@salesforce/plugin-community": "3.3.48",
81-
"@salesforce/plugin-custom-metadata": "3.3.73",
81+
"@salesforce/plugin-custom-metadata": "3.3.74",
8282
"@salesforce/plugin-dev": "2.5.1",
8383
"@salesforce/plugin-devops-center": "1.2.27",
8484
"@salesforce/plugin-flow": "1.0.5",
@@ -157,7 +157,7 @@
157157
"@oclif/plugin-which": "3.2.43",
158158
"@salesforce/core": "^8.25.0",
159159
"@salesforce/kit": "^3.1.6",
160-
"@salesforce/plugin-agent": "1.27.3",
160+
"@salesforce/plugin-agent": "1.27.5",
161161
"@salesforce/plugin-apex": "3.9.5",
162162
"@salesforce/plugin-api": "1.3.8",
163163
"@salesforce/plugin-auth": "4.1.4",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2208,10 +2208,10 @@
22082208
jszip "^3.10.1"
22092209
object-treeify "^2"
22102210

2211-
"@salesforce/plugin-agent@1.27.3":
2212-
version "1.27.3"
2213-
resolved "https://registry.yarnpkg.com/@salesforce/plugin-agent/-/plugin-agent-1.27.3.tgz#b266378972a69c76af35af65c96e357d03bde53f"
2214-
integrity sha512-pzSjZzvpOQXiPApMGy8LXm2Tjd74wwt9rAM4juqwZFcypnmHsqneMsQUSU82kEDR6NMHd2dV9inS2Hbsiv8Muw==
2211+
"@salesforce/plugin-agent@1.27.5":
2212+
version "1.27.5"
2213+
resolved "https://registry.yarnpkg.com/@salesforce/plugin-agent/-/plugin-agent-1.27.5.tgz#bfbd232f75a02931755ee15b629e0a5ea3975072"
2214+
integrity sha512-20Yaz+pbcMufQ7xGauWP9M+dn9XBkAHUfx/kRRLEOf+3mOwEkSUIOQ1nfuxOiYqSR9bNB2LPGIJ4l54ADGA4mQ==
22152215
dependencies:
22162216
"@inquirer/core" "^10.3.2"
22172217
"@inquirer/prompts" "^7.10.1"

0 commit comments

Comments
 (0)