Skip to content

Commit a8165cd

Browse files
committed
chore(release): 1.22.0 [skip ci]
1 parent 32368ed commit a8165cd

File tree

3 files changed

+19
-12
lines changed

3 files changed

+19
-12
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# [1.22.0](https://github.com/salesforcecli/plugin-agent/compare/1.21.1...1.22.0) (2025-05-16)
2+
3+
### Features
4+
5+
- add agent preview debug mode - W-18417013 ([#141](https://github.com/salesforcecli/plugin-agent/issues/141)) ([32368ed](https://github.com/salesforcecli/plugin-agent/commit/32368ed79987fc9e60aff731a180cc65d0025ff9))
6+
17
## [1.21.1](https://github.com/salesforcecli/plugin-agent/compare/1.21.0...1.21.1) (2025-05-14)
28

39
# [1.21.0](https://github.com/salesforcecli/plugin-agent/compare/1.20.13-preview.6...1.21.0) (2025-05-08)

README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ EXAMPLES
132132
$ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
133133
```
134134

135-
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.21.1/src/commands/agent/create.ts)_
135+
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.0/src/commands/agent/create.ts)_
136136

137137
## `sf agent generate agent-spec`
138138

@@ -237,7 +237,7 @@ EXAMPLES
237237
$ sf agent generate agent-spec --tone formal --agent-user [email protected]
238238
```
239239

240-
_See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.21.1/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.22.0/src/commands/agent/generate/agent-spec.ts)_
241241

242242
## `sf agent generate template`
243243

@@ -285,7 +285,7 @@ EXAMPLES
285285
force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1
286286
```
287287

288-
_See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.21.1/src/commands/agent/generate/template.ts)_
288+
_See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.0/src/commands/agent/generate/template.ts)_
289289

290290
## `sf agent generate test-spec`
291291

@@ -343,7 +343,7 @@ EXAMPLES
343343
force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
344344
```
345345

346-
_See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.21.1/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.22.0/src/commands/agent/generate/test-spec.ts)_
347347

348348
## `sf agent preview`
349349

@@ -352,6 +352,7 @@ Interact with an active agent to preview how the agent responds to your statemen
352352
```
353353
USAGE
354354
$ sf agent preview -o <value> -a <value> [--flags-dir <value>] [--api-version <value>] [-n <value>] [-d <value>]
355+
[-x]
355356
356357
FLAGS
357358
-a, --connected-app-user=<value> (required) Username or alias of the connected app user that's configured with
@@ -360,6 +361,7 @@ FLAGS
360361
-n, --api-name=<value> API name of the agent you want to interact with.
361362
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
362363
configuration variable is already set.
364+
-x, --apex-debug Enable Apex debug logging during the agent preview conversation.
363365
--api-version=<value> Override the api version used for api requests made by this command
364366
365367
GLOBAL FLAGS
@@ -386,7 +388,6 @@ DESCRIPTION
386388
Find the agent's API name in its main details page in your org's Agent page in Setup.
387389
388390
Before you use this command, you must complete these steps:
389-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
390391
391392
1. Create a connected app in your org as described in the "Create a Connected App" section here:
392393
https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#create-a-connected-app. Do these
@@ -436,7 +437,7 @@ EXAMPLES
436437
--output-dir "transcripts/my-preview"
437438
```
438439

439-
_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.21.1/src/commands/agent/preview.ts)_
440+
_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.0/src/commands/agent/preview.ts)_
440441

441442
## `sf agent test create`
442443

@@ -491,7 +492,7 @@ EXAMPLES
491492
$ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
492493
```
493494

494-
_See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.21.1/src/commands/agent/test/create.ts)_
495+
_See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.0/src/commands/agent/test/create.ts)_
495496

496497
## `sf agent test list`
497498

@@ -526,7 +527,7 @@ EXAMPLES
526527
$ sf agent test list --target-org my-org
527528
```
528529

529-
_See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.21.1/src/commands/agent/test/list.ts)_
530+
_See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.0/src/commands/agent/test/list.ts)_
530531

531532
## `sf agent test results`
532533

@@ -582,7 +583,7 @@ FLAG DESCRIPTIONS
582583
test results aren't written.
583584
```
584585

585-
_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.21.1/src/commands/agent/test/results.ts)_
586+
_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.0/src/commands/agent/test/results.ts)_
586587

587588
## `sf agent test resume`
588589

@@ -645,7 +646,7 @@ FLAG DESCRIPTIONS
645646
test results aren't written.
646647
```
647648

648-
_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.21.1/src/commands/agent/test/resume.ts)_
649+
_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.0/src/commands/agent/test/resume.ts)_
649650

650651
## `sf agent test run`
651652

@@ -709,6 +710,6 @@ FLAG DESCRIPTIONS
709710
test results aren't written.
710711
```
711712

712-
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.21.1/src/commands/agent/test/run.ts)_
713+
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.22.0/src/commands/agent/test/run.ts)_
713714

714715
<!-- commandsstop -->

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/plugin-agent",
33
"description": "Commands to interact with Salesforce agents",
4-
"version": "1.21.1",
4+
"version": "1.22.0",
55
"author": "Salesforce",
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"dependencies": {

0 commit comments

Comments
 (0)