@salesforce/plugin-agent 1.40.1 → 1.40.3

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.
Files changed (3) hide show
  1. package/README.md +23 -23
  2. package/oclif.manifest.json +125 -125
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -130,7 +130,7 @@ EXAMPLES
130
130
  $ sf agent activate --api-name Resort_Manager --version 2 --target-org my-org
131
131
  ```
132
132
 
133
- _See code: [src/commands/agent/activate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/activate.ts)_
133
+ _See code: [src/commands/agent/activate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/activate.ts)_
134
134
 
135
135
  ## `sf agent create`
136
136
 
@@ -197,7 +197,7 @@ EXAMPLES
197
197
  $ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
198
198
  ```
199
199
 
200
- _See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/create.ts)_
200
+ _See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/create.ts)_
201
201
 
202
202
  ## `sf agent deactivate`
203
203
 
@@ -238,7 +238,7 @@ EXAMPLES
238
238
  $ sf agent deactivate --api-name Resort_Manager --target-org my-org
239
239
  ```
240
240
 
241
- _See code: [src/commands/agent/deactivate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/deactivate.ts)_
241
+ _See code: [src/commands/agent/deactivate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/deactivate.ts)_
242
242
 
243
243
  ## `sf agent generate agent-spec`
244
244
 
@@ -345,7 +345,7 @@ EXAMPLES
345
345
  $ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
346
346
  ```
347
347
 
348
- _See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/generate/agent-spec.ts)_
348
+ _See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/generate/agent-spec.ts)_
349
349
 
350
350
  ## `sf agent generate authoring-bundle`
351
351
 
@@ -422,7 +422,7 @@ EXAMPLES
422
422
  other-package-dir/main/default --target-org my-dev-org
423
423
  ```
424
424
 
425
- _See code: [src/commands/agent/generate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/generate/authoring-bundle.ts)_
425
+ _See code: [src/commands/agent/generate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/generate/authoring-bundle.ts)_
426
426
 
427
427
  ## `sf agent generate template`
428
428
 
@@ -484,7 +484,7 @@ EXAMPLES
484
484
  my-package --source-org my-scratch-org
485
485
  ```
486
486
 
487
- _See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/generate/template.ts)_
487
+ _See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/generate/template.ts)_
488
488
 
489
489
  ## `sf agent generate test-spec`
490
490
 
@@ -549,7 +549,7 @@ EXAMPLES
549
549
  force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
550
550
  ```
551
551
 
552
- _See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/generate/test-spec.ts)_
552
+ _See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/generate/test-spec.ts)_
553
553
 
554
554
  ## `sf agent preview`
555
555
 
@@ -622,7 +622,7 @@ EXAMPLES
622
622
  $ sf agent preview --use-live-actions --apex-debug --output-dir transcripts/my-preview
623
623
  ```
624
624
 
625
- _See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/preview.ts)_
625
+ _See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/preview.ts)_
626
626
 
627
627
  ## `sf agent preview end`
628
628
 
@@ -694,7 +694,7 @@ EXAMPLES
694
694
  $ sf agent preview end --all --target-org <target_org>
695
695
  ```
696
696
 
697
- _See code: [src/commands/agent/preview/end.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/preview/end.ts)_
697
+ _See code: [src/commands/agent/preview/end.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/preview/end.ts)_
698
698
 
699
699
  ## `sf agent preview send`
700
700
 
@@ -752,7 +752,7 @@ EXAMPLES
752
752
  $ sf agent preview send --utterance "what can you help me with?" --authoring-bundle My_Local_Agent
753
753
  ```
754
754
 
755
- _See code: [src/commands/agent/preview/send.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/preview/send.ts)_
755
+ _See code: [src/commands/agent/preview/send.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/preview/send.ts)_
756
756
 
757
757
  ## `sf agent preview sessions`
758
758
 
@@ -785,7 +785,7 @@ EXAMPLES
785
785
  $ sf agent preview sessions
