Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ EXAMPLES
$ sf agent create --agent-name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
```

_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.3/src/commands/agent/create.ts)_
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.4-preview.0/src/commands/agent/create.ts)_

## `sf agent generate agent-spec`

Expand Down Expand Up @@ -237,7 +237,7 @@ EXAMPLES
$ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
```

_See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.3/src/commands/agent/generate/agent-spec.ts)_
_See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.4-preview.0/src/commands/agent/generate/agent-spec.ts)_

## `sf agent generate template`

Expand Down Expand Up @@ -285,7 +285,7 @@ EXAMPLES
force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1
```

_See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.3/src/commands/agent/generate/template.ts)_
_See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.4-preview.0/src/commands/agent/generate/template.ts)_

## `sf agent generate test-spec`

Expand Down Expand Up @@ -343,7 +343,7 @@ EXAMPLES
force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
```

_See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.3/src/commands/agent/generate/test-spec.ts)_
_See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.4-preview.0/src/commands/agent/generate/test-spec.ts)_

## `sf agent preview`

Expand Down Expand Up @@ -419,7 +419,7 @@ EXAMPLES
"transcripts/my-preview"
```

_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.3/src/commands/agent/preview.ts)_
_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.4-preview.0/src/commands/agent/preview.ts)_

## `sf agent test create`

Expand Down Expand Up @@ -474,7 +474,7 @@ EXAMPLES
$ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --test-api-name Resort_Manager_Test --preview
```

_See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.3/src/commands/agent/test/create.ts)_
_See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.4-preview.0/src/commands/agent/test/create.ts)_

## `sf agent test list`

Expand Down Expand Up @@ -509,7 +509,7 @@ EXAMPLES
$ sf agent test list --target-org my-org
```

_See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.3/src/commands/agent/test/list.ts)_
_See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.4-preview.0/src/commands/agent/test/list.ts)_

## `sf agent test results`

Expand Down Expand Up @@ -565,7 +565,7 @@ FLAG DESCRIPTIONS
test results aren't written.
```

_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.3/src/commands/agent/test/results.ts)_
_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.4-preview.0/src/commands/agent/test/results.ts)_

## `sf agent test resume`

Expand Down Expand Up @@ -628,7 +628,7 @@ FLAG DESCRIPTIONS
test results aren't written.
```

_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.3/src/commands/agent/test/resume.ts)_
_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.4-preview.0/src/commands/agent/test/resume.ts)_

## `sf agent test run`

Expand Down Expand Up @@ -692,6 +692,6 @@ FLAG DESCRIPTIONS
test results aren't written.
```

_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.3/src/commands/agent/test/run.ts)_
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.4-preview.0/src/commands/agent/test/run.ts)_

<!-- commandsstop -->
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@salesforce/plugin-agent",
"description": "Commands to interact with Salesforce agents",
"version": "1.20.3",
"version": "1.20.4-preview.0",
"author": "Salesforce",
"bugs": "https://github.com/forcedotcom/cli/issues",
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion src/commands/agent/generate/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const convertBotToBotTemplate = (
botFilePath: string
): BotTemplateExt => {
const entryDialog = botVersionJson.BotVersion.entryDialog;
const { conversationSystemDialogs } = botVersionJson.BotVersion;
const { conversationSystemDialogs, conversationVariables } = botVersionJson.BotVersion;

// We need to pull the botDialog from the BotVersion file that matches the entryDialog
// This will be added to the BotTemplate
Expand Down Expand Up @@ -169,6 +169,7 @@ const convertBotToBotTemplate = (
entryDialogJson,
],
conversationSystemDialogs,
conversationVariables,
entryDialog,
mlDomain,
...bot.Bot,
Expand Down