@salesforce/cli 2.90.0 → 2.90.2
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 +25 -25
- package/npm-shrinkwrap.json +10 -10
- package/oclif.lock +9 -9
- package/oclif.manifest.json +9 -2
- package/package.json +3 -3
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.90.
|
|
28
|
+
@salesforce/cli/2.90.2 linux-x64 node-v22.15.0
|
|
29
29
|
$ sf --help [COMMAND]
|
|
30
30
|
USAGE
|
|
31
31
|
$ sf COMMAND
|
|
@@ -1336,7 +1336,7 @@ EXAMPLES
|
|
|
1336
1336
|
$ sf data bulk results --job-id 7507i000fake341G --target-org my-scratch
|
|
1337
1337
|
```
|
|
1338
1338
|
|
|
1339
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1339
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/bulk/results.ts)_
|
|
1340
1340
|
|
|
1341
1341
|
## `sf data create file`
|
|
1342
1342
|
|
|
@@ -1385,7 +1385,7 @@ EXAMPLES
|
|
|
1385
1385
|
$ sf data create file --file path/to/astro.png --parent-id a03fakeLoJWPIA3
|
|
1386
1386
|
```
|
|
1387
1387
|
|
|
1388
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1388
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/create/file.ts)_
|
|
1389
1389
|
|
|
1390
1390
|
## `sf data create record`
|
|
1391
1391
|
|
|
@@ -1441,7 +1441,7 @@ EXAMPLES
|
|
|
1441
1441
|
TracedEntityId=01p17000000R6bLAAS"
|
|
1442
1442
|
```
|
|
1443
1443
|
|
|
1444
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1444
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/create/record.ts)_
|
|
1445
1445
|
|
|
1446
1446
|
## `sf data delete bulk`
|
|
1447
1447
|
|
|
@@ -1501,7 +1501,7 @@ FLAG DESCRIPTIONS
|
|
|
1501
1501
|
and can be enabled only by a system administrator.
|
|
1502
1502
|
```
|
|
1503
1503
|
|
|
1504
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1504
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/delete/bulk.ts)_
|
|
1505
1505
|
|
|
1506
1506
|
## `sf data delete record`
|
|
1507
1507
|
|
|
@@ -1562,7 +1562,7 @@ EXAMPLES
|
|
|
1562
1562
|
$ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
1563
1563
|
```
|
|
1564
1564
|
|
|
1565
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1565
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/delete/record.ts)_
|
|
1566
1566
|
|
|
1567
1567
|
## `sf data delete resume`
|
|
1568
1568
|
|
|
@@ -1601,7 +1601,7 @@ EXAMPLES
|
|
|
1601
1601
|
$ sf data delete resume --use-most-recent --target-org my-scratch
|
|
1602
1602
|
```
|
|
1603
1603
|
|
|
1604
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1604
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/delete/resume.ts)_
|
|
1605
1605
|
|
|
1606
1606
|
## `sf data export bulk`
|
|
1607
1607
|
|
|
@@ -1675,7 +1675,7 @@ EXAMPLES
|
|
|
1675
1675
|
--result-format json --async
|
|
1676
1676
|
```
|
|
1677
1677
|
|
|
1678
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1678
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/export/bulk.ts)_
|
|
1679
1679
|
|
|
1680
1680
|
## `sf data export resume`
|
|
1681
1681
|
|
|
@@ -1711,7 +1711,7 @@ EXAMPLES
|
|
|
1711
1711
|
$ sf data export resume --use-most-recent --target-org my-scratch
|
|
1712
1712
|
```
|
|
1713
1713
|
|
|
1714
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1714
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/export/resume.ts)_
|
|
1715
1715
|
|
|
1716
1716
|
## `sf data export tree`
|
|
1717
1717
|
|
|
@@ -1771,7 +1771,7 @@ EXAMPLES
|
|
|
1771
1771
|
my-scratch
|
|
1772
1772
|
```
|
|
1773
1773
|
|
|
1774
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1774
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/export/tree.ts)_
|
|
1775
1775
|
|
|
1776
1776
|
## `sf data get record`
|
|
1777
1777
|
|
|
@@ -1835,7 +1835,7 @@ EXAMPLES
|
|
|
1835
1835
|
$ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
1836
1836
|
```
|
|
1837
1837
|
|
|
1838
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1838
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/get/record.ts)_
|
|
1839
1839
|
|
|
1840
1840
|
## `sf data import bulk`
|
|
1841
1841
|
|
|
@@ -1893,7 +1893,7 @@ EXAMPLES
|
|
|
1893
1893
|
$ sf data import bulk --file accounts.csv --sobject Account --async
|
|
1894
1894
|
```
|
|
1895
1895
|
|
|
1896
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1896
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/import/bulk.ts)_
|
|
1897
1897
|
|
|
1898
1898
|
## `sf data import resume`
|
|
1899
1899
|
|
|
@@ -1929,7 +1929,7 @@ EXAMPLES
|
|
|
1929
1929
|
$ sf data import resume --use-most-recent --target-org my-scratch
|
|
1930
1930
|
```
|
|
1931
1931
|
|
|
1932
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1932
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/import/resume.ts)_
|
|
1933
1933
|
|
|
1934
1934
|
## `sf data import tree`
|
|
1935
1935
|
|
|
@@ -1993,7 +1993,7 @@ FLAG DESCRIPTIONS
|
|
|
1993
1993
|
- files(array) - Files: An array of files paths to load
|
|
1994
1994
|
```
|
|
1995
1995
|
|
|
1996
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1996
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/import/tree.ts)_
|
|
1997
1997
|
|
|
1998
1998
|
## `sf data query`
|
|
1999
1999
|
|
|
@@ -2046,7 +2046,7 @@ EXAMPLES
|
|
|
2046
2046
|
$ sf data query --query "SELECT Name FROM ApexTrigger" --use-tooling-api
|
|
2047
2047
|
```
|
|
2048
2048
|
|
|
2049
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2049
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/query.ts)_
|
|
2050
2050
|
|
|
2051
2051
|
## `sf data resume`
|
|
2052
2052
|
|
|
@@ -2083,7 +2083,7 @@ EXAMPLES
|
|
|
2083
2083
|
$ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
|
|
2084
2084
|
```
|
|
2085
2085
|
|
|
2086
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2086
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/resume.ts)_
|
|
2087
2087
|
|
|
2088
2088
|
## `sf data search`
|
|
2089
2089
|
|
|
@@ -2133,7 +2133,7 @@ EXAMPLES
|
|
|
2133
2133
|
$ sf data search --file query.txt --target-org my-scratch --result-format csv
|
|
2134
2134
|
```
|
|
2135
2135
|
|
|
2136
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2136
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/search.ts)_
|
|
2137
2137
|
|
|
2138
2138
|
## `sf data update bulk`
|
|
2139
2139
|
|
|
@@ -2194,7 +2194,7 @@ EXAMPLES
|
|
|
2194
2194
|
$ sf data update bulk --file accounts.csv --sobject Account --async
|
|
2195
2195
|
```
|
|
2196
2196
|
|
|
2197
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2197
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/update/bulk.ts)_
|
|
2198
2198
|
|
|
2199
2199
|
## `sf data update record`
|
|
2200
2200
|
|
|
@@ -2256,7 +2256,7 @@ EXAMPLES
|
|
|
2256
2256
|
"ExpirationDate=2017-12-01T00:58:04.000+0000"
|
|
2257
2257
|
```
|
|
2258
2258
|
|
|
2259
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2259
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/update/record.ts)_
|
|
2260
2260
|
|
|
2261
2261
|
## `sf data update resume`
|
|
2262
2262
|
|
|
@@ -2292,7 +2292,7 @@ EXAMPLES
|
|
|
2292
2292
|
$ sf data update resume --use-most-recent --target-org my-scratch
|
|
2293
2293
|
```
|
|
2294
2294
|
|
|
2295
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2295
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/update/resume.ts)_
|
|
2296
2296
|
|
|
2297
2297
|
## `sf data upsert bulk`
|
|
2298
2298
|
|
|
@@ -2349,7 +2349,7 @@ EXAMPLES
|
|
|
2349
2349
|
my-scratch
|
|
2350
2350
|
```
|
|
2351
2351
|
|
|
2352
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2352
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/upsert/bulk.ts)_
|
|
2353
2353
|
|
|
2354
2354
|
## `sf data upsert resume`
|
|
2355
2355
|
|
|
@@ -2388,7 +2388,7 @@ EXAMPLES
|
|
|
2388
2388
|
$ sf data upsert resume --use-most-recent --target-org my-scratch
|
|
2389
2389
|
```
|
|
2390
2390
|
|
|
2391
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2391
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/data/upsert/resume.ts)_
|
|
2392
2392
|
|
|
2393
2393
|
## `sf doctor`
|
|
2394
2394
|
|
|
@@ -2483,7 +2483,7 @@ EXAMPLES
|
|
|
2483
2483
|
$ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
|
|
2484
2484
|
```
|
|
2485
2485
|
|
|
2486
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2486
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/force/data/bulk/delete.ts)_
|
|
2487
2487
|
|
|
2488
2488
|
## `sf force data bulk status`
|
|
2489
2489
|
|
|
@@ -2520,7 +2520,7 @@ EXAMPLES
|
|
|
2520
2520
|
$ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
|
|
2521
2521
|
```
|
|
2522
2522
|
|
|
2523
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2523
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/force/data/bulk/status.ts)_
|
|
2524
2524
|
|
|
2525
2525
|
## `sf force data bulk upsert`
|
|
2526
2526
|
|
|
@@ -2578,7 +2578,7 @@ EXAMPLES
|
|
|
2578
2578
|
--target-org my-scratch
|
|
2579
2579
|
```
|
|
2580
2580
|
|
|
2581
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2581
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.33/src/commands/force/data/bulk/upsert.ts)_
|
|
2582
2582
|
|
|
2583
2583
|
## `sf help [COMMAND]`
|
|
2584
2584
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
|
-
"version": "2.90.
|
|
3
|
+
"version": "2.90.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/cli",
|
|
9
|
-
"version": "2.90.
|
|
9
|
+
"version": "2.90.2",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"dependencies": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@salesforce/plugin-apex": "3.6.17",
|
|
28
28
|
"@salesforce/plugin-api": "1.3.3",
|
|
29
29
|
"@salesforce/plugin-auth": "3.6.120",
|
|
30
|
-
"@salesforce/plugin-data": "4.0.
|
|
30
|
+
"@salesforce/plugin-data": "4.0.33",
|
|
31
31
|
"@salesforce/plugin-deploy-retrieve": "3.22.11",
|
|
32
32
|
"@salesforce/plugin-info": "3.4.60",
|
|
33
33
|
"@salesforce/plugin-limits": "3.3.54",
|
|
@@ -4706,9 +4706,9 @@
|
|
|
4706
4706
|
}
|
|
4707
4707
|
},
|
|
4708
4708
|
"node_modules/@salesforce/core": {
|
|
4709
|
-
"version": "8.
|
|
4710
|
-
"resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.
|
|
4711
|
-
"integrity": "sha512-
|
|
4709
|
+
"version": "8.11.0",
|
|
4710
|
+
"resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.11.0.tgz",
|
|
4711
|
+
"integrity": "sha512-S4UgHKUy1hykRQVaoYm+LSktQgRhI3ltAUoLGI25/Q8gYokERTa2E7MpPMb+X/kTpjJJvDlnQqelB/sQJs/AKA==",
|
|
4712
4712
|
"license": "BSD-3-Clause",
|
|
4713
4713
|
"dependencies": {
|
|
4714
4714
|
"@jsforce/jsforce-node": "^3.8.1",
|
|
@@ -5045,14 +5045,14 @@
|
|
|
5045
5045
|
}
|
|
5046
5046
|
},
|
|
5047
5047
|
"node_modules/@salesforce/plugin-data": {
|
|
5048
|
-
"version": "4.0.
|
|
5049
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-data/-/plugin-data-4.0.
|
|
5050
|
-
"integrity": "sha512-
|
|
5048
|
+
"version": "4.0.33",
|
|
5049
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-data/-/plugin-data-4.0.33.tgz",
|
|
5050
|
+
"integrity": "sha512-dVR7YVknqVbAuQplyf9BwWFV7T0sydDCU6ZCWCq4BpaobtV6hS5VcR4qjdZ/kTKiIDZpncUN0TS8sbMOWbmBHQ==",
|
|
5051
5051
|
"license": "Apache-2.0",
|
|
5052
5052
|
"dependencies": {
|
|
5053
5053
|
"@jsforce/jsforce-node": "^3.6.6",
|
|
5054
5054
|
"@oclif/multi-stage-output": "^0.8.13",
|
|
5055
|
-
"@salesforce/core": "^8.
|
|
5055
|
+
"@salesforce/core": "^8.11.0",
|
|
5056
5056
|
"@salesforce/kit": "^3.2.2",
|
|
5057
5057
|
"@salesforce/sf-plugins-core": "^12.2.1",
|
|
5058
5058
|
"@salesforce/ts-types": "^2.0.11",
|
package/oclif.lock
CHANGED
|
@@ -1962,10 +1962,10 @@
|
|
|
1962
1962
|
strip-ansi "6.0.1"
|
|
1963
1963
|
ts-retry-promise "^0.8.1"
|
|
1964
1964
|
|
|
1965
|
-
"@salesforce/core@^8.10.0", "@salesforce/core@^8.10.1", "@salesforce/core@^8.10.2", "@salesforce/core@^8.10.3", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.1", "@salesforce/core@^8.8.5", "@salesforce/core@^8.8.7", "@salesforce/core@^8.9.1":
|
|
1966
|
-
version "8.
|
|
1967
|
-
resolved "https://registry.npmjs.org/@salesforce/core/-/core-8.
|
|
1968
|
-
integrity sha512-
|
|
1965
|
+
"@salesforce/core@^8.10.0", "@salesforce/core@^8.10.1", "@salesforce/core@^8.10.2", "@salesforce/core@^8.10.3", "@salesforce/core@^8.11.0", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.1", "@salesforce/core@^8.8.5", "@salesforce/core@^8.8.7", "@salesforce/core@^8.9.1":
|
|
1966
|
+
version "8.11.0"
|
|
1967
|
+
resolved "https://registry.npmjs.org/@salesforce/core/-/core-8.11.0.tgz"
|
|
1968
|
+
integrity sha512-S4UgHKUy1hykRQVaoYm+LSktQgRhI3ltAUoLGI25/Q8gYokERTa2E7MpPMb+X/kTpjJJvDlnQqelB/sQJs/AKA==
|
|
1969
1969
|
dependencies:
|
|
1970
1970
|
"@jsforce/jsforce-node" "^3.8.1"
|
|
1971
1971
|
"@salesforce/kit" "^3.2.2"
|
|
@@ -2105,14 +2105,14 @@
|
|
|
2105
2105
|
debug "^4.4.0"
|
|
2106
2106
|
handlebars "^4.7.8"
|
|
2107
2107
|
|
|
2108
|
-
"@salesforce/plugin-data@4.0.
|
|
2109
|
-
version "4.0.
|
|
2110
|
-
resolved "https://registry.npmjs.org/@salesforce/plugin-data/-/plugin-data-4.0.
|
|
2111
|
-
integrity sha512-
|
|
2108
|
+
"@salesforce/plugin-data@4.0.33":
|
|
2109
|
+
version "4.0.33"
|
|
2110
|
+
resolved "https://registry.npmjs.org/@salesforce/plugin-data/-/plugin-data-4.0.33.tgz"
|
|
2111
|
+
integrity sha512-dVR7YVknqVbAuQplyf9BwWFV7T0sydDCU6ZCWCq4BpaobtV6hS5VcR4qjdZ/kTKiIDZpncUN0TS8sbMOWbmBHQ==
|
|
2112
2112
|
dependencies:
|
|
2113
2113
|
"@jsforce/jsforce-node" "^3.6.6"
|
|
2114
2114
|
"@oclif/multi-stage-output" "^0.8.13"
|
|
2115
|
-
"@salesforce/core" "^8.
|
|
2115
|
+
"@salesforce/core" "^8.11.0"
|
|
2116
2116
|
"@salesforce/kit" "^3.2.2"
|
|
2117
2117
|
"@salesforce/sf-plugins-core" "^12.2.1"
|
|
2118
2118
|
"@salesforce/ts-types" "^2.0.11"
|
package/oclif.manifest.json
CHANGED
|
@@ -4926,7 +4926,7 @@
|
|
|
4926
4926
|
"agent:preview": {
|
|
4927
4927
|
"aliases": [],
|
|
4928
4928
|
"args": {},
|
|
4929
|
-
"description": "Use this command to have a natural language conversation with an active agent in your org, as if you were an actual user. The interface is simple: in the \"Start typing...\" prompt, enter a statement, question, or command; when you're done, enter Return. Your utterance is posted on the right along with a timestamp. The agent then responds on the left. To exit the conversation, hit ESC or Control+C.\n\nThis command is useful to test if the agent responds to your utterances as you expect. For example, you can test that the agent uses a particular topic when asked a question, and then whether it invokes the correct action associated with that topic. This command is the CLI-equivalent of the Conversation Preview panel in your org's Agent Builder UI.\n\nWhen the session concludes, the command asks if you want to save the API responses and chat transcripts. By default, the files are saved to the \"./temp/agent-preview\" directory. Specify a new default directory by setting the environment variable \"SF_AGENT_PREVIEW_OUTPUT_DIR\" to the directory. Or you can pass the directory to the --output-dir flag.\n\nFind the agent's API name in its main details page in your org's Agent page in Setup.\n\nBefore you use this command, you must complete these steps:\n
|
|
4929
|
+
"description": "Use this command to have a natural language conversation with an active agent in your org, as if you were an actual user. The interface is simple: in the \"Start typing...\" prompt, enter a statement, question, or command; when you're done, enter Return. Your utterance is posted on the right along with a timestamp. The agent then responds on the left. To exit the conversation, hit ESC or Control+C.\n\nThis command is useful to test if the agent responds to your utterances as you expect. For example, you can test that the agent uses a particular topic when asked a question, and then whether it invokes the correct action associated with that topic. This command is the CLI-equivalent of the Conversation Preview panel in your org's Agent Builder UI.\n\nWhen the session concludes, the command asks if you want to save the API responses and chat transcripts. By default, the files are saved to the \"./temp/agent-preview\" directory. Specify a new default directory by setting the environment variable \"SF_AGENT_PREVIEW_OUTPUT_DIR\" to the directory. Or you can pass the directory to the --output-dir flag.\n\nFind the agent's API name in its main details page in your org's Agent page in Setup.\n\nBefore you use this command, you must complete these steps:\n\n1. Create a connected app in your org as described in the \"Create a Connected App\" section here: https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#create-a-connected-app. Do these four additional steps:\n\n a. When specifying the connected app's Callback URL, add this second callback URL on a new line: \"http://localhost:1717/OauthRedirect\".\n\n b. When adding the scopes to the connected app, add \"Manage user data via Web browsers (web)\".\n\n c. Ensure that the \"Require Secret for Web Server Flow\" option is not selected.\n\n d. Make note of the user that you specified as the \"Run As\" user when updating the Client Credentials Flow section.\n\n2. Add the connected app to your agent as described in the \"Add Connected App to Agent\" section here: https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#add-connected-app-to-agent.\n\n3. Copy the consumer key from your connected app as described in the \"Obtain Credentials\" section here: https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#obtain-credentials.\n\n4. Set the \"SFDX_AUTH_SCOPES\" environment variable to \"refresh_token sfap_api chatbot_api web api\". This step ensures that you get the specific OAuth scopes required by this command.\n\n5. Using the username of the user you specified as the \"Run As\" user above, authorize your org using the web server flow, as described in this document: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_auth_web_flow.htm.\n\n IMPORTANT: You must use the \"--client-id <CONNECTED-APP-CONSUMER-KEY>\" flag of \"org login web\", where CONNECTED-APP-CONSUMER-KEY is the consumer key you previously copied. This step ensures that the \"org login web\" command uses your custom connected app, and not the default CLI connected app.\n\n Press Enter to skip sharing the client secret.\n\n6. When you run this command to interact with an agent, specify the username you authorized in the preceding step with the --connected-app-user (-a) flag.",
|
|
4930
4930
|
"examples": [
|
|
4931
4931
|
"Interact with an agent with API name \"Resort_Manager\" in the org with alias \"my-org\". Connect to your agent using the alias \"my-agent-user\"; this alias must point to the username who is authorized using the Web server flow:\n<%= config.bin %> <%= command.id %> --api-name \"Resort_Manager\" --target-org my-org --connected-app-user my-agent-user",
|
|
4932
4932
|
"Same as the preceding example, but this time save the conversation transcripts to the \"./transcripts/my-preview\" directory rather than the default \"./temp/agent-preview\":\n<%= config.bin %> <%= command.id %> --api-name \"Resort_Manager\" --target-org my-org --connected-app-user my-agent-user --output-dir \"transcripts/my-preview\""
|
|
@@ -4982,6 +4982,13 @@
|
|
|
4982
4982
|
"hasDynamicHelp": false,
|
|
4983
4983
|
"multiple": false,
|
|
4984
4984
|
"type": "option"
|
|
4985
|
+
},
|
|
4986
|
+
"apex-debug": {
|
|
4987
|
+
"char": "x",
|
|
4988
|
+
"name": "apex-debug",
|
|
4989
|
+
"summary": "Enable Apex debug logging during the agent preview conversation.",
|
|
4990
|
+
"allowNo": false,
|
|
4991
|
+
"type": "boolean"
|
|
4985
4992
|
}
|
|
4986
4993
|
},
|
|
4987
4994
|
"hasDynamicHelp": true,
|
|
@@ -5926,5 +5933,5 @@
|
|
|
5926
5933
|
]
|
|
5927
5934
|
}
|
|
5928
5935
|
},
|
|
5929
|
-
"version": "2.90.
|
|
5936
|
+
"version": "2.90.2"
|
|
5930
5937
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
3
|
"description": "The Salesforce CLI",
|
|
4
|
-
"version": "2.90.
|
|
4
|
+
"version": "2.90.2",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf": "./bin/run.js",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@salesforce/plugin-signups": "2.6.26",
|
|
85
85
|
"@salesforce/sfdx-plugin-lwc-test": "1.2.1",
|
|
86
86
|
"@salesforce/sfdx-scanner": "4.12.0",
|
|
87
|
-
"@salesforce/plugin-agent": "1.
|
|
87
|
+
"@salesforce/plugin-agent": "1.22.1"
|
|
88
88
|
},
|
|
89
89
|
"devPlugins": [
|
|
90
90
|
"@oclif/plugin-command-snapshot",
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
"@salesforce/plugin-apex": "3.6.17",
|
|
162
162
|
"@salesforce/plugin-api": "1.3.3",
|
|
163
163
|
"@salesforce/plugin-auth": "3.6.120",
|
|
164
|
-
"@salesforce/plugin-data": "4.0.
|
|
164
|
+
"@salesforce/plugin-data": "4.0.33",
|
|
165
165
|
"@salesforce/plugin-deploy-retrieve": "3.22.11",
|
|
166
166
|
"@salesforce/plugin-info": "3.4.60",
|
|
167
167
|
"@salesforce/plugin-limits": "3.3.54",
|