786
786
  ```
787
787
 
788
- _See code: [src/commands/agent/preview/sessions.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/preview/sessions.ts)_
788
+ _See code: [src/commands/agent/preview/sessions.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/preview/sessions.ts)_
789
789
 
790
790
  ## `sf agent preview start`
791
791
 
@@ -850,7 +850,7 @@ EXAMPLES
850
850
  $ sf agent preview start --api-name My_Published_Agent
851
851
  ```
852
852
 
853
- _See code: [src/commands/agent/preview/start.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/preview/start.ts)_
853
+ _See code: [src/commands/agent/preview/start.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/preview/start.ts)_
854
854
 
855
855
  ## `sf agent publish authoring-bundle`
856
856
 
@@ -910,7 +910,7 @@ EXAMPLES
910
910
  $ sf agent publish authoring-bundle --api-name MyAuthoringbundle --concise
911
911
  ```
912
912
 
913
- _See code: [src/commands/agent/publish/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/publish/authoring-bundle.ts)_
913
+ _See code: [src/commands/agent/publish/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/publish/authoring-bundle.ts)_
914
914
 
915
915
  ## `sf agent test create`
916
916
 
@@ -965,7 +965,7 @@ EXAMPLES
965
965
  $ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
966
966
  ```
967
967
 
968
- _See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/test/create.ts)_
968
+ _See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/test/create.ts)_
969
969
 
970
970
  ## `sf agent test list`
971
971
 
@@ -1000,7 +1000,7 @@ EXAMPLES
1000
1000
  $ sf agent test list --target-org my-org
1001
1001
  ```
1002
1002
 
1003
- _See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/test/list.ts)_
1003
+ _See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/test/list.ts)_
1004
1004
 
1005
1005
  ## `sf agent test results`
1006
1006
 
@@ -1076,7 +1076,7 @@ FLAG DESCRIPTIONS
1076
1076
  expression when using custom evaluations.
1077
1077
  ```
1078
1078
 
1079
- _See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/test/results.ts)_
1079
+ _See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/test/results.ts)_
1080
1080
 
1081
1081
  ## `sf agent test resume`
1082
1082
 
@@ -1160,7 +1160,7 @@ FLAG DESCRIPTIONS
1160
1160
  expression when using custom evaluations.
1161
1161
  ```
1162
1162
 
1163
- _See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/test/resume.ts)_
1163
+ _See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/test/resume.ts)_
1164
1164
 
1165
1165
  ## `sf agent test run`
1166
1166
 
@@ -1244,7 +1244,7 @@ FLAG DESCRIPTIONS
1244
1244
  expression when using custom evaluations.
1245
1245
  ```
1246
1246
 
1247
- _See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/test/run.ts)_
1247
+ _See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/test/run.ts)_
1248
1248
 
1249
1249
  ## `sf agent test run-eval`
1250
1250
 
@@ -1320,7 +1320,7 @@ EXAMPLES
1320
1320
  $ echo '{"tests":[...]}' | sf agent test run-eval --spec --target-org my-org
1321
1321
  ```
1322
1322
 
1323
- _See code: [src/commands/agent/test/run-eval.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/test/run-eval.ts)_
1323
+ _See code: [src/commands/agent/test/run-eval.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/test/run-eval.ts)_
1324
1324
 
1325
1325
  ## `sf agent trace delete`
1326
1326
 
@@ -1384,7 +1384,7 @@ EXAMPLES
1384
1384
  $ sf agent trace delete --no-prompt
1385
1385
  ```
1386
1386
 
1387
- _See code: [src/commands/agent/trace/delete.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/trace/delete.ts)_
1387
+ _See code: [src/commands/agent/trace/delete.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/trace/delete.ts)_
1388
1388
 
1389
1389
  ## `sf agent trace list`
1390
1390
 
@@ -1454,7 +1454,7 @@ FLAG DESCRIPTIONS
1454
1454
  (2026-04-20T14:00:00.000Z). The "Recorded At" values shown in the table output are valid inputs.
