@salesforce/plugin-agent 1.32.17 → 1.32.19

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 CHANGED
@@ -126,7 +126,7 @@ EXAMPLES
126
126
  $ sf agent activate --api-name Resort_Manager --version 2 --target-org my-org
127
127
  ```
128
128
 
129
- _See code: [src/commands/agent/activate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.17/src/commands/agent/activate.ts)_
129
+ _See code: [src/commands/agent/activate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.19/src/commands/agent/activate.ts)_
130
130
 
131
131
  ## `sf agent create`
132
132
 
@@ -193,7 +193,7 @@ EXAMPLES
193
193
  $ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
194
194
  ```
195
195
 
196
- _See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.17/src/commands/agent/create.ts)_
196
+ _See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.19/src/commands/agent/create.ts)_
197
197
 
198
198
  ## `sf agent deactivate`
199
199
 
@@ -234,7 +234,7 @@ EXAMPLES
234
234
  $ sf agent deactivate --api-name Resort_Manager --target-org my-org
235
235
  ```
236
236
 
237
- _See code: [src/commands/agent/deactivate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.17/src/commands/agent/deactivate.ts)_
237
+ _See code: [src/commands/agent/deactivate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.19/src/commands/agent/deactivate.ts)_
238
238
 
239
239
  ## `sf agent generate agent-spec`
240
240
 
@@ -341,7 +341,7 @@ EXAMPLES
341
341
  $ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
342
342
  ```
343
343
 
344
- _See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.17/src/commands/agent/generate/agent-spec.ts)_
344
+ _See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.19/src/commands/agent/generate/agent-spec.ts)_
345
345
 
346
346
  ## `sf agent generate authoring-bundle`
347
347
 
@@ -418,7 +418,7 @@ EXAMPLES
418
418
  other-package-dir/main/default --target-org my-dev-org
419
419
  ```
420
420
 
421
- _See code: [src/commands/agent/generate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.17/src/commands/agent/generate/authoring-bundle.ts)_
421
+ _See code: [src/commands/agent/generate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.19/src/commands/agent/generate/authoring-bundle.ts)_
422
422
 
423
423
  ## `sf agent generate template`
424
424
 
@@ -480,7 +480,7 @@ EXAMPLES
480
480
  my-package --source-org my-scratch-org
481
481
  ```
482
482
 
483
- _See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.17/src/commands/agent/generate/template.ts)_
483
+ _See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.19/src/commands/agent/generate/template.ts)_
484
484
 
485
485
  ## `sf agent generate test-spec`
486
486
 
@@ -545,7 +545,7 @@ EXAMPLES
545
545
  force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
546
546
  ```
547
547
 
548
- _See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.17/src/commands/agent/generate/test-spec.ts)_
548
+ _See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.19/src/commands/agent/generate/test-spec.ts)_
549
549
 
550
550
  ## `sf agent preview`
551
551
 
@@ -618,7 +618,7 @@ EXAMPLES
618
618
  $ sf agent preview --use-live-actions --apex-debug --output-dir transcripts/my-preview
619
619
  ```
620
620
 
621
- _See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.17/src/commands/agent/preview.ts)_
621
+ _See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.19/src/commands/agent/preview.ts)_
622
622
 
623
623
  ## `sf agent preview end`
624
624
 
@@ -673,7 +673,7 @@ EXAMPLES
673
673
  $ sf agent preview end --authoring-bundle My_Local_Agent
674
674
  ```
675
675
 
676
- _See code: [src/commands/agent/preview/end.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.17/src/commands/agent/preview/end.ts)_
676
+ _See code: [src/commands/agent/preview/end.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.19/src/commands/agent/preview/end.ts)_
677
677
 
678
678
  ## `sf agent preview send`
679
679
 
@@ -731,7 +731,7 @@ EXAMPLES
731
731
  $ sf agent preview send --utterance "what can you help me with?" --authoring-bundle My_Local_Agent
732
732
  ```
733
733
 
734
- _See code: [src/commands/agent/preview/send.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.17/src/commands/agent/preview/send.ts)_
734
+ _See code: [src/commands/agent/preview/send.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.19/src/commands/agent/preview/send.ts)_
735
735
 
736
736
  ## `sf agent preview sessions`
737
737
 
@@ -764,7 +764,7 @@ EXAMPLES
764
764
  $ sf agent preview sessions
