@salesforce/plugin-agent 1.27.0 → 1.27.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 CHANGED
@@ -112,7 +112,7 @@ EXAMPLES
112
112
  $ sf agent activate --api-name Resort_Manager --target-org my-org
113
113
  ```
114
114
 
115
- _See code: [src/commands/agent/activate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/activate.ts)_
115
+ _See code: [src/commands/agent/activate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.1/src/commands/agent/activate.ts)_
116
116
 
117
117
  ## `sf agent create`
118
118
 
@@ -179,7 +179,7 @@ EXAMPLES
179
179
  $ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
180
180
  ```
181
181
 
182
- _See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/create.ts)_
182
+ _See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.1/src/commands/agent/create.ts)_
183
183
 
184
184
  ## `sf agent deactivate`
185
185
 
@@ -219,7 +219,7 @@ EXAMPLES
219
219
  $ sf agent deactivate --api-name Resort_Manager --target-org my-org
220
220
  ```
221
221
 
222
- _See code: [src/commands/agent/deactivate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/deactivate.ts)_
222
+ _See code: [src/commands/agent/deactivate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.1/src/commands/agent/deactivate.ts)_
223
223
 
224
224
  ## `sf agent generate agent-spec`
225
225
 
@@ -326,7 +326,7 @@ EXAMPLES
326
326
  $ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
327
327
  ```
328
328
 
329
- _See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/generate/agent-spec.ts)_
329
+ _See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.1/src/commands/agent/generate/agent-spec.ts)_
330
330
 
331
331
  ## `sf agent generate authoring-bundle`
332
332
 
@@ -392,7 +392,7 @@ EXAMPLES
392
392
  other-package-dir/main/default --target-org my-dev-org
393
393
  ```
394
394
 
395
- _See code: [src/commands/agent/generate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/generate/authoring-bundle.ts)_
395
+ _See code: [src/commands/agent/generate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.1/src/commands/agent/generate/authoring-bundle.ts)_
396
396
 
397
397
  ## `sf agent generate template`
398
398
 
@@ -440,7 +440,7 @@ EXAMPLES
440
440
  force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1
441
441
  ```
442
442
 
443
- _See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/generate/template.ts)_
443
+ _See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.1/src/commands/agent/generate/template.ts)_
444
444
 
445
445
  ## `sf agent generate test-spec`
446
446
 
@@ -501,7 +501,7 @@ EXAMPLES
501
501
  force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
502
502
  ```
503
503
 
504
- _See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/generate/test-spec.ts)_
504
+ _See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.1/src/commands/agent/generate/test-spec.ts)_
505
505
 
506
506
  ## `sf agent preview`
507
507
 
@@ -574,7 +574,7 @@ EXAMPLES
574
574
  $ sf agent preview --use-live-actions --apex-debug --output-dir transcripts/my-preview
575
575
  ```
576
576
 
577
- _See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/preview.ts)_
577
+ _See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.1/src/commands/agent/preview.ts)_
578
578
 
579
579
  ## `sf agent publish authoring-bundle`
580
580
 
@@ -623,7 +623,7 @@ EXAMPLES
623
623
  $ sf agent publish authoring-bundle --api-name MyAuthoringbundle --target-org my-dev-org
624
624
  ```
625
625
 
626
- _See code: [src/commands/agent/publish/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/publish/authoring-bundle.ts)_
626
+ _See code: [src/commands/agent/publish/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.1/src/commands/agent/publish/authoring-bundle.ts)_
627
627
 
628
628
  ## `sf agent test create`
629
629
 
@@ -678,7 +678,7 @@ EXAMPLES
678
678
  $ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
679
679
  ```
680
680
 
681
- _See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/test/create.ts)_
681
+ _See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.1/src/commands/agent/test/create.ts)_
682
682
 
683
683
  ## `sf agent test list`
684
684
 
@@ -713,7 +713,7 @@ EXAMPLES
713
713
  $ sf agent test list --target-org my-org
714
714
  ```
715
715
 
716
- _See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/test/list.ts)_
716
+ _See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.1/src/commands/agent/test/list.ts)_
717
717
 
718
718
  ## `sf agent test results`
719
719
 
@@ -779,7 +779,7 @@ FLAG DESCRIPTIONS
779
779
  expression when using custom evaluations.
780
780
  ```
781
781
 
782
- _See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/test/results.ts)_
782
+ _See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.1/src/commands/agent/test/results.ts)_
783
783
 
784
784
  ## `sf agent test resume`
785
785
 
@@ -852,7 +852,7 @@ FLAG DESCRIPTIONS
852
852
  expression when using custom evaluations.
853
853
  ```
854
854
 
855
- _See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/test/resume.ts)_
855
+ _See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.1/src/commands/agent/test/resume.ts)_
856
856
 
857
857
  ## `sf agent test run`
858
858
 
@@ -926,7 +926,7 @@ FLAG DESCRIPTIONS
926
926
  expression when using custom evaluations.
927
927
  ```