1455
1455
  ```
1456
1456
 
1457
- _See code: [src/commands/agent/trace/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/trace/list.ts)_
1457
+ _See code: [src/commands/agent/trace/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/trace/list.ts)_
1458
1458
 
1459
1459
  ## `sf agent trace read`
1460
1460
 
@@ -1542,7 +1542,7 @@ EXAMPLES
1542
1542
  $ sf agent trace read --session-id <SESSION_ID> --json
1543
1543
  ```
1544
1544
 
1545
- _See code: [src/commands/agent/trace/read.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/trace/read.ts)_
1545
+ _See code: [src/commands/agent/trace/read.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/trace/read.ts)_
1546
1546
 
1547
1547
  ## `sf agent validate authoring-bundle`
1548
1548
 
@@ -1589,6 +1589,6 @@ EXAMPLES
1589
1589
  $ sf agent validate authoring-bundle --api-name MyAuthoringBundle --target-org my-dev-org
1590
1590
  ```
1591
1591
 
1592
- _See code: [src/commands/agent/validate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.1/src/commands/agent/validate/authoring-bundle.ts)_
1592
+ _See code: [src/commands/agent/validate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.40.3/src/commands/agent/validate/authoring-bundle.ts)_
1593
1593
 
1594
1594
  <!-- commandsstop -->
@@ -879,130 +879,6 @@
879
879
  "test-spec:generate:agent"
880
880
  ]
881
881
  },
882
- "agent:publish:authoring-bundle": {
883
- "aliases": [],
884
- "args": {},
885
- "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.",
886
- "examples": [
887
- "Publish an authoring bundle by being prompted for its API name; use your default org:\n<%= config.bin %> <%= command.id %>",
888
- "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",
889
- "Publish with verbose output to see all retrieved and deployed metadata components:\n<%= config.bin %> <%= command.id %> --api-name MyAuthoringbundle --verbose",
890
- "Publish with concise output showing only essential information:\n<%= config.bin %> <%= command.id %> --api-name MyAuthoringbundle --concise"
891
- ],
892
- "flags": {
893
- "json": {
894
- "description": "Format output as json.",
895
- "helpGroup": "GLOBAL",
896
- "name": "json",
897
- "allowNo": false,
898
- "type": "boolean"
899
- },
900
- "flags-dir": {
901
- "helpGroup": "GLOBAL",
902
- "name": "flags-dir",
903
- "summary": "Import flag values from a directory.",
904
- "hasDynamicHelp": false,
905
- "multiple": false,
906
- "type": "option"
907
- },
908
- "target-org": {
909
- "char": "o",
910
- "name": "target-org",
911
- "noCacheDefault": true,
912
- "required": true,
913
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
914
- "hasDynamicHelp": true,
915
- "multiple": false,
916
- "type": "option"
917
- },
918
- "api-version": {
919
- "description": "Override the api version used for api requests made by this command",
920
- "name": "api-version",
921
- "hasDynamicHelp": false,
922
- "multiple": false,
923
- "type": "option"
924
- },
925
- "api-name": {
926
- "char": "n",
927
- "name": "api-name",
928
- "summary": "API name of the authoring bundle you want to publish; if not specified, the command provides a list that you can choose from.",
929
- "hasDynamicHelp": false,
930
- "multiple": false,
931
- "type": "option"
932
- },
933
- "skip-retrieve": {
934
- "name": "skip-retrieve",
935
- "summary": "Don't retrieve the metadata associated with the agent to your DX project.",
936
- "allowNo": false,
937
- "type": "boolean"
938
- },
939
- "verbose": {
940
- "char": "v",
941
- "exclusive": [
942
- "concise"
943
- ],
944
- "name": "verbose",
945
- "summary": "Display detailed output showing all metadata components retrieved and deployed during the publish process.",
946
- "allowNo": false,
947
- "type": "boolean"
948
- },
949
- "concise": {
950
- "exclusive": [
951
- "verbose"
952
- ],
953
- "name": "concise",
954
- "summary": "Display minimal output with only essential information about the publish operation.",
955
- "allowNo": false,
956
- "type": "boolean"
957
- }
958
- },
959
- "hasDynamicHelp": true,
960
- "hiddenAliases": [],
961
- "id": "agent:publish:authoring-bundle",
962
- "pluginAlias": "@salesforce/plugin-agent",
963
- "pluginName": "@salesforce/plugin-agent",
964
- "pluginType": "core",
965
- "strict": true,
966
- "summary": "Publish an authoring bundle to your org, which results in a new agent or a new version of an existing agent.",
967
- "enableJsonFlag": true,
968
- "requiresProject": true,
969
- "errorCodes": {
970
- "header": "ERROR CODES",
971
- "body": [
972
- {
973
- "name": "Succeeded (0)",
974
- "description": "Agent published successfully without errors."
975
- },
976
- {
977
- "name": "Failed (1)",
978
- "description": "Compilation errors found in the Agent Script file."
979
- }
980
- ]
981
- },
982
- "FLAGGABLE_PROMPTS": {
983
- "api-name": {
984
- "message": "API name of the authoring bundle you want to publish; if not specified, the command provides a list that you can choose from.",
985
- "promptMessage": "API name of the authoring bundle to publish"
986
- }
987
- },
988
- "isESM": true,
989
- "relativePath": [
990
- "lib",
991
- "commands",
992
- "agent",
993
- "publish",
994
- "authoring-bundle.js"
995
- ],
996
- "aliasPermutations": [],
997
- "permutations": [
998
- "agent:publish:authoring-bundle",
999
- "publish:agent:authoring-bundle",
1000
- "publish:authoring-bundle:agent",
1001
- "agent:authoring-bundle:publish",
1002
- "authoring-bundle:agent:publish",
1003
- "authoring-bundle:publish:agent"
1004
- ]
1005
- },
1006
882
  "agent:preview:end": {
1007
883
  "aliases": [],
1008
884
  "args": {},
@@ -1505,6 +1381,130 @@
1505
1381
  "start:preview:agent"
1506
1382
  ]
1507
1383
  },
1384
+ "agent:publish:authoring-bundle": {
1385
+ "aliases": [],
1386
+ "args": {},
1387
+ "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.",
1388
+ "examples": [
1389
+ "Publish an authoring bundle by being prompted for its API name; use your default org:\n<%= config.bin %> <%= command.id %>",
1390
+ "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",
1391
+ "Publish with verbose output to see all retrieved and deployed metadata components:\n<%= config.bin %> <%= command.id %> --api-name MyAuthoringbundle --verbose",
1392
+ "Publish with concise output showing only essential information:\n<%= config.bin %> <%= command.id %> --api-name MyAuthoringbundle --concise"
1393
+ ],
1394
+ "flags": {
1395
+ "json": {
1396
+ "description": "Format output as json.",
1397
+ "helpGroup": "GLOBAL",
1398
+ "name": "json",
1399
+ "allowNo": false,
1400
+ "type": "boolean"
1401
+ },
1402
+ "flags-dir": {
1403
+ "helpGroup": "GLOBAL",
1404
+ "name": "flags-dir",
1405
+ "summary": "Import flag values from a directory.",
1406
+ "hasDynamicHelp": false,
1407
+ "multiple": false,
1408
+ "type": "option"
1409
+ },
1410
+ "target-org": {
1411
+ "char": "o",
1412
+ "name": "target-org",
1413
+ "noCacheDefault": true,
1414
+ "required": true,
1415
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1416
+ "hasDynamicHelp": true,
1417
+ "multiple": false,
1418
+ "type": "option"
1419
+ },
1420
+ "api-version": {
1421
+ "description": "Override the api version used for api requests made by this command",
1422
+ "name": "api-version",
1423
+ "hasDynamicHelp": false,
1424
+ "multiple": false,
1425
+ "type": "option"
1426
+ },
1427
+ "api-name": {
1428
+ "char": "n",
1429
+ "name": "api-name",
1430
+ "summary": "API name of the authoring bundle you want to publish; if not specified, the command provides a list that you can choose from.",
1431
+ "hasDynamicHelp": false,
1432
+ "multiple": false,
1433
+ "type": "option"
1434
+ },
1435
+ "skip-retrieve": {
1436
+ "name": "skip-retrieve",
1437
+ "summary": "Don't retrieve the metadata associated with the agent to your DX project.",
1438
+ "allowNo": false,
1439
+ "type": "boolean"
1440
+ },
1441
+ "verbose": {
1442
+ "char": "v",
1443
+ "exclusive": [
1444
+ "concise"
1445
+ ],
1446
+ "name": "verbose",
1447
+ "summary": "Display detailed output showing all metadata components retrieved and deployed during the publish process.",
1448
+ "allowNo": false,
1449
+ "type": "boolean"
1450
+ },
1451
+ "concise": {
1452
+ "exclusive": [
1453
+ "verbose"
1454
+ ],
1455
+ "name": "concise",
1456
+ "summary": "Display minimal output with only essential information about the publish operation.",
1457
+ "allowNo": false,
1458
+ "type": "boolean"
1459
+ }
1460
+ },
1461
+ "hasDynamicHelp": true,
1462
+ "hiddenAliases": [],
1463
+ "id": "agent:publish:authoring-bundle",
1464
+ "pluginAlias": "@salesforce/plugin-agent",
1465
+ "pluginName": "@salesforce/plugin-agent",
1466
+ "pluginType": "core",
1467
+ "strict": true,
1468
+ "summary": "Publish an authoring bundle to your org, which results in a new agent or a new version of an existing agent.",
1469
+ "enableJsonFlag": true,
1470
+ "requiresProject": true,
1471
+ "errorCodes": {
1472
+ "header": "ERROR CODES",
1473
+ "body": [
1474
+ {
1475
+ "name": "Succeeded (0)",
1476
+ "description": "Agent published successfully without errors."
1477
+ },
1478
+ {
1479
+ "name": "Failed (1)",
1480
+ "description": "Compilation errors found in the Agent Script file."
1481
+ }
1482
+ ]
1483
+ },
1484
+ "FLAGGABLE_PROMPTS": {
1485
+ "api-name": {
1486
+ "message": "API name of the authoring bundle you want to publish; if not specified, the command provides a list that you can choose from.",
1487
+ "promptMessage": "API name of the authoring bundle to publish"
1488
+ }
1489
+ },
1490
+ "isESM": true,
1491
+ "relativePath": [
1492
+ "lib",
1493
+ "commands",
1494
+ "agent",
1495
+ "publish",
1496
+ "authoring-bundle.js"
1497
+ ],
1498
+ "aliasPermutations": [],
1499
+ "permutations": [
1500
+ "agent:publish:authoring-bundle",
1501
+ "publish:agent:authoring-bundle",
1502
+ "publish:authoring-bundle:agent",
1503
+ "agent:authoring-bundle:publish",
1504
+ "authoring-bundle:agent:publish",
1505
+ "authoring-bundle:publish:agent"
1506
+ ]
1507
+ },
1508
1508
  "agent:test:create": {
1509
1509
  "aliases": [],
1510
1510
  "args": {},
@@ -2744,5 +2744,5 @@
2744
2744
  ]
2745
2745
  }
2746
2746
  },
2747
- "version": "1.40.1"
2747
+ "version": "1.40.3"
2748
2748
  }
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.40.1",
4
+ "version": "1.40.3",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "enableO11y": true,
@@ -12,7 +12,7 @@
12
12
  "@inquirer/prompts": "^7.10.1",
13
13
  "@oclif/core": "^4",
14
14
  "@oclif/multi-stage-output": "^0.8.36",
15
- "@salesforce/agents": "^1.6.0",
15
+ "@salesforce/agents": "^1.6.6",
16
16
  "@salesforce/core": "^8.28.3",
17
17
  "@salesforce/kit": "^3.2.6",
18
18
  "@salesforce/sf-plugins-core": "^12.2.6",
@@ -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.40.1.crt",
244
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.40.1.sig"
243
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.40.3.crt",
244
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.40.3.sig"
245
245
  }
246
246
  }