Skip to content

Commit bf0cf6d

Browse files
committed
chore(release): 1.11.1 [skip ci]
1 parent aecba06 commit bf0cf6d

File tree

3 files changed

+41
-32
lines changed

3 files changed

+41
-32
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [1.11.1](https://github.com/salesforcecli/plugin-agent/compare/1.11.0...1.11.1) (2025-01-31)
2+
3+
### Bug Fixes
4+
5+
- refactor spec generation and agent create commands ([1a2dd64](https://github.com/salesforcecli/plugin-agent/commit/1a2dd64b45f6f2436c3c609fae9374e8fb8218e9))
6+
17
# [1.11.0](https://github.com/salesforcecli/plugin-agent/compare/1.10.0...1.11.0) (2025-01-29)
28

39
### Bug Fixes

README.md

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ EXAMPLES
114114
$ sf agent create --name CustomerSupportAgent --spec ./config/agentSpec.json --target-org my-org
115115
```
116116

117-
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.0/src/commands/agent/create.ts)_
117+
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.1/src/commands/agent/create.ts)_
118118

119119
## `sf agent create-v2`
120120

@@ -123,25 +123,17 @@ Create an agent in your org using a local agent spec file.
123123
```
124124
USAGE
125125
$ sf agent create-v2 -o <value> --spec <value> [--json] [--flags-dir <value>] [--api-version <value>] [--agent-name
126-
<value>] [--user-id <value>] [--enrich-logs true|false] [--tone formal|casual|neutral] [--preview] [--planner-id
127-
<value>]
126+
<value>] [--preview] [--agent-api-name <value>]
128127
129128
FLAGS
130-
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
131-
configuration variable is already set.
132-
--agent-name=<value> Name (label) of the new agent.
133-
--api-version=<value> Override the api version used for api requests made by this command
134-
--enrich-logs=<option> Adds agent conversation data to event logs so you can view all agent session activity in
135-
one place.
136-
<options: true|false>
137-
--planner-id=<value> The GenAiPlanner ID to associate with the agent.
138-
--preview Preview the agent without saving it in your org.
139-
--spec=<value> (required) Path to an agent spec file.
140-
--tone=<option> Conversational style of the agent, such as how it expresses your brand personality in its
141-
messages through word choice, punctuation, and sentence structure.
142-
<options: formal|casual|neutral>
143-
--user-id=<value> ID of a user in your org that is assigned to your agent; determines what your agent can
144-
access and do.
129+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
130+
configuration variable is already set.
131+
--agent-api-name=<value> API name of the new agent; if not specified, the API name is derived from the agent name
132+
(label); the API name must not exist in the org.
133+
--agent-name=<value> Name (label) of the new agent.
134+
--api-version=<value> Override the api version used for api requests made by this command
135+
--preview Preview the agent without saving it in your org.
136+
--spec=<value> (required) Path to an agent spec file.
145137
146138
GLOBAL FLAGS
147139
--flags-dir=<value> Import flag values from a directory.
@@ -176,7 +168,7 @@ EXAMPLES
176168
$ sf agent create-v2 --agent-name ResortManager --spec specs/resortManagerAgent.yaml --preview
177169
```
178170

179-
_See code: [src/commands/agent/create-v2.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.0/src/commands/agent/create-v2.ts)_
171+
_See code: [src/commands/agent/create-v2.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.1/src/commands/agent/create-v2.ts)_
180172

181173
## `sf agent generate spec`
182174

@@ -237,7 +229,7 @@ EXAMPLES
237229
$ sf agent generate spec --output-dir specs --target-org my-org
238230
```
239231

240-
_See code: [src/commands/agent/generate/spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.0/src/commands/agent/generate/spec.ts)_
232+
_See code: [src/commands/agent/generate/spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.1/src/commands/agent/generate/spec.ts)_
241233

242234
## `sf agent generate spec-v2`
243235

@@ -246,27 +238,38 @@ Generate an agent spec, which is a YAML file that captures what an agent can do.
246238
```
247239
USAGE
248240
$ sf agent generate spec-v2 -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-t customer|internal]
249-
[--role <value>] [--company-name <value>] [--company-description <value>] [--company-website <value>] [--spec
250-
<value>] [--output-file <value>] [--max-topics <value>] [--grounding-context <value> --prompt-template <value>]
241+
[--role <value>] [--company-name <value>] [--company-description <value>] [--company-website <value>] [--max-topics
242+
<value>] [--agent-user <value>] [--enrich-logs true|false] [--tone formal|casual|neutral] [--spec <value>]
243+
[--output-file <value>] [--full-interview] [--grounding-context <value> --prompt-template <value>] [--no-prompt]
251244
252245
FLAGS
253246
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
254247
configuration variable is already set.
255248
-t, --type=<option> Type of agent to create.
256249
<options: customer|internal>
250+
--agent-user=<value> Username of a user in your org to assign to your agent; determines what your agent
251+
can access and do.
257252
--api-version=<value> Override the api version used for api requests made by this command
258253
--company-description=<value> Description of your company.
259254
--company-name=<value> Name of your company.
260255
--company-website=<value> Website URL of your company.
256+
--enrich-logs=<option> Adds agent conversation data to event logs so you can view all agent session
257+
activity in one place.
258+
<options: true|false>
259+
--full-interview Prompt for both required and optional flags.
261260
--grounding-context=<value> Context information and personalization that's added to your prompts when using a
262261
custom prompt template.
263262
--max-topics=<value> Maximum number of topics to generate in the agent spec; default is 10.
263+
--no-prompt Don't prompt the user to confirm spec file overwrite.
264264
--output-file=<value> [default: config/agentSpec.yaml] Path for the generated YAML agent spec file; can
265265
be an absolute or relative path.
266266
--prompt-template=<value> API name of a customized prompt template to use instead of the default prompt
267267
template.
268268
--role=<value> Role of the agent.
269269
--spec=<value> Agent spec file, in YAML format, to use as input to the command.
270+
--tone=<option> Conversational style of the agent, such as how it expresses your brand personality
271+
in its messages through word choice, punctuation, and sentence structure.
272+
<options: formal|casual|neutral>
270273
271274
GLOBAL FLAGS
272275
--flags-dir=<value> Import flag values from a directory.
@@ -319,7 +322,7 @@ EXAMPLES
319322
smoothly" --target-org my-org
320323
```
321324

322-
_See code: [src/commands/agent/generate/spec-v2.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.0/src/commands/agent/generate/spec-v2.ts)_
325+
_See code: [src/commands/agent/generate/spec-v2.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.1/src/commands/agent/generate/spec-v2.ts)_
323326

324327
## `sf agent generate test-spec`
325328

@@ -342,7 +345,7 @@ EXAMPLES
342345
$ sf agent generate test-spec
343346
```
344347

345-
_See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.0/src/commands/agent/generate/test-spec.ts)_
348+
_See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.1/src/commands/agent/generate/test-spec.ts)_
346349

347350
## `sf agent preview`
348351

@@ -377,7 +380,7 @@ FLAG DESCRIPTIONS
377380
the API name of the agent? (TBD based on agents library)
378381
```
379382

380-
_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.0/src/commands/agent/preview.ts)_
383+
_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.1/src/commands/agent/preview.ts)_
381384