765
765
  ```
766
766
 
767
- _See code: [src/commands/agent/preview/sessions.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.17/src/commands/agent/preview/sessions.ts)_
767
+ _See code: [src/commands/agent/preview/sessions.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.19/src/commands/agent/preview/sessions.ts)_
768
768
 
769
769
  ## `sf agent preview start`
770
770
 
@@ -829,7 +829,7 @@ EXAMPLES
829
829
  $ sf agent preview start --api-name My_Published_Agent
830
830
  ```
831
831
 
832
- _See code: [src/commands/agent/preview/start.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.17/src/commands/agent/preview/start.ts)_
832
+ _See code: [src/commands/agent/preview/start.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.19/src/commands/agent/preview/start.ts)_
833
833
 
834
834
  ## `sf agent publish authoring-bundle`
835
835
 
@@ -878,7 +878,7 @@ EXAMPLES
878
878
  $ sf agent publish authoring-bundle --api-name MyAuthoringbundle --target-org my-dev-org
879
879
  ```
880
880
 
881
- _See code: [src/commands/agent/publish/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.17/src/commands/agent/publish/authoring-bundle.ts)_
881
+ _See code: [src/commands/agent/publish/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.19/src/commands/agent/publish/authoring-bundle.ts)_
882
882
 
883
883
  ## `sf agent test create`
884
884
 
@@ -933,7 +933,7 @@ EXAMPLES
933
933
  $ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
934
934
  ```
935
935
 
936
- _See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.17/src/commands/agent/test/create.ts)_
936
+ _See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.19/src/commands/agent/test/create.ts)_
937
937
 
938
938
  ## `sf agent test list`
939
939
 
@@ -968,7 +968,7 @@ EXAMPLES
968
968
  $ sf agent test list --target-org my-org
969
969
  ```
970
970
 
971
- _See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.17/src/commands/agent/test/list.ts)_
971
+ _See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.19/src/commands/agent/test/list.ts)_
972
972
 
973
973
  ## `sf agent test results`
974
974
 
@@ -1034,7 +1034,7 @@ FLAG DESCRIPTIONS
1034
1034
  expression when using custom evaluations.
1035
1035
  ```
1036
1036
 
1037
- _See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.17/src/commands/agent/test/results.ts)_
1037
+ _See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.19/src/commands/agent/test/results.ts)_
1038
1038
 
1039
1039
  ## `sf agent test resume`
1040
1040
 
@@ -1107,7 +1107,7 @@ FLAG DESCRIPTIONS
1107
1107
  expression when using custom evaluations.
1108
1108
  ```
1109
1109
 
1110
- _See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.17/src/commands/agent/test/resume.ts)_
1110
+ _See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.19/src/commands/agent/test/resume.ts)_
1111
1111
 
1112
1112
  ## `sf agent test run`
1113
1113
 
@@ -1181,7 +1181,7 @@ FLAG DESCRIPTIONS
1181
1181
  expression when using custom evaluations.
1182
1182
  ```
1183
1183
 
1184
- _See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.17/src/commands/agent/test/run.ts)_
1184
+ _See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.19/src/commands/agent/test/run.ts)_
1185
1185
 
1186
1186
  ## `sf agent validate authoring-bundle`
1187
1187
 
@@ -1228,6 +1228,6 @@ EXAMPLES
1228
1228
  $ sf agent validate authoring-bundle --api-name MyAuthoringBundle --target-org my-dev-org
