@salesforce/plugin-agent 1.20.6 → 1.20.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
@@ -132,7 +132,7 @@ EXAMPLES
132
132
  $ sf agent create --agent-name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
133
133
  ```
134
134
 
135
- _See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.6/src/commands/agent/create.ts)_
135
+ _See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.7/src/commands/agent/create.ts)_
136
136
 
137
137
  ## `sf agent generate agent-spec`
138
138
 
@@ -237,7 +237,7 @@ EXAMPLES
237
237
  $ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
238
238
  ```
239
239
 
240
- _See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.6/src/commands/agent/generate/agent-spec.ts)_
240
+ _See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.7/src/commands/agent/generate/agent-spec.ts)_
241
241
 
242
242
  ## `sf agent generate template`
243
243
 
@@ -285,7 +285,7 @@ EXAMPLES
285
285
  force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1
286
286
  ```
287
287
 
288
- _See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.6/src/commands/agent/generate/template.ts)_
288
+ _See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.7/src/commands/agent/generate/template.ts)_
289
289
 
290
290
  ## `sf agent generate test-spec`
291
291
 
@@ -343,7 +343,7 @@ EXAMPLES
343
343
  force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
344
344
  ```
345
345
 
346
- _See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.6/src/commands/agent/generate/test-spec.ts)_
346
+ _See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.7/src/commands/agent/generate/test-spec.ts)_
347
347
 
348
348
  ## `sf agent preview`
349
349
 
@@ -419,7 +419,7 @@ EXAMPLES
419
419
  "transcripts/my-preview"
420
420
  ```
421
421
 
422
- _See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.6/src/commands/agent/preview.ts)_
422
+ _See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.7/src/commands/agent/preview.ts)_
423
423
 
424
424
  ## `sf agent test create`
425
425
 
@@ -474,7 +474,7 @@ EXAMPLES
474
474
  $ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --test-api-name Resort_Manager_Test --preview
475
475
  ```
476
476
 
477
- _See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.6/src/commands/agent/test/create.ts)_
477
+ _See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.7/src/commands/agent/test/create.ts)_
478
478
 
479
479
  ## `sf agent test list`
480
480
 
@@ -509,7 +509,7 @@ EXAMPLES
509
509
  $ sf agent test list --target-org my-org
510
510
  ```
511
511
 
512
- _See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.6/src/commands/agent/test/list.ts)_
512
+ _See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.7/src/commands/agent/test/list.ts)_
513
513
 
514
514
  ## `sf agent test results`
515
515
 
@@ -565,7 +565,7 @@ FLAG DESCRIPTIONS
565
565
  test results aren't written.
566
566
  ```
567
567
 
568
- _See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.6/src/commands/agent/test/results.ts)_
568
+ _See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.7/src/commands/agent/test/results.ts)_
569
569
 
570
570
  ## `sf agent test resume`
571
571
 
@@ -628,7 +628,7 @@ FLAG DESCRIPTIONS
628
628
  test results aren't written.
629
629
  ```
630
630
 
631
- _See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.6/src/commands/agent/test/resume.ts)_
631
+ _See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.7/src/commands/agent/test/resume.ts)_
632
632
 
633
633
  ## `sf agent test run`
634
634
 
@@ -692,6 +692,6 @@ FLAG DESCRIPTIONS
692
692
  test results aren't written.
693
693
  ```
694
694
 
695
- _See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.6/src/commands/agent/test/run.ts)_
695
+ _See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.7/src/commands/agent/test/run.ts)_
696
696
 
697
697
  <!-- commandsstop -->
@@ -1,7 +1,7 @@
1
1
  import { SfCommand } from '@salesforce/sf-plugins-core';
2
2
  import type { BotTemplate, GenAiPlanner, BotDialogGroup, ConversationDefinitionGoal, ConversationVariable } from '@salesforce/types/metadata';
