Skip to content

Commit b31f582

Browse files
authored
Merge pull request #2654 from salesforcecli/release/2.129.6
Release PR for 2.129.6 as nightly
2 parents ca7bdaf + da57829 commit b31f582

3 files changed

Lines changed: 144 additions & 441 deletions

File tree

README.md

Lines changed: 110 additions & 31 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.129.5 linux-x64 node-v22.22.1
28+
@salesforce/cli/2.129.6 linux-x64 node-v22.22.1
2929
$ sf --help [COMMAND]
3030
USAGE
3131
$ sf COMMAND
@@ -109,6 +109,7 @@ See [architecture page](ARCHITECTURE.md) for diagrams of the Salesforce CLI.
109109
- [`sf logic run test`](#sf-logic-run-test)
110110
- [`sf org assign permset`](#sf-org-assign-permset)
111111
- [`sf org assign permsetlicense`](#sf-org-assign-permsetlicense)
112+
- [`sf org create agent-user`](#sf-org-create-agent-user)
112113
- [`sf org create sandbox`](#sf-org-create-sandbox)
113114
- [`sf org create scratch`](#sf-org-create-scratch)
114115
- [`sf org create user`](#sf-org-create-user)
@@ -3881,6 +3882,84 @@ EXAMPLES
38813882

38823883
_See code: [@salesforce/plugin-user](https://github.com/salesforcecli/plugin-user/blob/3.8.0/src/commands/org/assign/permsetlicense.ts)_
38833884

3885+
## `sf org create agent-user`
3886+
3887+
Create the default Salesforce user that is used to run an agent.
3888+
3889+
```
3890+
USAGE
3891+
$ sf org create agent-user -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [--base-username <value>]
3892+
[--first-name <value>] [--last-name <value>]
3893+
3894+
FLAGS
3895+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
3896+
configuration variable is already set.
3897+
--api-version=<value> Override the api version used for api requests made by this command
3898+
--base-username=<value> Base username pattern. A unique ID is appended to ensure global uniqueness of the
3899+
usename.
3900+
--first-name=<value> [default: Agent] First name for the agent user.
3901+
--last-name=<value> [default: User] Last name for the agent user.
3902+
3903+
GLOBAL FLAGS
3904+
--flags-dir=<value> Import flag values from a directory.
3905+
--json Format output as json.
3906+
3907+
DESCRIPTION
3908+
Create the default Salesforce user that is used to run an agent.
3909+
3910+
You specify this user in the agent's Agent Script file using the "default_agent_user" parameter in the "config" block.
3911+
3912+
By default, this command:
3913+
3914+
- Generates a user called "Agent User" with a globally unique username. Use flags to change these default names.
3915+
- Sets the user's email to the new username.
3916+
- Assigns the user the "Einstein Agent User" profile.
3917+
- Assigns the user these required permission sets: AgentforceServiceAgentBase, AgentforceServiceAgentUser,
3918+
EinsteinGPTPromptTemplateUser
3919+
- Checks that the user licenses required by the profile and permission sets are available in your org.
3920+
3921+
The generated user doesn't have a password. You can’t log into Salesforce using the agent user's username. Only
3922+
Salesforce users with admin permissions can view or edit an agent user in Setup.
3923+
3924+
To assign additional permission sets or licenses after the user was created, use the "org assign permset" or "org
3925+
assign
3926+
permsetlicense" commands.
3927+
3928+
When the command completes, it displays a summary of what it did, including the new agent user's username and ID, the
3929+
available licenses associated with the Einstein Agent User profile, and the profile and permission sets assigned to
3930+
the
3931+
agent user.
3932+
3933+
EXAMPLES
3934+
Create an agent user with an auto-generated username; create the user in the org with alias "myorg":
3935+
3936+
$ sf org create agent-user --target-org myorg
3937+
3938+
Create an agent user by specifying a base username pattern; to make the username unique, the command appends a unique
3939+
identifier:
3940+
$ sf org create agent-user --base-username service-agent@corp.com --target-org myorg
3941+
3942+
Create an agent user with an auto-generated username but the custom name "Service Agent"; create the user in your
3943+
default org:
3944+
$ sf org create agent-user --first-name Service --last-name Agent
3945+
3946+
FLAG DESCRIPTIONS
3947+
--base-username=<value> Base username pattern. A unique ID is appended to ensure global uniqueness of the usename.
3948+
3949+
Specify a base username in email format, such as "service-agent@corp.com". The command then appends a 12-character
3950+
globally unique ID (GUID) to the name before the "@" sign, which ensures that the username is globally unique across
3951+
all
3952+
Salesforce orgs and sandboxes.
3953+
3954+
For example, if you specify "service-agent@corp.com", then the username might be
3955+
"service-agent.a1b2c3d4e5f6@corp.com".
3956+
3957+
If not specified, the command auto-generates the username using this pattern:
3958+
"agent.user.<GUID>@your-org-domain.com".
3959+
```
3960+
3961+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.75/src/commands/org/create/agent-user.ts)_
3962+
38843963
## `sf org create sandbox`
38853964

38863965
Create a sandbox org.
@@ -4013,7 +4092,7 @@ FLAG DESCRIPTIONS
40134092
You can specify either --source-sandbox-name or --source-id when cloning an existing sandbox, but not both.
40144093
```
40154094

4016-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.74/src/commands/org/create/sandbox.ts)_
4095+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.75/src/commands/org/create/sandbox.ts)_
40174096

40184097
## `sf org create scratch`
40194098

@@ -4195,7 +4274,7 @@ FLAG DESCRIPTIONS
41954274
Omit this flag to have Salesforce generate a unique username for your org.
41964275
```
41974276

4198-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.74/src/commands/org/create/scratch.ts)_
4277+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.75/src/commands/org/create/scratch.ts)_
41994278

42004279
## `sf org create user`
42014280

@@ -4349,7 +4428,7 @@ EXAMPLES
43494428
$ sf org delete sandbox --target-org my-sandbox --no-prompt
43504429
```
43514430

4352-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.74/src/commands/org/delete/sandbox.ts)_
4431+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.75/src/commands/org/delete/sandbox.ts)_
43534432

43544433
## `sf org delete scratch`
43554434

@@ -4393,7 +4472,7 @@ EXAMPLES
43934472
$ sf org delete scratch --target-org my-scratch-org --no-prompt
43944473
```
43954474

4396-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.74/src/commands/org/delete/scratch.ts)_
4475+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.75/src/commands/org/delete/scratch.ts)_
43974476

43984477
## `sf org disable tracking`
43994478

@@ -4432,7 +4511,7 @@ EXAMPLES
44324511
$ sf org disable tracking
44334512
```
44344513

4435-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.74/src/commands/org/disable/tracking.ts)_
4514+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.75/src/commands/org/disable/tracking.ts)_
44364515

44374516
## `sf org display`
44384517

@@ -4477,7 +4556,7 @@ EXAMPLES
44774556
$ sf org display --target-org TestOrg1 --verbose
44784557
```
44794558

4480-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.74/src/commands/org/display.ts)_
4559+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.75/src/commands/org/display.ts)_
44814560

44824561
## `sf org display user`
44834562

@@ -4558,7 +4637,7 @@ EXAMPLES
45584637
$ sf org enable tracking
45594638
```
45604639

4561-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.74/src/commands/org/enable/tracking.ts)_
4640+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.75/src/commands/org/enable/tracking.ts)_
45624641

45634642
## `sf org generate password`
45644643

@@ -4664,7 +4743,7 @@ EXAMPLES
46644743
$ sf org list --clean
46654744
```
46664745

4667-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.74/src/commands/org/list.ts)_
4746+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.75/src/commands/org/list.ts)_
46684747