382385
## `sf agent test cancel`
383386

@@ -414,7 +417,7 @@ EXAMPLES
414417
$ sf agent test cancel --job-id 4KBfake0000003F4AQ --target-org my-org
415418
```
416419

417-
_See code: [src/commands/agent/test/cancel.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.0/src/commands/agent/test/cancel.ts)_
420+
_See code: [src/commands/agent/test/cancel.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.1/src/commands/agent/test/cancel.ts)_
418421

419422
## `sf agent test create`
420423

@@ -450,7 +453,7 @@ FLAG DESCRIPTIONS
450453
More information about a flag. Don't repeat the summary.
451454
```
452455

453-
_See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.0/src/commands/agent/test/create.ts)_
456+
_See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.1/src/commands/agent/test/create.ts)_
454457

455458
## `sf agent test list`
456459

@@ -479,7 +482,7 @@ EXAMPLES
479482
$ sf agent test list
480483
```
481484

482-
_See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.0/src/commands/agent/test/list.ts)_
485+
_See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.1/src/commands/agent/test/list.ts)_
483486

484487
## `sf agent test results`
485488

@@ -535,7 +538,7 @@ FLAG DESCRIPTIONS
535538
test results aren't written.
536539
```
537540

538-
_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.0/src/commands/agent/test/results.ts)_
541+
_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.1/src/commands/agent/test/results.ts)_
539542

540543
## `sf agent test resume`
541544

@@ -598,7 +601,7 @@ FLAG DESCRIPTIONS
598601
test results aren't written.
599602
```
600603

601-
_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.0/src/commands/agent/test/resume.ts)_
604+
_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.1/src/commands/agent/test/resume.ts)_
602605

603606
## `sf agent test run`
604607

@@ -661,6 +664,6 @@ FLAG DESCRIPTIONS
661664
test results aren't written.
662665
```
663666

664-
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.0/src/commands/agent/test/run.ts)_
667+
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.11.1/src/commands/agent/test/run.ts)_
665668

666669
<!-- 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.11.0",
4+
"version": "1.11.1",
55
"author": "Salesforce",
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"dependencies": {

0 commit comments

Comments
 (0)