3
- export type GenAiPlannerExt = {
4
- GenAiPlanner: GenAiPlanner & {
3
+ export type GenAiPlannerBundleExt = {
4
+ GenAiPlannerBundle: GenAiPlanner & {
5
5
  botTemplate?: string;
6
6
  };
7
7
  };
@@ -18,7 +18,7 @@ export type BotTemplateExt = {
18
18
  };
19
19
  };
20
20
  export type AgentGenerateTemplateResult = {
21
- genAiPlannerPath: string;
21
+ genAiPlannerBundlePath: string;
22
22
  botTemplatePath: string;
23
23
  };
24
24
  export default class AgentGenerateTemplate extends SfCommand<AgentGenerateTemplateResult> {
@@ -39,31 +39,31 @@ export default class AgentGenerateTemplate extends SfCommand {
39
39
  const parser = new XMLParser({ ignoreAttributes: false });
40
40
  const builder = new XMLBuilder({ format: true, ignoreAttributes: false, indentBy: ' ' });
41
41
  const botName = basename(agentFile, '.bot-meta.xml');
42
- // Since we are cloning the GenAiPlanner, we need to use a different name than the Agent (Bot) we started with
42
+ // Since we are cloning the GenAiPlannerBundle, we need to use a different name than the Agent (Bot) we started with
43
43
  // We will use this name for the BotTemplate also to make it clear they are related
44
44
  const finalFilename = `${botName}_v${botVersion}_Template`;
45
45
  // Build the base dir from the AgentFile
46
46
  const basePath = resolve(dirname(agentFile), '..', '..');
47
47
  const botDir = join(basePath, 'bots', botName);
48
- const genAiPlannerDir = join(basePath, 'genAiPlanners');
48
+ const genAiPlannerBundleDir = join(basePath, 'genAiPlannerBundles');
49
49
  const botTemplateDir = join(basePath, 'botTemplates');
50
50
  const botTemplateFilePath = join(botTemplateDir, `${finalFilename}.botTemplate-meta.xml`);
51
- const clonedGenAiPlannerFilePath = join(genAiPlannerDir, `${finalFilename}.genAiPlanner-meta.xml`);
51
+ const clonedGenAiPlannerBundleFilePath = join(genAiPlannerBundleDir, finalFilename, `${finalFilename}.genAiPlannerBundle`);
52
52
  // Parse the metadata files as JSON
53
53
  const botJson = xmlToJson(join(botDir, `${botName}.bot-meta.xml`), parser);
54
54
  const botVersionJson = xmlToJson(join(botDir, `v${botVersion}.botVersion-meta.xml`), parser);
55
- const genAiPlannerMetaJson = xmlToJson(join(genAiPlannerDir, `${botName}.genAiPlanner-meta.xml`), parser);
55
+ const genAiPlannerBundleMetaJson = xmlToJson(join(genAiPlannerBundleDir, botName, `${botName}.genAiPlannerBundle`), parser);
56
56
  // Modify the metadata files for final output
57
57
  // TODO: Confirm this name (might be conversationDefinitionPlanners)
58
- genAiPlannerMetaJson.GenAiPlanner.botTemplate = finalFilename;
58
+ genAiPlannerBundleMetaJson.GenAiPlannerBundle.botTemplate = finalFilename;
59
59
  const botTemplate = convertBotToBotTemplate(botJson, botVersionJson, finalFilename, botTemplateFilePath);
60
60
  // Build and save the metadata files
61
- jsonToXml(clonedGenAiPlannerFilePath, genAiPlannerMetaJson, builder);
61
+ jsonToXml(clonedGenAiPlannerBundleFilePath, genAiPlannerBundleMetaJson, builder);
62
62
  jsonToXml(botTemplateFilePath, botTemplate, builder);
63
63
  this.log(`\nSaved BotTemplate to:\n - ${botTemplateFilePath}`);
64
- this.log(`Saved GenAiPlanner to:\n - ${clonedGenAiPlannerFilePath}`);
64
+ this.log(`Saved GenAiPlannerBundle to:\n - ${clonedGenAiPlannerBundleFilePath}`);
65
65
  return {
66
- genAiPlannerPath: clonedGenAiPlannerFilePath,
66
+ genAiPlannerBundlePath: clonedGenAiPlannerBundleFilePath,
67
67
  botTemplatePath: botTemplateFilePath,
68
68
  };
69
69
  }
@@ -1 +1 @@
1
- {"version":3,"file":"template.js","sourceRoot":"","sources":["../../../../src/commands/agent/generate/template.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAiCxD,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,0BAA0B,EAAE,yBAAyB,CAAC,CAAC;AAM9F,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,SAAsC;IAChF,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,CAAU,QAAQ,GAAG,QAAQ,CA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,IAAI,CAAC,IAAI;QAAE,MAAM,IAAI,OAAO,CAAC,6BAA6B,IAAI,EAAE,CAAC,CAAC;IAElE,OAAO,MAAM,CAAC,KAAK,CAAC,IAAI,CAAM,CAAC;AACjC,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,CAAI,QAAgB,EAAE,IAAO,EAAE,OAAmB,EAAQ,EAAE;IAC5E,6CAA6C;IAC7C,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAElD,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,OAAO,CAAC,KAAK,CAAC,IAAI,CAAW,CAAC;QAC1C,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"}
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-agent",
3
- "version": "1.20.6",
3
+ "version": "1.20.7",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/plugin-agent",
9
- "version": "1.20.6",
9
+ "version": "1.20.7",
10
10
  "license": "BSD-3-Clause",
11
11
  "dependencies": {
12
12
  "@inquirer/core": "^10.1.6",
@@ -1112,5 +1112,5 @@
1112
1112
  ]
1113
1113
  }
1114
1114
  },
1115
- "version": "1.20.6"
1115
+ "version": "1.20.7"
1116
1116
  }
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.20.6",
4
+ "version": "1.20.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.20.6.crt",
233
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.20.6.sig"
232
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.20.7.crt",
233
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.20.7.sig"
234
234
  }
235
235
  }
@@ -5,14 +5,14 @@
5
5
  "AgentGenerateTemplateResult": {
6
6
  "type": "object",
7
7
  "properties": {
8
- "genAiPlannerPath": {
8
+ "genAiPlannerBundlePath": {
9
9
  "type": "string"
10
10
  },
11
11
  "botTemplatePath": {
12
12
  "type": "string"
13
13
  }
14
14
  },
15
- "required": ["genAiPlannerPath", "botTemplatePath"],
15
+ "required": ["genAiPlannerBundlePath", "botTemplatePath"],
16
16
  "additionalProperties": false
17
17
  }
18
18
  }