1229
1229
  ```
1230
1230
 
1231
- _See code: [src/commands/agent/validate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.17/src/commands/agent/validate/authoring-bundle.ts)_
1231
+ _See code: [src/commands/agent/validate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.32.19/src/commands/agent/validate/authoring-bundle.ts)_
1232
1232
 
1233
1233
  <!-- commandsstop -->
@@ -868,96 +868,6 @@
868
868
  "test-spec:generate:agent"
869
869
  ]
870
870
  },
871
- "agent:publish:authoring-bundle": {
872
- "aliases": [],
873
- "args": {},
874
- "description": "An authoring bundle is a metadata type (named aiAuthoringBundle) that provides the blueprint for an agent. The metadata type contains two files: the standard metatada XML file and an Agent Script file (extension \".agent\") that fully describes the agent using the Agent Script language.\n\nWhen you publish an authoring bundle to your org, a number of things happen. First, this command validates that the Agent Script file successfully compiles. If there are compilation errors, the command exits and you must fix the Agent Script file to continue. Once the Agent Script file compiles, then it's published to the org, which in turn creates new associated metadata (Bot, BotVersion, GenAiX), or new versions of the metadata if the agent already exists. The new or updated metadata is retrieved back to your DX project; specify the --skip-retrieve flag to skip this step. Finally, the authoring bundle metadata (AiAuthoringBundle) is deployed to your org.\n\nThis command uses the API name of the authoring bundle.",
875
- "examples": [
876
- "Publish an authoring bundle by being prompted for its API name; use your default org:\n<%= config.bin %> <%= command.id %>",
877
- "Publish an authoring bundle with API name MyAuthoringBundle to the org with alias \"my-dev-org\":\n<%= config.bin %> <%= command.id %> --api-name MyAuthoringbundle --target-org my-dev-org"
878
- ],
879
- "flags": {
880
- "json": {
881
- "description": "Format output as json.",
882
- "helpGroup": "GLOBAL",
883
- "name": "json",
884
- "allowNo": false,
885
- "type": "boolean"
886
- },
887
- "flags-dir": {
888
- "helpGroup": "GLOBAL",
889
- "name": "flags-dir",
890
- "summary": "Import flag values from a directory.",
891
- "hasDynamicHelp": false,
892
- "multiple": false,
893
- "type": "option"
894
- },
895
- "target-org": {
896
- "char": "o",
897
- "name": "target-org",
898
- "noCacheDefault": true,
899
- "required": true,
900
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
901
- "hasDynamicHelp": true,
902
- "multiple": false,
903
- "type": "option"
904
- },
905
- "api-version": {
906
- "description": "Override the api version used for api requests made by this command",
907
- "name": "api-version",
908
- "hasDynamicHelp": false,
909
- "multiple": false,
910
- "type": "option"
911
- },
912
- "api-name": {
913
- "char": "n",
914
- "name": "api-name",
915
- "summary": "API name of the authoring bundle you want to publish; if not specified, the command provides a list that you can choose from.",
916
- "hasDynamicHelp": false,
917
- "multiple": false,
918
- "type": "option"
919
- },
920
- "skip-retrieve": {
921
- "name": "skip-retrieve",
922
- "summary": "Don't retrieve the metadata associated with the agent to your DX project.",
923
- "allowNo": false,
924
- "type": "boolean"
925
- }
926
- },
927
- "hasDynamicHelp": true,
928
- "hiddenAliases": [],
929
- "id": "agent:publish:authoring-bundle",
930
- "pluginAlias": "@salesforce/plugin-agent",
931
- "pluginName": "@salesforce/plugin-agent",
932
- "pluginType": "core",
933
- "strict": true,
934
- "summary": "Publish an authoring bundle to your org, which results in a new agent or a new version of an existing agent.",
935
- "enableJsonFlag": true,
936
- "requiresProject": true,
937
- "FLAGGABLE_PROMPTS": {
938
- "api-name": {
939
- "message": "API name of the authoring bundle you want to publish; if not specified, the command provides a list that you can choose from.",
940
- "promptMessage": "API name of the authoring bundle to publish"
941
- }
942
- },
943
- "isESM": true,
944
- "relativePath": [
945
- "lib",
946
- "commands",
947
- "agent",
948
- "publish",
949
- "authoring-bundle.js"
950
- ],
951
- "aliasPermutations": [],
952
- "permutations": [
953
- "agent:publish:authoring-bundle",
954
- "publish:agent:authoring-bundle",
955
- "publish:authoring-bundle:agent",
956
- "agent:authoring-bundle:publish",
957
- "authoring-bundle:agent:publish",
958
- "authoring-bundle:publish:agent"
959
- ]
960
- },
961
871
  "agent:preview:end": {
962
872
  "aliases": [],
963
873
  "args": {},
@@ -1414,6 +1324,96 @@
1414
1324
  "start:preview:agent"
1415
1325
  ]
1416
1326
  },
1327
+ "agent:publish:authoring-bundle": {
1328
+ "aliases": [],
1329
+ "args": {},
1330
+ "description": "An authoring bundle is a metadata type (named aiAuthoringBundle) that provides the blueprint for an agent. The metadata type contains two files: the standard metatada XML file and an Agent Script file (extension \".agent\") that fully describes the agent using the Agent Script language.\n\nWhen you publish an authoring bundle to your org, a number of things happen. First, this command validates that the Agent Script file successfully compiles. If there are compilation errors, the command exits and you must fix the Agent Script file to continue. Once the Agent Script file compiles, then it's published to the org, which in turn creates new associated metadata (Bot, BotVersion, GenAiX), or new versions of the metadata if the agent already exists. The new or updated metadata is retrieved back to your DX project; specify the --skip-retrieve flag to skip this step. Finally, the authoring bundle metadata (AiAuthoringBundle) is deployed to your org.\n\nThis command uses the API name of the authoring bundle.",
1331
+ "examples": [
1332
+ "Publish an authoring bundle by being prompted for its API name; use your default org:\n<%= config.bin %> <%= command.id %>",
1333
+ "Publish an authoring bundle with API name MyAuthoringBundle to the org with alias \"my-dev-org\":\n<%= config.bin %> <%= command.id %> --api-name MyAuthoringbundle --target-org my-dev-org"
1334
+ ],
1335
+ "flags": {
1336
+ "json": {
1337
+ "description": "Format output as json.",
1338
+ "helpGroup": "GLOBAL",
1339
+ "name": "json",
1340
+ "allowNo": false,
1341
+ "type": "boolean"
1342
+ },
1343
+ "flags-dir": {
1344
+ "helpGroup": "GLOBAL",
1345
+ "name": "flags-dir",
1346
+ "summary": "Import flag values from a directory.",
1347
+ "hasDynamicHelp": false,
1348
+ "multiple": false,
1349
+ "type": "option"
1350
+ },
1351
+ "target-org": {
1352
+ "char": "o",
1353
+ "name": "target-org",
1354
+ "noCacheDefault": true,
1355
+ "required": true,
1356
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1357
+ "hasDynamicHelp": true,
1358
+ "multiple": false,
1359
+ "type": "option"
1360
+ },
1361
+ "api-version": {
1362
+ "description": "Override the api version used for api requests made by this command",
1363
+ "name": "api-version",
1364
+ "hasDynamicHelp": false,
1365
+ "multiple": false,
1366
+ "type": "option"
1367
+ },
1368
+ "api-name": {
1369
+ "char": "n",
1370
+ "name": "api-name",
1371
+ "summary": "API name of the authoring bundle you want to publish; if not specified, the command provides a list that you can choose from.",
1372
+ "hasDynamicHelp": false,
1373
+ "multiple": false,
1374
+ "type": "option"
1375
+ },
1376
+ "skip-retrieve": {
1377
+ "name": "skip-retrieve",
1378
+ "summary": "Don't retrieve the metadata associated with the agent to your DX project.",
1379
+ "allowNo": false,
1380
+ "type": "boolean"
1381
+ }
1382
+ },
1383
+ "hasDynamicHelp": true,
1384
+ "hiddenAliases": [],
1385
+ "id": "agent:publish:authoring-bundle",
1386
+ "pluginAlias": "@salesforce/plugin-agent",
1387
+ "pluginName": "@salesforce/plugin-agent",
1388
+ "pluginType": "core",
1389
+ "strict": true,
1390
+ "summary": "Publish an authoring bundle to your org, which results in a new agent or a new version of an existing agent.",
1391
+ "enableJsonFlag": true,
1392
+ "requiresProject": true,
1393
+ "FLAGGABLE_PROMPTS": {
1394
+ "api-name": {
1395
+ "message": "API name of the authoring bundle you want to publish; if not specified, the command provides a list that you can choose from.",
1396
+ "promptMessage": "API name of the authoring bundle to publish"
1397
+ }
1398
+ },
1399
+ "isESM": true,
1400
+ "relativePath": [
1401
+ "lib",
1402
+ "commands",
1403
+ "agent",
1404
+ "publish",
1405
+ "authoring-bundle.js"
1406
+ ],
1407
+ "aliasPermutations": [],
1408
+ "permutations": [
1409
+ "agent:publish:authoring-bundle",
1410
+ "publish:agent:authoring-bundle",
1411
+ "publish:authoring-bundle:agent",
1412
+ "agent:authoring-bundle:publish",
1413
+ "authoring-bundle:agent:publish",
1414
+ "authoring-bundle:publish:agent"
1415
+ ]
1416
+ },
1417
1417
  "agent:test:create": {
1418
1418
  "aliases": [],
1419
1419
  "args": {},
@@ -2340,5 +2340,5 @@
2340
2340
  ]
2341
2341
  }
2342
2342
  },
2343
- "version": "1.32.17"
2343
+ "version": "1.32.19"
2344
2344
  }
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.32.17",
4
+ "version": "1.32.19",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "enableO11y": true,
@@ -240,7 +240,7 @@
240
240
  "exports": "./lib/index.js",
241
241
  "type": "module",
242
242
  "sfdx": {
243
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.32.17.crt",
244
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.32.17.sig"
243
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.32.19.crt",
244
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.32.19.sig"
245
245
  }
246
246
  }