@salesforce/plugin-agent 1.22.5 → 1.22.7

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
@@ -1,6 +1,4 @@
1
- # plugin-agent - Beta
2
-
3
- ### :warning: This plugin is beta. We expect to announce GA availability very soon. :warning:
1
+ # plugin-agent
4
2
 
5
3
  [![NPM](https://img.shields.io/npm/v/@salesforce/plugin-agent.svg?label=@salesforce/plugin-agent)](https://www.npmjs.com/package/@salesforce/plugin-agent) [![Downloads/week](https://img.shields.io/npm/dw/@salesforce/plugin-agent.svg)](https://npmjs.org/package/@salesforce/plugin-agent) [![License](https://img.shields.io/badge/License-BSD%203--Clause-brightgreen.svg)](https://raw.githubusercontent.com/salesforcecli/plugin-agent/main/LICENSE.txt)
6
4
 
@@ -132,7 +130,7 @@ EXAMPLES
132
130
  $ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
133
131
  ```
134
132
 
135
- _See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.5/src/commands/agent/create.ts)_
133
+ _See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.7/src/commands/agent/create.ts)_
136
134
 
137
135
  ## `sf agent generate agent-spec`
138
136
 
@@ -237,7 +235,7 @@ EXAMPLES
237
235
  $ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
238
236
  ```
239
237
 
240
- _See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.5/src/commands/agent/generate/agent-spec.ts)_
238
+ _See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.7/src/commands/agent/generate/agent-spec.ts)_
241
239
 
242
240
  ## `sf agent generate template`
243
241
 
@@ -260,11 +258,11 @@ DESCRIPTION
260
258
  Generate an agent template from an existing agent in your DX project so you can then package the template in a managed
261
259
  package.
262
260
 
263
- At a high-level, agents are defined by the Bot, BotVersion, and GenAiPlanner metadata types. The GenAiPlanner type in
264
- turn defines the agent's topics and actions. This command uses the metadata files for these three types, located in
265
- your local DX project, to generate a BotTemplate file for a specific agent (Bot). You then use the BotTemplate file,
266
- along with the GenAiPlanner file that references the BotTemplate, to package the template in a managed package that
267
- you can share between orgs or on AppExchange.
261
+ At a high-level, agents are defined by the Bot, BotVersion, and GenAiPlannerBundle metadata types. The
262
+ GenAiPlannerBundle type in turn defines the agent's topics and actions. This command uses the metadata files for these
263
+ three types, located in your local DX project, to generate a BotTemplate file for a specific agent (Bot). You then use
264
+ the BotTemplate file, along with the GenAiPlannerBundle file that references the BotTemplate, to package the template
265
+ in a managed package that you can share between orgs or on AppExchange.
268
266
 
269
267
  Use the --agent-file flag to specify the relative or full pathname of the Bot metadata file, such as
270
268
  force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml. A single Bot can have multiple
@@ -273,7 +271,7 @@ DESCRIPTION
273
271
  force-app/main/default/bots/My_Awesome_Agent/v4.botVersion-meta.xml must exist.
274
272
 
275
273
  The new BotTemplate file is generated in the "botTemplates" directory in your local package directory, and has the
276
- name <Agent_API_name>\_v<Version>\_Template.botTemplate-meta.xml, such as
274
+ name <Agent_API_name>_v<Version>_Template.botTemplate-meta.xml, such as
277
275
  force-app/main/default/botTemplates/My_Awesome_Agent_v4_Template.botTemplate-meta.xml. The command displays the full
278
276
  pathname of the generated files when it completes.
279
277
 
@@ -285,7 +283,7 @@ EXAMPLES
285
283
  force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1
286
284
  ```
287
285
 
288
- _See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.5/src/commands/agent/generate/template.ts)_
286
+ _See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.7/src/commands/agent/generate/template.ts)_
289
287
 
290
288
  ## `sf agent generate test-spec`
291
289
 
@@ -343,7 +341,7 @@ EXAMPLES
343
341
  force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
344
342
  ```
345
343
 
346
- _See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.5/src/commands/agent/generate/test-spec.ts)_
344
+ _See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.7/src/commands/agent/generate/test-spec.ts)_
347
345
 
348
346
  ## `sf agent preview`
349
347
 
@@ -437,7 +435,7 @@ EXAMPLES
437
435
  --output-dir "transcripts/my-preview"
438
436
  ```
439
437
 
440
- _See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.5/src/commands/agent/preview.ts)_
438
+ _See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.7/src/commands/agent/preview.ts)_
441
439
 
442
440
  ## `sf agent test create`
443
441
 
@@ -492,7 +490,7 @@ EXAMPLES
492
490
  $ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
493
491
  ```
