@salesforce/plugin-agent 1.11.0 → 1.11.1
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 +34 -31
- package/lib/commands/agent/create-v2.d.ts +3 -7
- package/lib/commands/agent/create-v2.js +31 -75
- package/lib/commands/agent/create-v2.js.map +1 -1
- package/lib/commands/agent/generate/spec-v2.d.ts +64 -1
- package/lib/commands/agent/generate/spec-v2.js +170 -19
- package/lib/commands/agent/generate/spec-v2.js.map +1 -1
- package/lib/flags.d.ts +1 -28
- package/lib/flags.js +3 -41
- package/lib/flags.js.map +1 -1
- package/messages/agent.create-v2.md +5 -17
- package/messages/agent.generate.spec-v2.md +68 -0
- package/messages/shared.md +0 -20
- package/npm-shrinkwrap.json +109 -98
- package/oclif.lock +25 -5
- package/oclif.manifest.json +51 -51
- package/package.json +4 -4
- package/schemas/agent-create__v2.json +129 -5
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-agent",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/plugin-agent",
|
|
9
|
-
"version": "1.11.
|
|
9
|
+
"version": "1.11.1",
|
|
10
10
|
"license": "BSD-3-Clause",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@inquirer/figures": "^1.0.7",
|
|
13
13
|
"@inquirer/prompts": "^7.2.0",
|
|
14
14
|
"@oclif/core": "^4",
|
|
15
15
|
"@oclif/multi-stage-output": "^0.7.12",
|
|
16
|
-
"@salesforce/agents": "^0.9.
|
|
16
|
+
"@salesforce/agents": "^0.9.2",
|
|
17
17
|
"@salesforce/core": "^8.8.0",
|
|
18
18
|
"@salesforce/kit": "^3.2.1",
|
|
19
19
|
"@salesforce/sf-plugins-core": "^12.1.0",
|
|
@@ -3350,15 +3350,15 @@
|
|
|
3350
3350
|
}
|
|
3351
3351
|
},
|
|
3352
3352
|
"node_modules/@salesforce/agents": {
|
|
3353
|
-
"version": "0.9.
|
|
3354
|
-
"resolved": "https://registry.npmjs.org/@salesforce/agents/-/agents-0.9.
|
|
3355
|
-
"integrity": "sha512-
|
|
3353
|
+
"version": "0.9.2",
|
|
3354
|
+
"resolved": "https://registry.npmjs.org/@salesforce/agents/-/agents-0.9.2.tgz",
|
|
3355
|
+
"integrity": "sha512-z/+mMa1GgiEwFpg+FD40ahzJhtf7Am5G8H+qHXjrUBijk7CdFm5lGZGvX0+LzhxD/Atn44qOo05V3Z3RuN7qYw==",
|
|
3356
3356
|
"license": "BSD-3-Clause",
|
|
3357
3357
|
"dependencies": {
|
|
3358
3358
|
"@salesforce/core": "^8.8.2",
|
|
3359
3359
|
"@salesforce/kit": "^3.2.3",
|
|
3360
3360
|
"@salesforce/sf-plugins-core": "^12.1.2",
|
|
3361
|
-
"@salesforce/source-deploy-retrieve": "^12.14.
|
|
3361
|
+
"@salesforce/source-deploy-retrieve": "^12.14.1",
|
|
3362
3362
|
"ansis": "^3.9.0",
|
|
3363
3363
|
"fast-xml-parser": "^4.5.1",
|
|
3364
3364
|
"nock": "^13.5.6",
|
|
@@ -3368,6 +3368,46 @@
|
|
|
3368
3368
|
"node": ">=18.0.0"
|
|
3369
3369
|
}
|
|
3370
3370
|
},
|
|
3371
|
+
"node_modules/@salesforce/agents/node_modules/@salesforce/source-deploy-retrieve": {
|
|
3372
|
+
"version": "12.14.1",
|
|
3373
|
+
"resolved": "https://registry.npmjs.org/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.14.1.tgz",
|
|
3374
|
+
"integrity": "sha512-8POp6tqoeciDFAv7a40LG21aHZ2XGHvX0/ySqcjcAVhTVhVhcP0EpC+qO+SSKjB6Ocf0/6iXMo5ciU2Eq32ydw==",
|
|
3375
|
+
"license": "BSD-3-Clause",
|
|
3376
|
+
"dependencies": {
|
|
3377
|
+
"@salesforce/core": "^8.8.2",
|
|
3378
|
+
"@salesforce/kit": "^3.2.3",
|
|
3379
|
+
"@salesforce/ts-types": "^2.0.12",
|
|
3380
|
+
"fast-levenshtein": "^3.0.0",
|
|
3381
|
+
"fast-xml-parser": "^4.5.1",
|
|
3382
|
+
"got": "^11.8.6",
|
|
3383
|
+
"graceful-fs": "^4.2.11",
|
|
3384
|
+
"ignore": "^5.3.2",
|
|
3385
|
+
"isbinaryfile": "^5.0.2",
|
|
3386
|
+
"jszip": "^3.10.1",
|
|
3387
|
+
"mime": "2.6.0",
|
|
3388
|
+
"minimatch": "^9.0.5",
|
|
3389
|
+
"proxy-agent": "^6.4.0",
|
|
3390
|
+
"yaml": "^2.6.1"
|
|
3391
|
+
},
|
|
3392
|
+
"engines": {
|
|
3393
|
+
"node": ">=18.0.0"
|
|
3394
|
+
}
|
|
3395
|
+
},
|
|
3396
|
+
"node_modules/@salesforce/agents/node_modules/minimatch": {
|
|
3397
|
+
"version": "9.0.5",
|
|
3398
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
|
|
3399
|
+
"integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
|
|
3400
|
+
"license": "ISC",
|
|
3401
|
+
"dependencies": {
|
|
3402
|
+
"brace-expansion": "^2.0.1"
|
|
3403
|
+
},
|
|
3404
|
+
"engines": {
|
|
3405
|
+
"node": ">=16 || 14 >=14.17"
|
|
3406
|
+
},
|
|
3407
|
+
"funding": {
|
|
3408
|
+
"url": "https://github.com/sponsors/isaacs"
|
|
3409
|
+
}
|
|
3410
|
+
},
|
|
3371
3411
|
"node_modules/@salesforce/cli-plugins-testkit": {
|
|
3372
3412
|
"version": "5.3.35",
|
|
3373
3413
|
"resolved": "https://registry.npmjs.org/@salesforce/cli-plugins-testkit/-/cli-plugins-testkit-5.3.35.tgz",
|
|
@@ -5763,74 +5803,33 @@
|
|
|
5763
5803
|
}
|
|
5764
5804
|
},
|
|
5765
5805
|
"node_modules/cacheable-request": {
|
|
5766
|
-
"version": "
|
|
5767
|
-
"resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-
|
|
5768
|
-
"integrity": "sha512-
|
|
5769
|
-
"dev": true,
|
|
5806
|
+
"version": "7.0.4",
|
|
5807
|
+
"resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.4.tgz",
|
|
5808
|
+
"integrity": "sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg==",
|
|
5770
5809
|
"license": "MIT",
|
|
5771
5810
|
"dependencies": {
|
|
5772
|
-
"
|
|
5773
|
-
"get-stream": "^
|
|
5774
|
-
"http-cache-semantics": "^4.
|
|
5775
|
-
"keyv": "^4.
|
|
5776
|
-
"
|
|
5777
|
-
"normalize-url": "^
|
|
5778
|
-
"responselike": "^
|
|
5779
|
-
},
|
|
5780
|
-
"engines": {
|
|
5781
|
-
"node": ">=14.16"
|
|
5782
|
-
}
|
|
5783
|
-
},
|
|
5784
|
-
"node_modules/cacheable-request/node_modules/lowercase-keys": {
|
|
5785
|
-
"version": "3.0.0",
|
|
5786
|
-
"resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-3.0.0.tgz",
|
|
5787
|
-
"integrity": "sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ==",
|
|
5788
|
-
"dev": true,
|
|
5789
|
-
"license": "MIT",
|
|
5790
|
-
"engines": {
|
|
5791
|
-
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
|
5792
|
-
},
|
|
5793
|
-
"funding": {
|
|
5794
|
-
"url": "https://github.com/sponsors/sindresorhus"
|
|
5795
|
-
}
|
|
5796
|
-
},
|
|
5797
|
-
"node_modules/cacheable-request/node_modules/mimic-response": {
|
|
5798
|
-
"version": "4.0.0",
|
|
5799
|
-
"resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-4.0.0.tgz",
|
|
5800
|
-
"integrity": "sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg==",
|
|
5801
|
-
"dev": true,
|
|
5802
|
-
"license": "MIT",
|
|
5803
|
-
"engines": {
|
|
5804
|
-
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
|
5811
|
+
"clone-response": "^1.0.2",
|
|
5812
|
+
"get-stream": "^5.1.0",
|
|
5813
|
+
"http-cache-semantics": "^4.0.0",
|
|
5814
|
+
"keyv": "^4.0.0",
|
|
5815
|
+
"lowercase-keys": "^2.0.0",
|
|
5816
|
+
"normalize-url": "^6.0.1",
|
|
5817
|
+
"responselike": "^2.0.0"
|
|
5805
5818
|
},
|
|
5806
|
-
"funding": {
|
|
5807
|
-
"url": "https://github.com/sponsors/sindresorhus"
|
|
5808
|
-
}
|
|
5809
|
-
},
|
|
5810
|
-
"node_modules/cacheable-request/node_modules/normalize-url": {
|
|
5811
|
-
"version": "8.0.1",
|
|
5812
|
-
"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.1.tgz",
|
|
5813
|
-
"integrity": "sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w==",
|
|
5814
|
-
"dev": true,
|
|
5815
|
-
"license": "MIT",
|
|
5816
5819
|
"engines": {
|
|
5817
|
-
"node": ">=
|
|
5818
|
-
},
|
|
5819
|
-
"funding": {
|
|
5820
|
-
"url": "https://github.com/sponsors/sindresorhus"
|
|
5820
|
+
"node": ">=8"
|
|
5821
5821
|
}
|
|
5822
5822
|
},
|
|
5823
|
-
"node_modules/cacheable-request/node_modules/
|
|
5824
|
-
"version": "
|
|
5825
|
-
"resolved": "https://registry.npmjs.org/
|
|
5826
|
-
"integrity": "sha512-
|
|
5827
|
-
"dev": true,
|
|
5823
|
+
"node_modules/cacheable-request/node_modules/get-stream": {
|
|
5824
|
+
"version": "5.2.0",
|
|
5825
|
+
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
|
|
5826
|
+
"integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
|
|
5828
5827
|
"license": "MIT",
|
|
5829
5828
|
"dependencies": {
|
|
5830
|
-
"
|
|
5829
|
+
"pump": "^3.0.0"
|
|
5831
5830
|
},
|
|
5832
5831
|
"engines": {
|
|
5833
|
-
"node": ">=
|
|
5832
|
+
"node": ">=8"
|
|
5834
5833
|
},
|
|
5835
5834
|
"funding": {
|
|
5836
5835
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
@@ -8886,39 +8885,6 @@
|
|
|
8886
8885
|
"url": "https://github.com/sindresorhus/got?sponsor=1"
|
|
8887
8886
|
}
|
|
8888
8887
|
},
|
|
8889
|
-
"node_modules/got/node_modules/cacheable-request": {
|
|
8890
|
-
"version": "7.0.4",
|
|
8891
|
-
"resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.4.tgz",
|
|
8892
|
-
"integrity": "sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg==",
|
|
8893
|
-
"license": "MIT",
|
|
8894
|
-
"dependencies": {
|
|
8895
|
-
"clone-response": "^1.0.2",
|
|
8896
|
-
"get-stream": "^5.1.0",
|
|
8897
|
-
"http-cache-semantics": "^4.0.0",
|
|
8898
|
-
"keyv": "^4.0.0",
|
|
8899
|
-
"lowercase-keys": "^2.0.0",
|
|
8900
|
-
"normalize-url": "^6.0.1",
|
|
8901
|
-
"responselike": "^2.0.0"
|
|
8902
|
-
},
|
|
8903
|
-
"engines": {
|
|
8904
|
-
"node": ">=8"
|
|
8905
|
-
}
|
|
8906
|
-
},
|
|
8907
|
-
"node_modules/got/node_modules/get-stream": {
|
|
8908
|
-
"version": "5.2.0",
|
|
8909
|
-
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
|
|
8910
|
-
"integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
|
|
8911
|
-
"license": "MIT",
|
|
8912
|
-
"dependencies": {
|
|
8913
|
-
"pump": "^3.0.0"
|
|
8914
|
-
},
|
|
8915
|
-
"engines": {
|
|
8916
|
-
"node": ">=8"
|
|
8917
|
-
},
|
|
8918
|
-
"funding": {
|
|
8919
|
-
"url": "https://github.com/sponsors/sindresorhus"
|
|
8920
|
-
}
|
|
8921
|
-
},
|
|
8922
8888
|
"node_modules/graceful-fs": {
|
|
8923
8889
|
"version": "4.2.11",
|
|
8924
8890
|
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
|
|
@@ -11989,6 +11955,25 @@
|
|
|
11989
11955
|
"node": ">=14.16"
|
|
11990
11956
|
}
|
|
11991
11957
|
},
|
|
11958
|
+
"node_modules/oclif/node_modules/cacheable-request": {
|
|
11959
|
+
"version": "10.2.14",
|
|
11960
|
+
"resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.14.tgz",
|
|
11961
|
+
"integrity": "sha512-zkDT5WAF4hSSoUgyfg5tFIxz8XQK+25W/TLVojJTMKBaxevLBBtLxgqguAuVQB8PVW79FVjHcU+GJ9tVbDZ9mQ==",
|
|
11962
|
+
"dev": true,
|
|
11963
|
+
"license": "MIT",
|
|
11964
|
+
"dependencies": {
|
|
11965
|
+
"@types/http-cache-semantics": "^4.0.2",
|
|
11966
|
+
"get-stream": "^6.0.1",
|
|
11967
|
+
"http-cache-semantics": "^4.1.1",
|
|
11968
|
+
"keyv": "^4.5.3",
|
|
11969
|
+
"mimic-response": "^4.0.0",
|
|
11970
|
+
"normalize-url": "^8.0.0",
|
|
11971
|
+
"responselike": "^3.0.0"
|
|
11972
|
+
},
|
|
11973
|
+
"engines": {
|
|
11974
|
+
"node": ">=14.16"
|
|
11975
|
+
}
|
|
11976
|
+
},
|
|
11992
11977
|
"node_modules/oclif/node_modules/got": {
|
|
11993
11978
|
"version": "13.0.0",
|
|
11994
11979
|
"resolved": "https://registry.npmjs.org/got/-/got-13.0.0.tgz",
|
|
@@ -12055,6 +12040,19 @@
|
|
|
12055
12040
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
12056
12041
|
}
|
|
12057
12042
|
},
|
|
12043
|
+
"node_modules/oclif/node_modules/mimic-response": {
|
|
12044
|
+
"version": "4.0.0",
|
|
12045
|
+
"resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-4.0.0.tgz",
|
|
12046
|
+
"integrity": "sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg==",
|
|
12047
|
+
"dev": true,
|
|
12048
|
+
"license": "MIT",
|
|
12049
|
+
"engines": {
|
|
12050
|
+
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
|
12051
|
+
},
|
|
12052
|
+
"funding": {
|
|
12053
|
+
"url": "https://github.com/sponsors/sindresorhus"
|
|
12054
|
+
}
|
|
12055
|
+
},
|
|
12058
12056
|
"node_modules/oclif/node_modules/normalize-package-data": {
|
|
12059
12057
|
"version": "6.0.1",
|
|
12060
12058
|
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.1.tgz",
|
|
@@ -12071,6 +12069,19 @@
|
|
|
12071
12069
|
"node": "^16.14.0 || >=18.0.0"
|
|
12072
12070
|
}
|
|
12073
12071
|
},
|
|
12072
|
+
"node_modules/oclif/node_modules/normalize-url": {
|
|
12073
|
+
"version": "8.0.1",
|
|
12074
|
+
"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.1.tgz",
|
|
12075
|
+
"integrity": "sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w==",
|
|
12076
|
+
"dev": true,
|
|
12077
|
+
"license": "MIT",
|
|
12078
|
+
"engines": {
|
|
12079
|
+
"node": ">=14.16"
|
|
12080
|
+
},
|
|
12081
|
+
"funding": {
|
|
12082
|
+
"url": "https://github.com/sponsors/sindresorhus"
|
|
12083
|
+
}
|
|
12084
|
+
},
|
|
12074
12085
|
"node_modules/oclif/node_modules/p-cancelable": {
|
|
12075
12086
|
"version": "3.0.0",
|
|
12076
12087
|
"resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-3.0.0.tgz",
|
package/oclif.lock
CHANGED
|
@@ -1462,15 +1462,15 @@
|
|
|
1462
1462
|
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
|
|
1463
1463
|
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
|
|
1464
1464
|
|
|
1465
|
-
"@salesforce/agents@^0.9.
|
|
1466
|
-
version "0.9.
|
|
1467
|
-
resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-0.9.
|
|
1468
|
-
integrity sha512-
|
|
1465
|
+
"@salesforce/agents@^0.9.2":
|
|
1466
|
+
version "0.9.2"
|
|
1467
|
+
resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-0.9.2.tgz#eacad6fab97cd156484b78a974f47389efaefb27"
|
|
1468
|
+
integrity sha512-z/+mMa1GgiEwFpg+FD40ahzJhtf7Am5G8H+qHXjrUBijk7CdFm5lGZGvX0+LzhxD/Atn44qOo05V3Z3RuN7qYw==
|
|
1469
1469
|
dependencies:
|
|
1470
1470
|
"@salesforce/core" "^8.8.2"
|
|
1471
1471
|
"@salesforce/kit" "^3.2.3"
|
|
1472
1472
|
"@salesforce/sf-plugins-core" "^12.1.2"
|
|
1473
|
-
"@salesforce/source-deploy-retrieve" "^12.14.
|
|
1473
|
+
"@salesforce/source-deploy-retrieve" "^12.14.1"
|
|
1474
1474
|
ansis "^3.9.0"
|
|
1475
1475
|
fast-xml-parser "^4.5.1"
|
|
1476
1476
|
nock "^13.5.6"
|
|
@@ -1638,6 +1638,26 @@
|
|
|
1638
1638
|
proxy-agent "^6.4.0"
|
|
1639
1639
|
yaml "^2.6.1"
|
|
1640
1640
|
|
|
1641
|
+
"@salesforce/source-deploy-retrieve@^12.14.1":
|
|
1642
|
+
version "12.14.1"
|
|
1643
|
+
resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.14.1.tgz#9067388b1eb9fadda7e6ccd894e9d1bb0e8407d5"
|
|
1644
|
+
integrity sha512-8POp6tqoeciDFAv7a40LG21aHZ2XGHvX0/ySqcjcAVhTVhVhcP0EpC+qO+SSKjB6Ocf0/6iXMo5ciU2Eq32ydw==
|
|
1645
|
+
dependencies:
|
|
1646
|
+
"@salesforce/core" "^8.8.2"
|
|
1647
|
+
"@salesforce/kit" "^3.2.3"
|
|
1648
|
+
"@salesforce/ts-types" "^2.0.12"
|
|
1649
|
+
fast-levenshtein "^3.0.0"
|
|
1650
|
+
fast-xml-parser "^4.5.1"
|
|
1651
|
+
got "^11.8.6"
|
|
1652
|
+
graceful-fs "^4.2.11"
|
|
1653
|
+
ignore "^5.3.2"
|
|
1654
|
+
isbinaryfile "^5.0.2"
|
|
1655
|
+
jszip "^3.10.1"
|
|
1656
|
+
mime "2.6.0"
|
|
1657
|
+
minimatch "^9.0.5"
|
|
1658
|
+
proxy-agent "^6.4.0"
|
|
1659
|
+
yaml "^2.6.1"
|
|
1660
|
+
|
|
1641
1661
|
"@salesforce/ts-types@^2.0.10", "@salesforce/ts-types@^2.0.11", "@salesforce/ts-types@^2.0.12":
|
|
1642
1662
|
version "2.0.12"
|
|
1643
1663
|
resolved "https://registry.yarnpkg.com/@salesforce/ts-types/-/ts-types-2.0.12.tgz#60420622812a7ec7e46d220667bc29b42dc247ff"
|
package/oclif.manifest.json
CHANGED
|
@@ -48,36 +48,6 @@
|
|
|
48
48
|
"multiple": false,
|
|
49
49
|
"type": "option"
|
|
50
50
|
},
|
|
51
|
-
"user-id": {
|
|
52
|
-
"name": "user-id",
|
|
53
|
-
"summary": "ID of a user in your org that is assigned to your agent; determines what your agent can access and do.",
|
|
54
|
-
"hasDynamicHelp": false,
|
|
55
|
-
"multiple": false,
|
|
56
|
-
"type": "option"
|
|
57
|
-
},
|
|
58
|
-
"enrich-logs": {
|
|
59
|
-
"name": "enrich-logs",
|
|
60
|
-
"summary": "Adds agent conversation data to event logs so you can view all agent session activity in one place.",
|
|
61
|
-
"hasDynamicHelp": false,
|
|
62
|
-
"multiple": false,
|
|
63
|
-
"options": [
|
|
64
|
-
"true",
|
|
65
|
-
"false"
|
|
66
|
-
],
|
|
67
|
-
"type": "option"
|
|
68
|
-
},
|
|
69
|
-
"tone": {
|
|
70
|
-
"name": "tone",
|
|
71
|
-
"summary": "Conversational style of the agent, such as how it expresses your brand personality in its messages through word choice, punctuation, and sentence structure.",
|
|
72
|
-
"hasDynamicHelp": false,
|
|
73
|
-
"multiple": false,
|
|
74
|
-
"options": [
|
|
75
|
-
"formal",
|
|
76
|
-
"casual",
|
|
77
|
-
"neutral"
|
|
78
|
-
],
|
|
79
|
-
"type": "option"
|
|
80
|
-
},
|
|
81
51
|
"spec": {
|
|
82
52
|
"name": "spec",
|
|
83
53
|
"required": true,
|
|
@@ -93,28 +63,16 @@
|
|
|
93
63
|
"type": "boolean"
|
|
94
64
|
},
|
|
95
65
|
"agent-api-name": {
|
|
96
|
-
"hidden": true,
|
|
97
66
|
"name": "agent-api-name",
|
|
98
67
|
"summary": "API name of the new agent; if not specified, the API name is derived from the agent name (label); the API name must not exist in the org.",
|
|
99
68
|
"hasDynamicHelp": false,
|
|
100
69
|
"multiple": false,
|
|
101
70
|
"type": "option"
|
|
102
71
|
},
|
|
103
|
-
"primary-language": {
|
|
104
|
-
"hidden": true,
|
|
105
|
-
"name": "primary-language",
|
|
106
|
-
"summary": "Language the agent uses in conversations.",
|
|
107
|
-
"default": "en_US",
|
|
108
|
-
"hasDynamicHelp": false,
|
|
109
|
-
"multiple": false,
|
|
110
|
-
"options": [
|
|
111
|
-
"en_US"
|
|
112
|
-
],
|
|
113
|
-
"type": "option"
|
|
114
|
-
},
|
|
115
72
|
"planner-id": {
|
|
73
|
+
"hidden": true,
|
|
116
74
|
"name": "planner-id",
|
|
117
|
-
"summary": "
|
|
75
|
+
"summary": "An existing GenAiPlanner ID to associate with the agent.",
|
|
118
76
|
"hasDynamicHelp": false,
|
|
119
77
|
"multiple": false,
|
|
120
78
|
"type": "option"
|
|
@@ -377,6 +335,43 @@
|
|
|
377
335
|
"multiple": false,
|
|
378
336
|
"type": "option"
|
|
379
337
|
},
|
|
338
|
+
"max-topics": {
|
|
339
|
+
"name": "max-topics",
|
|
340
|
+
"summary": "Maximum number of topics to generate in the agent spec; default is 10.",
|
|
341
|
+
"hasDynamicHelp": false,
|
|
342
|
+
"multiple": false,
|
|
343
|
+
"type": "option"
|
|
344
|
+
},
|
|
345
|
+
"agent-user": {
|
|
346
|
+
"name": "agent-user",
|
|
347
|
+
"summary": "Username of a user in your org to assign to your agent; determines what your agent can access and do.",
|
|
348
|
+
"hasDynamicHelp": false,
|
|
349
|
+
"multiple": false,
|
|
350
|
+
"type": "option"
|
|
351
|
+
},
|
|
352
|
+
"enrich-logs": {
|
|
353
|
+
"name": "enrich-logs",
|
|
354
|
+
"summary": "Adds agent conversation data to event logs so you can view all agent session activity in one place.",
|
|
355
|
+
"hasDynamicHelp": false,
|
|
356
|
+
"multiple": false,
|
|
357
|
+
"options": [
|
|
358
|
+
"true",
|
|
359
|
+
"false"
|
|
360
|
+
],
|
|
361
|
+
"type": "option"
|
|
362
|
+
},
|
|
363
|
+
"tone": {
|
|
364
|
+
"name": "tone",
|
|
365
|
+
"summary": "Conversational style of the agent, such as how it expresses your brand personality in its messages through word choice, punctuation, and sentence structure.",
|
|
366
|
+
"hasDynamicHelp": false,
|
|
367
|
+
"multiple": false,
|
|
368
|
+
"options": [
|
|
369
|
+
"formal",
|
|
370
|
+
"casual",
|
|
371
|
+
"neutral"
|
|
372
|
+
],
|
|
373
|
+
"type": "option"
|
|
374
|
+
},
|
|
380
375
|
"spec": {
|
|
381
376
|
"name": "spec",
|
|
382
377
|
"summary": "Agent spec file, in YAML format, to use as input to the command.",
|
|
@@ -392,12 +387,11 @@
|
|
|
392
387
|
"multiple": false,
|
|
393
388
|
"type": "option"
|
|
394
389
|
},
|
|
395
|
-
"
|
|
396
|
-
"name": "
|
|
397
|
-
"summary": "
|
|
398
|
-
"
|
|
399
|
-
"
|
|
400
|
-
"type": "option"
|
|
390
|
+
"full-interview": {
|
|
391
|
+
"name": "full-interview",
|
|
392
|
+
"summary": "Prompt for both required and optional flags.",
|
|
393
|
+
"allowNo": false,
|
|
394
|
+
"type": "boolean"
|
|
401
395
|
},
|
|
402
396
|
"prompt-template": {
|
|
403
397
|
"name": "prompt-template",
|
|
@@ -415,6 +409,12 @@
|
|
|
415
409
|
"hasDynamicHelp": false,
|
|
416
410
|
"multiple": false,
|
|
417
411
|
"type": "option"
|
|
412
|
+
},
|
|
413
|
+
"no-prompt": {
|
|
414
|
+
"name": "no-prompt",
|
|
415
|
+
"summary": "Don't prompt the user to confirm spec file overwrite.",
|
|
416
|
+
"allowNo": false,
|
|
417
|
+
"type": "boolean"
|
|
418
418
|
}
|
|
419
419
|
},
|
|
420
420
|
"hasDynamicHelp": true,
|
|
@@ -1198,5 +1198,5 @@
|
|
|
1198
1198
|
]
|
|
1199
1199
|
}
|
|
1200
1200
|
},
|
|
1201
|
-
"version": "1.11.
|
|
1201
|
+
"version": "1.11.1"
|
|
1202
1202
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-agent",
|
|
3
3
|
"description": "Commands to interact with Salesforce agents",
|
|
4
|
-
"version": "1.11.
|
|
4
|
+
"version": "1.11.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"@inquirer/prompts": "^7.2.0",
|
|
10
10
|
"@oclif/core": "^4",
|
|
11
11
|
"@oclif/multi-stage-output": "^0.7.12",
|
|
12
|
-
"@salesforce/agents": "^0.9.
|
|
12
|
+
"@salesforce/agents": "^0.9.2",
|
|
13
13
|
"@salesforce/core": "^8.8.0",
|
|
14
14
|
"@salesforce/kit": "^3.2.1",
|
|
15
15
|
"@salesforce/sf-plugins-core": "^12.1.0",
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
"exports": "./lib/index.js",
|
|
227
227
|
"type": "module",
|
|
228
228
|
"sfdx": {
|
|
229
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.11.
|
|
230
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.11.
|
|
229
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.11.1.crt",
|
|
230
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.11.1.sig"
|
|
231
231
|
}
|
|
232
232
|
}
|
|
@@ -4,18 +4,142 @@
|
|
|
4
4
|
"definitions": {
|
|
5
5
|
"AgentCreateResult": {
|
|
6
6
|
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
7
8
|
"properties": {
|
|
9
|
+
"previewFilePath": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
8
12
|
"isSuccess": {
|
|
9
13
|
"type": "boolean"
|
|
10
14
|
},
|
|
11
15
|
"errorMessage": {
|
|
12
16
|
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"agentId": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"botId": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"botVersionId": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"plannerId": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"required": ["botId", "botVersionId", "plannerId"],
|
|
32
|
+
"additionalProperties": false,
|
|
33
|
+
"description": "If the agent was created with saveAgent=true, these are the IDs that make up an agent; Bot, BotVersion, and GenAiPlanner metadata."
|
|
34
|
+
},
|
|
35
|
+
"agentDefinition": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"properties": {
|
|
38
|
+
"agentDescription": {
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
"topics": {
|
|
42
|
+
"type": "array",
|
|
43
|
+
"items": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"properties": {
|
|
46
|
+
"scope": {
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
"topic": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"actions": {
|
|
53
|
+
"type": "array",
|
|
54
|
+
"items": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"properties": {
|
|
57
|
+
"actionName": {
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"exampleOutput": {
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
"actionDescription": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"inputs": {
|
|
67
|
+
"type": "array",
|
|
68
|
+
"items": {
|
|
69
|
+
"type": "object",
|
|
70
|
+
"properties": {
|
|
71
|
+
"inputName": {
|
|
72
|
+
"type": "string"
|
|
73
|
+
},
|
|
74
|
+
"inputDataType": {
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
"inputDescription": {
|
|
78
|
+
"type": "string"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"required": ["inputName", "inputDataType", "inputDescription"],
|
|
82
|
+
"additionalProperties": false
|
|
83
|
+
},
|
|
84
|
+
"minItems": 1,
|
|
85
|
+
"maxItems": 1
|
|
86
|
+
},
|
|
87
|
+
"outputs": {
|
|
88
|
+
"type": "array",
|
|
89
|
+
"items": {
|
|
90
|
+
"type": "object",
|
|
91
|
+
"properties": {
|
|
92
|
+
"outputName": {
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
95
|
+
"outputDataType": {
|
|
96
|
+
"type": "string"
|
|
97
|
+
},
|
|
98
|
+
"outputDescription": {
|
|
99
|
+
"type": "string"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"required": ["outputName", "outputDataType", "outputDescription"],
|
|
103
|
+
"additionalProperties": false
|
|
104
|
+
},
|
|
105
|
+
"minItems": 1,
|
|
106
|
+
"maxItems": 1
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"required": ["actionName", "exampleOutput", "actionDescription", "inputs", "outputs"],
|
|
110
|
+
"additionalProperties": false
|
|
111
|
+
},
|
|
112
|
+
"minItems": 1,
|
|
113
|
+
"maxItems": 1
|
|
114
|
+
},
|
|
115
|
+
"instructions": {
|
|
116
|
+
"type": "array",
|
|
117
|
+
"items": {
|
|
118
|
+
"type": "string"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"classificationDescription": {
|
|
122
|
+
"type": "string"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"required": ["scope", "topic", "actions", "instructions", "classificationDescription"],
|
|
126
|
+
"additionalProperties": false
|
|
127
|
+
},
|
|
128
|
+
"minItems": 1,
|
|
129
|
+
"maxItems": 1
|
|
130
|
+
},
|
|
131
|
+
"sampleUtterances": {
|
|
132
|
+
"type": "array",
|
|
133
|
+
"items": {
|
|
134
|
+
"type": "string"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"required": ["agentDescription", "topics", "sampleUtterances"],
|
|
139
|
+
"additionalProperties": false
|
|
13
140
|
}
|
|
14
141
|
},
|
|
15
|
-
"required": [
|
|
16
|
-
"isSuccess"
|
|
17
|
-
],
|
|
18
|
-
"additionalProperties": false
|
|
142
|
+
"required": ["agentDefinition", "isSuccess"]
|
|
19
143
|
}
|
|
20
144
|
}
|
|
21
|
-
}
|
|
145
|
+
}
|