46694748
## `sf org list auth`
46704749

@@ -4803,7 +4882,7 @@ FLAG DESCRIPTIONS
48034882
Examples of metadata types that use folders are Dashboard, Document, EmailTemplate, and Report.
48044883
```
48054884

4806-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.74/src/commands/org/list/metadata.ts)_
4885+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.75/src/commands/org/list/metadata.ts)_
48074886

48084887
## `sf org list metadata-types`
48094888

@@ -4858,7 +4937,7 @@ FLAG DESCRIPTIONS
48584937
Override the api version used for api requests made by this command
48594938
```
48604939

4861-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.74/src/commands/org/list/metadata-types.ts)_
4940+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.75/src/commands/org/list/metadata-types.ts)_
48624941

48634942
## `sf org list sobject record-counts`
48644943

@@ -5404,7 +5483,7 @@ EXAMPLES
54045483
$ sf org open --source-file force-app/main/default/bots/Coral_Cloud_Agent/Coral_Cloud_Agent.bot-meta.xml
54055484
```
54065485

5407-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.74/src/commands/org/open.ts)_
5486+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.75/src/commands/org/open.ts)_
54085487

54095488
## `sf org open agent`
54105489

@@ -5455,7 +5534,7 @@ EXAMPLES
54555534
$ sf org open agent --target-org MyTestOrg1 --browser firefox --api-name Coral_Cloud_Agent
54565535
```
54575536