494
492
 
495
- _See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.5/src/commands/agent/test/create.ts)_
493
+ _See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.7/src/commands/agent/test/create.ts)_
496
494
 
497
495
  ## `sf agent test list`
498
496
 
@@ -527,7 +525,7 @@ EXAMPLES
527
525
  $ sf agent test list --target-org my-org
528
526
  ```
529
527
 
530
- _See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.5/src/commands/agent/test/list.ts)_
528
+ _See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.7/src/commands/agent/test/list.ts)_
531
529
 
532
530
  ## `sf agent test results`
533
531
 
@@ -583,7 +581,7 @@ FLAG DESCRIPTIONS
583
581
  test results aren't written.
584
582
  ```
585
583
 
586
- _See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.5/src/commands/agent/test/results.ts)_
584
+ _See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.7/src/commands/agent/test/results.ts)_
587
585
 
588
586
  ## `sf agent test resume`
589
587
 
@@ -646,7 +644,7 @@ FLAG DESCRIPTIONS
646
644
  test results aren't written.
647
645
  ```
648
646
 
649
- _See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.5/src/commands/agent/test/resume.ts)_
647
+ _See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.7/src/commands/agent/test/resume.ts)_
650
648
 
651
649
  ## `sf agent test run`
652
650
 
@@ -710,6 +708,6 @@ FLAG DESCRIPTIONS
710
708
  test results aren't written.
711
709
  ```
712
710
 
713
- _See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.5/src/commands/agent/test/run.ts)_
711
+ _See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.7/src/commands/agent/test/run.ts)_
714
712
 
715
713
  <!-- commandsstop -->
@@ -25,7 +25,6 @@ export default class AgentGenerateTemplate extends SfCommand<AgentGenerateTempla
25
25
  static readonly summary: string;
26
26
  static readonly description: string;
27
27
  static readonly examples: string[];
28
- static state: string;
29
28
  static readonly requiresProject = true;
