Skip to content

Commit 4f9dd7c

Browse files
committed
chore(release): 1.2.0 [skip ci]
1 parent 29d598c commit 4f9dd7c

File tree

3 files changed

+28
-18
lines changed

3 files changed

+28
-18
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# [1.2.0](https://github.com/salesforcecli/plugin-agent/compare/1.1.3...1.2.0) (2024-11-09)
2+
3+
### Bug Fixes
4+
5+
- allow company website to be empty ([78b52cc](https://github.com/salesforcecli/plugin-agent/commit/78b52cc995fff978debd323cdd639b5453559bc9))
6+
7+
### Features
8+
9+
- use inquirer for generating spec ([27d2ebd](https://github.com/salesforcecli/plugin-agent/commit/27d2ebdd9d87dcc25933ddbac7198b05cec17666))
10+
111
## [1.1.3](https://github.com/salesforcecli/plugin-agent/compare/1.1.2...1.1.3) (2024-11-07)
212

313
### Bug Fixes

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ sf plugins
6262
<!-- commands -->
6363

6464
- [`sf agent create`](#sf-agent-create)
65-
- [`sf agent create spec`](#sf-agent-create-spec)
65+
- [`sf agent generate spec`](#sf-agent-generate-spec)
6666
- [`sf agent test cancel`](#sf-agent-test-cancel)
6767
- [`sf agent test run`](#sf-agent-test-run)
6868

@@ -101,32 +101,32 @@ FLAG DESCRIPTIONS
101101
spec` command.
102102
```
103103

104-
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.1.3/src/commands/agent/create.ts)_
104+
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.2.0/src/commands/agent/create.ts)_
105105

106-
## `sf agent create spec`
106+
## `sf agent generate spec`
107107

108108
Create an Agent spec.
109109

110110
```
111111
USAGE
112-
$ sf agent create spec -o <value> -n <value> -t customer_facing|employee_facing --role <value> --company-name <value>
113-
--company-description <value> [--json] [--flags-dir <value>] [--api-version <value>] [--company-website <value>] [-d
114-
<value>]
112+
$ sf agent generate spec -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-n <value>] [-t
113+
customer_facing|employee_facing] [--role <value>] [--company-name <value>] [--company-description <value>]
114+
[--company-website <value>] [-d <value>]
115115
116116
FLAGS
117117
-d, --output-dir=<value> [default: config] The location within the project where the agent spec will be
118118
written.
119-
-n, --name=<value> (required) The name of the agent to create.
119+
-n, --name=<value> The name of the agent to create.
120120
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
121121
configuration variable is already set.
122-
-t, --type=<option> (required) The type of agent to create.
122+
-t, --type=<option> The type of agent to create.
123123
<options: customer_facing|employee_facing>
124124
--api-version=<value> Override the api version used for api requests made by this command
125-
--company-description=<value> (required) The description of the company, containing details to be used when
126-
generating agent job descriptions.
127-
--company-name=<value> (required) The name of the company.
125+
--company-description=<value> The description of the company, containing details to be used when generating agent
126+
job descriptions.
127+
--company-name=<value> The name of the company.
128128
--company-website=<value> The website URL for the company.
129-
--role=<value> (required) The role of the agent.
129+
--role=<value> The role of the agent.
130130
131131
GLOBAL FLAGS
132132
--flags-dir=<value> Import flag values from a directory.
@@ -140,11 +140,11 @@ DESCRIPTION
140140
EXAMPLES
141141
Create an Agent spec in the default location:
142142
143-
$ sf agent create spec --type customer_facing --role Support --company-name "Coral Cloud" --company-description \
144-
"A meaningful description"
143+
$ sf agent generate spec --type customer_facing --role Support --company-name "Coral Cloud" \
144+
--company-description "A meaningful description"
145145
```
146146

147-
_See code: [src/commands/agent/create/spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.1.3/src/commands/agent/create/spec.ts)_
147+
_See code: [src/commands/agent/generate/spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.2.0/src/commands/agent/generate/spec.ts)_
148148

149149
## `sf agent test cancel`
150150

@@ -175,7 +175,7 @@ EXAMPLES
175175
$ sf agent test cancel --id AiEvalId
176176
```
177177

178-
_See code: [src/commands/agent/test/cancel.ts](https://github.com/salesforcecli/plugin-agent/blob/1.1.3/src/commands/agent/test/cancel.ts)_
178+
_See code: [src/commands/agent/test/cancel.ts](https://github.com/salesforcecli/plugin-agent/blob/1.2.0/src/commands/agent/test/cancel.ts)_
179179

180180
## `sf agent test run`
181181

@@ -217,6 +217,6 @@ FLAG DESCRIPTIONS
217217
If the command continues to run after the wait period, the CLI returns control of the terminal window to you.
218218
```
219219

220-
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.1.3/src/commands/agent/test/run.ts)_
220+
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.2.0/src/commands/agent/test/run.ts)_
221221

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

0 commit comments

Comments
 (0)