5458-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.74/src/commands/org/open/agent.ts)_
5537+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.75/src/commands/org/open/agent.ts)_
54595538

54605539
## `sf org open authoring-bundle`
54615540

@@ -5501,7 +5580,7 @@ EXAMPLES
55015580
$ sf org open authoring-bundle --target-org MyTestOrg1 --browser firefox
55025581
```
55035582

5504-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.74/src/commands/org/open/authoring-bundle.ts)_
5583+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.75/src/commands/org/open/authoring-bundle.ts)_
55055584

55065585
## `sf org refresh sandbox`
55075586

@@ -5604,7 +5683,7 @@ FLAG DESCRIPTIONS
56045683
You can specify either --source-sandbox-name or --source-id when refreshing an existing sandbox, but not both.
56055684
```
56065685

5607-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.74/src/commands/org/refresh/sandbox.ts)_
5686+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.75/src/commands/org/refresh/sandbox.ts)_
56085687

56095688
## `sf org resume sandbox`
56105689

@@ -5667,7 +5746,7 @@ FLAG DESCRIPTIONS
56675746
returns the job ID. To resume checking the sandbox creation, rerun this command.
56685747
```
56695748

5670-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.74/src/commands/org/resume/sandbox.ts)_
5749+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.75/src/commands/org/resume/sandbox.ts)_
56715750

56725751
## `sf org resume scratch`
56735752

@@ -5720,7 +5799,7 @@ FLAG DESCRIPTIONS
57205799
returns the job ID. To resume checking the scratch creation, rerun this command.
57215800
```
57225801

5723-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.74/src/commands/org/resume/scratch.ts)_
5802+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.75/src/commands/org/resume/scratch.ts)_
57245803

57255804
## `sf package convert`
57265805

@@ -9679,7 +9758,7 @@ FLAG DESCRIPTIONS
96799758
directory.
96809759
```
96819760

9682-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.3/src/commands/template/generate/analytics/template.ts)_
9761+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.4/src/commands/template/generate/analytics/template.ts)_
96839762

96849763
## `sf template generate apex class`
96859764

@@ -9739,7 +9818,7 @@ FLAG DESCRIPTIONS
97399818
Supplied parameter values or default values are filled into a copy of the template.
97409819
```
97419820

9742-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.3/src/commands/template/generate/apex/class.ts)_
9821+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.4/src/commands/template/generate/apex/class.ts)_
97439822

97449823
## `sf template generate apex trigger`
97459824

@@ -9809,7 +9888,7 @@ FLAG DESCRIPTIONS
98099888
Supplied parameter values or default values are filled into a copy of the template.
98109889
```
98119890

9812-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.3/src/commands/template/generate/apex/trigger.ts)_
9891+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.4/src/commands/template/generate/apex/trigger.ts)_
98139892

98149893
## `sf template generate digital-experience site`
98159894

@@ -9863,7 +9942,7 @@ FLAG DESCRIPTIONS
98639942
project, defaults to the current directory.
98649943
```
98659944