30
29
  static readonly flags: {
31
30
  'api-version': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
@@ -15,7 +15,6 @@ export default class AgentGenerateTemplate extends SfCommand {
15
15
  static summary = messages.getMessage('summary');
16
16
  static description = messages.getMessage('description');
17
17
  static examples = messages.getMessages('examples');
18
- static state = 'beta';
19
18
  static requiresProject = true;
20
19
  static flags = {
21
20
  'api-version': Flags.orgApiVersion(),
@@ -1 +1 @@
1
- {"version":3,"file":"template.js","sourceRoot":"","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C1C,aAAa,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IAC/B,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,IAAI,OAAO,CAAC,wBAAwB,QAAQ,EAAE,CAAC,CAAC;IACxD,CAAC;AACH,CAAC,CAAC"}
@@ -4,11 +4,11 @@ Generate an agent template from an existing agent in your DX project so you can
4
4
 
5
5
  # description
6
6
 
7
- At a high-level, agents are defined by the Bot, BotVersion, and GenAiPlanner metadata types. The GenAiPlanner type in turn defines the agent's topics and actions. This command uses the metadata files for these three types, located in your local DX project, to generate a BotTemplate file for a specific agent (Bot). You then use the BotTemplate file, along with the GenAiPlanner file that references the BotTemplate, to package the template in a managed package that you can share between orgs or on AppExchange.
7
+ At a high-level, agents are defined by the Bot, BotVersion, and GenAiPlannerBundle metadata types. The GenAiPlannerBundle type in turn defines the agent's topics and actions. This command uses the metadata files for these three types, located in your local DX project, to generate a BotTemplate file for a specific agent (Bot). You then use the BotTemplate file, along with the GenAiPlannerBundle file that references the BotTemplate, to package the template in a managed package that you can share between orgs or on AppExchange.
8
8
 
9
9
  Use the --agent-file flag to specify the relative or full pathname of the Bot metadata file, such as force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml. A single Bot can have multiple BotVersions, so use the --agent-version flag to specify the version. The corresponding BotVersion file must exist locally. For example, if you specify "--agent-version 4", then the file force-app/main/default/bots/My_Awesome_Agent/v4.botVersion-meta.xml must exist.
10
10
 
11
- The new BotTemplate file is generated in the "botTemplates" directory in your local package directory, and has the name <Agent_API_name>\_v<Version>\_Template.botTemplate-meta.xml, such as force-app/main/default/botTemplates/My_Awesome_Agent_v4_Template.botTemplate-meta.xml. The command displays the full pathname of the generated files when it completes.
11
+ The new BotTemplate file is generated in the "botTemplates" directory in your local package directory, and has the name <Agent_API_name>_v<Version>_Template.botTemplate-meta.xml, such as force-app/main/default/botTemplates/My_Awesome_Agent_v4_Template.botTemplate-meta.xml. The command displays the full pathname of the generated files when it completes.
12
12
 
13
13
  # examples
14
14
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-agent",
3
- "version": "1.22.5",
3
+ "version": "1.22.7",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/plugin-agent",
9
- "version": "1.22.5",
9
+ "version": "1.22.7",
10
10
  "license": "BSD-3-Clause",
11
11
  "dependencies": {
12
12
  "@inquirer/core": "^10.1.6",
@@ -389,7 +389,7 @@
389
389
  "agent:generate:template": {
390
390
  "aliases": [],
391
391
  "args": {},
392
- "description": "At a high-level, agents are defined by the Bot, BotVersion, and GenAiPlanner metadata types. The GenAiPlanner type in turn defines the agent's topics and actions. This command uses the metadata files for these three types, located in your local DX project, to generate a BotTemplate file for a specific agent (Bot). You then use the BotTemplate file, along with the GenAiPlanner file that references the BotTemplate, to package the template in a managed package that you can share between orgs or on AppExchange.\n\nUse the --agent-file flag to specify the relative or full pathname of the Bot metadata file, such as force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml. A single Bot can have multiple BotVersions, so use the --agent-version flag to specify the version. The corresponding BotVersion file must exist locally. For example, if you specify \"--agent-version 4\", then the file force-app/main/default/bots/My_Awesome_Agent/v4.botVersion-meta.xml must exist.\n\nThe new BotTemplate file is generated in the \"botTemplates\" directory in your local package directory, and has the name <Agent_API_name>\\_v<Version>\\_Template.botTemplate-meta.xml, such as force-app/main/default/botTemplates/My_Awesome_Agent_v4_Template.botTemplate-meta.xml. The command displays the full pathname of the generated files when it completes.",
392
+ "description": "At a high-level, agents are defined by the Bot, BotVersion, and GenAiPlannerBundle metadata types. The GenAiPlannerBundle type in turn defines the agent's topics and actions. This command uses the metadata files for these three types, located in your local DX project, to generate a BotTemplate file for a specific agent (Bot). You then use the BotTemplate file, along with the GenAiPlannerBundle file that references the BotTemplate, to package the template in a managed package that you can share between orgs or on AppExchange.\n\nUse the --agent-file flag to specify the relative or full pathname of the Bot metadata file, such as force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml. A single Bot can have multiple BotVersions, so use the --agent-version flag to specify the version. The corresponding BotVersion file must exist locally. For example, if you specify \"--agent-version 4\", then the file force-app/main/default/bots/My_Awesome_Agent/v4.botVersion-meta.xml must exist.\n\nThe new BotTemplate file is generated in the \"botTemplates\" directory in your local package directory, and has the name <Agent_API_name>_v<Version>_Template.botTemplate-meta.xml, such as force-app/main/default/botTemplates/My_Awesome_Agent_v4_Template.botTemplate-meta.xml. The command displays the full pathname of the generated files when it completes.",
393
393
  "examples": [
394
394
  "Generate an agent template from a Bot metadata file in your DX project that corresponds to the My_Awesome_Agent agent; use version 1 of the agent.\n<%= config.bin %> <%= command.id %> --agent-file force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1"
395
395
  ],
@@ -440,7 +440,6 @@
440
440
  "pluginAlias": "@salesforce/plugin-agent",
441
441
  "pluginName": "@salesforce/plugin-agent",
442
442
  "pluginType": "core",
443
- "state": "beta",
444
443
  "strict": true,
445
444
  "summary": "Generate an agent template from an existing agent in your DX project so you can then package the template in a managed package.",
446
445
  "enableJsonFlag": true,
@@ -1111,5 +1110,5 @@
1111
1110
  ]
1112
1111
  }
1113
1112
  },
1114
- "version": "1.22.5"
1113
+ "version": "1.22.7"
1115
1114
  }
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.22.5",
4
+ "version": "1.22.7",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
@@ -229,7 +229,7 @@
229
229
  "exports": "./lib/index.js",
230
230
  "type": "module",
231
231
  "sfdx": {
232
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.22.5.crt",
233
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.22.5.sig"
232
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.22.7.crt",
233
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.22.7.sig"
234
234
  }
235
235
  }