928
928
 
929
- _See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/test/run.ts)_
929
+ _See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.1/src/commands/agent/test/run.ts)_
930
930
 
931
931
  ## `sf agent validate authoring-bundle`
932
932
 
@@ -973,6 +973,6 @@ EXAMPLES
973
973
  $ sf agent validate authoring-bundle --api-name MyAuthoringBundle --target-org my-dev-org
974
974
  ```
975
975
 
976
- _See code: [src/commands/agent/validate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/validate/authoring-bundle.ts)_
976
+ _See code: [src/commands/agent/validate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.27.1/src/commands/agent/validate/authoring-bundle.ts)_
977
977
 
978
978
  <!-- commandsstop -->
@@ -796,97 +796,6 @@
796
796
  "test-spec:generate:agent"
797
797
  ]
798
798
  },
799
- "agent:publish:authoring-bundle": {
800
- "aliases": [],
801
- "args": {},
802
- "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.",
803
- "examples": [
804
- "Publish an authoring bundle by being prompted for its API name; use your default org:\n<%= config.bin %> <%= command.id %>",
805
- "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"
806
- ],
807
- "flags": {
808
- "json": {
809
- "description": "Format output as json.",
810
- "helpGroup": "GLOBAL",
811
- "name": "json",
812
- "allowNo": false,
813
- "type": "boolean"
814
- },
815
- "flags-dir": {
816
- "helpGroup": "GLOBAL",
817
- "name": "flags-dir",
818
- "summary": "Import flag values from a directory.",
819
- "hasDynamicHelp": false,
820
- "multiple": false,
821
- "type": "option"
822
- },
823
- "target-org": {
824
- "char": "o",
825
- "name": "target-org",
826
- "noCacheDefault": true,
827
- "required": true,
828
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
829
- "hasDynamicHelp": true,
830
- "multiple": false,
831
- "type": "option"
832
- },
833
- "api-version": {
834
- "description": "Override the api version used for api requests made by this command",
835
- "name": "api-version",
836
- "hasDynamicHelp": false,
837
- "multiple": false,
838
- "type": "option"
839
- },
840
- "api-name": {
841
- "char": "n",
842
- "name": "api-name",
843
- "summary": "API name of the authoring bundle you want to publish; if not specified, the command provides a list that you can choose from.",
844
- "hasDynamicHelp": false,
845
- "multiple": false,
846
- "type": "option"
847
- },
848
- "skip-retrieve": {
849
- "name": "skip-retrieve",
850
- "summary": "Don't retrieve the metadata associated with the agent to your DX project.",
851
- "allowNo": false,
852
- "type": "boolean"
853
- }
854
- },
855
- "hasDynamicHelp": true,
856
- "hiddenAliases": [],
857
- "id": "agent:publish:authoring-bundle",
858
- "pluginAlias": "@salesforce/plugin-agent",
859
- "pluginName": "@salesforce/plugin-agent",
860
- "pluginType": "core",
861
- "state": "beta",
862
- "strict": true,
863
- "summary": "Publish an authoring bundle to your org, which results in a new agent or a new version of an existing agent.",
864
- "enableJsonFlag": true,
865
- "requiresProject": true,
866
- "FLAGGABLE_PROMPTS": {
867
- "api-name": {
868
- "message": "API name of the authoring bundle you want to publish; if not specified, the command provides a list that you can choose from.",
869
- "promptMessage": "API name of the authoring bundle to publish"
870
- }
871
- },
872
- "isESM": true,
873
- "relativePath": [
874
- "lib",
875
- "commands",
876
- "agent",
877
- "publish",
878
- "authoring-bundle.js"
879
- ],
880
- "aliasPermutations": [],
881
- "permutations": [
882
- "agent:publish:authoring-bundle",
883
- "publish:agent:authoring-bundle",
884
- "publish:authoring-bundle:agent",
885
- "agent:authoring-bundle:publish",
886
- "authoring-bundle:agent:publish",
887
- "authoring-bundle:publish:agent"
888
- ]
889
- },
890
799
  "agent:test:create": {
891
800
  "aliases": [],
892
801
  "args": {},
@@ -1485,7 +1394,98 @@
1485
1394
  "authoring-bundle:agent:validate",
1486
1395
  "authoring-bundle:validate:agent"
1487
1396
  ]
1397
+ },
1398
+ "agent:publish:authoring-bundle": {
1399
+ "aliases": [],
1400
+ "args": {},
1401
+ "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.",
1402
+ "examples": [
1403
+ "Publish an authoring bundle by being prompted for its API name; use your default org:\n<%= config.bin %> <%= command.id %>",
1404
+ "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"
1405
+ ],
1406
+ "flags": {
1407
+ "json": {
1408
+ "description": "Format output as json.",
1409
+ "helpGroup": "GLOBAL",
1410
+ "name": "json",
1411
+ "allowNo": false,
1412
+ "type": "boolean"
1413
+ },
1414
+ "flags-dir": {
1415
+ "helpGroup": "GLOBAL",
1416
+ "name": "flags-dir",
1417
+ "summary": "Import flag values from a directory.",
1418
+ "hasDynamicHelp": false,
1419
+ "multiple": false,
1420
+ "type": "option"
1421
+ },
1422
+ "target-org": {
1423
+ "char": "o",
1424
+ "name": "target-org",
1425
+ "noCacheDefault": true,
1426
+ "required": true,
1427
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1428
+ "hasDynamicHelp": true,
1429
+ "multiple": false,
1430
+ "type": "option"
1431
+ },
1432
+ "api-version": {
1433
+ "description": "Override the api version used for api requests made by this command",
1434
+ "name": "api-version",
1435
+ "hasDynamicHelp": false,
1436
+ "multiple": false,
1437
+ "type": "option"
1438
+ },
1439
+ "api-name": {
1440
+ "char": "n",
1441
+ "name": "api-name",
1442
+ "summary": "API name of the authoring bundle you want to publish; if not specified, the command provides a list that you can choose from.",
1443
+ "hasDynamicHelp": false,
1444
+ "multiple": false,
1445
+ "type": "option"
1446
+ },
1447
+ "skip-retrieve": {
1448
+ "name": "skip-retrieve",
1449
+ "summary": "Don't retrieve the metadata associated with the agent to your DX project.",
1450
+ "allowNo": false,
1451
+ "type": "boolean"
1452
+ }
1453
+ },
1454
+ "hasDynamicHelp": true,
1455
+ "hiddenAliases": [],
1456
+ "id": "agent:publish:authoring-bundle",
1457
+ "pluginAlias": "@salesforce/plugin-agent",
1458
+ "pluginName": "@salesforce/plugin-agent",
1459
+ "pluginType": "core",
1460
+ "state": "beta",
1461
+ "strict": true,
1462
+ "summary": "Publish an authoring bundle to your org, which results in a new agent or a new version of an existing agent.",
1463
+ "enableJsonFlag": true,
1464
+ "requiresProject": true,
1465
+ "FLAGGABLE_PROMPTS": {
1466
+ "api-name": {
1467
+ "message": "API name of the authoring bundle you want to publish; if not specified, the command provides a list that you can choose from.",
1468
+ "promptMessage": "API name of the authoring bundle to publish"
1469
+ }
1470
+ },
1471
+ "isESM": true,
1472
+ "relativePath": [
1473
+ "lib",
1474
+ "commands",
1475
+ "agent",
1476
+ "publish",
1477
+ "authoring-bundle.js"
1478
+ ],
1479
+ "aliasPermutations": [],
1480
+ "permutations": [
1481
+ "agent:publish:authoring-bundle",
1482
+ "publish:agent:authoring-bundle",
1483
+ "publish:authoring-bundle:agent",
1484
+ "agent:authoring-bundle:publish",
1485
+ "authoring-bundle:agent:publish",
1486
+ "authoring-bundle:publish:agent"
1487
+ ]
1488
1488
  }
1489
1489
  },
1490
- "version": "1.27.0"
1490
+ "version": "1.27.1"
1491
1491
  }
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.27.0",
4
+ "version": "1.27.1",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
@@ -13,7 +13,7 @@
13
13
  "@salesforce/core": "^8.24.3",
14
14
  "@salesforce/kit": "^3.2.3",
15
15
  "@salesforce/sf-plugins-core": "^12.2.6",
16
- "@salesforce/source-deploy-retrieve": "^12.31.8",
16
+ "@salesforce/source-deploy-retrieve": "^12.31.10",
17
17
  "@salesforce/types": "^1.5.0",
18
18
  "ansis": "^3.3.2",
19
19
  "fast-xml-parser": "^4.5.1",
@@ -38,7 +38,7 @@
38
38
  "eslint-plugin-react-hooks": "^4.6.2",
39
39
  "eslint-plugin-sf-plugin": "^1.20.33",
40
40
  "esmock": "^2.7.3",
41
- "oclif": "^4.22.68",
41
+ "oclif": "^4.22.70",
42
42
  "ts-node": "^10.9.2",
43
43
  "typescript": "^5.9.3"
44
44
  },
@@ -237,7 +237,7 @@
237
237
  "exports": "./lib/index.js",
238
238
  "type": "module",
239
239
  "sfdx": {
240
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.27.0.crt",
241
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.27.0.sig"
240
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.27.1.crt",
241
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.27.1.sig"
242
242
  }
243
243
  }