9866-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.3/src/commands/template/generate/digital-experience/site.ts)_
9945+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.4/src/commands/template/generate/digital-experience/site.ts)_
98679946

98689947
## `sf template generate flexipage`
98699948

@@ -9945,7 +10024,7 @@ FLAG DESCRIPTIONS
994510024
'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
994610025
```
994710026

9948-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.3/src/commands/template/generate/flexipage/index.ts)_
10027+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.4/src/commands/template/generate/flexipage/index.ts)_
994910028

995010029
## `sf template generate lightning app`
995110030

@@ -10001,7 +10080,7 @@ FLAG DESCRIPTIONS
1000110080
Supplied parameter values or default values are filled into a copy of the template.
1000210081
```
1000310082

10004-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.3/src/commands/template/generate/lightning/app.ts)_
10083+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.4/src/commands/template/generate/lightning/app.ts)_
1000510084

1000610085
## `sf template generate lightning component`
1000710086

@@ -10071,7 +10150,7 @@ FLAG DESCRIPTIONS
1007110150
Supplied parameter values or default values are filled into a copy of the template.
1007210151
```
1007310152

10074-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.3/src/commands/template/generate/lightning/component.ts)_
10153+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.4/src/commands/template/generate/lightning/component.ts)_
1007510154

1007610155
## `sf template generate lightning event`
1007710156

@@ -10127,7 +10206,7 @@ FLAG DESCRIPTIONS
1012710206
Supplied parameter values or default values are filled into a copy of the template.
1012810207
```
1012910208

10130-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.3/src/commands/template/generate/lightning/event.ts)_
10209+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.4/src/commands/template/generate/lightning/event.ts)_
1013110210

1013210211
## `sf template generate lightning interface`
1013310212

@@ -10183,7 +10262,7 @@ FLAG DESCRIPTIONS
1018310262
Supplied parameter values or default values are filled into a copy of the template.
1018410263
```
1018510264

10186-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.3/src/commands/template/generate/lightning/interface.ts)_
10265+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.4/src/commands/template/generate/lightning/interface.ts)_
1018710266

1018810267
## `sf template generate lightning test`
1018910268

@@ -10239,7 +10318,7 @@ FLAG DESCRIPTIONS
1023910318
Supplied parameter values or default values are filled into a copy of the template.
1024010319
```
1024110320

10242-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.3/src/commands/template/generate/lightning/test.ts)_
10321+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.4/src/commands/template/generate/lightning/test.ts)_
1024310322

1024410323
## `sf template generate project`
1024510324

@@ -10352,7 +10431,7 @@ FLAG DESCRIPTIONS
1035210431
Override the api version used for api requests made by this command
1035310432
```
1035410433

10355-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.3/src/commands/template/generate/project/index.ts)_
10434+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.4/src/commands/template/generate/project/index.ts)_
1035610435

1035710436
## `sf template generate static-resource`
1035810437

@@ -10415,7 +10494,7 @@ FLAG DESCRIPTIONS
1041510494
etc.
1041610495
```
1041710496

10418-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.3/src/commands/template/generate/static-resource/index.ts)_
10497+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.4/src/commands/template/generate/static-resource/index.ts)_
1041910498

1042010499
## `sf template generate visualforce component`
1042110500

@@ -10472,7 +10551,7 @@ FLAG DESCRIPTIONS
1047210551
Supplied parameter values or default values are filled into a copy of the template.
1047310552
```
1047410553

10475-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.3/src/commands/template/generate/visualforce/component.ts)_
10554+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.4/src/commands/template/generate/visualforce/component.ts)_
1047610555

1047710556
## `sf template generate visualforce page`
1047810557

@@ -10523,7 +10602,7 @@ FLAG DESCRIPTIONS
1052310602
The name can be up to 40 characters and must start with a letter.
1052410603
```
1052510604

10526-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.3/src/commands/template/generate/visualforce/page.ts)_
10605+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.11.4/src/commands/template/generate/visualforce/page.ts)_
1052710606

1052810607
## `sf update [CHANNEL]`
1052910608

0 commit comments

Comments
 (0)