@salesforce/cli 2.93.6 → 2.93.7
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 +76 -65
- package/npm-shrinkwrap.json +21 -21
- package/oclif.lock +19 -19
- package/oclif.manifest.json +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
|
|
|
25
25
|
$ sf COMMAND
|
|
26
26
|
running command...
|
|
27
27
|
$ sf (--version|-v)
|
|
28
|
-
@salesforce/cli/2.93.
|
|
28
|
+
@salesforce/cli/2.93.7 linux-x64 node-v22.16.0
|
|
29
29
|
$ sf --help [COMMAND]
|
|
30
30
|
USAGE
|
|
31
31
|
$ sf COMMAND
|
|
@@ -262,7 +262,7 @@ EXAMPLES
|
|
|
262
262
|
$ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
|
|
263
263
|
```
|
|
264
264
|
|
|
265
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
265
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.23.0/src/commands/agent/create.ts)_
|
|
266
266
|
|
|
267
267
|
## `sf agent generate agent-spec`
|
|
268
268
|
|
|
@@ -367,7 +367,7 @@ EXAMPLES
|
|
|
367
367
|
$ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
|
|
368
368
|
```
|
|
369
369
|
|
|
370
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
370
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.23.0/src/commands/agent/generate/agent-spec.ts)_
|
|
371
371
|
|
|
372
372
|
## `sf agent generate template`
|
|
373
373
|
|
|
@@ -415,7 +415,7 @@ EXAMPLES
|
|
|
415
415
|
force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1
|
|
416
416
|
```
|
|
417
417
|
|
|
418
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
418
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.23.0/src/commands/agent/generate/template.ts)_
|
|
419
419
|
|
|
420
420
|
## `sf agent generate test-spec`
|
|
421
421
|
|
|
@@ -473,7 +473,7 @@ EXAMPLES
|
|
|
473
473
|
force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
|
|
474
474
|
```
|
|
475
475
|
|
|
476
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
476
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.23.0/src/commands/agent/generate/test-spec.ts)_
|
|
477
477
|
|
|
478
478
|
## `sf agent preview`
|
|
479
479
|
|
|
@@ -481,18 +481,19 @@ Interact with an active agent to preview how the agent responds to your statemen
|
|
|
481
481
|
|
|
482
482
|
```
|
|
483
483
|
USAGE
|
|
484
|
-
$ sf agent preview -
|
|
485
|
-
[-x]
|
|
484
|
+
$ sf agent preview (-c <value> -o <value>) [--flags-dir <value>] [--api-version <value>] [-n <value>] [-d
|
|
485
|
+
<value>] [-x]
|
|
486
486
|
|
|
487
487
|
FLAGS
|
|
488
|
-
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
-
|
|
492
|
-
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
488
|
+
-c, --client-app=<value> (required) Name of the linked client app to use for the agent connection. You must have
|
|
489
|
+
previously created this link with "org login web --client-app". Run "org display" to see
|
|
490
|
+
the available linked client apps.
|
|
491
|
+
-d, --output-dir=<value> Directory where conversation transcripts are saved.
|
|
492
|
+
-n, --api-name=<value> API name of the agent you want to interact with.
|
|
493
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
494
|
+
configuration variable is already set.
|
|
495
|
+
-x, --apex-debug Enable Apex debug logging during the agent preview conversation.
|
|
496
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
496
497
|
|
|
497
498
|
GLOBAL FLAGS
|
|
498
499
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -519,55 +520,57 @@ DESCRIPTION
|
|
|
519
520
|
|
|
520
521
|
Before you use this command, you must complete these steps:
|
|
521
522
|
|
|
522
|
-
1.
|
|
523
|
-
https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#create-a-connected-app. Do
|
|
524
|
-
|
|
523
|
+
1. Using your org's Setup UI, create a connected app in your org as described in the "Create a Connected App" section
|
|
524
|
+
here: https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#create-a-connected-app. Do
|
|
525
|
+
these additional steps:
|
|
525
526
|
|
|
526
527
|
a. When specifying the connected app's Callback URL, add this second callback URL on a new line:
|
|
527
528
|
"http://localhost:1717/OauthRedirect".
|
|
528
529
|
|
|
529
530
|
b. When adding the scopes to the connected app, add "Manage user data via Web browsers (web)".
|
|
530
531
|
|
|
531
|
-
c. Ensure that the "Require Secret for Web Server Flow" option is not selected.
|
|
532
|
-
|
|
533
|
-
d. Make note of the user that you specified as the "Run As" user when updating the Client Credentials Flow section.
|
|
534
|
-
|
|
535
532
|
2. Add the connected app to your agent as described in the "Add Connected App to Agent" section here:
|
|
536
533
|
https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#add-connected-app-to-agent.
|
|
537
534
|
|
|
538
535
|
3. Copy the consumer key from your connected app as described in the "Obtain Credentials" section here:
|
|
539
536
|
https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#obtain-credentials.
|
|
540
537
|
|
|
541
|
-
4.
|
|
542
|
-
|
|
538
|
+
4. If you haven't already, run the "org login web" CLI command as usual to authorize the development org that contains
|
|
539
|
+
the agent you want to preview.
|
|
543
540
|
|
|
544
|
-
5.
|
|
545
|
-
|
|
546
|
-
|
|
541
|
+
5. Re-run the "org web login" command to link the new connected app to your already-authenticated user. Use the
|
|
542
|
+
--client-app flag to give the link a name; you can specify any string, but make a note of it because you'll need it
|
|
543
|
+
later. Use --username to specify the username that you used to log into the org in the previous step. Use --client-id
|
|
544
|
+
to specify the consumer key you previously copied. Finally, use --scopes as indicated to specify the required API
|
|
545
|
+
scopes. Here's an example:
|
|
546
|
+
|
|
547
|
+
sf org login web --client-app agent-app --username <username> --client-id <consumer-key> --scopes "sfap_api
|
|
548
|
+
chatbot_api refresh_token api web"
|
|
547
549
|
|
|
548
550
|
IMPORTANT: You must use the "--client-id <CONNECTED-APP-CONSUMER-KEY>" flag of "org login web", where
|
|
549
551
|
CONNECTED-APP-CONSUMER-KEY is the consumer key you previously copied. This step ensures that the "org login web"
|
|
550
552
|
command uses your custom connected app, and not the default CLI connected app.
|
|
551
553
|
|
|
552
|
-
Press Enter to skip sharing the client secret.
|
|
554
|
+
6. Press Enter to skip sharing the client secret, then log in with your org username as usual and click Accept.
|
|
553
555
|
|
|
554
|
-
|
|
555
|
-
|
|
556
|
+
7. Run this command ("agent preview") to interact with an agent by using the --target-org flag to specify the org
|
|
557
|
+
username or alias as usual and --client-app to specify the linked connected app ("agent-app" in the previous example).
|
|
558
|
+
Use the "org display" command to get the list of client apps associated with an org.
|
|
556
559
|
|
|
557
560
|
EXAMPLES
|
|
558
|
-
Interact with an agent with API name "Resort_Manager" in the org with alias "my-org"
|
|
559
|
-
|
|
561
|
+
Interact with an agent with API name "Resort_Manager" in the org with alias "my-org" and the linked "agent-app"
|
|
562
|
+
connected app:
|
|
560
563
|
|
|
561
|
-
$ sf agent preview --api-name "Resort_Manager" --target-org my-org --
|
|
564
|
+
$ sf agent preview --api-name "Resort_Manager" --target-org my-org --client-app agent-app
|
|
562
565
|
|
|
563
566
|
Same as the preceding example, but this time save the conversation transcripts to the "./transcripts/my-preview"
|
|
564
567
|
directory rather than the default "./temp/agent-preview":
|
|
565
568
|
|
|
566
|
-
$ sf agent preview --api-name "Resort_Manager" --target-org my-org --
|
|
567
|
-
|
|
569
|
+
$ sf agent preview --api-name "Resort_Manager" --target-org my-org --client-app agent-app --output-dir \
|
|
570
|
+
"transcripts/my-preview"
|
|
568
571
|
```
|
|
569
572
|
|
|
570
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
573
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.23.0/src/commands/agent/preview.ts)_
|
|
571
574
|
|
|
572
575
|
## `sf agent test create`
|
|
573
576
|
|
|
@@ -622,7 +625,7 @@ EXAMPLES
|
|
|
622
625
|
$ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
|
|
623
626
|
```
|
|
624
627
|
|
|
625
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
628
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.23.0/src/commands/agent/test/create.ts)_
|
|
626
629
|
|
|
627
630
|
## `sf agent test list`
|
|
628
631
|
|
|
@@ -657,7 +660,7 @@ EXAMPLES
|
|
|
657
660
|
$ sf agent test list --target-org my-org
|
|
658
661
|
```
|
|
659
662
|
|
|
660
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
663
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.23.0/src/commands/agent/test/list.ts)_
|
|
661
664
|
|
|
662
665
|
## `sf agent test results`
|
|
663
666
|
|
|
@@ -713,7 +716,7 @@ FLAG DESCRIPTIONS
|
|
|
713
716
|
test results aren't written.
|
|
714
717
|
```
|
|
715
718
|
|
|
716
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
719
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.23.0/src/commands/agent/test/results.ts)_
|
|
717
720
|
|
|
718
721
|
## `sf agent test resume`
|
|
719
722
|
|
|
@@ -776,7 +779,7 @@ FLAG DESCRIPTIONS
|
|
|
776
779
|
test results aren't written.
|
|
777
780
|
```
|
|
778
781
|
|
|
779
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
782
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.23.0/src/commands/agent/test/resume.ts)_
|
|
780
783
|
|
|
781
784
|
## `sf agent test run`
|
|
782
785
|
|
|
@@ -840,7 +843,7 @@ FLAG DESCRIPTIONS
|
|
|
840
843
|
test results aren't written.
|
|
841
844
|
```
|
|
842
845
|
|
|
843
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
846
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.23.0/src/commands/agent/test/run.ts)_
|
|
844
847
|
|
|
845
848
|
## `sf alias list`
|
|
846
849
|
|
|
@@ -3804,7 +3807,7 @@ FLAG DESCRIPTIONS
|
|
|
3804
3807
|
You can specify either --source-sandbox-name or --source-id when cloning an existing sandbox, but not both.
|
|
3805
3808
|
```
|
|
3806
3809
|
|
|
3807
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
3810
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.8.0/src/commands/org/create/sandbox.ts)_
|
|
3808
3811
|
|
|
3809
3812
|
## `sf org create scratch`
|
|
3810
3813
|
|
|
@@ -3986,7 +3989,7 @@ FLAG DESCRIPTIONS
|
|
|
3986
3989
|
Omit this flag to have Salesforce generate a unique username for your org.
|
|
3987
3990
|
```
|
|
3988
3991
|
|
|
3989
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
3992
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.8.0/src/commands/org/create/scratch.ts)_
|
|
3990
3993
|
|
|
3991
3994
|
## `sf org create user`
|
|
3992
3995
|
|
|
@@ -4140,7 +4143,7 @@ EXAMPLES
|
|
|
4140
4143
|
$ sf org delete sandbox --target-org my-sandbox --no-prompt
|
|
4141
4144
|
```
|
|
4142
4145
|
|
|
4143
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
4146
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.8.0/src/commands/org/delete/sandbox.ts)_
|
|
4144
4147
|
|
|
4145
4148
|
## `sf org delete scratch`
|
|
4146
4149
|
|
|
@@ -4184,7 +4187,7 @@ EXAMPLES
|
|
|
4184
4187
|
$ sf org delete scratch --target-org my-scratch-org --no-prompt
|
|
4185
4188
|
```
|
|
4186
4189
|
|
|
4187
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
4190
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.8.0/src/commands/org/delete/scratch.ts)_
|
|
4188
4191
|
|
|
4189
4192
|
## `sf org disable tracking`
|
|
4190
4193
|
|
|
@@ -4223,7 +4226,7 @@ EXAMPLES
|
|
|
4223
4226
|
$ sf org disable tracking
|
|
4224
4227
|
```
|
|
4225
4228
|
|
|
4226
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
4229
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.8.0/src/commands/org/disable/tracking.ts)_
|
|
4227
4230
|
|
|
4228
4231
|
## `sf org display`
|
|
4229
4232
|
|
|
@@ -4268,7 +4271,7 @@ EXAMPLES
|
|
|
4268
4271
|
$ sf org display --target-org TestOrg1 --verbose
|
|
4269
4272
|
```
|
|
4270
4273
|
|
|
4271
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
4274
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.8.0/src/commands/org/display.ts)_
|
|
4272
4275
|
|
|
4273
4276
|
## `sf org display user`
|
|
4274
4277
|
|
|
@@ -4349,7 +4352,7 @@ EXAMPLES
|
|
|
4349
4352
|
$ sf org enable tracking
|
|
4350
4353
|
```
|
|
4351
4354
|
|
|
4352
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
4355
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.8.0/src/commands/org/enable/tracking.ts)_
|
|
4353
4356
|
|
|
4354
4357
|
## `sf org generate password`
|
|
4355
4358
|
|
|
@@ -4455,7 +4458,7 @@ EXAMPLES
|
|
|
4455
4458
|
$ sf org list --clean
|
|
4456
4459
|
```
|
|
4457
4460
|
|
|
4458
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
4461
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.8.0/src/commands/org/list.ts)_
|
|
4459
4462
|
|
|
4460
4463
|
## `sf org list auth`
|
|
4461
4464
|
|
|
@@ -4487,7 +4490,7 @@ EXAMPLES
|
|
|
4487
4490
|
$ sf org list auth
|
|
4488
4491
|
```
|
|
4489
4492
|
|
|
4490
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
4493
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.7.0/src/commands/org/list/auth.ts)_
|
|
4491
4494
|
|
|
4492
4495
|
## `sf org list limits`
|
|
4493
4496
|
|
|
@@ -4594,7 +4597,7 @@ FLAG DESCRIPTIONS
|
|
|
4594
4597
|
Examples of metadata types that use folders are Dashboard, Document, EmailTemplate, and Report.
|
|
4595
4598
|
```
|
|
4596
4599
|
|
|
4597
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
4600
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.8.0/src/commands/org/list/metadata.ts)_
|
|
4598
4601
|
|
|
4599
4602
|
## `sf org list metadata-types`
|
|
4600
4603
|
|
|
@@ -4649,7 +4652,7 @@ FLAG DESCRIPTIONS
|
|
|
4649
4652
|
Override the api version used for api requests made by this command
|
|
4650
4653
|
```
|
|
4651
4654
|
|
|
4652
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
4655
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.8.0/src/commands/org/list/metadata-types.ts)_
|
|
4653
4656
|
|
|
4654
4657
|
## `sf org list sobject record-counts`
|
|
4655
4658
|
|
|
@@ -4787,7 +4790,7 @@ FLAG DESCRIPTIONS
|
|
|
4787
4790
|
To specify a sandbox, set --instance-url to "https://<MyDomainName>--<SandboxName>.sandbox.my.salesforce.com".
|
|
4788
4791
|
```
|
|
4789
4792
|
|
|
4790
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
4793
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.7.0/src/commands/org/login/access-token.ts)_
|
|
4791
4794
|
|
|
4792
4795
|
## `sf org login device`
|
|
4793
4796
|
|
|
@@ -4847,7 +4850,7 @@ FLAG DESCRIPTIONS
|
|
|
4847
4850
|
To specify a sandbox, set --instance-url to "https://<MyDomainName>--<SandboxName>.sandbox.my.salesforce.com".
|
|
4848
4851
|
```
|
|
4849
4852
|
|
|
4850
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
4853
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.7.0/src/commands/org/login/device.ts)_
|
|
4851
4854
|
|
|
4852
4855
|
## `sf org login jwt`
|
|
4853
4856
|
|
|
@@ -4938,7 +4941,7 @@ FLAG DESCRIPTIONS
|
|
|
4938
4941
|
To specify a sandbox, set --instance-url to "https://<MyDomainName>--<SandboxName>.sandbox.my.salesforce.com".
|
|
4939
4942
|
```
|
|
4940
4943
|
|
|
4941
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
4944
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.7.0/src/commands/org/login/jwt.ts)_
|
|
4942
4945
|
|
|
4943
4946
|
## `sf org login sfdx-url`
|
|
4944
4947
|
|
|
@@ -5008,7 +5011,7 @@ EXAMPLES
|
|
|
5008
5011
|
$ echo url | sf org login sfdx-url --sfdx-url-stdin
|
|
5009
5012
|
```
|
|
5010
5013
|
|
|
5011
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
5014
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.7.0/src/commands/org/login/sfdx-url.ts)_
|
|
5012
5015
|
|
|
5013
5016
|
## `sf org login web`
|
|
5014
5017
|
|
|
@@ -5017,16 +5020,19 @@ Log in to a Salesforce org using the web server flow.
|
|
|
5017
5020
|
```
|
|
5018
5021
|
USAGE
|
|
5019
5022
|
$ sf org login web [--json] [--flags-dir <value>] [-b chrome|edge|firefox] [-i <value>] [-r <value>] [-d] [-s]
|
|
5020
|
-
[-a <value>]
|
|
5023
|
+
[-a <value>] [-c <value> --username <value>] [--scopes <value>]
|
|
5021
5024
|
|
|
5022
5025
|
FLAGS
|
|
5023
5026
|
-a, --alias=<value> Alias for the org.
|
|
5024
5027
|
-b, --browser=<option> Browser in which to open the org.
|
|
5025
5028
|
<options: chrome|edge|firefox>
|
|
5029
|
+
-c, --client-app=<value> Name of the connected app or external client app to link to the user.
|
|
5026
5030
|
-d, --set-default-dev-hub Set the authenticated org as the default Dev Hub.
|
|
5027
5031
|
-i, --client-id=<value> OAuth client ID (also called consumer key) of your custom connected app.
|
|
5028
5032
|
-r, --instance-url=<value> URL of the instance that the org lives on.
|
|
5029
5033
|
-s, --set-default Set the authenticated org as the default that all org-related commands run against.
|
|
5034
|
+
--scopes=<value> Authentication scopes to request.
|
|
5035
|
+
--username=<value> Username to link client app to.
|
|
5030
5036
|
|
|
5031
5037
|
GLOBAL FLAGS
|
|
5032
5038
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -5095,7 +5101,7 @@ FLAG DESCRIPTIONS
|
|
|
5095
5101
|
To specify a sandbox, set --instance-url to "https://<MyDomainName>--<SandboxName>.sandbox.my.salesforce.com".
|
|
5096
5102
|
```
|
|
5097
5103
|
|
|
5098
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
5104
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.7.0/src/commands/org/login/web.ts)_
|
|
5099
5105
|
|
|
5100
5106
|
## `sf org logout`
|
|
5101
5107
|
|
|
@@ -5103,10 +5109,11 @@ Log out of a Salesforce org.
|
|
|
5103
5109
|
|
|
5104
5110
|
```
|
|
5105
5111
|
USAGE
|
|
5106
|
-
$ sf org logout [--json] [--flags-dir <value>] [-
|
|
5112
|
+
$ sf org logout [--json] [--flags-dir <value>] [-c <value> -o <value>] [-a | ] [-p]
|
|
5107
5113
|
|
|
5108
5114
|
FLAGS
|
|
5109
5115
|
-a, --all Include all authenticated orgs.
|
|
5116
|
+
-c, --client-app=<value> Client app to log out of.
|
|
5110
5117
|
-o, --target-org=<value> Username or alias of the target org.
|
|
5111
5118
|
-p, --no-prompt Don't prompt for confirmation.
|
|
5112
5119
|
|
|
@@ -5129,6 +5136,10 @@ DESCRIPTION
|
|
|
5129
5136
|
Be careful! If you log out of a scratch org without having access to its password, you can't access the scratch org
|
|
5130
5137
|
again, either through the CLI or the Salesforce UI.
|
|
5131
5138
|
|
|
5139
|
+
Use the --client-app flag to log out of the link you previously created between an authenticated user and a connected
|
|
5140
|
+
app or external client app; you create these links with "org login web --client-app". Run "org display" to get the
|
|
5141
|
+
list of client app names.
|
|
5142
|
+
|
|
5132
5143
|
ALIASES
|
|
5133
5144
|
$ sf force auth logout
|
|
5134
5145
|
$ sf auth logout
|
|
@@ -5156,7 +5167,7 @@ FLAG DESCRIPTIONS
|
|
|
5156
5167
|
All orgs includes Dev Hubs, sandboxes, DE orgs, and expired, deleted, and unknown-status scratch orgs.
|
|
5157
5168
|
```
|
|
5158
5169
|
|
|
5159
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
5170
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.7.0/src/commands/org/logout.ts)_
|
|
5160
5171
|
|
|
5161
5172
|
## `sf org open`
|
|
5162
5173
|
|
|
@@ -5232,7 +5243,7 @@ EXAMPLES
|
|
|
5232
5243
|
$ sf org open --source-file force-app/main/default/bots/Coral_Cloud_Agent/Coral_Cloud_Agent.bot-meta.xml
|
|
5233
5244
|
```
|
|
5234
5245
|
|
|
5235
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
5246
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.8.0/src/commands/org/open.ts)_
|
|
5236
5247
|
|
|
5237
5248
|
## `sf org open agent`
|
|
5238
5249
|
|
|
@@ -5283,7 +5294,7 @@ EXAMPLES
|
|
|
5283
5294
|
$ sf org open agent --target-org MyTestOrg1 --browser firefox --api-name Coral_Cloud_Agent
|
|
5284
5295
|
```
|
|
5285
5296
|
|
|
5286
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
5297
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.8.0/src/commands/org/open/agent.ts)_
|
|
5287
5298
|
|
|
5288
5299
|
## `sf org refresh sandbox`
|
|
5289
5300
|
|
|
@@ -5386,7 +5397,7 @@ FLAG DESCRIPTIONS
|
|
|
5386
5397
|
You can specify either --source-sandbox-name or --source-id when refreshing an existing sandbox, but not both.
|
|
5387
5398
|
```
|
|
5388
5399
|
|
|
5389
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
5400
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.8.0/src/commands/org/refresh/sandbox.ts)_
|
|
5390
5401
|
|
|
5391
5402
|
## `sf org resume sandbox`
|
|
5392
5403
|
|
|
@@ -5449,7 +5460,7 @@ FLAG DESCRIPTIONS
|
|
|
5449
5460
|
returns the job ID. To resume checking the sandbox creation, rerun this command.
|
|
5450
5461
|
```
|
|
5451
5462
|
|
|
5452
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
5463
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.8.0/src/commands/org/resume/sandbox.ts)_
|
|
5453
5464
|
|
|
5454
5465
|
## `sf org resume scratch`
|
|
5455
5466
|
|
|
@@ -5502,7 +5513,7 @@ FLAG DESCRIPTIONS
|
|
|
5502
5513
|
returns the job ID. To resume checking the scratch creation, rerun this command.
|
|
5503
5514
|
```
|
|
5504
5515
|
|
|
5505
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
5516
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.8.0/src/commands/org/resume/scratch.ts)_
|
|
5506
5517
|
|
|
5507
5518
|
## `sf package convert`
|
|
5508
5519
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
|
-
"version": "2.93.
|
|
3
|
+
"version": "2.93.7",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/cli",
|
|
9
|
-
"version": "2.93.
|
|
9
|
+
"version": "2.93.7",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"dependencies": {
|
|
@@ -22,18 +22,18 @@
|
|
|
22
22
|
"@oclif/plugin-version": "2.2.29",
|
|
23
23
|
"@oclif/plugin-warn-if-update-available": "3.1.41",
|
|
24
24
|
"@oclif/plugin-which": "3.2.35",
|
|
25
|
-
"@salesforce/core": "
|
|
25
|
+
"@salesforce/core": "8.13.0",
|
|
26
26
|
"@salesforce/kit": "^3.1.6",
|
|
27
|
-
"@salesforce/plugin-agent": "1.
|
|
27
|
+
"@salesforce/plugin-agent": "1.23.0",
|
|
28
28
|
"@salesforce/plugin-apex": "3.6.19",
|
|
29
29
|
"@salesforce/plugin-api": "1.3.3",
|
|
30
|
-
"@salesforce/plugin-auth": "3.
|
|
30
|
+
"@salesforce/plugin-auth": "3.7.0",
|
|
31
31
|
"@salesforce/plugin-data": "4.0.39",
|
|
32
32
|
"@salesforce/plugin-deploy-retrieve": "3.22.22",
|
|
33
33
|
"@salesforce/plugin-info": "3.4.66",
|
|
34
34
|
"@salesforce/plugin-limits": "3.3.56",
|
|
35
35
|
"@salesforce/plugin-marketplace": "1.3.8",
|
|
36
|
-
"@salesforce/plugin-org": "5.
|
|
36
|
+
"@salesforce/plugin-org": "5.8.0",
|
|
37
37
|
"@salesforce/plugin-packaging": "2.15.4",
|
|
38
38
|
"@salesforce/plugin-schema": "3.3.66",
|
|
39
39
|
"@salesforce/plugin-settings": "2.4.31",
|
|
@@ -4809,9 +4809,9 @@
|
|
|
4809
4809
|
}
|
|
4810
4810
|
},
|
|
4811
4811
|
"node_modules/@salesforce/core": {
|
|
4812
|
-
"version": "8.
|
|
4813
|
-
"resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.
|
|
4814
|
-
"integrity": "sha512-
|
|
4812
|
+
"version": "8.13.0",
|
|
4813
|
+
"resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.13.0.tgz",
|
|
4814
|
+
"integrity": "sha512-FyAn0UGa93D0N++8poeJt7yEaWQH++qxrv/Wf4TjNaUCLoh19g57lrXuos3qDJPr8Ut4x6QjVxEc49XLy+vBkw==",
|
|
4815
4815
|
"license": "BSD-3-Clause",
|
|
4816
4816
|
"dependencies": {
|
|
4817
4817
|
"@jsforce/jsforce-node": "^3.8.2",
|
|
@@ -5040,9 +5040,9 @@
|
|
|
5040
5040
|
}
|
|
5041
5041
|
},
|
|
5042
5042
|
"node_modules/@salesforce/plugin-agent": {
|
|
5043
|
-
"version": "1.
|
|
5044
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.
|
|
5045
|
-
"integrity": "sha512-
|
|
5043
|
+
"version": "1.23.0",
|
|
5044
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.23.0.tgz",
|
|
5045
|
+
"integrity": "sha512-bFzfruSJO5EQwWpdSQ9w7ASXIwRCj2Mw6++j7BGV3KRoQYr19vdcKkI7PhQNvgLdNOWEAHtrTE1/YQP1tIJbfw==",
|
|
5046
5046
|
"license": "BSD-3-Clause",
|
|
5047
5047
|
"dependencies": {
|
|
5048
5048
|
"@inquirer/core": "^10.1.6",
|
|
@@ -5050,7 +5050,7 @@
|
|
|
5050
5050
|
"@oclif/core": "^4",
|
|
5051
5051
|
"@oclif/multi-stage-output": "^0.7.12",
|
|
5052
5052
|
"@salesforce/agents": "0.15.0",
|
|
5053
|
-
"@salesforce/core": "^8.
|
|
5053
|
+
"@salesforce/core": "^8.13.0",
|
|
5054
5054
|
"@salesforce/kit": "^3.2.3",
|
|
5055
5055
|
"@salesforce/sf-plugins-core": "^12.2.0",
|
|
5056
5056
|
"@salesforce/source-deploy-retrieve": "^12.19.3",
|
|
@@ -5289,15 +5289,15 @@
|
|
|
5289
5289
|
}
|
|
5290
5290
|
},
|
|
5291
5291
|
"node_modules/@salesforce/plugin-auth": {
|
|
5292
|
-
"version": "3.
|
|
5293
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-auth/-/plugin-auth-3.
|
|
5294
|
-
"integrity": "sha512-
|
|
5292
|
+
"version": "3.7.0",
|
|
5293
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-auth/-/plugin-auth-3.7.0.tgz",
|
|
5294
|
+
"integrity": "sha512-dVcwpX32abxQI4V7KkVFZq5pVzw4LltUk20P2ekLKpGQ+MAWt+PQ98QzY34AbaJwuEQR1TuPD+AgOJrN2bHXlA==",
|
|
5295
5295
|
"license": "Apache-2.0",
|
|
5296
5296
|
"dependencies": {
|
|
5297
5297
|
"@inquirer/checkbox": "^2.5.0",
|
|
5298
5298
|
"@inquirer/select": "^2.5.0",
|
|
5299
5299
|
"@oclif/core": "^4",
|
|
5300
|
-
"@salesforce/core": "^8.
|
|
5300
|
+
"@salesforce/core": "^8.13.0",
|
|
5301
5301
|
"@salesforce/kit": "^3.2.3",
|
|
5302
5302
|
"@salesforce/plugin-info": "^3.4.65",
|
|
5303
5303
|
"@salesforce/sf-plugins-core": "^12.2.2",
|
|
@@ -5519,14 +5519,14 @@
|
|
|
5519
5519
|
}
|
|
5520
5520
|
},
|
|
5521
5521
|
"node_modules/@salesforce/plugin-org": {
|
|
5522
|
-
"version": "5.
|
|
5523
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-5.
|
|
5524
|
-
"integrity": "sha512-
|
|
5522
|
+
"version": "5.8.0",
|
|
5523
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-5.8.0.tgz",
|
|
5524
|
+
"integrity": "sha512-h2mtotzXB82Swh0KcU852Bs6HViyu3QkF3hjNx541IraPslRBRgrOI8ldYqWUz/mUmoh3ize9mO+HxrZlEjS1g==",
|
|
5525
5525
|
"license": "Apache-2.0",
|
|
5526
5526
|
"dependencies": {
|
|
5527
5527
|
"@oclif/core": "^4.3.0",
|
|
5528
5528
|
"@oclif/multi-stage-output": "^0.8.13",
|
|
5529
|
-
"@salesforce/core": "^8.
|
|
5529
|
+
"@salesforce/core": "^8.13.0",
|
|
5530
5530
|
"@salesforce/kit": "^3.2.3",
|
|
5531
5531
|
"@salesforce/sf-plugins-core": "^12.2.2",
|
|
5532
5532
|
"@salesforce/source-deploy-retrieve": "^12.19.7",
|
package/oclif.lock
CHANGED
|
@@ -1995,10 +1995,10 @@
|
|
|
1995
1995
|
strip-ansi "6.0.1"
|
|
1996
1996
|
ts-retry-promise "^0.8.1"
|
|
1997
1997
|
|
|
1998
|
-
"@salesforce/core@^8.10.0", "@salesforce/core@^8.10.1", "@salesforce/core@^8.10.
|
|
1999
|
-
version "8.
|
|
2000
|
-
resolved "https://registry.npmjs.org/@salesforce/core/-/core-8.
|
|
2001
|
-
integrity sha512-
|
|
1998
|
+
"@salesforce/core@^8.10.0", "@salesforce/core@^8.10.1", "@salesforce/core@^8.10.3", "@salesforce/core@^8.11.1", "@salesforce/core@^8.11.4", "@salesforce/core@^8.12.0", "@salesforce/core@^8.13.0", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.1", "@salesforce/core@^8.8.5", "@salesforce/core@8.13.0":
|
|
1999
|
+
version "8.13.0"
|
|
2000
|
+
resolved "https://registry.npmjs.org/@salesforce/core/-/core-8.13.0.tgz"
|
|
2001
|
+
integrity sha512-FyAn0UGa93D0N++8poeJt7yEaWQH++qxrv/Wf4TjNaUCLoh19g57lrXuos3qDJPr8Ut4x6QjVxEc49XLy+vBkw==
|
|
2002
2002
|
dependencies:
|
|
2003
2003
|
"@jsforce/jsforce-node" "^3.8.2"
|
|
2004
2004
|
"@salesforce/kit" "^3.2.2"
|
|
@@ -2083,17 +2083,17 @@
|
|
|
2083
2083
|
jszip "^3.10.1"
|
|
2084
2084
|
object-treeify "^2"
|
|
2085
2085
|
|
|
2086
|
-
"@salesforce/plugin-agent@1.
|
|
2087
|
-
version "1.
|
|
2088
|
-
resolved "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.
|
|
2089
|
-
integrity sha512-
|
|
2086
|
+
"@salesforce/plugin-agent@1.23.0":
|
|
2087
|
+
version "1.23.0"
|
|
2088
|
+
resolved "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.23.0.tgz"
|
|
2089
|
+
integrity sha512-bFzfruSJO5EQwWpdSQ9w7ASXIwRCj2Mw6++j7BGV3KRoQYr19vdcKkI7PhQNvgLdNOWEAHtrTE1/YQP1tIJbfw==
|
|
2090
2090
|
dependencies:
|
|
2091
2091
|
"@inquirer/core" "^10.1.6"
|
|
2092
2092
|
"@inquirer/prompts" "^7.2.0"
|
|
2093
2093
|
"@oclif/core" "^4"
|
|
2094
2094
|
"@oclif/multi-stage-output" "^0.7.12"
|
|
2095
2095
|
"@salesforce/agents" "0.15.0"
|
|
2096
|
-
"@salesforce/core" "^8.
|
|
2096
|
+
"@salesforce/core" "^8.13.0"
|
|
2097
2097
|
"@salesforce/kit" "^3.2.3"
|
|
2098
2098
|
"@salesforce/sf-plugins-core" "^12.2.0"
|
|
2099
2099
|
"@salesforce/source-deploy-retrieve" "^12.19.3"
|
|
@@ -2132,15 +2132,15 @@
|
|
|
2132
2132
|
got "^13.0.0"
|
|
2133
2133
|
proxy-agent "^6.4.0"
|
|
2134
2134
|
|
|
2135
|
-
"@salesforce/plugin-auth@3.
|
|
2136
|
-
version "3.
|
|
2137
|
-
resolved "https://registry.npmjs.org/@salesforce/plugin-auth/-/plugin-auth-3.
|
|
2138
|
-
integrity sha512-
|
|
2135
|
+
"@salesforce/plugin-auth@3.7.0":
|
|
2136
|
+
version "3.7.0"
|
|
2137
|
+
resolved "https://registry.npmjs.org/@salesforce/plugin-auth/-/plugin-auth-3.7.0.tgz"
|
|
2138
|
+
integrity sha512-dVcwpX32abxQI4V7KkVFZq5pVzw4LltUk20P2ekLKpGQ+MAWt+PQ98QzY34AbaJwuEQR1TuPD+AgOJrN2bHXlA==
|
|
2139
2139
|
dependencies:
|
|
2140
2140
|
"@inquirer/checkbox" "^2.5.0"
|
|
2141
2141
|
"@inquirer/select" "^2.5.0"
|
|
2142
2142
|
"@oclif/core" "^4"
|
|
2143
|
-
"@salesforce/core" "^8.
|
|
2143
|
+
"@salesforce/core" "^8.13.0"
|
|
2144
2144
|
"@salesforce/kit" "^3.2.3"
|
|
2145
2145
|
"@salesforce/plugin-info" "^3.4.65"
|
|
2146
2146
|
"@salesforce/sf-plugins-core" "^12.2.2"
|
|
@@ -2235,14 +2235,14 @@
|
|
|
2235
2235
|
got "^13.0.0"
|
|
2236
2236
|
proxy-agent "^6.4.0"
|
|
2237
2237
|
|
|
2238
|
-
"@salesforce/plugin-org@5.
|
|
2239
|
-
version "5.
|
|
2240
|
-
resolved "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-5.
|
|
2241
|
-
integrity sha512-
|
|
2238
|
+
"@salesforce/plugin-org@5.8.0":
|
|
2239
|
+
version "5.8.0"
|
|
2240
|
+
resolved "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-5.8.0.tgz"
|
|
2241
|
+
integrity sha512-h2mtotzXB82Swh0KcU852Bs6HViyu3QkF3hjNx541IraPslRBRgrOI8ldYqWUz/mUmoh3ize9mO+HxrZlEjS1g==
|
|
2242
2242
|
dependencies:
|
|
2243
2243
|
"@oclif/core" "^4.3.0"
|
|
2244
2244
|
"@oclif/multi-stage-output" "^0.8.13"
|
|
2245
|
-
"@salesforce/core" "^8.
|
|
2245
|
+
"@salesforce/core" "^8.13.0"
|
|
2246
2246
|
"@salesforce/kit" "^3.2.3"
|
|
2247
2247
|
"@salesforce/sf-plugins-core" "^12.2.2"
|
|
2248
2248
|
"@salesforce/source-deploy-retrieve" "^12.19.7"
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
3
|
"description": "The Salesforce CLI",
|
|
4
|
-
"version": "2.93.
|
|
4
|
+
"version": "2.93.7",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf": "./bin/run.js",
|
|
@@ -156,18 +156,18 @@
|
|
|
156
156
|
"@oclif/plugin-version": "2.2.29",
|
|
157
157
|
"@oclif/plugin-warn-if-update-available": "3.1.41",
|
|
158
158
|
"@oclif/plugin-which": "3.2.35",
|
|
159
|
-
"@salesforce/core": "
|
|
159
|
+
"@salesforce/core": "8.13.0",
|
|
160
160
|
"@salesforce/kit": "^3.1.6",
|
|
161
|
-
"@salesforce/plugin-agent": "1.
|
|
161
|
+
"@salesforce/plugin-agent": "1.23.0",
|
|
162
162
|
"@salesforce/plugin-apex": "3.6.19",
|
|
163
163
|
"@salesforce/plugin-api": "1.3.3",
|
|
164
|
-
"@salesforce/plugin-auth": "3.
|
|
164
|
+
"@salesforce/plugin-auth": "3.7.0",
|
|
165
165
|
"@salesforce/plugin-data": "4.0.39",
|
|
166
166
|
"@salesforce/plugin-deploy-retrieve": "3.22.22",
|
|
167
167
|
"@salesforce/plugin-info": "3.4.66",
|
|
168
168
|
"@salesforce/plugin-limits": "3.3.56",
|
|
169
169
|
"@salesforce/plugin-marketplace": "1.3.8",
|
|
170
|
-
"@salesforce/plugin-org": "5.
|
|
170
|
+
"@salesforce/plugin-org": "5.8.0",
|
|
171
171
|
"@salesforce/plugin-packaging": "2.15.4",
|
|
172
172
|
"@salesforce/plugin-schema": "3.3.66",
|
|
173
173
|
"@salesforce/plugin-settings": "2.4.31",
|